I have the following piston that runs every 3 hours. The problem is it is running every 2 hours.
If I set the timer to 180 minutes then it does run every 3 hours.
Here is the piston and the logs.
PISTON.
LOGS WITH IT SET TO 3 HOURS.
LOGS WITH IT SET TO 180 MINUTES.
Timer Set For Every 3 Hours Running Every 2 Hours. Possible Bug?
bobbles
#1
ipaterson
#2
Excellent observation, the code is explicitly subtracting one hour when scheduling this. I’m not sure why that - 1
is in there but will roll up a pull request for @ady624 to review. Pull request submitted here
ipaterson
#5
The fix was reviewed and released in v0.2.101; please update your smart apps at developer.smartthings.com. If you already updated to that version prior to Dec 29 you will need to update again since the same version number was used.