I have a ShellSwitch that requests the status to a ESP device.
The switch os configured with a update interval of 300000 ms (= 5 minutes). But when I do some logging on the ESP side, it turns out Pimatic is requesting the state more often then anything near the 5 minuites:
[0 d 0 h 0 min 49 sec] API staus request
[0 d 0 h 1 min 50 sec] API staus request
[0 d 0 h 2 min 50 sec] API staus request
[0 d 0 h 3 min 18 sec] API staus request
[0 d 0 h 3 min 51 sec] API staus request
[0 d 0 h 4 min 51 sec] API staus request
[0 d 0 h 5 min 54 sec] API staus request
[0 d 0 h 6 min 55 sec] API staus request
[0 d 0 h 7 min 55 sec] API staus request
[0 d 0 h 8 min 18 sec] API staus request
Is this ‘normal’ behavior ?
EDIT: The interval value was updated yesterday from 1 minute to 5 minutes. Turns out, you need to restart pimatic to force this new value