-
Notifications
You must be signed in to change notification settings - Fork 203
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
How do I use these files? #571
Comments
Via Zigbee2MQTT |
@Koenkk I used Z2M, and I followed the instructions on the website. the website is https://www.zigbee2mqtt.io/guide/usage/ota_updates.html#local-ota-index-and-firmware-files My steps are as follows on the website below: |
There is no need to setup a local OTA index, remove it and try again. If that doesn't work, provide the debug log of this. See this on how to enable debug logging. |
@Koenkk Doesn 't the local firmware need to set an OTA index? So how do I specify the device to upgrade? error 2024-10-21 09:40:52z2m: Failed to check if update available for 'GL-B-007P' (Cannot destructure property 'data' of '(intermediate value)' as it is undefined.)` |
@Koenkk |
You don't have to download it, it is taken directly from this repo. Could you provide the debug log of this error? See this on how to enable debug logging. |
Nowhere, it's automatically taken from https://github.com/Koenkk/zigbee-OTA/blob/master/index.json I don't see the "Cannot destructure" error in this log, please provide the log file with this in it. |
|
You mean if I need to update the firmware, must from https://github.com/Koenkk/zigbee-OTA/blob/master/index.json this website is the firmware update? If the website is not changed, do I need to upload it myself? |
If the firmware is not in this repo, you indeed need to use the local index. |
I tries to access this OTA first, is |
Yes,the local OTA index is not working! |
As Koenkk indicated, the error (in every screenshot) seems to happen before it reads the local OTA index. It works as follows:
Since it fails at step 1, something must be going wrong with accessing that URL. PS: I've added this error as 'not very descriptive' in my TODO list for the OTA refactoring that's coming up. |
So how do I solve this? My computer can access https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/index.json |
How do I use these files?How can I use this firmware to upgrade my device?
The text was updated successfully, but these errors were encountered: