How can I know which firmware I have?
Have a look under Settings | Devices and Services | Devices:
If you click the three dots next to the āReconfigure Deviceā and select āManage Clustersā check the file version:
My other FP1 that is not behaving (and relegated to the back of a drawe)r is firmware version 35 and file version 53ā¦ firmware 36 and file version 54 I have no problem with, it is absolutely rock solid.
Iām using Ziggbee2mqtt
In zigbee2mqtt run the ota for your fp1. Click in āCheck for new updatesā
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.
debug <small>2022-09-04 14:53:33</small>
Is new image available for ā0x54ef44100053d26eā, 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ā}`
this is what im getting
āfileVersionā:54
shows your firmware version and this is up 2 date atm.
Any ideas how to detect a baby?
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.
How do you go about changing firmware? Any help would be great.
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.
Thank you for your solution. At least it makes the FP1 less useless for me.
And your results?
I am a bit sad about my results.
Is it time for a github issue for z2m?
Yeah, basically it works as it should. Light switches off when occupancy is empty and event is away for 5 minutes.
But having to make such a workaround is a waste of time. Luckily itās not battery powered.
Hi
Thatās so greaaat.
Youād say that the sensor detect your position under 1 second, whatās itās possible?
You update the sensor in the last firmware no ?
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.
I would I update using Deconz ? (I am not using HA)
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:
- CC2530/CC2531
- CC1352/CC2652
- CC2538
- Conbee II
https://www.zigbee2mqtt.io/devices/RTCZCGQ11LM.html#xiaomi-rtczcgq11lm
You could dive into this and try to find if you can report a new device Support:
https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html#instructions
Or like you already mentioned, Iām also waiting for the device from āEverything Smart Homeā. It has so much more for the same price.
The OTA inside Z2MQTT does not have any update available for the FP1.
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?