I finally found the time to clean up and release my local implementation of Day & Dusk: https://github.com/Djelibeybi/docker-lifx-daydusk
It uses @delfick’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 https://hub.docker.com/r/djelibeybi/lifx-daydusk
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
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.