Hey folks,
I finally found the time to clean up and release my local implementation of Day & Dusk: GitHub - Djelibeybi/docker-lifx-daydusk: LAN-based implementation of the LIFX Day and Dusk functionality with finer grained control
It uses @delfick-employee’s fantastic Photons Core library under the hood to build a series of cron jobs from user-provided JSON.
I’ve only just published it now so keep in mind that it may have bugs, rough edges and other pitfalls. The biggest one is that if you don’t provides your own bulbs.conf
file, it’s going to target all the bulbs it can find.
The Docker image is published at Docker Hub
Edited because I tagged v1.0.0 and made it multiarch, so it works on 64-bit Arm devices like the Raspberry Pi 3 Model B/B+ or Raspberry Pi 4 as well. I’ve also added per-event bulb selection in v1.1.0 via event-specific bulb.conf
files.
If you like living on the edge, the develop
branch has HSBK support as well as the ability to specify individual days for each event.