Live data from Hacker News

Show HN: My in-network Node app for controlling my kids' nightlights

github.com

21–24 of 24 posts

Re: Show HN: My in-network Node app for controlling my kids' nightlights

#21
post #2

If you want to drop the price of equipment you can go down a level and use 433Mhz. Athough wifi chips have gotten cheaper lately and hopefully the smart home iot gadgets will keep dropping in prise.

For the light-attached end, it is down to $10 with this like the HUZZAH ESP8266 Breakout. At that price, the LED nearly becomes the most expensive part of the setup (assuming you want anything more than a single color and/or light).

What I love about the ESP8266 + NeoPixel style setup is that it gives you control over the form factor. For example: https://www.instructables.com/id/How-to-make-a-BAT-signal/

Re: Show HN: My in-network Node app for controlling my kids' nightlights

#23
I made something very similar, but the device I'm controlling is an RGB LED attached to the GPIO pins on a Raspberry Pi zero.

https://github.com/mekane/Node-API-for-Raspberry-Pi-GPIO

I made some bash scripts that call the API to do certain things (like light up green when it's time to get up for school) and I set cron tasks to call these at certain times.

The Node service also serves a very simple web page that can be used to control the light color and brightness.

Re: Show HN: My in-network Node app for controlling my kids' nightlights

#24
post #2

If you want to drop the price of equipment you can go down a level and use 433Mhz. Athough wifi chips have gotten cheaper lately and hopefully the smart home iot gadgets will keep dropping in prise.

Sonoff switches and plugs already cost less than $5, and they're all flashable with extremely good open source firmware. It's a great time to be a home automation hobbyist.

Does these Sanoff devices have an API that you can access via LAN, or do you need to re-flash them if you don't want to use them via "the cloud" ?
Post reply on HN