zigbee-OTA icon indicating copy to clipboard operation
zigbee-OTA copied to clipboard

Philips Hue light strips declining newest OTA

Open peterjuras opened this issue 2 years ago • 11 comments

Hi!

There appears to be an issue with the newest available OTA update for two of my Philips Hue light strps (LCL001).

According to home assistant I have the 16785410 version installed and a 16785412 version is available. When trying to install the update, both light strips start the OTA update but the fail to update with a "No new image available" log message.

Logs:

Debug 2023-11-19 07:03:16Received MQTT message on 'zigbee2mqtt/bridge/request/device/ota_update/update' with data '{"id":"Bedroom right light strip","transaction":"ok52c-1"}'
Info 2023-11-19 07:03:16Updating 'Bedroom right light strip' to latest firmware
Debug 2023-11-19 07:03:16Received Zigbee message from 'Bedroom right light strip', type 'readResponse', cluster 'genBasic', data '{"dateCode":"20230403","swBuildId":"1.104.2"}' from endpoint 11 with groupID 0
Debug 2023-11-19 07:03:16Updating to latest '0x001788010946d214' (LCL001)
Debug 2023-11-19 07:03:16Using endpoint '11'
Debug 2023-11-19 07:03:16Received Zigbee message from 'Bedroom right light strip', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":16785412,"imageType":287,"manufacturerCode":4107}' from endpoint 11 with groupID 0
Debug 2023-11-19 07:03:16Got OTA request '{"fieldControl":0,"manufacturerCode":4107,"imageType":287,"fileVersion":16785412}'
Debug 2023-11-19 07:03:16ZigbeeOTA: downloaded main index
Debug 2023-11-19 07:03:16getNewImage for '0x001788010946d214', meta {"fileVersion":16785412,"fileSize":423942,"url":"https://otau.meethue.com/storage/ZGB_100B_011F/38f5ed2b-119a-4d6c-9852-2e6470fecf0e/100B-011F-01002004-ConfLightBLE-ModuLumV3-EFR32MG21.zigbee","sha512":"68b70b7f152b246dc34086982c2961eb5bc2a4f4c30d3276619e8db9458549177b3ea391cccaa825821268c0f4be8f86d3a1dc66d55876aa3119755ea8aabde0"}
Debug 2023-11-19 07:03:16Update of 'Bedroom right light strip' failed (AssertionError [ERR_ASSERTION]: No new image available)
Info 2023-11-19 07:03:16MQTT publish: topic 'zigbee2mqtt/Bedroom right light strip', payload '{"brightness":254,"color":{"x":0.371,"y":0.239},"color_mode":"xy","color_temp":444,"linkquality":200,"power_on_behavior":"on","state":"OFF","update":{"installed_version":16785410,"latest_version":16785412,"state":"available"},"update_available":null}'
Info 2023-11-19 07:03:16MQTT publish: topic 'zigbee2mqtt/bridge/response/device/ota_update/update', payload '{"data":{"id":"Bedroom right light strip"},"error":"Update of 'Bedroom right light strip' failed (No new image available)","status":"error","transaction":"ok52c-1"}'
Error 2023-11-19 07:03:16Update of 'Bedroom right light strip' failed (No new image available)
Debug 2023-11-19 07:03:16AssertionError [ERR_ASSERTION]: No new image available at getNewImage (/app/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:459:11) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at Object.updateToLatest (/app/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:317:19) at OTAUpdate.onMQTTMessage (/app/lib/extension/otaUpdate.ts:268:41)
Debug 2023-11-19 07:03:20Received MQTT message on 'homeassistant/sensor/AS24-9VVK9Y3-satellite/availability' with data 'online'
Debug 2023-11-19 07:03:26Received Zigbee message from 'Bedroom right light strip', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":16785412,"imageType":287,"manufacturerCode":4107}' from endpoint 11 with groupID 0
Debug 2023-11-19 07:03:26Device 'Bedroom right light strip' requested OTA
Debug 2023-11-19 07:03:26Check if update available for '0x001788010946d214' (LCL001)
Debug 2023-11-19 07:03:26ZigbeeOTA: downloaded main index
Debug 2023-11-19 07:03:26Is new image available for '0x001788010946d214', current '{"fieldControl":0,"manufacturerCode":4107,"imageType":287,"fileVersion":16785412}', latest meta '{"fileVersion":16785412,"fileSize":423942,"url":"https://otau.meethue.com/storage/ZGB_100B_011F/38f5ed2b-119a-4d6c-9852-2e6470fecf0e/100B-011F-01002004-ConfLightBLE-ModuLumV3-EFR32MG21.zigbee","sha512":"68b70b7f152b246dc34086982c2961eb5bc2a4f4c30d3276619e8db9458549177b3ea391cccaa825821268c0f4be8f86d3a1dc66d55876aa3119755ea8aabde0"}'
Debug 2023-11-19 07:03:26Update available for '0x001788010946d214': NO

peterjuras avatar Nov 19 '23 06:11 peterjuras

I just pressed update again and at least the "Update available" message now also dissappeared on Zigbee2MQTT. Is there any information available on what went wrong here?

peterjuras avatar Nov 19 '23 06:11 peterjuras

I am experiencing the same issue and will be following this thread closely. I tried editing the states file and restarting zigbee2mqtt, but it still persists.

crocodilus avatar Nov 22 '23 18:11 crocodilus

I have seen this as well.

mundschenk-at avatar Dec 01 '23 21:12 mundschenk-at

Yes, same here

posixx avatar Dec 04 '23 13:12 posixx

Could you provide the the debug log of both the check for update and update process?

See this on how to enable debug logging.

Koenkk avatar Dec 04 '23 19:12 Koenkk

Could you provide the the debug log of both the check for update and update process?

See this on how to enable debug logging.

On my installation the buttons keep on "update device firmware" even on multiple tries. So i'm unable to trigger a "Check for new updates" for the failing devices. Hopefully @peterjuras can provide you with the requested logs!

posixx avatar Dec 05 '23 10:12 posixx

@posixx try via this MQTT message instead.

Koenkk avatar Dec 05 '23 19:12 Koenkk

Tnx that was very helpful. After triggering the update check for the lights which were reporting update available the status went back to no update available. For some, i first needed to try the update; that failed with "aborted by device" after that a manual update check through MQTT marked the OTA as no update available. So my problem is solved now!

posixx avatar Dec 05 '23 20:12 posixx

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days

github-actions[bot] avatar Jun 03 '24 00:06 github-actions[bot]

@posixx I don't experience this issue anymore.

peterjuras avatar Jun 03 '24 11:06 peterjuras

Well i'm certainly experiencing this with my 2 hue ambiance lightstrips. Unable to retrieve OTAs, and when it works update times are too big:

image

https://www.zigbee2mqtt.io/devices/929002994901.html#philips-929002994901

z2m: Update of 'hue_ambiance_strip-comedor-izquierda' failed (Timeout. Device did not start/finish firmware download after being notified. (Error: {"target":30421,"apsFrame":{"clusterId":25,"profileId":260,"sequence":0,"sourceEndpoint":1,"destinationEndpoint":11,"groupId":0,"options":0},"zclSequence":null,"commandIdentifier":3} timed out after 150000ms))

Receiving those errores continuosly (ember):

zh:ember:ezsp: Received network/route error ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE for "46249".

hardwareadictos avatar Sep 06 '24 08:09 hardwareadictos