News for hackers. Stuff that matters.
Re:Open-Source Home Automation by Negitivefrags on Friday November 29, 2019 @02:38PM (#21666322)
I have a pretty big install of Home Assistant. You can see a screenshot of my main dashboard here.

https://i.imgur.com/pJAGAZT.png

When I built the house I decided that I was looking for a Home Automation system that was going to be:

a) Open source, or open standards

b) Everything can be done entirely locally

I settled with using the KNX system for the primary actuators for the house, with Home Assistant for automation and control.

One nice property of KNX is that it's distributed, you don't need any central manager for the system to work, so if you press a light switch, then that sends a packet on the KNX network directly to the light actuator. Then there is an IP/KNX bridge to allow you to interact with the KNX network to hack on it.

All the "light" automation in the house is all done using KNX programming. For example, walk into hall, light turns on. You don't need a central authority for that. The motion sensor just talks to the light directly.

For anything more complex, Home Assistant get's involved for all the more "global" automation via the IP/KNX bridge.

And of course you can control everything through it's app. I love how fast and responsive it is since it's local. It's maybe 100ms at most from clicking the button in the app to the light being on.

The main thing I can't do without the cloud is voice control. I'm using Google Homes for it which Home Assistant exposes all my devices to. Local voice control systems really suck compared to Google unfortunately.

Another thing I'm happy I did is just put sensors for everything everywhere through the house. Here is a screenshot of most of them.

https://i.imgur.com/5VeMuE1.png

I actually have more data then this that I haven't bothered to hook up yet since it hasn't been important. Like the motion sensors also provide light levels and so on.

Overall, I would definately recommend Home Assistant.

Re:Open-Source Home Automation by azban on Friday November 29, 2019 @03:03PM (#21666503)
> The main thing I can't do without the cloud is voice control. I'm using Google Homes for it which Home Assistant exposes all my devices to. Local voice control systems really suck compared to Google unfortunately.

have you looked at picovoice? been pretty impressed by their wake word (Porcupine) and STT (Cheetah) on phones/pi's etc. seems like this could be integrated as a local STT provider with ada.

Re:Open-Source Home Automation by input_sh on Friday November 29, 2019 @02:46PM (#21666386)
I'm curious, what kind of motion sensors are you using? I looked into hooking more of them in my home, but I could not figure out an affordable way of doing that.

> Local voice control systems really suck compared to Google unfortunately.

Have you checked the latest updates on this? Home Assistant is getting its own voice assistant: https://www.home-assistant.io/blog/2019/11/20/privacy-focuse...

Re:Open-Source Home Automation by Negitivefrags on Friday November 29, 2019 @05:44PM (#21667255)
I don’t have the exact model to hand, but they are a super discrete little thing in the ceiling. I can get the exact model later if you want.

It does motion in 3 directions using infra red, and gives you light levels and temperature as well.

They can sense really damn far, and actually I had to turn most of them down in sensitivity to make them useful.

I use the same sensors for triggering the alarm system. They look way more attractive than those ugly corner sensors most security systems use.

Re:Open-Source Home Automation by Ruthalas on Friday November 29, 2019 @07:03PM (#21667558)
I'd be interested in the model if you have the opportunity to check! Thank you.
Re:Open-Source Home Automation by Negitivefrags on Friday November 29, 2019 @11:57PM (#21668622)
This is the one.

https://www.gira.com/en/gebaeudetechnik/systeme/knx-eib_syst...

You can see what one looks like in place here in the middle of this picture. I use black ones for my wood ceilings.

https://i.imgur.com/pTCOKJx.png

On the left hand side is one of the air quality sensors.

Re:Open-Source Home Automation by davidu on Friday November 29, 2019 @11:33PM (#21668526)
same
Re:Open-Source Home Automation by giarc on Friday November 29, 2019 @03:15PM (#21666572)
What is Room Of Requirement, if I may ask?
Re:Open-Source Home Automation by Negitivefrags on Friday November 29, 2019 @06:52PM (#21667505)
It's a bedroom that we are temporarily using as a storage room for junk that doesn't belong anywhere. My wife is a Harry Potter fan.
Re:Open-Source Home Automation by BrandoElFollito on Saturday November 30, 2019 @02:50PM (#21671833)
I was hoping so much that it would be that HP room :)
Re:Open-Source Home Automation by fyfy18 on Friday November 29, 2019 @04:37PM (#21666934)
I'm in the process of building a house and am thinking of going the KNX route. I'd prefer critical things to be hardwired rather than rely on wireless, just because it's more reliable.

I'm interested to know if you installed everything yourself or had a contractor do it? My understanding is it is expensive to get someone to do the work (as usually it's hotels or offices having this done), but the actual hardware doesn't cost much more than the z-wave equivalent.

Oh and your Room of Requirement definately needs more explanation :-)

Re:Open-Source Home Automation by Negitivefrags on Friday November 29, 2019 @05:38PM (#21667230)
I had a contractor and he did all the electrics as well. This meant that the cost for labour wasn’t really much more than getting all the “dumb” electrics done.

Ultimately wiring for KNX doesn’t take a lot more than just running a single extra wire through large sections of rooms since it’s a bus based system.

We worked on an hourly rate + cost of materials, rather than a fixed contract.

All the other home automation people I talked to didn’t really “get it”. This guy opened up to me about the importance of open standards from the first time I talked him and was happy at the concept of me programming the KNX devices myself, so I knew as soon as I met him that he was the right guy for the job.

I worked really closely with him (a daily catchup every day) in order to make sure everything was perfect.

I was really happy with the process, but it relied on getting a guy I could work really well with.

Re:Open-Source Home Automation by hhhc on Saturday November 30, 2019 @02:18PM (#21671673)
In Germany, there are lots of people who plan and program the KNX system themselves. The actual wiring is carried out by a professional but the commissioning etc can be done by anybody. KNX requires a specific software (ETS).

As KNX is a global standard this procedure becomes more and more implemented. We have published an ebook about how to get started with KNX, ETS 5 and ETS Inside (cheaper version of it) and share best practices.

Check yourself: https://www.knxtutorial.com/

Re:Open-Source Home Automation by ioanbsu on Friday December 06, 2019 @01:01PM (#21724363)
Hi there, are you based in US? KNX is not fully certified in US, right? I spent fair amount of time trying to find good switch actuator that is US gang compatible. But did n't find anything good. Also this says nkx is not certified in us: https://www.cepro.com/news/will_european_knx_home_automation...
Re:Open-Source Home Automation by niemyjski on Friday November 29, 2019 @03:26PM (#21666629)
I have over 500 sensors integrated into my home and when all done will have over 1k. I find the biggest problem when you get big is that home assistant has no way to deal with back pressure of updating networked sensors. Once you have issues with say 5-6 sensors it starts cascading.. you hit 10 which could be just ecobee sensors or homekit it can bring down homeassistant.
Re:Open-Source Home Automation by rubidium on Friday November 29, 2019 @04:18PM (#21666843)
That just seems excessive. Can you help me make sense of what for?
Re:Open-Source Home Automation by niemyjski on Saturday November 30, 2019 @09:25AM (#21670064)
Please see my reply below.
Re:Open-Source Home Automation by hokkos on Saturday November 30, 2019 @04:04AM (#21669196)
Can you say a little about what the 500 sensors are?
Re:Open-Source Home Automation by niemyjski on Saturday November 30, 2019 @09:24AM (#21670061)
Every room has a minimum of 7+ sensors (motion, occupancy, light sensor, nightlight, sound, mic, temp, humidity, smoke & carbon (and all related nest sensors like battery, last check, status..., path lighting (not included)). Then light switches are all smart + have occupancy + dimmer level etc... It adds up quick...

I have some crazy node red sub flows where I use state machines to turn on based on conditions and I can do whole home announcements as well as level audio and use it for custom security solution. I have smart bulbs too in some rooms and everything is 100% local with no external dependencies (if voice assistant stops working it doesn't affect anything and I'm going to probably move everything to almond). I built everything around sub flows and I made it easier to debug by adding friendly toggles that actually let me do some crazy accessibility stuff like announce motion or lights turning on etc.. If you were blind you'd know exactly where you were at.

I'm also doing local facial recognition (lots more todo) and I'm starting to integrate those into custom automations based on whose in the room (wife or me). It also greets us when we get home. It's been my dream since I was a little kid to have a smart home, and by smart I mean work for me and be quality of life improvement while being dumb for everyone (progressive enhancement). Home should alert you to dangerous weather or do the proper thing if a fire happens (open windows/ doors, turn on path lighting, announce what direction to go to the exit, etc).

Re:Open-Source Home Automation by SEJeff on Saturday November 30, 2019 @10:55AM (#21670457)
If you’d be willing to open github issues for home assistant with your problems I guarantee you the dev team would want to know about and fix them. I’ve met Paulus in real life and he deeply cares about the community.
Re:Open-Source Home Automation by gog on Friday November 29, 2019 @03:45PM (#21666712)
I've been eyeballing this problem space for a while now and came to the exact same conclusions as you did, KNX for everything "important" + Home Assistant for nice to haves.

Just waiting for the build a house/completely renovate an apartment to put it to practice.

Can you give some more information about the sensors you use, especially for CO2/VOC measurements?

Re:Open-Source Home Automation by Negitivefrags on Friday November 29, 2019 @05:51PM (#21667281)
For air quality I’m using the arcus neo which can do co2, Voc, humidity and temperature. But they are damn expensive.

Unfortunately all the other KNX ones I looked at were super ugly/huge. The more ugly ones also had better features like particulate matter as well.

These are a super discrete and small brushed aluminium circle on the ceiling.

Other than that I have PIR sensors in every room that I mentioned in a sibling comment with presence, temp, light level.

One sensor I’m super happy with is the infrasonic water level sensor for the water tank, so I always know how much water I have left.

I also have a weather station connected in with a pile of measurements for outdoor stuff like light, humidity, temp, pressure.

Re:Open-Source Home Automation by gog on Friday November 29, 2019 @08:30PM (#21667911)
Did you do the KNX setup yourself or did you leave that part to a professional?
Re:Open-Source Home Automation by RickS on Friday November 29, 2019 @02:43PM (#21666357)
This is really impressive.

Are you using separate sensors for humidity/temp/air quality? If so, which ones?

Do you assemble these yourself (eg connecting a sensor to a network enabled board) or are they connected out of the box?

Would really appreciate anything you've got in terms of parts list.

Re:Open-Source Home Automation by deskamess on Friday November 29, 2019 @04:51PM (#21667022)
The cost of all those sensors has me curious. Like you I am wondering if there is a multi-sensor.
Re:Open-Source Home Automation by Havoc on Friday November 29, 2019 @09:31PM (#21668148)
What presence detection are you using?

>The main thing I can't do without the cloud is voice control.

Mozilla has been working on a google voice replacement btw

Re:Open-Source Home Automation by judge2020 on Friday November 29, 2019 @09:47PM (#21668205)
Kind of off-topic but has any work been done on possibly extracting and re-using the voice ML model Pixel phones download (for things like live caption[0] and audio recorder[1])? I imagine there would be some legal issues but personal use probably would be fine.

0: https://youtu.be/v8cLk2W3vY8

1: https://youtu.be/RVMqB4W_EH4

Re:Open-Source Home Automation by Havoc on Saturday November 30, 2019 @08:44AM (#21669922)
Not that I'm aware of.

I suspect the format would be quite proprietary

Re:Open-Source Home Automation by RHSeeger on Friday November 29, 2019 @05:44PM (#21667258)
Can you tell us what sensors you are using?
Re:Open-Source Home Automation by mackrevinack on Saturday November 30, 2019 @04:39AM (#21669286)
which local voice assistants have you tried? is Snips one of them? I'm thinking of setting that up for my next raspberry pi project but I havnt really done a whole lot of research on it either so maybe it's a waste of time
Re:Open-Source Home Automation by SEJeff on Saturday November 30, 2019 @10:51AM (#21670435)
Snips was just purchased by Sonos by the way.
Re:Open-Source Home Automation by qznc on Friday November 29, 2019 @06:39PM (#21667450)
You took the screenshot while you were in the master bathroom?
Re:Open-Source Home Automation by neop1x on Sunday December 01, 2019 @08:17AM (#21675342)
The text in that image on Imgur is barely readable due high compression. Please consider hosting the image on your site next time or someplace where they don't compress that much.
Re:Open-Source Home Automation by Dayshine on Sunday December 01, 2019 @09:18AM (#21675571)
Are you browsing on mobile? It's a 1500 pixel wide image for me, perfect quality.
Re:Open-Source Home Automation by neop1x on Friday December 06, 2019 @05:16PM (#21726541)
Yes, on mobile. Now it's ok, it seems to be a direct link now. Previously it was terrible, really barely readable, in a thumbnail mode like this https://imgur.com/a/oKm3fP1 which presented this https://i.imgur.com/BOB10kkg.png . Never mind...
Re:Open-Source Home Automation by alexktz on Friday November 29, 2019 @07:33PM (#21667690)
The room of requirement!