-
-
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
Unable to upgrade to custom firmware #16823
Unable to upgrade to custom firmware #16823
Comments
This is beqause of this problem. It is not fix at the moment. You can make a custom converter of this device with the normal ota directory and then the override will work. |
@Danit2 when I look at the lixee converter, I don't see much about OTA : What do you mean we should do with this custom converter ? On the other hand, I have found the file dedicated to OTA for lixee device : https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/lib/ota/lixee.js |
You must replace the |
Thank's a lot, I will test this as soon as possible 👏 |
If I understand well, the next step would be to modify lixee.js to handle custom index (and/or alternative firmware as we are currently trying to push). Huge step for the JS rookie I am 😆 |
yes, when you will use the local index you have to write the same function as in this file: But there i can not help. Sorry. |
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 |
The issue should be kept open until someone finds a suitable solution. |
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 |
This issue should be kept open. |
There is a workaround for this issue: #13681 (comment) |
Indeed, but there was a discussion about how the creator of the device should manage the firmware variants to allow an elegant way of managing upgrades. Representatives of various zigbee managers (including z2m) were involved. |
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 |
Do not close this issue, please. |
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 |
Please keep this open. |
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 |
Please don’t. |
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 |
Not stale |
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 |
I'm reopening this topic, seeing people still living with this issue. @Koenkk , lixee device has 2 different firmwares,. Booth use different 'type' meta. type 1 for normal fw, type 2 for limited. Checking the lixee.js , I see there's no such test for "type" meta. Would it be possible to add meta check like in zigbeeota.js and download the appropriated file then ? Or simpler, just remove the lixee.js from ota lib and replace in lixee.js ( from device folder ) line 646 the ota: ota.lixee, by ota: ota.zigbeeOTA, and ask for the author if the firmware can be hosted on your git like the other devices using index.js. This would solve the issue without too much hassle. The actual lixee ota implementation even block the possibility to use local index ota. |
@KipK good idea, but how do you want the user to select the correct firmware? |
User don't have to select. Current installed firmware already had type meta, can't we get that information from the device ? |
I remember on Deconz, It was displaying all the OTA meta for each running devices |
@Koenkk Related to what you've said on the other post
So we could add a second entry after this one:
that would gives for the limited version:
But I don't think it use the common index, in lixee.js line 646: ota: ota.lixee, And this should work theorically ain't it ? Also current ota implementation from lixee.js always propose the normal firmware to the limited devices,even when it was already updated ( using serial TTL ) with latest "limited" fw |
So i have tested and it works as wanted. I"ve created a PR: Koenkk/zigbee-herdsman-converters#8136 and submitted limited firmware: Koenkk/zigbee-OTA#568 |
What happened?
Hello, 👋🏻
I have problem with my Zlinky TIC
I would like to upgrade to a special firware version limited.
But I can't...
What did you expect to happen?
Upgrade from UI or anything else.
How to reproduce it (minimal and precise)
I used zigbee-OTA script. to create an index.json, with last entry:
I add
force
configuration.In
configuration.yml
I add:I renamed
index.json
inmy_index.json
an put in same directory like configuration.yaml.I restart my docker Zigbee2Mqtt.
And send message:
domotique/zigbee2mqtt/bridge/request/device/ota_update/update
with ID of device0x00158d0006a4018c
.But... No update avaiblable when I try in UI.
Zigbee2MQTT version
1.30.1 commit: eb878d3 (docker)
Adapter firmware version
6.10.3.0 build 297
Adapter
SONOFF ZBDongle-E (EZSP v8)
Debug log
The text was updated successfully, but these errors were encountered: