Hi,
So I have a SoNOFF PIR3 in my hallway. When motion is detected it will turn on the lights in my hallway for 2 minutes. This is working fine, but whenever the lights turn off and I move my hand to trigger the motion sensor right again it doesn’t run the automation anymore.
If I wait for ~1 minute and move my hand again it will run the automation again.
Below you’ll find my automation, I thought that running it in parralel mode would’ve solve the issue so it will run the automation parralel to another one already running, but however, not the result I would like to have.
So to clear up, when I trigger the PIR it should just run the automation again so it basicly “resets” the automation and runs it again. How can I achieve this?
Edit: I’ve also set the PIR timer to 10sec, so if within 10 sec of the PIR motion trigger any other movement is notified it will reset the countdown, this did not help anything (original value was 60).
- id: '1656439372516'
alias: Beweging in de hal > halspots aan
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.halspots_beweging
from: 'off'
to: 'on'
condition: []
action:
- service: light.turn_on
data: {}
target:
entity_id: light.halspots
- delay:
hours: 0
minutes: 2
seconds: 0
milliseconds: 0
- service: light.turn_off
data: {}
target:
entity_id: light.halspots
mode: parallel