So you want [Deprecated] Design Pattern: Motion Sensor Timer which you can use Debounce [4.0.0.0;4.9.9.9] to implement.
Create a Group Item to put your motion sensor(s) into called Debounce. Add debounce
metadata to those Items per the instructions. For example:
value="MotionSensorProxy"
config:
states: "OFF"
timeout: "PT2M"
command: "true"
If that metadata is applied to MotionSensorRaw
when the Item changes to ON that ON state will be commanded to MotionSensorProxy
. However, MotionSensorRaw
needs to remain OFF for two minutes before MotionSensorProxy
will be commanded to OFF.
There’s no timer. As soon as your Item goes to OFF you simply command it to ON. Then the sensor changes to to OFF again and you command it back to ON. There’s no real filter here.
Note: Don’t post screen shots of code or logs. Always post the actual text in code fences.
```
code goes here
```