photons icon indicating copy to clipboard operation
photons copied to clipboard

Feature request: ability to schedule tasks

Open Djelibeybi opened this issue 6 years ago • 3 comments

It occured to me while building my cron-based Docker image that if Photons Interactor had a cron-like service included, it would make a far better mechanism for things like circadian transformation.

It could also be used to start/stop animations on multi-zone devices. In fact, the possibilities, while not perhaps endless, are fairly extensive. :)

Djelibeybi avatar Feb 04 '20 02:02 Djelibeybi

It wouldn't be too hard to use something like https://github.com/dbader/schedule to do this.

I'm not sure when I'd have time to have a look at that though. maybe the weekend :)

delfick avatar Feb 04 '20 03:02 delfick

so I should have said "a" weekend instead of "the" weekend perhaps :p

I found time to look at this again. I have decided I'll wait for APScheduler 4.0 to come out https://github.com/agronholm/apscheduler/issues/465 and use that. So the delay continues.

delfick avatar Apr 15 '21 04:04 delfick

All good. My lifx-daydusk container is still merrily chugging along.

Djelibeybi avatar Apr 15 '21 07:04 Djelibeybi