So i am using the Everything presence one to detect motion in order to trigger a WLED Led strip on home assistant but the PIR sensor and MMwave sensor is so inconsistent.
i would have my hand over it at times i would walk past it from every distance standing up but its doesnt trigger the automation code, anyone has any idea what i did wrong?
any help is much appreciated !
Let’s split the problem into two. Please confirm that motion or radar sensors are changing their state in home assistant while you are walking down. You can keep you phone at your end and validate it. If this is not working, focus on it.
If sensors are changing as expected, share your automation code as yaml block in the post.
yes the sensors are changing their state while going down
heres the YAML code:
alias: Walk_In_detection
description: >
Everything Presence one Automation for when a human walks in and triggers the
sensor.
trigger:
- type: motion
platform: device
device_id: f31baae7076b399b225d226b61492cc3
entity_id: 8adf840956738d4d05d8b99da62365a9
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 20
enabled: true
condition: []
action:
- if:
- type: is_motion
condition: device
device_id: f31baae7076b399b225d226b61492cc3
entity_id: 8adf840956738d4d05d8b99da62365a9
domain: binary_sensor
then:
- type: toggle
device_id: f59c934dde2c6bdb9bf7c3f60124c881
entity_id: d98e51492aa3fc6c2e2f188b4154b0f3
domain: light
else: []
mode: single
Can you start by removing 20 seconds wait time?
To be sure that all were setup correctly, i would advise to change your automation from device to entity state based one, share updated yaml and share corresponding sensors history values.