Hello
I just found out, that my HC-SR501 motion detector has 5 seconds delay between movement notifications. It means when I wave the hand on front of it the state will goes off after that time:
[20:53:**08**][D][binary_sensor:036]: 'Motion Sensor': Sending state ON
[20:53:**11**][D][binary_sensor:036]: 'Motion Sensor': Sending state OFF
So I tried to manipulate the code to make the retrigger faster. I came up to 3 seconds by using delayed_off filter:
binary_sensor:
- platform: gpio
pin: 1
name: "Motion Sensor"
device_class: motion
id: move
- platform: template
name: "WC motion delayed"
lambda: |-
return id(move).state;
filters:
- delayed_off: 0ms
The problem is that I want to “see” every movement detected. I don’t need that delay.
Is anybody has the same situation and maybe found resolution for it?
PS. The retriever knob is already turned to minimum.
PS2. I tested on two 501’s.
PS3. Under Arduino Nano works fine…