OpenMotics Offers Open Source (and Open Hardware) Home Automation
Home automation is a recurring topic around here; we've had stories about X-10-based home-brewed systems, a protocol designed for automation, and more than a few Ask Slashdots. Now, an anonymous reader writes OpenMotics is an open source home automation hardware and software system that offers features like switching lights and outputs, multi-zone heating and cooling, power measurements, and automated actions. The system encompasses both open source software and hardware. For interoperability with other systems, the OpenMotics Gateway provides an API through which various actions can be executed. The project was open sourced 2 years ago and was started about 10 years. The choice to open source the project was very conscious: we want to offer a system where users are in full control over their home automation system.
I've thought about home automation for a while, and seeing an opened system such as this one is an immediate temptation! ...Except for the cloud management.
I noticed right away that the gateway controller 'comes with a 1 year subscription'. Sure, I get that they're a business that needs to make money, but what if I want the system without cloud support? Is that even an option? For all they're touting openness, I couldn't find that obviously posted on their site. That's a pretty big deal-breaker for me, if I cannot disable their cloud integration. So what if I can't run it from a mobile phone? I'd rather use something like SSH and write my own interface, following my own desired rules for network security. And I sure as hell don't want it reporting anything back to them, or giving them the option in any way, shape, or form of sending remote commands when I have elected to not use their service. This is my home we're talking about.
Guess I'll keep thinking about rolling my own, someday.
You can't even compile the firmware without paying for a compiler.
"The firmware of our modules is written in Pic Basic Pro (except for the power measurement module which is written in C). Pic Basic Pro is an easy to use programming language that can be learnt very easily. We provide all source code free of charge (GPLv2 licence). The Pic Basic Pro compiler however is not for free so we ask everyone to play fair and to purchase the compiler (PBP Gold edition that supports the Microchip 18F) from www.melabs.com." - http://wiki.openmotics.com/ind...
With 50 euro for a power supply, 100 for a sensor conditioning module (without the sensors!), 300 for a base station and 800 for a complete starter pack, I don't care if it is open source or not, it is way out of budget for the casual hobbyist. There are already enough different alternatives, most of which appear to be vapourware. Home automation seems easy enough that many people who follow the IoT hype start their own project. But we don't need more standards, we need less. The best would be if one of the existing protocols (not necessary that one) would win, so that people could mix and match their own components, which don't have to be more fancy than some arduinos and RPis thrown together.
karma police: arrest this man, he talks in maths; he buzzes like a fridge, he's like a detuned radio. [radiohead]
How do you get past the certification problem in an open hardware design? I don't know about the rest of the world, but in Canada, you're on very shaky legal ground if you go plugging in equipment that isn't CSA certified.
Source: am building automation engineer.
I'm interested in power measurement (rolled my own), so I took a look.
The ready-to-buy pricing is interesting.
A power consumption measuring module for 8 lines is £324.00; a common breaker box with a capacity of 40 circuits will require five of these, for a total of £1620.00. Then you'll need 25- or 50-ampere current sensors, 40 of them at £12.00, adding £480.00. Now, if you want remote control through their cloud, add another £295.00 for the gateway module. The power supply module is £50.00. Then you get to subscribe to their cloud solution, I think, an idea I got by the "free one year of cloud subscription" you get with a small bundle of components they sell -- though I didn't find a price for the cloud itself.
So a one-breaker panel solution seems to be about £2445.00, or at today's exchange rate, $3,843.13.
That's not horrible for what it does in terms of commercial solutions, but it certainly isn't in the low-end zone, either. You can make a calibrated current sensor for under a dollar if you dig up some surplus ferrite, which I've not found to be particularly difficult (though ferrite isn't the only workable way to go. An optically isolated op amp configured balanced over a tiny resistance also works great.) So roundly, $40 for the ferrite based solution. An op amp and an A/d channel together don't amount to a dollar per either, so another $42 for those (I use a final pair of channels to watch AC voltage and phase at the breaker box, comes in all kinds of handy. Power consumption's not just about current!) Add about $10 worth of digital logic, a $40 Raspberry Pi [there's your computer and wired web server, add $5 to put it all on wifi], roll your own software and PCB or hardwiring, throw in a tiny power supply, and for about $150 US, you've got equally capable -- or better -- measurement capabilities. If you want to be fancy and uber-safe and avoid the whole ferrite space and cost and availability issues, you can add $5/line for another $200 cost for optically isolated op amps would would put you at about $350. And of course there is no need whatsoever for a "cloud." Just a webserver, which the Pi or similar can neatly provide. The Pi is a good choice because it's low power, well supplied with features, and capable and sufficient to the task. You can toss a monitor, keyboard and mouse on there permanently too if you want a fancy at-the-breaker-box position, but you don't actually need to, so I don't count that.
I did wonder what it'd cost to build from their PCBs, but there doesn't seem to be any way to really figure that out other than doing it. Pretty much has to be less than $3840, though.
I've fallen off your lawn, and I can't get up.