Slashdot Mirror


Home Automation Recommendations for Linux?

Richard asks: "I am interested in starting some home automation projects. The only requirement is that it needs to be controllable via my Linux based system. A Google search for ' "home automation" linux ' returns more than 35,000 hits, including some good ones like this one, which just show how MUCH is out there. Are there any recommendations for a good controller with a serial or USB connection to the computer? What about power switches and sensors? Do I want a system that sends control signals over my house's power lines or RF? Any good software recommendations? As a first project I thought a simple controllable power switch would be fun: Then I could ssh to my home system, use the power switch to turn on a computer controlled radio (Ten-Tec RX-320) and use Speak Freely to send back the audio to my remote location. (This works now except that I don't want to leave the radio on all the time)."

13 of 42 comments (clear)

  1. I guess that would depend... by E_elven · · Score: 2, Insightful

    ...on what you want to automate?

    --
    Marxist evolution is just N generations away!
  2. http://www.linuxguru.be/ by sweede · · Score: 3, Informative
    --
    I follow the SDK and GDN principles.. Spelling Dont Kount, Grammer Dont Neither
  3. Re:Pierce Brosnan by Anonymous Coward · · Score: 2, Funny
  4. Howabout MisterHouse -- It Knows Kung-Fu by 2TecTom · · Score: 5, Informative

    http://www.misterhouse.net/

    Seems to be a relevant, useful & worth project

    --
    Words to men, as air to birds.
  5. Some comments. by drosselmeyer · · Score: 3, Interesting

    What irks me about Linux home automation is the absence of a good speech synthesiser. I mean, I can automate everything, stick sensors everywhere, make control agents, a microcontroller network, but the endearing thing about it was that my computer /talked/ to me. Festival doesn't quite cut it, not because sound quality is bad (it is quite good) but because making new, custom voices for it is a laborous, time consuming process and no good female voices are available. And doing lip synch with it is something I don't have a fscking idea about how to do. On my old Amiga 500 that was just a matter of drawing some sprites and a hundred of lines of AMOS Basic, no more. I switched to Linux for my home server from OS/2 specifically because I wanted to replace my dying Amiga 500 that was the voice agent for my home automation, and figured that I'd have better chance to find good free speech synthesis for a more modern, free OS. That was, like, almost two years ago. Amiga finally died but I /still/ can't pull anything like this off. What I could assemble from public sources is painfully crude even when compared to the ancient Amiga SoftVoice/Nowspeak. Don't even remind me about rsynth...

    --
    In Soviet Russia... RUSSIANS comment on YOU.
    1. Re:Some comments. by drosselmeyer · · Score: 2

      As far as I know, the synth used in MacOS is the direct descendant of the synth used in AmigaOS up until they lost the license, the next generation of SoftVoice family.

      --
      In Soviet Russia... RUSSIANS comment on YOU.
    2. Re:Some comments. by bobbozzo · · Score: 2, Funny
      no good female voices are available

      You're no fun... You need a HAL9000 voice:
      Open the garage door, HAL.
      I'm sorry Dave, I'm afraid I can't do that...

      --
      Nothing to see here; Move along.
    3. Re:Some comments. by drosselmeyer · · Score: 2, Funny

      When I come back home and my computer greets me, cause there's nobody else to do that, it fels much better when it's a female voice, pod bay door or no pod bay door. :)

      --
      In Soviet Russia... RUSSIANS comment on YOU.
    4. Re:Some comments. by bobbozzo · · Score: 2, Interesting

      OK... If you want lipsynch, you'll need something like they used at DefCon 11 for the CTF contest announcer. Unfortunately, I don't know what it was (google isn't helping this time), and I don't know if it's capable of realtime rendering.

      All I know is they used it to pre-record videos of a male newscaster giving announcements. The voice quality was very good, and the graphics were fairly good (facial animation looked like the Half-Life 2 videos I've seen).

      Have you seen Ananova? Apparently they're using L&H software (definitely not free, though). I dunno if it can do real-time, either.

      --
      Nothing to see here; Move along.
    5. Re:Some comments. by drosselmeyer · · Score: 2, Interesting

      I've seen Ananova. I don't have enough money for the L&H engine. :) Which is what's so annoying about the whole thing - we can't do something I had working perfectly well for no extra penny than what was spent on the machine itself, on an ancient Amiga 500 with measly CPU speeds and no hard disk with our modern machines that outrun and outsmart the poor bitty box many times over. I even thought about emulating it and leaving it like that, but I can't even read the Amiga floppies in PC drives.

      So far, my best hopes rest with using the various free implementations of Klatt synthesisers with existing code snippets that do the translation from text to phoneme sets. Unfortunately, the piece in the middle, the code that converts phonemes into Klatt synthesiser input data, is missing and I can't find anything on the net - not even the bit that they used in making rsynth and copied from some book, mangling it throughly in the process.

      --
      In Soviet Russia... RUSSIANS comment on YOU.
    6. Re:Some comments. by bill_mcgonigle · · Score: 2, Interesting

      Festival doesn't quite cut it...because making new, custom voices for it is a laborous, time consuming process

      You probably don't need a complete, general-purpose voice for home automation. Making a limited domain voice seems pretty straightforward.

      But to your point about Festival - was there an easy system for making a general-purpose voice on the Amiga? There's a ton of detail in one of those files, extracted from typically pain-staking analysis. I think AT&T has a research system for analyzing hours of recorded speach and using a voice recognition engine to boot-strap the process, but I'm not aware of a system that makes Festival look bad.

      BTW, the Festvox demo page has a US female voice.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  6. X10 by bobbozzo · · Score: 2, Informative

    The X10 stuff is fairly cheap and easy to find. Dunno about the rest.

    You can apparently do a whole automation/security system for under $3000... alerting you when someone enters the property, turning on lights, TV, whatever; schedule A/C, ...

    --
    Nothing to see here; Move along.
  7. Home Automation solutions by Black+Perl · · Score: 2, Informative

    This was a fairly vague question. I moonlight as a home automation consultant. Most people, when they think of "home automation" they are really thinking about "home theater" or whole-house audio and video. There's a lot more to it, from structured wiring to control of lights, appliances, HVAC, and other items via relays, IR, etc. There could be many ways of doing what you want, depending on issues such as desired price, reliability, and how you plan to expand your system in the future.

    I'm going to assume you want a simple starter solution that allows you to control an appliance (your radio), and uses a Linux box as a controller. You need at minimum two devices: A PC-to-powerline interface, and an appliance module.

    For the powerline interface, pick up a CM11A which interfaces with a serial port. This is one of the few X10-the-brand devices I recommend*. Other companies make far superior X10-the-protocol equipment.

    For the appliance module, pick up an ApplianceLinc. You can get one with two-way communication so that you can also request a status response (on/off) if you need to know that. Believe it or not, most of the time you don't need two-way X-10, and it's better from a signal-strength standpoint to minimize the number of transmitters on a circuit.

    The simplest Linux software is heyu. This is extremely easy: just ssh into your machine and type 'heyu turn radio on', where radio has been set up in heyu as an alias for X10 code A1, or whatever X10 code you configured the appliance module to be.

    The reason I said "at minimum" above is that this may work, but for a truly reliable X10 infrastructure you may need additional hardware, particularly if you decide to expand your system. In this case you'd need to get a coupler (to bridge the two 110V phases in your house) or better yet an amplified coupler/repeater such as the ACT CR230 I recommend, available at Home AutomationNet. There are others on that page as well. If you're not electrically inclined, there is a plug-in coupler.

    With the above, you're almost there. Some electrical equipment attenuates X10 signals. Some computer power supplies, laser printers, and some TVs can affect signal strength. To isolate them, you may need to use some plug-in filters such as the FilterLinc or the ACT filters on the bottom of this page. If you want to get serious about obtaining a rock-solid X10 infrastructure then you can use an ESM1 signal meter. Also a new plug-in amplifier has been getting good reviews by early adopters.

    * An alternative to the CM11A interface is the PowerLinc USB. Currently, the only linux support for this is in the wish project. This project seems VERY cool. Set an X10 address by just writing to a /dev device. You can also read status this way. Any shell script or language can therefore control your X10 stuff. The only downside is that it currently requires recompiling your kernel sources, except for a couple of specific RedHat kernels for which RPMs have been built. Man, would it be great if this project made it into the kernel source tree...

    Hope this helps

    -bp

    --
    bp