Does anyone know any libraries in Python that can be used to schedule scripts? Ideally, I would like to queue the execution of multiple scripts.
something like https://schedule.readthedocs.io/en/stable/ maybe?
Depends what you actually want to do.
I am merely trying to create a scheduler, similar to the one in the Lifx app, but to run my light scenes and effects scripts automatically.
Thank you both - these look like a good starting point. Any other ideas welcome.
Use the one I already built: https://github.com/Djelibeybi/docker-lifx-daydusk
I know it’s called DayDusk but you can send any transform at any time, so it really is a full-blown scheduler now. It can even splat themes onto multizone devices.
2 Likes
It should be fairly easy to modify lifx-daydusk
to trigger firmware effects, btw.
If you’re running Linux, good old cron will do the job.