'Off delay' doesn't work as expected

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
jvmaanen
Posts: 13
Joined: Wednesday 01 March 2017 13:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

'Off delay' doesn't work as expected

Post by jvmaanen »

I configured an 'off delay' of 300 seconds for my motion sensor and dusk sensor (separate devices). My expectation was that when they switch off, they stay on for 300 seconds and then switch off. I would like to use this option to prevent these sensors from switching on/off all the time. Once on, they should stay on for at least 300 seconds.
Swifty
Posts: 76
Joined: Saturday 31 December 2016 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: 'Off delay' doesn't work as expected

Post by Swifty »

I believe off delay will actually wait that amount of time before automatically switching off.

Ie. you have a plug, with an off delay of 5 minutes, so you switch it on then automatically after 5 minutes it will switch off itself.

Sounds like you want to prevent switch off for (x) minutes instead?
asjmcguire
Posts: 71
Joined: Saturday 13 July 2013 2:45
Target OS: Linux
Domoticz version: 3.5877
Location: Scotland
Contact:

Re: 'Off delay' doesn't work as expected

Post by asjmcguire »

Obviously when the motion sensor sends the off command then domoticz will honour it. The way I have used it is like this:

I have a 433MHz Switch (but you can easily just use a virtual one instead). This Switch in Domoticz has a 300 second off timer. If any of 3 contact sensors or the motion sensor detects movement, then using Blockly - we tell Domoticz to turn on the Virtual Switch (plus the associated light). This means that as long as movement is detected or the doors are constantly opening and closing, then Domoticz will keep resetting the 300 second timer. Finally after no movement detected or doors being opened, Domoticz will send the Off command for the switch. Another benefit of removing the direct connection is that I get to tell the system to ignore any triggers either via switch, door contacts or motion sensor during daylight hours.
AEOTEC ZStick, 11 ZWave Nodes, RFXCOMM, 50ish Byron Sockets.. HE851 (PIR), 2x HE852 (DoorContact)
WS2300, CM180, CC128, 2xTHGR122NX, 2xPiZeroW w/DS18B20, 8Ch 1W Relay Board.
8 Panasonic IP Cams, 1 16ch CCTV DVR + 15 CCTV Cams
jvmaanen
Posts: 13
Joined: Wednesday 01 March 2017 13:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: 'Off delay' doesn't work as expected

Post by jvmaanen »

@Swifty, yes that's what I was expecting. I like to prevent to switch off for 300 seconds.

@asjmcguire, thanks for your explanation. This works.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest