Skip to content

ESP WLED driven Nightlight / Sleeptrainer, to help the toddlers when they have to be 'In bed' or when they are allowed to come 'Out of bed'.

Notifications You must be signed in to change notification settings

kippesikgithub/esp_kids_nightlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 

Repository files navigation

ESP WLED Nightlight / Sleeptrainer

ESP WLED driven, integrated in Home Assistant, Nightlight / Sleeptrainer, to help the toddlers when they have to be 'In bed' or when they are allowed to come 'Out of bed'.
Giving you or the toddler the ability to choose every light color available (even different ones for open and closed eyes), controll the light manual, and automate the light based on datetime helpers in Home Assistant.
image image image

Requirements

ESP board (esp8266 or esp32 based)
2x 3 WS2812 Leds
USB (micro or usb-c) for connecting to power source
3d Print the housing https://www.printables.com/model/625681-nightlighttoddler-clockok-to-wake-lightsleep-train (created by rparish_1262093, thanks!)
note: I dont use the setup (internals) that the original creater has on the printables article, since I want the ability to choose every possible color, and had some strips of ws2812b leds laying around, waiting for a purpose.

How To create

  • Print the housing from the link provided on Printables
  • Flash WLED firmware on the ESP chip of your choise, and connect it to your WIFI
  • Connect/Solder 2 strips (or 1 strip, and create segments in WLED) to your ESP chip on your favorite GPIO port
  • Place the ESP and ledstrips into the housing like on the picture below (I used ledstrip diffuser strips to create a nice surface to put double sided tape behind)
    image
    1: ESP Board (used an Wemos D1 mini esp8266 based)
    2: 2 x 3 WS2812B Leds (or create one string and create segments in WLED)
    3: Usb powerconnector of the ESP, used to power the project (on the back of the light)
  • Create Segments out of the upper and lower led strips, so you can controll them separately
  • Connect the usb (usb-c or micro-usb) Power on the back of the Light (into the esp)
    image
  • Integrate the WLED light into your Home Assistant environment
  • Create to DateTime helpers for 'In Bedtime' and 'Out of Bedtime'
    image
  • Create some flows in Node Red or Home Assistant Automations to turn on or off the upper of lower part of the light
  • Create a Home Assistant Card for controlling the light manually and setting the helpers for 'In Bedtime' and 'Out of Bedtime'
    image
  • My setup in WLED Segments:
    image

About

ESP WLED driven Nightlight / Sleeptrainer, to help the toddlers when they have to be 'In bed' or when they are allowed to come 'Out of bed'.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published