Then check your zigbee2mqtt logs. There are lines like this:
Zigbee2MQTT:debug 2022-09-04 12:10:24: Is new image available for '0x54ef4xxxxxxxxx7d', current '{"fieldControl":1,"manufacturerCode":4447,"imageType":8347,"fileVersion":54}', latest meta '{"fileVersion":54,"fileSize":317658,"url":"https://github.com/Koenkk/zigbee-OTA/raw/master/images/Xiaomi/20220524105221_OTA_lumi.motion.ac01_0.0.0_0054_20220509_EB279B.ota","sha512":"32174d5bc4abbb7295e7619a1684b0a37a9622dfc4cebbc6a39174e18fa3b9bde9b562cbb34e1eb9c61169c0f1f879245d4e452890dfc0645cd22e6ad36f468d"}'
Zigbee2MQTT:debug 2022-09-04 12:10:24: Update available for '0x54ef4xxxxxxxxx7d': NO
Zigbee2MQTT:info 2022-09-04 12:10:24: No update available for '0x54ef4xxxxxxxxx7d'
The
fileVersion":54
is your firmware. You check the latest firmware here:
Excellent, I build a DEV HA install on a spare RPi4 kicking about and installed Zigbee2MQTT and updated the firmware. Then moved the sensor back into LIVE HA, works a treat - thanks. Note that the firmware upgrade too approximately 40-50 minutes.
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.
I’m using HA supervised with zig2mqqt. Can’t find the firmware version anywhere pointed above. One of my FP1’s work perfectly, the other one gets stuck with presence detected.
Just got my FP1 and have the same issue.
Did some tests and seems like the FP1 need to detect proper motion before resetting the presence state.
I had my FP1 facing towards the wall with 10cm distance, no change for fans, moving curtains etc.
I gave it a ‘false positive’ by moving it till presence_event is changed to ‘enter’. It detects presence but it doesn’t reset automatically. (Waited 5+ minutes)
When I wave and move my fingers for 3-5 seconds in front of the sensor, it resets the presence after 40 seconds.
Then I wave my hand again, and it triggers presence and resets by it self.
Did this test a few times, it is an constant behavior.
Guess it make a snapshot or something and will only reset if it has proper differences?
Tried to update it over OTA in Z2M but get cluster errors.
Thanks for this, now it works for me too. My presence was never reseted and the event as well, this fixes it. Hope they will release a fw-update soon to mitigate this issue.
Hey @littlbee
Sorry not replying before. Moving to a new house and trying to catch up with what is happening here
Looks like your Sonoff bridge isn’t on the list for the FP1 to work with:
In order for this device to work, at least the following firmware is required on your adapter:
Can I use this file to update through ZHA? There’s no direct update possible but downloading file and then using ZHA ota update method should be possible, right?
However, I have only roughly read the ota instructions, since I am a z2m user. But if you have already made an ota and / or follow the instructions, the OTA file should be the right one. It is the original one from aqara.
So I used my old USB meters again. After 30min they don’t even show one mAh. I am not sure if this can be true. I have already tested two different models. Volt show the 5.04. The ampere value jumps between 0.00 and 0.01A. Maybe I’m doing something wrong …?