by acidburnNSA · 10y ago · 0 comments
This ideal world exists, and it is glorious. I somewhat recently set up a Raspberry Pi 2 with https://home-assistant.io and a cheap z-wave USB stick. The interface is through a webpage (not an app), and I access it remotely using a OpenVPN server on my router.
It's interfacing with door sensors, motion sensors, wall switches, cameras, my stereo, HUE lights, etc. It can email me or send me SMS for notifications. When I wake up and walk past a motion sensor, the lights come on in a dim scene. When I come home and open the door, the lights turn on. I have tons of rules and it's super fun. Totally self-hosted, and the main server is completely open-source (written in Python3).
I haven't set it up with a thermostat but lots of other people have.
As AcidBurnNSA said, Home Assistant is free, fully open-source and fully community driven - no company involved. We have over 240 components and platforms to include a wide range of products and services: https://home-assistant.io/components/
If you're attending OpenIoT Summit in San Diego, I'll be speaking tomorrow about Home Assistant 1:35pm - 2:25pm in Harbor Ballroom F: http://openiotelc2016.sched.org/event/6DBd/automating-your-h...
All videos will be recorded so you should be able to watch it online. I'm planning to give a similar talk soon at a Python SD user group meeting to practice for my PyCon 2016 talk.
You can find my sliders for tomorrow here: https://docs.google.com/presentation/d/1P2WsmwGSSni4gAriY5IA...
Good luck with your work, it looks really useful and interesting. I feel this is what we all dreamed up in the early internet years while watching Star Trek. Digital controls for everything, and not being beholden to others for the way in which we manage the controls.
I'm also interested in electricity monitors but I think that's a separate thing.
The commercial options couldn't automatically arm when I went to work. Nor could they use Pushover. Nor did they accept pull requests :)
Another example: security of computer systems.
The common thing here is the widespread demand in addition to the widespread lack of expertise. This results in the market being filled with "products" and "solutions" which are poor quality, but out-compete things which are good quality. Because most buyers can't tell. So if you don't have the expertise to judge for yourself, you'll end up with junk. Sometimes, there isn't a big enough market of buyers with expertise for there to be any decent options available to buy. You just have to cobble it together yourself with hobbyist/non-vendor produced parts.
Sadly, companies learn that spending money on sales&marketing has better ROI than spending it on making an actually useful product. And it seems to me that startups are bigger offenders than established companies here.
It used to be really hard to do this because wireless communication with hobbyist microcontrollers was either tedious or expensive (the old Arduino wifi shields were like $30-40). The RasPi and ESP8266 have really made things more accessible; you can build a central hub for $50 with a good wifi antenna and then something like a temp/light/humidity sensor is about $10. Or control lights with the $5 Sonoff switch from Itead (basically an ESP+relay on a well designed PCB, that is hobbyist friendly and lets you put your own firmware on it if you like). Or great free controller tools like Home Assistant and data management like InfluxDB and Grafana.
It's a great time to be an electronics hobbyist. The rise of IoT and smart home applications have produced a surge of new and interesting products for hobbyists that didn't exist before, I'm guessing as a side effect of dissatisfaction with the state of commercial products.
If that's commercial polish, I'll stick with the Pi!
When Tesla and Nest created a high-end market, they created self-contained objects. They sold because they were good, not because they had a competitive edge on the closed-source software running them. I set Apple apart because they have high margins on accessories, so open APIs would be a drawback here. My point is: We spend that much money for those products because the're good quality in themselves.
The fact that they're closed source means knock-offs can't copy the internal design and will be crap. The only thing required for an open-source IoT company to lead is to persuade us that knock-offs will be crap too (e.g. "uncertified", then spread stories about knock-offs exploding, or shorter length of life, or other leaks of PII, or illegal). The rest of open-source is a huge competitive advantage for relevance in the long term, ecosystem, customer recognition, etc.
Knives are quite open-source but we still buy €200 knives from time to time.
https://www.indiegogo.com/projects/protonet-zoe-start-your-s...
http://www.amazon.com/Intulon-Z-Command-Controller-Z-Stick-Z...
A lot of the home automation world is a closed, proprietary mishmash right now. (Although there are some open standards ranging from old school stuff like X10 to newer Zigbee stuff, I don't think products like Nest use them).
I also think people expect that when they buy a device, some corporate decision isn't going to brick it. (Stories in this line in my opinion will eventually kill the current hype on the "cloud").
"Open source" is probably less important to most end users, but it can be quite important to developers, power users, and tinkerers. And enthusiasts can drive products.
And, anyone who wasted money on one... did in fact waste their money. They can still get on board with a working, non-Nest solution at any time.
put it in a hummus tub :)
Anyways, I'm sure my wife will ha^H^H love you for giving me another "fun" home project. :)
baloob is also very helpful on the issues page and seems to really love the project, so kudos to him.