-
-
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
Aqara curtain driver e1 OTA fails #15745
Aqara curtain driver e1 OTA fails #15745
Comments
I am also experiencing this issue. Same issue for QBKG31LM. Update reported and can be started, however it will show failed to update in the end. |
Seeing the same on my end, but I'm using the TubeZB coordinator if that matters somehow. |
Same. Using a Conbee 2 The Update starts and after it goes to 100% it shows the same Firmware again and if i check i can update the Firmware again. On home Assistant it shows the Version as 6168 "update": { |
Yes, same problem over here. The version 6168 does not make any sense. Latest one available is supposed to be Version: 0.0.0_2424: https://www.aqara.com/en/version/curtain-driver-e1-track-version |
Same issue here, I'm stuck on 0.0.0_0024. |
Bump - same issue and it doesn't look like an owner has been assigned yet? |
same issue |
Same issue |
Same issue here. |
Same issue using Zigbee2MQTT and Conbee 2 stick. |
Who do i have to buy a beer to get this to be picked up? |
I'd join you spending a beer
|
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Bump, still same issue. |
Same issue. |
Yes, very much should not be automatically closed, this is still a problem. |
Same issue. |
looks like the same issue here. |
Same issue Is someone going to fix it ? |
Same issue :( |
Same issue on both of mine Both devices report firmware upgrades are available..
When i try to update it fails after a while with.. Update of 'Curtain Bedroom' failed (Timeout: device did not request any image blocks) |
Same for me |
Same issue. But the Aqara curtain driver e1, works fine. So no need for an update. |
The problem is Z2M 'thinks' an update is available. But there is no update available (at least on the Xiaomi end). |
Very much struggling with this as well. |
As soon as I can I'm just now recovering from the addon move weirdness of NR16 this week it may be a few days. But someone just above me nailed it. The problem is we're being offered something not there or invalid. The spinning was just a side effect. Now that you fixed that one we still keep getting offered this invalid Ota. |
Can someone provide the debug log when trying to update this device? The OTA is pulled from https://github.com/koenkk/zigbee-ota |
Sorry got caught up in the changes to addons this week had to repair my install. Will be at least Mon before I can. |
Here is the beginning of the update still has many minutes to run:
debug 2023-11-18 14:16:36: Received MQTT message on 'zigbee2mqtt/bridge/request/device/ota_update/update' with data '{"id":"library_curtain","transaction":"w98ax-19"}'
info 2023-11-18 14:16:36: Updating 'library_curtain' to latest firmware
info 2023-11-18 14:16:36: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Updating 'library_curtain' to latest firmware","meta":{"device":"library_curtain","status":"update_in_progress"},"type":"ota_update"}'
debug 2023-11-18 14:16:37: Received Zigbee message from 'library_curtain', type 'readResponse', cluster 'genBasic', data '{"dateCode":"Apr 22 2022","swBuildId":"0.0.0_0024"}' from endpoint 1 with groupID 0
debug 2023-11-18 14:16:37: Updating to latest '0x54ef4410004fe643' (lumi.curtain.agl001)
debug 2023-11-18 14:16:37: Using endpoint '1'
debug 2023-11-18 14:16:38: Received Zigbee message from 'library_curtain', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":24,"imageType":4105,"manufacturerCode":4447}' from endpoint 1 with groupID 0
debug 2023-11-18 14:16:38: Got OTA request '{"fieldControl":0,"manufacturerCode":4447,"imageType":4105,"fileVersion":24}'
From: Koen Kanters ***@***.***>
Sent: Saturday, November 18, 2023 12:56 PM
To: Koenkk/zigbee2mqtt ***@***.***>
Cc: highincolorado ***@***.***>; Manual ***@***.***>
Subject: Re: [Koenkk/zigbee2mqtt] Aqara curtain driver e1 OTA fails (Issue #15745)
Can someone provide the debug log when trying to update this device? The OTA is pulled from https://github.com/koenkk/zigbee-ota
—
Reply to this email directly, view it on GitHub<#15745 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOQJF2SVX36QOALVAH7UOR3YFEHGTAVCNFSM6AAAAAATIVBOJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGYYTEMRZGU>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.******@***.***>>
|
And here is the end of the update, If you want the whole 32 minutes worth of logs let me know.
debug 2023-11-18 14:47:48: Request offsets: fileOffset=288190 pageOffset=0 dataSize=48
debug 2023-11-18 14:47:48: Payload offsets: start=288190 end=288213 dataSize=48
debug 2023-11-18 14:47:50: Got upgrade end request for '0x54ef4410004fe643': {"status":0,"manufacturerCode":4447,"imageType":4105,"fileVersion":6168}
debug 2023-11-18 14:47:50: Update succeeded, waiting for device announce
info 2023-11-18 14:47:50: Update of 'library_curtain' at 100.00%
info 2023-11-18 14:47:50: MQTT publish: topic 'zigbee2mqtt/library_curtain', payload '{"action":null,"battery":36,"charging":false,"device_temperature":23,"hand_open":null,"hooks_lock":"UNLOCK","hooks_state":"unlocked","illuminance_lux":0,"linkquality":54,"motor_state":"stopped","position":100,"power_outage_count":3,"power_source":"battery","running":false,"state":"CLOSE","target_position":0,"update":{"installed_version":24,"latest_version":6168,"progress":100,"remaining":16,"state":"updating"},"update_available":false,"voltage":3000}'
info 2023-11-18 14:47:50: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Update of 'library_curtain' at 100.00%","meta":{"device":"library_curtain","progress":100,"status":"update_progress"},"type":"ota_update"}'
debug 2023-11-18 14:48:01: Got device announce or timed out, call resolve
debug 2023-11-18 14:48:01: Device 'library_curtain' announced itself
info 2023-11-18 14:48:01: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"library_curtain","ieee_address":"0x54ef4410004fe643"},"type":"device_announce"}'
info 2023-11-18 14:48:01: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"announce","meta":{"friendly_name":"library_curtain"},"type":"device_announced"}'
info 2023-11-18 14:48:01: Finished update of 'library_curtain'
info 2023-11-18 14:48:01: MQTT publish: topic 'zigbee2mqtt/library_curtain', payload '{"action":null,"battery":36,"charging":false,"device_temperature":23,"hand_open":null,"hooks_lock":"UNLOCK","hooks_state":"unlocked","illuminance_lux":0,"linkquality":51,"motor_state":"stopped","position":100,"power_outage_count":3,"power_source":"battery","running":false,"state":"CLOSE","target_position":0,"update":{"installed_version":6168,"latest_version":6168,"state":"idle"},"update_available":false,"voltage":3000}'
debug 2023-11-18 14:48:02: Received Zigbee message from 'library_curtain', type 'readResponse', cluster 'genBasic', data '{"dateCode":"Apr 22 2022","swBuildId":"0.0.0_0024"}' from endpoint 1 with groupID 0
info 2023-11-18 14:48:02: Configuring 'library_curtain'
info 2023-11-18 14:48:02: Device 'library_curtain' was updated from '{"dateCode":"Apr 22 2022","softwareBuildID":"0.0.0_0024"}' to '{"dateCode":"Apr 22 2022","softwareBuildID":"0.0.0_0024"}'
From: Koen Kanters ***@***.***>
Sent: Saturday, November 18, 2023 12:56 PM
To: Koenkk/zigbee2mqtt ***@***.***>
Cc: highincolorado ***@***.***>; Manual ***@***.***>
Subject: Re: [Koenkk/zigbee2mqtt] Aqara curtain driver e1 OTA fails (Issue #15745)
Can someone provide the debug log when trying to update this device? The OTA is pulled from https://github.com/koenkk/zigbee-ota
—
Reply to this email directly, view it on GitHub<#15745 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOQJF2SVX36QOALVAH7UOR3YFEHGTAVCNFSM6AAAAAATIVBOJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGYYTEMRZGU>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
@Otnow you added the fw for this device ( |
All, Too bad I didn't read all of this first. I was very annoyed with the update messages in Zigbee2mqtt... So of the 3 I have, 2 are on 0.0.0_2727 and 1 on 0.0.0_2424, but for both there is no update available.... Weird! |
Unfortunately, the device reports an incorrect firmware version (lower than it actually is) and, accordingly, the firmware update occurs with an error, because it tries to update to the same or lower version than the one on the device. I will try to make a fix in the code for this problem in the near future. |
Looks like this issue has been identified, thanks Otnow. Just adding to the up votes here that I also have the 27 to 6168 stuck upgrade issue. I disabled the update entities on my Aqara E1's to help my OCD. Looking forward to a fix though ;) |
@Otnow |
Hi. Unfortunately not yet. |
Affected by this too. Also, these devices are not reliable for me. I wanted to upgrade the firmware in an attempt to fix the unreliability that I'm experiencing. Anybody else experiencing unreliability with device dropping out of the network? I did not link the issue I created just because it may not be related and wanted to avoid adding noise... |
I’ve got a couple of them in my network and they’ve been good as gold reliability wise. Still haven’t needed to charge them yet either! |
@markhaines that is indeed interesting. My experience is, when I pair these devices, they work for a limited time period (a couple of days), then they stop working and any command I send to them, they simply won't react. It's good to know that your experience is positive. Could you share what FW versions are your devices on? |
Also for me well so far from reliably perspective. Third reality blinds in turn, nothing but troubles |
I created issue 20795. If you could take a look at it, I would be very thankful. I really don't want to paste a link to that issue here, as I don't want for Github to link the two issues together, but any insight would be most appreciated |
please, these are two different problems, write to the point, otherwise we will not move forward. |
The PR fixing current problem has been merged. 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). |
Very thanks @Otnow !! |
Yes, this is normal, sometimes it happens that firmware version on device is higher than available OTA update. |
Wonderful, will give it a go! Thanks for all the debugging support |
Installed and tested, looks good, thanks! |
Thank you for fixing this! Great work.
…On Thu, 1 Feb 2024 at 23:53, highincolorado ***@***.***> wrote:
Installed and tested, looks good, thanks!
—
Reply to this email directly, view it on GitHub
<#15745 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAARQTRO5J7MVWD5QIHTXGLYRQTG5AVCNFSM6AAAAAATIVBOJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRSGUYDMOBRHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
What happened?
ZNCLBL01LM aqare curtain driver e1 OTA update announced in both zigbee2mqtt as well as home assistant updates. But the update is unable to complete.
What did you expect to happen?
OTA to complete
How to reproduce it (minimal and precise)
Current version 0.0.0_0027
Go to zigbee2mqtt ota and press update firmware for the aqara curtain driver e1 track version.
Zigbee2MQTT version
1.28.4-1
Adapter firmware version
0100
Adapter
Sonoff_Zigbee_3.0_USB_Dongle_Plus
Debug log
info 2022-12-24 21:36:14: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Updating 'Curtain parents right' to latest firmware","meta":{"device":"Curtain parents right","status":"update_in_progress"},"type":"ota_update"}'
debug 2022-12-24 21:36:16: Received Zigbee message from 'Curtain parents right', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":27,"imageType":4105,"manufacturerCode":4447}' from endpoint 1 with groupID 0
debug 2022-12-24 21:36:16: Got OTA request '{"fieldControl":0,"manufacturerCode":4447,"imageType":4105,"fileVersion":27}'
debug 2022-12-24 21:36:16: ZigbeeOTA: downloaded main index
debug 2022-12-24 21:36:16: getNewImage for '0x54ef441000558255', 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 2022-12-24 21:36:16: ZigbeeOTA: 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
debug 2022-12-24 21:36:17: OTA update checksum validation succeeded for '0x54ef441000558255'
debug 2022-12-24 21:36:17: getNewImage for '0x54ef441000558255', 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 2022-12-24 21:36:17: Got new image for '0x54ef441000558255'
debug 2022-12-24 21:36:17: Starting upgrade
error 2022-12-24 21:38:47: Update of 'Curtain parents right' failed (Timeout: device did not request any image blocks)
debug 2022-12-24 21:38:47: Error: Timeout: device did not request any image blocks
at /app/node_modules/zigbee-herdsman-converters/lib/ota/common.js:360:28
at runNextTicks (node:internal/process/task_queues:61:5)
at listOnTimeout (node:internal/timers:528:9)
at processTimers (node:internal/timers:502:7)
The text was updated successfully, but these errors were encountered: