I’m not sure what you mean regarding additonal logic.
Do you mean remove ‘on’ from line 49?
Sensor left open web request help
teba
#21
teba
#23
How do you reset the current duration count? The announcement won’t play because the ‘define’ integer current duration count is higher than the ‘if (current duration) is less than 10’