Project Home‎ > ‎Documentation‎ > ‎Attributes‎ > ‎

Retrigger Delay

Retrigger_delay is used with devices such as motion detectors and contacts to prevent the device from triggering more than desired. It is especially useful when trying to sequence events with multiple motion detectors.


Syntax:

retrigger_delay = {
            Attribute.SECS: <time in seconds>    
},



Example:

Here we have a MOTION device that was triggering too often so a delay was added to prevent the situation. This allowed the person time to move away from the detector.

m_stairs  = Motion(address='H1', devices=w800, 
        retrigger_delay = {
            Attribute.SECS: 20    
        },
        name='Stair Motion')




Comments