Just happened to look at the lua code block scenes generate - in particular timers, e.g do something every X time interval or at a specific time.
The one below turns on deviceID 17 every minute. Every hour and they do %60 and every 24 hours they do %1440 etc.
Please login or register to see this code.
First, they don't seem to handle DST.
Second, eventually the tempFunc loop will drift and skip an interval. When that happens depends on how close to an interval border you are when the sc