How does the ota update work?
carlituxman opened this issue · comments
Just release 1.1.0 and I have 1.0.6 (3001-1006) but not detect OTA update to 1.1.0.
How works detect ota update?
Thanks
Please, track Koenkk/zigbee-OTA#440
Sorry for reusing this issue, but is it possible to ota from a pvvx fw? ZHA setup here
@dhewg You may use this file 1141-020a-11003001-z03mmc.zigbee.zip (unzip it) to flash version 1.1.0 over pvvx's firmware with a standard ZHA OTA. Haven't tried it but maybe this article will help you https://sonoff.tech/product-review/tutorial/local-configure-zigbee-ota-in-home-assistant-tutorial/
Nice, thanks!
I've ota'ed before, so generally it's working. I've asked because updating only works when the manufacturer code matches? But it seems you have that covered ;)
At least it triggers an ota with a running pvvx fw and that file [zigpy.zcl] [0x0DE8:1:0x0019] Updating: Xiaomi LYWSD03MMC
Let's see if that succeeds...
@devbis after flash 020a frimware from You next updates will work on standard z2m ota?
after update manually to 20a firmware from this post i have erros on logs:
Zigbee2MQTT:warn 2024-02-07 01:01:06: OTA: Images currently unavailable for device 'LYWSD03MMC', hardwareVersion '14', manufacturerName Xiaomi, {"fieldControl":0,"manufacturerCode":56085,"imageType":515,"fileVersion":285224961}'
Thanks for Your work
@lbarjak Device is sleeping. Try one again, replug the battery.
Try in dev console in zigbee2mqtt: cluster -> genBasic->swBuildId and read. Maybe it's cached
updated via ota one of them today, version not changes and still 20231109 3001-1006
then updated zigbee2mqtt on 1.35.3
removed custom external converter
nothing changes...
what i am doing wrong?
For the love of me, I cannot figure out how to update these devices!
I put
zha:
zigpy_config:
ota:
otau_directory: /config/zigpy_ota
into my confifuration.yaml
download 1141-0203-11003001-z03mmc.zigbee and z03mmc.bin and put them in the zigpy_ota directory
Then in ZHA I go to Manage Zigbee Device > Clusters > Ota > Commands > Image Notify and get the error
[140151761094464]` '>=' not supported between instances of 'NoneType' and 'PayloadType'
I have also tried through ZHA Toolkit but still nothing happens
I flashed two of the devices with this firmware but unfortunately I flashed the first one with the fork.
All are paired within z2m in Home Assistant but only the two are recognised correctly.
How do I perform an OTA update for the one hygrometer if it is not even listed under the OTA section?
All other deviced are listed but this one isn't. I tried my best but couldn't find a way.
After adding the custom OTA path the the z2m configuration.yaml and copying the OTA file as well as the my_index.json to config/zigbee2mqtt/ still there is no update shown. So maybe I'm searching on the wrong spot?
@lllluke You can use this file to convert from pvvx's zigbee firmware #118 (comment)
Thank you, I already tried that but the flasher doesn't find the device anymore. So I thought OTA via z2m was the only way to go.
@devbis
Could you give me a hint how to OTA?
Is an OTA Update only possible if the device is shown under Zigbee2Mqtt --> OTA? Because mine isn't shown here.
Or do I have to look under Zigbee2Mqtt --> Devices --> Device--> Developer Console?
Where do I have to add the OTA Source? /config/zigbee2mqtt/configuration.yaml? In the yamI tried to add it under the "advanced" section:
advanced: homeassistant_legacy_entity_attributes: false legacy_api: false legacy_availability_payload: false ota: zigbee_ota_override_index_location: my_index.json