So I’ve had 7 FP1 sensors lying around here for 3 days now. Everything is connected properly via z2m, the zigbee channel has even been changed to 25, but unfortunately the most frequent state I get is approach.
Also, the presence sensor rarely switches back to false when I leave the room.
I then noticed that the presence_event changes when I press the reset_nopresence_status button.
So I wrote an automation that triggers the reset_nopresence_status every few seconds via mqtt.
Here is the automation:
alias: Mqtt-send-off-fp1
description: ""
trigger:
- platform: time_pattern
seconds: /3
condition: []
action:
- service: mqtt.publish
data:
topic: zigbee2mqtt/0x54eXXXXXXXXXXXXX/set
payload: "{\"reset_nopresence_status\":\"\"}"
mode: single
Now the presence_event is working very well. I can’t use the presence info anymore, but I get much better values back like left_enter or right_leave.