Open carlituxman opened 9 months ago
Please, track https://github.com/Koenkk/zigbee-OTA/pull/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...
For the record, HA 2024.1 fails for me with a timeout, but a 2024.2 beta (which reworked zha ota) works fine:
I can't set some config attributes with zha: Is that a zha thing or are the missing attributes not announced or something like that?
on z2m
[
{
"url": "ota/1141-020a-11003001-z03mmc.zigbee",
"force": true
}
]
create ota dir in z2m config dir
copy 1141-020a-11003001-z03mmc.zigbee firmware to ota dir
On webpanel z2m SETTINGS>OTA
@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
Does not work like this. https://barjak.eu/pictures/2024-02-07_13-06.png info 2024-02-07 13:11:31: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/ota_update/check', payload '{"data":{"id":"0xa4c1386b9bdef18e"},"error":"Failed to check if update available for '0xa4c1386b9bdef18e' (OTA: Device didn't respond to OTA request)","status":"error","transaction":"k051i-18"}'
shirou93 @.***> ezt írta (időpont: 2024. febr. 6., K, 22:38):
on z2m
create ota.json: `[ { "url": "ota/1141-020a-11003001-z03mmc.zigbee", "force": true }
] ` create ota dir in z2m config dir copy 1141-020a-11003001-z03mmc.zigbee firmware to ota dir
On webpanel z2m SETTINGS>OTA
image.png (view on web) https://github.com/devbis/z03mmc/assets/59237288/ee35038f-0df2-4721-9fe6-c6c36ad6fdf9
Restart z2m and check OTA updates.
— Reply to this email directly, view it on GitHub https://github.com/devbis/z03mmc/issues/113#issuecomment-1930793592, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3B7YNYCWZV4C6MYF2DTFLYSKPF3AVCNFSM6AAAAABCZW6S2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZQG44TGNJZGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Barják László +36209347499
@lbarjak Device is sleeping. Try one again, replug the battery.
Yes, works now, thx. The new firmware shows the old 3001-1006 number in zigbee2mqtt.
Ivan Belokobylskiy @.***> ezt írta (időpont: 2024. febr. 7., Sze, 13:28):
@lbarjak https://github.com/lbarjak Device is sleeping. Try one again, replug the battery.
— Reply to this email directly, view it on GitHub https://github.com/devbis/z03mmc/issues/113#issuecomment-1931944890, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3B7YKVS55EXJNGWYZRBELYSNXONAVCNFSM6AAAAABCZW6S2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZRHE2DIOBZGA . You are receiving this because you were mentioned.Message ID: @.***>
-- Barják László +36209347499
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 https://github.com/devbis/z03mmc/issues/118#issuecomment-1942371299
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
I am struggling with this revert from Zigbee to BLE.
I have tried
I keep getting the message that the FW is newer than the latest one online?
[EDIT] Got it working using pvvx V47 version. Used this guide. https://smarthomescene.com/guides/how-to-setup-zigbee2mqtt-local-ota-index/
The trick for me was to restart HA and not just Zigbee2MQTT (in Addons).
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