-
-
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
LEDVANCE 4058075729209 - Update error #22687
Comments
I have exact the same issue! I am very interested in a solution. My logs:
|
Hi. I have the same Problem. LEDVANCE 4058075729247 Globe125
|
Hi, I also have the same problem with one of my plugs. The other one processed nicely. LEDVANCE 4058075729322 PLUG COMPACT EU T
edit: attached debug.log |
Same problem here #23534 |
For those running in Docker, can you try the following:
See if the issue is fixed, if it now throws: |
Thanks for your fast response. Tried the modification and can confirm, that the update now succeeds. |
@itchensen many thanks for testing, integrated the fix! Changes will be available in the dev branch in a few hours from now. |
Many thanks to @itchensen and @Koenkk to solve this problem. |
Many thanks from me too. I installed the dev version and all OTA updates for my lamps work now. Thank you for the really great and fast support. |
A little late to the party, but I would also say thanks! |
What happened?
Error updating firmware of LEDVANCE 4058075729209 to version 52442720 OTA
What did you expect to happen?
Update LEDVANCE 4058075729209 to version 52442720
How to reproduce it (minimal and precise)
klicking OTA update button in frontend
Zigbee2MQTT version
1.37.1
Adapter firmware version
20230507
Adapter
SONOFF ZB Dongle-P
Setup
QNAP NAS TS-453Bmini
docker
Client:
Version: 20.10.27-qnap1
API version: 1.41
Go version: go1.19.12
Git commit: 662936b
Built: Mon Dec 25 08:41:44 2023
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.27-qnap1
API version: 1.41 (minimum version 1.12)
Go version: go1.20.10
Git commit: 8a4e2cd
Built: Mon Dec 25 08:42:51 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.6.22
GitCommit: 8165feabfdfe38c65b599c4993d227328c231fca
runc:
Version: 1.1.8
GitCommit: v1.1.8-0-g82f18fe0
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Debug log
[2024-05-18 20:01:50] debug: z2m: Received Zigbee message from 'ab/licht/terrasse', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":51656288,"imageType":208,"manufacturerCode":4489}' from endpoint 1 with groupID 0
[2024-05-18 20:01:50] debug: z2m: MQTT publish: topic 'zigbee2mqtt/ab/licht/terrasse', payload '{"brightness":254,"last_seen":"2024-05-18T20:01:50+02:00","linkquality":18,"state":"OFF","update":{"installed_version":51656288,"latest_version":52442720,"state":"available"},"update_available":null}'
[2024-05-18 20:01:50] debug: zhc:ota:common: Got request '{"fieldControl":0,"manufacturerCode":4489,"imageType":208,"fileVersion":51656288}'
[2024-05-18 20:01:50] debug: zhc:ota:ledvance: Call getImageMeta for A60 FIL DIM T
[2024-05-18 20:01:50] debug: zhc:ota:common: Getting new image for '0xf0d1b8be240817c7' (A60 FIL DIM T), latest meta {"fileVersion":52442720,"fileSize":188416,"url":"https://api.update.ledvance.com/v1/zigbee/firmwares/download?company=4489&product=208&version=3.32.54.96","sha256":"f53af0b255d589c795913081560de211b162b491dcb5ea865546dec15f433a78"}
[2024-05-18 20:01:50] debug: zh:controller:endpoint: ZCL command 0xf0d1b8be2408a95e/1 genBasic.read(["zclVersion"], {"timeout":10000,"disableResponse":false,"disableRecovery":true,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
[2024-05-18 20:01:50] debug: zh:zstack: sendZclFrameToEndpointInternal 0xf0d1b8be2408a95e:13491/1 (0,0,1)
[2024-05-18 20:01:50] debug: zh:zstack:znp: SREQ: --> AF - dataRequest - {"dstaddr":13491,"destendpoint":1,"srcendpoint":1,"clusterid":0,"transid":49,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[16,43,0,0,0]}}
[2024-05-18 20:01:50] debug: zh:zstack:unpi:writer: --> frame [254,15,36,1,179,52,1,1,0,0,49,0,30,5,16,43,0,0,0,188]
[2024-05-18 20:01:50] debug: zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
[2024-05-18 20:01:50] debug: zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
[2024-05-18 20:01:50] debug: zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
[2024-05-18 20:01:50] debug: zh:zstack:znp: SRSP: <-- AF - dataRequest - {"status":0}
[2024-05-18 20:01:50] debug: zh:zstack:unpi:parser: --- parseNext []
[2024-05-18 20:01:50] debug: zhc:ota:common: Update checksum validation succeeded for '0xf0d1b8be240817c7' (A60 FIL DIM T)
[2024-05-18 20:01:50] debug: zhc:ota:common: Partially failed to parse the image, continuing anyway...
[2024-05-18 20:01:50] debug: z2m: Update of 'ab/licht/terrasse' failed (AssertionError [ERR_ASSERTION]: Size mismatch)
[2024-05-18 20:01:50] debug: z2m: MQTT publish: topic 'zigbee2mqtt/ab/licht/terrasse', payload '{"brightness":254,"last_seen":"2024-05-18T20:01:50+02:00","linkquality":18,"state":"OFF","update":{"installed_version":51656288,"latest_version":52442720,"state":"available"},"update_available":null}'
[2024-05-18 20:01:50] debug: z2m: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/ota_update/update', payload '{"data":{"id":"ab/licht/terrasse"},"error":"Update of 'ab/licht/terrasse' failed (Size mismatch)","status":"error","transaction":"5d556-2"}'
[2024-05-18 20:01:50] error: z2m: Update of 'ab/licht/terrasse' failed (Size mismatch)
[2024-05-18 20:01:50] debug: z2m: AssertionError [ERR_ASSERTION]: Size mismatch
at parseImage (/app/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:205:11)
at getNewImage (/app/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:613:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.updateToLatest (/app/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:438:19)
at OTAUpdate.onMQTTMessage (/app/lib/extension/otaUpdate.ts:273:41)
at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
The text was updated successfully, but these errors were encountered: