TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

46 pointsby ecaronover 5 years ago

11 comments

AdamJacobMullerover 5 years ago
Very cool.<p>I do something similar with LIFX bulbs. (<a href="https:&#x2F;&#x2F;github.com&#x2F;adamjacobmuller&#x2F;lifx&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;adamjacobmuller&#x2F;lifx&#x2F;</a>)<p>I specifically have them configured to follow a f.lux-like curve for brightness and color temperature.<p>The only major thing I want to add is some kind of local control&#x2F;override for the brightness. The curves work great 99% of the time but sometimes you do want BRIGHT even at 11pm. The dash buttons are a cool idea, but I don&#x27;t like the look of them in a wall. Haven&#x27;t found a great solution for that yet.
评论 #21751639 未加载
feistypharitover 5 years ago
Anyone interested in this sort of thing for their kids, I&#x27;ve found most hue lights to be too bright and I wanted a way more flexible scheduling ability. So I made my own and now sell them.<p><a href="https:&#x2F;&#x2F;www.keenglow.com" rel="nofollow">https:&#x2F;&#x2F;www.keenglow.com</a><p>It does require any cloud besides ntp and just uses a local web interface. You can define relative events, like 15 minutes before bed is tv time, 5 minutes before is snack time, bed time is 8. If one night the kids are extra cranky and need sleep, simply adjust bed time and the others adjust too.<p>I&#x27;ve used em for years with my kids!
评论 #21751660 未加载
评论 #21749073 未加载
jacquesmover 5 years ago
My kids get to control their nightlights all by themselves. I trust them to do this responsibly, if they&#x27;re clever enough to do it so I don&#x27;t notice then I&#x27;ll let them get away with it. I don&#x27;t feel the need to snoop on&#x2F;control my children digitally.
评论 #21747612 未加载
mekane8over 5 years ago
I made something very similar, but the device I&#x27;m controlling is an RGB LED attached to the GPIO pins on a Raspberry Pi zero.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;mekane&#x2F;Node-API-for-Raspberry-Pi-GPIO" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mekane&#x2F;Node-API-for-Raspberry-Pi-GPIO</a><p>I made some bash scripts that call the API to do certain things (like light up green when it&#x27;s time to get up for school) and I set cron tasks to call these at certain times.<p>The Node service also serves a very simple web page that can be used to control the light color and brightness.
rancorover 5 years ago
The Hue bridge is capable of this type of scheduling without any other devices. Philips simply hasn&#x27;t included any useful level of flexibility in their app, so the use of All4Hue or other low-level apps is required.
GuiAover 5 years ago
The light turning to blue at 7am to indicate that sleep time is over is a nice touch.<p>Working in collectivities with young children, we&#x27;d have a sheet of paper with a sun&#x2F;moon on each side, and every morning at 7 one of us would go in every room and turn the piece of paper around to let them know they could get out of bed and come to the common areas if they were awake.
atum47over 5 years ago
I had this kind of project in mind when I built my rpiapi project. <a href="https:&#x2F;&#x2F;github.com&#x2F;victorqribeiro&#x2F;rpiapi" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;victorqribeiro&#x2F;rpiapi</a><p>I&#x27;m going to work on it a little bit more.
z3t4over 5 years ago
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.
评论 #21751696 未加载
评论 #21747703 未加载
ajxsover 5 years ago
Am I so out of touch for thinking that I wouldn&#x27;t want devices with internet connectivity running at all times in my home, especially in children&#x27;s bedrooms?
评论 #21748368 未加载
math0neover 5 years ago
I&quot;m sure this was created for personal interest &#x2F; development reasons but I thought I should mention that Home Assistant (<a href="https:&#x2F;&#x2F;www.home-assistant.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.home-assistant.io&#x2F;</a>) will do all of this out of the box.
评论 #21746598 未加载
crazypythonover 5 years ago
Please use a language like C, D, C++, or Python. They are much more lightweight. It takes hundreds of lines of javascript to be executed to do a single &quot;console.log.&quot;
评论 #21746658 未加载
评论 #21747787 未加载
评论 #21747605 未加载