Closed Rihan9 closed 5 months ago
I haven't tried latest version of this repo, but my configuration below works for me:
I also can't reproduce this issue (latest esphome&external_component).
LD2450:
uart_id: uart_bus
occupancy:
name: "Office"
filters:
delayed_off: 2min
target_count:
name: "Office"
This minimal configuraiton yields a log like this (binary sensor turns off 2 minutes after target count sensor):
[17:49:42][D][binary_sensor:036]: 'Office': Sending state ON
[17:49:42][D][sensor:094]: 'Office': Sending state 1.00000 with 0 decimals of accuracy
[17:49:49][D][sensor:094]: 'Office': Sending state 0.00000 with 0 decimals of accuracy
[17:51:49][D][binary_sensor:036]: 'Office': Sending state OFF
@Rihan9 can you post an excerpt from your logs when this happens? You should be able observe a similar behavirour with your target_count
sensor. Maybe the LD2450 sensor is still tracking a taget (some moving objects such as doors or curtains moving in the wind). Try adding all 3 targets with debug sensors so you can observe what is happening more closely.
I will close this as can't reproduce
, feel free to use this issue for further questions regarding this problem. Thanks @bsell93 for chiming in.
Hi,
I'm trying to add a small delay before the occupancy sensor goes off. Below, I have posted my configuration, but the delay_off filter doesn't seem to work.
Can I get some help?
Thanks!