Page 1 of 1

Switch with Off Delay > 30 doesn't trigger

Posted: Saturday 31 March 2018 4:22
by velkrosmaak
I have several PIR, LDR, DHT11 combos running on wemos around the house. The PIRs send an on signal, and then an off signal almost immediately. I have this blockly script in an attempt to increase the timeout delay between movement ending and the lights turning off.

https://imgur.com/a/WXerm
Image

"LDR actual" is the light level in the kitchen
"Kitchen pir timer" is a virtual switch with "delay off" which ideally I want to set to 10+ minutes
"Kitchen big light" is one of the lights in the "kitchen" group, so that this only turns lights off if that one is currently on.

I have this set as an 'All' type.

My problem is, the "kitchen PIR timer" doesn't turn off after the specified time unless it's 30 seconds or under. Is this a bug? Tried on the latest stable release, and have just upgraded to 3.9117 beta but have the same issue.

Thanks for any help!

Re: Switch with Off Delay > 30 doesn't trigger

Posted: Saturday 31 March 2018 5:57
by brommetje
Same problem over here with blocky and version 3.9138

Re: Switch with Off Delay > 30 doesn't trigger

Posted: Saturday 31 March 2018 19:22
by Denny64
Me too.

Domoticz v. 3.8153

Re: Switch with Off Delay > 30 doesn't trigger

Posted: Saturday 31 March 2018 23:41
by gavron7
3.9056 works fine. Pir timeout 600secs.

Wysłane z mojego GT-S7580 przy użyciu Tapatalka


Re: Switch with Off Delay > 30 doesn't trigger

Posted: Friday 04 May 2018 0:37
by velkrosmaak
Am now on 3.9381 and this appears to have stopped working again.

The PIR triggers, but the switch with the off delay isn't triggered. In the console, it says 'admin initiated switch command' even though the command was triggered by an ESPEasy Mega node (https://github.com/letscontrolit/ESPEasy).

Has something changed in a recent update?