Im using the normal way with the scripttimer to switch of lights after a certain time. I’ve read in the documentation that the use of scripttimer has a high accuracy till 3600 seconds.
The duration of the timer can only be set on an exact second value if the timer value is 3600 or less. For values above 3600, irregularities can occur, depending on start time and/or divisor as the script timer shares the same limitations as normal cyclic events and their time templates. E.g., if a timer is set to 5 hours at 6:00, it triggers at 6:00, 11:00, 16:00, 21:00, and 1:00, even though 2:00 could have been expected. Values above the day border are rounded up to whole days.
Now i want to make a script timer with 7200 second (2hours). How do you guys do this? Do you still use the scripttimer? Ive found a workaround with saving a timestamp and check every 60 seconds if it passed.