Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you want to take this kind of thing to the next level, check out Node-RED. It's a visual programming environment that's well-suited for home automation.

One of my most-used automation setups is a dust collection fat near the cat litter boxes. The basic idea is to turn the fan off, if it's on, when the cats approach, then turn it on five minutes after they leave and turn it off ten minutes later. The cats are detected using a PIR sensor hooked to an ESP8266 running ESPHome. I've also got an automation which will turn the fan on and ignore the PIR sensor for ten minutes so that I can clean the litter without breathing in a bunch of dust - this part is kicked off via an input_boolean that's exposed to HomeKit, so I can tell Siri to turn it on and it triggers a whole bunch of work.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: