I would like to have a run a script every hour to check the time and change the brightness of a light throughout the evening.
Is it possible for the Flic Hub LR to run a script on a schedule, or would I need to have the script running continuously manually create a loop using setTimeout
to sleep for an hour? Or is there some better way to sleep in a loop, like how a script can wait for a button press but being trigger at a time instead of on an event?
Would it be horribly inefficient for the hub to have script sleeping for long periods using setTimeout
or is that effectively the same as having a script running continuously and waiting for a button press?
Thank you!