How can I turn off a active zone and let the zone suspend for 10 minutes from events.
Announcement
Collapse
No announcement yet.
Suspend for 10 minutes.
Collapse
X
-
@Bob,
I was afraid that this is not possible.
This is my problem:
I have about 10 sensor for detecting occupation downstairs.
When zone turns on and it's night time lights will turn on.
This parts works fine.
When I turn of the lights and set the zone to off all the devices and lights will turn off.
Walking to entrance the motion sensor will trigger the zone to on again.
Lights will not turn one since I have a extra virtual device that is set to 10 minutes for extra condition to do nothing
Without Blradar I have a extra condition that will set on for 10 minutes to do no detection.
After 10 minutes the zone is still active since the timeout is 30 minutes....lights will turn on again.
Only option is to set the extra virtual device to >30 minutes..this is a bit to long..
REQ: Suspend option for zones.
Comment
-
I am this could be added to the plugin. I am just thinking of the best way to do it.
I could add another option for Active Zones where you could enter in the minutes the delay any new ON processing. I could then add a scripting call that you could run that would set this value for a sensor. If you set it to 10 minutes then it would wait 10 minutes before an ON would process. If you set it to 0 then this would disable it and the ON would operate as normal.
I hope I am understanding what you are asking.
Your thoughts?
Comment
-
The reason I was going to add a script call to do the suspend was so that it could be used in other scripts as well as event actions. You would be able to call it from an event by adding the script call to the event. Something like this:
&hs.Plugin("BLRadar").SuspendActiveZone("M99", 10)
Here is what I was thinking for how the suspend would work. For example if you set it to 10 minutes, then that would mean that the active zone would be suspended from changing from OFF to ON for 10 minutes after the last sensor assigned to the active zone causes the zone to go off. It will have no affect on the zone if it is already ON. It must be OFF before the suspend time would be effective.
Make sense?
If this is ok, please enter a feature request on my site so I can track it easier.
ThxLast edited by Blade; March 24, 2010, 07:58 AM.
Comment
Comment