Slashdot Mirror


Ask Slashdot: Options For Cheap Home Automation?

New submitter goose-incarnated writes I'm looking at cheap and simple home automation. Unfortunately I'm not too clued up on what my options are. There are such a wide array of choices, none of which seem (to me) to be either cheap or simple. I'd like to: Turn switches on/off (lights, wall sockets, general relays, etc); Read the status of on/off switches; Read analog samples (for example, temperature sensors); 'Program' switches based on analog samples/existing switches (for example, program a relay to come on at 30C and go off at 25C, thereby controlling the temperature); Similarly, program switches to go on/off at certain times; Record the samples of analog or digital inputs for a given time . I'd like to do the above using smartphone+bluetooth (for when I'm in the vicinity of the room), or smartdevice+WiFi (for when I'm in the house, somewhere), or even in a pinch, using HTTP to access a server at home from 600km away (which is what I'm willing to do). I'm definitely not willing to stream all my requests/data/responses through a third-party so third party cloud subscription solutions, even if free, are out of the question. Finally (because I know the Slashdot crowd likes a challenge :-)), I'd like something that is easily reprogrammable without having to compile code, then reflash a device, etc. What languages for embedded devices exist for home automation programming, if any. A quick google search reveals nothing specially made for end-users to reprogram their devices, but, like I said above, I'm clueless about options.

21 of 189 comments (clear)

  1. Insteon by Anrego · · Score: 4, Informative

    I'd recommend looking at Insteon. It is the closest to what you are looking for off the top of my head.

    If you want to avoid going through some service they own/control, you might need to roll your own management system, but as far as cheap devices you can control programatically I think they're probably what you want.

    I'd like something that is easily reprogrammable without having to compile code, then reflash a device, etc.

    Architecturally you probably want the devices to be dumb. They can report information or accept commands. Leave any logic to some kind of centralized controller.

    Bonus note: avoid x10 (if it's still even around). It's dirt cheap but pretty much the shittiest system out there. I lost much sanity to it back in the day.

    Personally I did the x10 thing back in the day using at first an ocelot controller and then eventually my own hacked together system using the ocelot as a modem. The shittiness of x10 aside, I grew bored with it fairly quickly. It's all fun and has a neat "house of the future" feel, but I didn't find a great deal of utility in it, and what utility there was is already covered by purpose specific devices (smart thermostats, etc).

    1. Re:Insteon by jonsmirl · · Score: 4, Informative

      Insteon is the most cost effective solution. http://www.smarthome.com/
      Second place is Zwave. Check out Open Zwave http://www.openzwave.com/

      The rest are twice the price of these two. Control4 even quoted me $270,000 to automate my house. That ridiculous quote went right into the trash can. I have a large Insteon system that costs less than 1/10th of that Control4 quote.

      Insteon is not 100% reliable, it is about 98% reliable. So sometimes when you turn things off/on you have to do it twice. I have also had many units fail over the years but the newer ones seem to be lasting longer.

    2. Re:Insteon by Andy+Dodd · · Score: 3, Informative

      At this point, Insteon's cost isn't much lower than Z-Wave which is much more flexible/modern.

      I personally have a Vera Lite - it's a great device with built-in Z-Wave, but for the "hacker enthusiast" types, a group of people has created an alternative ecosystem of devices that use nRF24L01 radios for communications to do whatever you want.

      --
      retrorocket.o not found, launch anyway?
    3. Re:Insteon by jonsmirl · · Score: 3, Insightful

      I have about 20 dead Keypadlincs. Every one from my initial install has died. I tried arguing with them about replacements but they wouldn't do anything. That's $1,600 of dead units so it was not insignificant. The replacement ones I bought seem to be working. All of the old ones died in exactly the same way - buzzing from the power supply. Something was obviously wrong in their design. I would have been happy even if they had traded me two for one on new units but they offered nothing.

    4. Re:Insteon by plover · · Score: 3, Informative

      The choice of protocol is going to be your first decision. I picked Z-wave because there are many different manufacturers and a wide variety of devices. Every so often, someone will have devices on clearance or closeout. And you can find them in lots of places: Home Depot, Staples, and a wide variety of online merchants carry them. If you go with a more proprietary system like Insteon, you'll pay more per device and be more locked in.

      The hub cost should be less important to you than the per-device cost. You need to buy only one hub, but you'll end up buying a lot of devices. Be prepared to pay about $40/device (list), or $10-20/device (clearance).

      Unlike the protocol, the controller isn't something you have to be stuck with forever. You can upgrade them. Z-wave controllers are available in a USB stick form factor, which means you can build a home controller out of any computer you want. I chose to buy a Vera because I wanted an open system that didn't have a monthly fee, and I wanted the whole controller as a turnkey system. The Vera has a really good UI and a lot of mobile phone clients that connect to it, but there are several other Z-wave controller options, including HomeGenie (completely open source, designed around a small platform like the RasPi or the Beagle Board), and OpenHAB (platform agnostic Java, completely open source, but very weak UI.)

      People have recently started rooting the Wink, which is a really cheap controller with a lot of connectivity options (including Z-wave), but it's not an open source device. And the Staples Connect Hub (made for them by D-Link) has lots of connectivity options for only $49. My Vera2 is currently at the limits of capacity for all my devices, so I'm considering options besides migrating to their Vera 3, including building my own HomeGenie system. The Vera 3 is about $299, but I think I could build a very capable HomeGenie box for under $100.

      --
      John
  2. Bah ... by gstoddart · · Score: 4, Funny

    Bah, do what people have been doing for centuries ... have kids and make them get up and do it.

    --
    Lost at C:>. Found at C.
    1. Re:Bah ... by Dunbal · · Score: 5, Funny

      Total cost of ownership is way too high nowadays. And they've even taken away the "ownership" part. If you read the TOS it's scary as hell. You just can't whip them anymore.

      --
      Seven puppies were harmed during the making of this post.
    2. Re:Bah ... by ShanghaiBill · · Score: 3, Interesting

      Bah, do what people have been doing for centuries ... have kids and make them get up and do it.

      When my kids stayed with their grandparents for a month, my electric bill dropped by more than half. You are delusional if you think kids will make your home more efficient.

    3. Re:Bah ... by gstoddart · · Score: 4, Funny

      He said he wanted cheap home automation.

      Sounds like he's already willing to spend far more than it will save him, so clearly efficiency is not a constraint. :-P

      --
      Lost at C:>. Found at C.
    4. Re:Bah ... by gstoddart · · Score: 4, Funny

      So.. Where do you find the OWNER'S MANUAL for kids?

      Well, think of it like open source. A few people have taken a stab at a manual, but they don't mention any of the problems you mention, and it's grossly out of date. You can look on the internet, but the support forums aren't very helpful and often contradictory. And there's always a guy telling you to switch to the stuff they use.

      In the end, you give up on the whole thing.

      My advise, release them into the wild, and let them go feral. ;-)

      Of course, I'm pretty sure I'm the last person you want to take parenting advise from.

      --
      Lost at C:>. Found at C.
    5. Re:Bah ... by Ravaldy · · Score: 3, Interesting

      It cost $4.00 per year to keep a LED bulb (60 watts equivalent) on 100% of the time at 15 cents per KW/h. It would take over 10 years to pay for a switch to cover the cost. Add to this the cost of running the system as a whole and you are heavily into negative savings.

      Most of the cost of having kids live with you comes from:
      - laundry
      - electronics
      - curling irons and hair driers
      - long showers
      - cooking for more people

      You can't reduce the laundry cost unless you get better equipment or manage laundry loads better
      You can already optimize electronics power consumption by using the built in energy saving methods
      You can try to educate the kids to control the length of their showers
      Cooking has to continue so that cost will remain the same.

      More people in a house hold equals more electricity and water usage. You can't avoid that.

      In my opinion automation systems are really good for the following:
      - T-Stat control (such as the Nexus) can reduce your heating/cooling bill significantly
      - Oven outlet (in case you forget it on). This is both a cost saving and possibly a life saving since a large percentage of household fires are caused by ovens left on

      Anything else I can think is more of a luxury such as auto ambience control, blinds...

      My 2 cents.

  3. you want easy? by alen · · Score: 4, Insightful

    best part of DIY is spending three hours troubleshooting why the lights don't turn off when you could have just walked to turn them off

  4. what is your return on investment? by alen · · Score: 3, Interesting

    in NYC my electric bill is around $90 every month. breaks down to $25 for the electricity at $.095 per kilowatt hour, $55 for the wiring charge and the rest taxes and fees.

    why spend $1000 to save $5 a month in electricity costs? because if i reduce my usage by 20%, that's $5 whole dollars a month in savings

    1. Re:what is your return on investment? by ShanghaiBill · · Score: 5, Insightful

      why spend $1000 to save $5 a month in electricity costs?

      Because he/she is a nerd. It is not about the money. It is about the technical challenge, and the ability to gain nerd cred by showing off an accomplishment to nerdy friends and co-workers. The advancement of civilization depends on people like this, who push the boundaries of technology, and drive down the costs for everyone else.

    2. Re:what is your return on investment? by brian.stinar · · Score: 5, Insightful

      Because it is cool. You're measuring ROI in United States Dollars, when you should be measuring it in United States Coolness Units.

      Seriously, this is the argument that people use on me with trying to convince me to buy a hybrid, or more fuel efficient vehicle. My car is horribly inefficient (seven seater SUV) but I either need something that big to haul around 4'x8' construction materials, I ride my bicycle, or I drive it like once a month out of town for a few hundred miles for work. It's entirely paid off, and the (relatively high for me) purchasing gasoline part of owning a car (unit cost per mile driven) is insignificant compared to the free/already paid for fixed costs of owning a car.

      An ex-girlfriend and I had this discussion, and eventually it came down to the don't you want a nicer car to drive around? argument. No, I don't want one, if I have to pay for it. Having a cool car isn't that important to me. I have a different girlfriend now...

      There is no financial, or logical, reason to automate a home to save electricity in your case, unless you want to be cool. If you want to show all your friends how "green" you're being (despite all the manufacturing, shipping, and other environmental costs used in producing the crap you're busy buying), write blog posts about your home automation project, take a bunch of pictures and post them to instagram, then it makes sense. OR If you plan on living in your apartment for more than 200 months (16 years) then you'd eventually break even on the project cost...

  5. Re:Arduinos and MCUs by Anrego · · Score: 5, Insightful

    It's important to consider house insurance when doing this kind of hackery.

    If your house catches fire and they dig a charred bundle of relays and a rasp pi rigged up to your mains you might have some explaining to do.

    Sensors are one thing, but as soon as you go to actually control mains voltage, I think you are truly better off going for something more "mainstream".

  6. Re:Raspberry Pi/Arduino by shadowrat · · Score: 3, Insightful

    i build my own stuff around my raspberry pi. i've got motion detection, temperature sensors, lights, garage doors, plant irrigators. it's all fun, but be prepared to spend a lot of time. If you are making this yourself, you are taking up electrical engineering, mechanical engineering, software engineering, carpentry, plumbing, electrical work, running to home depot. Everytime i do a project i tell myself, next time i'm just buying something.

    then i come back and do another.

    just be realistic about what you want. do you want good home automation? or do you want to putz about with computers and components? (for me, it seems to be the later)

  7. Second Vote for Insteon by sparkyradar · · Score: 3, Informative

    I've been happy, for several years now, with my Insteon setup. I think it will meet many of your needs:

    -For a central controller, I use the Universal Devices ISY-994i. This provides a web-interface for status, and quick toggle-controls, but it's also where I do my "programming"

    -if you buy and install an Insteon switch, it will "just work" as a regular switch - others in your home will have zero learning-curve.

    -they do have some universal I/O modules with dry contacts, etc. You may be able to work with these to perform your temperature monitoring and control, along with water-level detection, etc. See if it would work for you.

    And, here is a bit more "geek" for you to ponder:

    The Insteon signalling uses both a data-burst on the AC power-line, and also a radio-frequency data burst. Each device will repeat a burst (up to 3 hops only, or something like that) - in practise, I've found it really, really reliable. I started with just a controller and a couple of (AC-powerline-only) switches, but this required me to add a hardware phase-bridge, so data-bursts on one phase of my house-wiring could reach devices on the other phase. As I added more devices, especially more wireless devices, the mesh got better and better.

    The Insteon switches will require 3 wires in your switch-box:
    1) Hot wire. The Insteon switch will use a bit of power, as well this is what powers your light or other device(s). Typically it's a black wire.
    2) Load wire. This is what goes to your devices.
    3) Neutral wire. Typically this is white, and can sometimes be a problem. My older (1950's) home had all the hot-and-neutral wires run to the lights first, then a pair of wires ran down to the switches... this won't work :-( I renovated/re-wired my home such that all the wiring ran first to the switches, then up to the lights - you need this arrangement.

    Each Insteon switch is internally pretty cool: it's comprised of two parts:
    1) a switch part, that detects when you press the switch, and reports this data-event
    2) a responder part, which receives a data-event and closes the circuit (with relay, or whatever).

    So, you can actually have a single switch act to control several devices, if you want :-) In fact, Insteon contantly refers to "scenes" where you would do exactly that: press one single swtich to bring down your home-theater screen, close curtains, dim lights, etc. Personally, I don't use this feature

    The "programming" is not really very geeky: it's more just a set of conditions and actions, selected from drop-down dialogue boxes. That said, you can do some fun stuff, like:
    - change actions based on sunrise-sunset times (great for lighting)
    - use a motion-detector, which also contains an ambient-light sensor! I use one of these outside, to tailor my lighting to the Pacific Northwest's gray and dreary winter days.

    HTH,

  8. Re:Insteon vs x10 by Anrego · · Score: 3, Insightful

    I wouldn't trust either to control any device with actual destructive capability.

    X10 doesn't need a path to the internet. With such a primitive protocol all it takes is a dying fridge or UPS to make devices randomly turn on and off (this is actual experience talking).

  9. Re:Insteon vs x10 by Anonymous Coward · · Score: 4, Interesting

    Central control means nothing. X10 is completely insecure. Your power line is a shared bus. I had to coordinate with my neighbor to use different X10 channels, because we kept turning each other's stuff on and off. Anyone can just plug in a controller, and every X10 house downstream of the step down transformer will see the signals and respond. At one point I had a sniffer/sweeper running to debug the damn problem and that's when I got my neighbor's attention cause his house went bonkers when I swept the A channel. He moved to B and all was well after that. But still very insecure.

  10. Re:Insteon vs x10 by DriveDog · · Score: 3, Informative

    X10 is lacking in many ways, and I still use some of it, but the biggest problem I've had was with durability. Many of the components were horribly made and just broke. Stanley, GE, Radio Shack, didn't matter. Old Sears parts lasted longer but still just died. I can't comment on how vulnerable the others are, but X10 is very vulnerableâ"from outside sockets and other units on the same transformer. North Koreans aren't going to hack your house from Pyongyang, but sneaky neighborhood kids can. I think you can filter the signals from the incoming power lines, but that's not commonly done. Also, you need to bridge the two incoming 110V legs so that X10 signals get across, otherwise parts of your house might not talk to other parts. Still, to play around a bit, there's no cheaper way than X10.