To further add to the story above, adding sound events to the computer alone is great if your in the room, but I wanted to be able to hear "James" the butler elseware.
So I decided to run a wire to the living room as well (which is near my front door also). The output from the computer needs to be amplified, which you could do with self powered computer speakers. But I was at a liquidation store and saw a futuristic looking kareoke machine with a small B/W television screen built in with inputs and outputs on the back for about $50. So in a moment of divine inspired geekness, I thought it could be a "presence" for "James" and also be able to constantly monitor the camera system I have and provide speech.
With an appliance module attached, "James" turns himself on in the morning with a greeting. A few minutes later he announces that he is going to open the drapes and see what kind of day we're in for. A little later yet, he announces that the mail has arrived by means of a washing machine lid switch in the mail box wired to a powerflash module.( I was thinking of adding an outdoor speaker near the mail box\front door to thank the mail lady; or have a sound file with a ticking count down but that would probably get me arrested - I am sure she wonders why my mailbox has wires coming out of it as it is.) Later in the evening while I am at work, "James" closes the drapes, turns on lights, makes passes at my wife ( he keeps suggesting they run away together), reminds her when her shows are on, monitors the yard, winds up the dog, reminds my wife when it's time to make meals and is totally offended at the obscenities that follow, etc. Still later, he announces that he is getting tired and that he is going to retire for the evening if we have no further need of him.
Sadly, I believe Jame's days are numbered in his present form, as I believe my next computer will be a media centre PC. I should be able to have James appear on the TV screen. But for now, I think it was a good idea, as a good pair of computer speakers would probably cost somewhere in the neighborhood of $40.00 and the total effect would not have been as fun. This way I also did not have to try and hide the speakers.
Recently, while we were away, the neighbor's daughter was over feeding out cats and was totally creeped out by James and his capabilities (turning on lights when she entered rooms, the drapes opening and closing,talking etc.) as she was unaware the house was automated. It was good for a laugh.
I am having a problem with the flags and sound events. I have a motion sensor outside the front door (controls cameras and lights) and one inside (sounds chime in back yard if someone enters the house while we are in the back yard and is also used for greetings). By using flags I should be able to detect if someone is leaving the house or entering and play a different sound for each case. I think the problem lies in the fact that sound macros must be run from the PC and don't seem to respond to flag conditions. I think the flags are only used by the interface. If someone could think of a work around I would appreciate it.
Anyway, I just wanted to illustrate how much more fun and useful adding sound capabilities can be, so maybe X-10 can incorporate sound capabilities in a future update. (better yet ms agent)
waf = mixed as I spend quite some time keeping "Jame's" intellect sharp