-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firmware update fail for Aqara Curtain Motor E1 (ZNCLBL01LM) by Xiaomi #20662
Firmware update fail for Aqara Curtain Motor E1 (ZNCLBL01LM) by Xiaomi #20662
Comments
Hi, I confirm this is happening. I have 4 of these curtain devices and OTA fail for mee too:
I'm on an updated coordinator firmware:
Happy to provide further logs/configurations or even test any beta version. Thanks! |
@marcgarciamarti did you manage to get your to update? Saw this post #13801 (comment) where @Otnow mentioned a fix was coming. |
Not fixed yet. See this: #15745 (comment) |
Thank you! @Koenkk |
Note for PR: when pairing, device will immediately display correct firmware version, otherwise you need to wait until device sends next heartbeat message (~ 6-6,5 minutes) or perform its manual reconfiguration and then restart zigbee2mqtt (so that correct version is displayed in web interface). |
What happened?
Zigbee2MQTT OTA Menu indicates firmware updates are available for the Aqara Curtain Motor E1 (ZNCLBL01LM). Also pops up in home assistant settings notifications.
Press "update device firmware".
After a few minutes firmware update fails with message "Update of 'Living room Curtain' failed (OTA: Timeout, device did not request any image blocks)"
Current firmware according to Zigbee2MQTT
firmware date: May 31 2022
firmware version: 0.0.0_0027
Can be updated to (seen on home assistant): 6168
Other devices (from Aqara like E1 thermostat) do update correctly
What did you expect to happen?
.. firmware updated.
How to reproduce it (minimal and precise)
press update firmware button
wait until error message appears
Zigbee2MQTT version
1.35.1
Adapter firmware version
6.10.3.0 build 297
Adapter
Sonoff ZBdongle-E
Debug log
Debug 2024-01-07 22:55:24Received MQTT message on 'zigbee2mqtt/bridge/request/device/ota_update/update' with data '{"id":"Living room Curtain","transaction":"7nfya-6"}'
Info 2024-01-07 22:55:24Updating 'Living room Curtain' to latest firmware
Debug 2024-01-07 22:55:24Received Zigbee message from 'Living room Curtain', type 'readResponse', cluster 'genBasic', data '{"dateCode":"May 31 2022","swBuildId":"0.0.0_0027"}' from endpoint 1 with groupID 0
Debug 2024-01-07 22:55:24OTA: Updating to latest '0x54ef441000560cfb' (lumi.curtain.agl001)
Debug 2024-01-07 22:55:24OTA: Using endpoint '1'
Debug 2024-01-07 22:55:25Received Zigbee message from 'Living room Curtain', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":27,"imageType":4105,"manufacturerCode":4447}' from endpoint 1 with groupID 0
Debug 2024-01-07 22:55:25OTA: Got request '{"fieldControl":0,"manufacturerCode":4447,"imageType":4105,"fileVersion":27}'
Debug 2024-01-07 22:55:25ZigbeeOTA: call getImageMeta for lumi.curtain.agl001
Debug 2024-01-07 22:55:25ZigbeeOTA: downloaded main index
Debug 2024-01-07 22:55:25OTA: Get new image for '0x54ef441000560cfb'
Debug 2024-01-07 22:55:25OTA: Get new image for '0x54ef441000560cfb', latest meta {"fileVersion":6168,"fileSize":288213,"url":"https://github.com/Koenkk/zigbee-OTA/raw/master/images/Xiaomi/20220506181329_lumi.curtain.agl001_Multi_JN5189_FMSH_0.0.0_2424_20220422_1aa302.ota","sha512":"0d1bae25759420898d381b98e97858d2e47f48cd3495abd8754661d0e1957eb5b570a2ae7435acc435d5a18665409e07148abae6f1f4a190c9af786d94ec725d"}
Debug 2024-01-07 22:55:25OTA: downloading firmware image from https://github.com/Koenkk/zigbee-OTA/raw/master/images/Xiaomi/20220506181329_lumi.curtain.agl001_Multi_JN5189_FMSH_0.0.0_2424_20220422_1aa302.ota using the zigbeeOTA custom CA certificates
Debug 2024-01-07 22:55:26OTA: Update checksum validation succeeded for '0x54ef441000560cfb'
Debug 2024-01-07 22:55:26OTA: Get new image for '0x54ef441000560cfb', image header {"otaUpgradeFileIdentifier":{"type":"Buffer","data":[30,241,238,11]},"otaHeaderVersion":256,"otaHeaderLength":56,"otaHeaderFieldControl":0,"manufacturerCode":4447,"imageType":4105,"fileVersion":6168,"zigbeeStackVersion":2,"otaHeaderString":"CURTAIN-OCC-JN5189---ENCRYPTED00","totalImageSize":288213}
Debug 2024-01-07 22:55:26OTA: Got new image for '0x54ef441000560cfb'
Debug 2024-01-07 22:55:26OTA: Starting upgrade
Debug 2024-01-07 22:55:26Received Zigbee message from 'Living room Curtain', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":27,"imageType":4105,"manufacturerCode":4447}' from endpoint 1 with groupID 0
Debug 2024-01-07 22:56:01Received Zigbee message from 'Coordinator', type 'commandNotification', cluster 'greenPower', data '{"data":[25,6,2,0],"type":"Buffer"}' from endpoint 242 with groupID null, ignoring since it is from coordinator
Debug 2024-01-07 22:57:56Update of 'Living room Curtain' failed (Error: OTA: Timeout, device did not request any image blocks)
Info 2024-01-07 22:57:56MQTT publish: topic 'zigbee2mqtt/Living room Curtain', payload '{"action":null,"battery":78,"charging":false,"device_temperature":23,"hand_open":true,"hooks_lock":"LOCK","hooks_state":"locked","illuminance_lux":0,"linkquality":192,"motor_state":"stopped","position":100,"power_outage_count":0,"power_source":"battery","running":false,"state":"OPEN","target_position":100,"update":{"installed_version":27,"latest_version":6168,"state":"available"},"update_available":null,"voltage":3000}'
Info 2024-01-07 22:57:56MQTT publish: topic 'zigbee2mqtt/bridge/response/device/ota_update/update', payload '{"data":{"id":"Living room Curtain"},"error":"Update of 'Living room Curtain' failed (OTA: Timeout, device did not request any image blocks)","status":"error","transaction":"7nfya-6"}'
Error 2024-01-07 22:57:56Update of 'Living room Curtain' failed (OTA: Timeout, device did not request any image blocks)
Debug 2024-01-07 22:57:56Error: OTA: Timeout, device did not request any image blocks at /app/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:518:28 at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:538:9) at processTimers (node:internal/timers:512:7)
The text was updated successfully, but these errors were encountered: