Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Toys Software Linux

Home Automation Recommendations for Linux? 42

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)."
This discussion has been archived. No new comments can be posted.

Home Automation Recommendations for Linux?

Comments Filter:
  • by E_elven ( 600520 ) on Sunday September 14, 2003 @06:50PM (#6959390) Journal
    ...on what you want to automate?
  • by sweede ( 563231 ) on Sunday September 14, 2003 @07:01PM (#6959482)
  • by 2TecTom ( 311314 ) on Sunday September 14, 2003 @07:21PM (#6959643) Homepage Journal
    http://www.misterhouse.net/

    Seems to be a relevant, useful & worth project
    • Misterhouse is built on top of PERL and is very configurable. It will work with Text-To-Speech as well as Voice-Recognition engines which really make it fun. It also has the ability to create webpages that allow interation with the whole system.


      I have tried many, buit this is the one I use and like best. Plus, it is updated often (2-5 weeks between new versions) which was not the case with most others.

  • Some comments. (Score:3, Interesting)

    by drosselmeyer ( 707244 ) on Sunday September 14, 2003 @07:39PM (#6959758)
    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...
    • This is most likely due to a lack of good voices, but the synth in MacOS since at least version 8.0 rocks and has great voices. It also does voice commands. It is such a shame that nothing for linux is nearly as good as that available for my old 7100/80 mac.
      • 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.
        • No, the MacOS voice stuff had nothing to do with the Amiga. They both were derived from work originally done by the US Navy. That's why they both sounded similiar.
          • Are you sure? Where does this information come from? SoftVoice's site [text2speech.com] says nothing about Navy, but does mention MacinTalk and the Amiga narrator.device being the same thing in different versions.
            • The Navy's been doing research on this stuff for years. The phonemes that the Amiga put out where amazingingly similiar to the Navy stuff I remember hearing. Here's a link to a Navy reference [mindspring.com]. I couldn't find any speech samples.

              I think I'm mistaken about SoftVoice's stuff in regards to the Mac and Amiga not being related though. Sorry about that. Been a long time since I did Amiga stuff, and I'd completely forgotten about the SoftVoice work.

              • They are using what they call ARPAbet, which is a phonetic alphabet originally developed by DARPA and seems to be the result of that Navy work you mention. I suppose it was used in some original theoretical work, maybe in one of the papers by Klatt on who's work all the formant synthesis systems seem to be based, but I can't get at his papers. (and if I could, the problem of making the missing link in the TTS system, the phoneme->Klatt synth parameters translator, would be relatively easy to solve)
    • 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...

      • 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. :)
        • heheh...
          see my other comment about MBROLA... it has lots of voices.
          • I thought about MBROLA. There's nowhere in the pipeline of a diphonic synth where I could stick a check for which phoneme is currently being sounded. Therefore I can't match phonemes to visemes and can't do lip synch. :( Besides last time I checked, MBROLA had only two female voices...
            • Re:Some comments. (Score:2, Interesting)

              by bobbozzo ( 622815 )
              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
              • Re:Some comments. (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
    • Re:Some comments. (Score:1, Interesting)

      by Anonymous Coward
      look at Festival ... it's very good...

      http://www.cstr.ed.ac.uk/projects/festival/
    • Re:Some comments. (Score:3, 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 [stanford.edu] 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 h
      • You probably don't need a complete, general-purpose voice for home automation.

        That's only if we're talking about dumb home automation. What if I want it to read email headers aloud to me? Give me names of people calling my phone? Amiga did that just fine.

        Amiga's voice driver was based on formant synthesis, not diphone synthesis. As a result, it might have been worse in sound quality, (it was, true) but diphone synthesis can't compare to it in flexibility. It didn't need complex voice definitions, a voice
        • Interesting, thanks.

          Maybe these links will help: link [cmu.edu] link [utwente.nl] link [uni-potsdam.de]
          • I've been to all three a while ago, actually, but thanks anyway. :) Here are the results of my findings on those:

            'say' is also known as rsynth. I tried getting it to work. It works. I even made it compile and work (for suitably small quantities of 'work') under DJGPP+Allegro. But it is coded in a very messy manner, with sections of the code commented out for no listed reason. It is not clear how it works, using it to build upon is... well, it is for someone who knows the phonetic theory behind them better
  • I have to agree that there's a lack of a good quality, easy to use voice synth. At least I can't find one.

    One project I'm just starting on is a poor mans logging recorder. I want to bring in audio from two radios on the line input of the sound card, one on the left channel and one on the right. Using the record utility it should be easy to write a script to do that. But I worry that with VOX I'll miss something. I can get COR logic from the radios pretty easily but how can I get that into the computer
    • I don't know what they were using at Defcon11 for the CTF contest announcements, but it was nice.
      It had a 3-d rendered animated head (reminded me of Gordon from HL2), and a very good male voice.
    • MBROLA [google.com] looks interesting... free (as in beer), lots of voices, runs on lots of platforms.

      Only disadv. I can see is it can't read text; you have to give it the phonemes you want it to say, but this means it will say exactly what you want it to (no mis-pronunciation of words not in vocabulary).

      • "A French voices have been made available by the authors of MBROLA..."

        OMG! I can't resist, I'm going to make it say "I surrender, poo poo".

        Seriously that looks like a pretty cool project, except for the lack of a text reader. Maybe I'm too picky or too damn lazy. :)
  • I have to experience in HA, but I'd like to get some... It seems like it would be useful to have some sort of serial over 802.11x. I've used wireless serial transmitters/recievers, but you can only have one pair per channel on the ones I used. Perhaps something like bluetooth is more appropriate, but I don't know much about the technology. Either way, the whole point is just so one can connect some misc. device and use it accross the house somewhere. Does something like this exist?

    The other thing I'm c
    • Basically if my server's in the basement (it is) and I want to have an audio interface to it two floors up in my bedroom, can I do it wirelessly?

      Sure, you can legally buy or build a low-power FM audio transmitter that will go 50 feet or more. That's what most cheap "bugs" are, and you can find them for around $20, IIRC. Sound quality may not be great, but it's been a long time since I've played with one.
      Best quality would probably come from an "FM Modulator" for a discman or iPod or whatever, if the rang

  • X10 (Score:3, Informative)

    by bobbozzo ( 622815 ) on Monday September 15, 2003 @12:58AM (#6961442)
    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, ...
    • As I understand it, X10 stuff runs it networking through your power lines- which is a pretty good idea... Question- how far does the signal travel? Can anything past my circuit breakers control the devices? Does it work accross the different circuits in my house? Even better, is it possible to encrypt the communications? How does that sort of stuff work out for those of us who live in apartments?
      • My understanding (from a lecture at Defcon 11 by security consultants) is that power-line baby monitors will work anywhere that is on the same transformer ("typically 8 homes"), so at least neighbors on the same block could eavesdrop on your baby monitors.

        X10 probably has the same problem.
        I doubt they have any encryption.

        I suppose you could use an isolation transformer on that electrical circuit, but they are large, heavy, expensive (unless you can get one surplus), and typically are only good for 100watt
        • X10 doesn't have the same problem because once the X10 signal hits the fuse box, it doesn't pass by. There are solutions for home with two fuse boxes that specifically fix this problem.
  • by Black Perl ( 12686 ) on Monday September 15, 2003 @03:02PM (#6966547)
    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 [homeautomationnet.com] 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 [smarthome.com]. 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 [homeautomationnet.com]. There are others on that page as well. If you're not electrically inclined, there is a plug-in coupler [smarthome.com].

    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 [smarthome.com] 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 [homeautomationnet.com]. Also a new plug-in amplifier [smarthome.com] has been getting good reviews by early adopters.

    * An alternative to the CM11A interface is the PowerLinc USB [smarthome.com]. Currently, the only linux support for this is in the wish project [sourceforge.net]. 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
  • here's an HVAC project, on my list of things to do some day...

    http://sourceforge.net/projects/diy-zoning/

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...