-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
OTA - Ikea Tradfri LED1949C5 OTA Fail #18904
Comments
I am facing the same issue but with the IKEA TRADFRI 5 Buttome Remote (Type E1524/E1810). Upon further investigation other users, since a long time, reported the same issue and suggested to push any button to prevent the device going into sleep right before and once every second or so. Though, to no avail. Using the Test Servers as suggested in the docs doesn't help either: https://www.zigbee2mqtt.io/guide/usage/ota_updates.html#using-the-ikea-tradfri-test-server Per IKEAs release notes the latest update of my remotes is from January 2023:
In order to attempt to load the firmware locally (read the docs), I was searching for the download and contacted IKEA. I also tried to back engineer the URLs or find them inm the code. Finally, thanks to the deConz Rrepository I found:
However, the first is responding with an unusual 434 response code: Downloading any referenced firmware file from the test server works. However, adjusting the URL for the regular one fails indicating the IKEA S3 or Cloudfront is basically faulty. Normal Feed File: http://fw.ota.homesmart.ikea.net/global/GW1.0/01.11.047/bin/10047227-1.2-TRADFRI-cv-cct-unified-2.3.050.ota.ota.signed This begs a few question like:
Last Modified Response Header from Test Server I will also attempt to contact the domain admin to omit contacting the IKEA support as they clearly are the wrong contact point. Update "Googling" for a most recent firmware file and attempting to back-engineer the download links based on the Realease notes I found this: Issues with TRADFRI remote control and latest firmware 24.4.5: zigpy/zha-device-handlers#2139 Last-Modified of "Wed, 25 Jan 2023 10:48:58 GMT" matches the release notes:
Unfortunately the S3 bucket is not configured to list the directory but it seems rather recent firmware files are still available. To your problem and a possible solution. I followed these steps to get the firmware update running:
Note: To my dismay the firmware update failed as it was aborted by the device. I guess you have to keep pressing a button once a while for several hours until the upload finished. PS: Maybe this neat overview might help you: |
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 |
What happened?
Globe model: https://www.zigbee2mqtt.io/devices/LED1949C5.html#ikea-led1949c5
All of my other globes of the same model and type (LED1949C5) have updated from 1.0.032 to 1.1.003 successfully. One of them required me to remove it from Z2M, reset it and re-add it for it to detect and load correctly.
I have tried to reset/re-add this last one multiple times and it has not worked.
What did you expect to happen?
The globe to be updated.
How to reproduce it (minimal and precise)
Restart the whole Home Assistant sever. Go to Z2M OTA tab and ask the globe to check for updates.
Zigbee2MQTT version
1.33.0
Adapter firmware version
6.10.3.0 build 297
Adapter
HA Yellow (EZSP v8)
Debug log
Debug 2023-09-08 16:49:00Received MQTT message on 'zigbee2mqtt/bridge/request/device/ota_update/check' with data '{"id":"IKEA Globe 6","transaction":"1j6cd-2"}'
Info 2023-09-08 16:50:00MQTT publish: topic 'zigbee2mqtt/bridge/response/device/ota_update/check', payload '{"data":{"id":"IKEA Globe 6"},"error":"Failed to check if update available for 'IKEA Globe 6' (Device didn't respond to OTA request)","status":"error","transaction":"1j6cd-2"}'
Error 2023-09-08 16:50:00Failed to check if update available for 'IKEA Globe 6' (Device didn't respond to OTA request)
Debug 2023-09-08 16:50:00Error: Device didn't respond to OTA request at requestOTA (/app/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:202:15) at Object.isUpdateAvailable (/app/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:259:25) at OTAUpdate.onMQTTMessage (/app/lib/extension/otaUpdate.ts:203:45)
The text was updated successfully, but these errors were encountered: