Live data from Hacker News

Automating the light in my living room

raspberryautomation.blogspot.com

1–10 of 23 posts

Re: Automating the light in my living room

#4
post #3

You don't want to deal with wires, but still install a motion sensor into the wall? Why not just rewire the light switch near the door to make it turn on the correct light?

I don't want wires in my view. In my apartment the installation for alarm is built-in, so I already have the UTP cable inside the wall. Also the lamp I want to turn on is on the other side of the room.

Re: Automating the light in my living room

#6
I guess my approach is boring then. I replaced most of the switches with z-wave switches, added a Vera controller, added an echo dot and now it all can be managed using a browser or a phone or voice(this turned out to be greater than i expected). It's all UL certified and wired to local code so my insurer should be happy.

Re: Automating the light in my living room

#7
post #6

I guess my approach is boring then. I replaced most of the switches with z-wave switches, added a Vera controller, added an echo dot and now it all can be managed using a browser or a phone or voice(this turned out to be greater than i expected). It's all UL certified and wired to local code so my insurer should be happy.

Of course you can do it that way also. I developed an app for working with Fibaro system last year, it works with z-wave. Also is possible to buy a z-wave module for raspberry pi, but then you have to buy z-wave devices. My approach is cheaper, and also help me to learn.

Re: Automating the light in my living room

#8
For everyone wanting to do something similar, please consider not using a raspberry pi for something a simple as controlling a light/garage door and take a look at ESP8266 or ESP32 boards (which have wifi onboard), there's tons of tutorials online, and the price tag can be as low as $3.

Re: Automating the light in my living room

#9
post #8

For everyone wanting to do something similar, please consider not using a raspberry pi for something a simple as controlling a light/garage door and take a look at ESP8266 or ESP32 boards (which have wifi onboard), there's tons of tutorials online, and the price tag can be as low as $3.

This was my first thought. In my case, I'm using an ESP8266 wired to a lux sensor and a motion sensor. I wrote some really basic code to poll the sensors and send the data via MQTT to my home-assistant.io container. HASS seemed like the logical choice given the disparate Z-Wave, Zigbee, Hue etc. devices in my home. The only challenge I didn't solve in the ESP8266 code is monitoring of its power supply (rechargeable AAs). I even 3D printed a decent-enough enclosure for the device. It looks kind of like a Dalek and a hockey puck had an unwanted lovechild.
Post reply on HN