pvvx / ZigbeeTLc

Custom firmware for Zigbee 3.0 IoT devices on the TLSR825x chip
Other
327 stars 15 forks source link

OTA в Zigbee2Mqtt #43

Open almirus opened 6 months ago

almirus commented 6 months ago

Добрый день! Это глюк, поддержки ОТА нет? image image

pvvx commented 6 months ago

В чем глюк? 18362369 (dec)= 0x01183001 (hex)

almirus commented 6 months ago

Последняя версия минус один

lduda007 commented 6 months ago

I have the same issue, -1 as the Latest version on Z2M 1.35.1

pvvx commented 6 months ago

I do not use Z2M, and I do not publish firmware to general lists while they are in beta.

BenJamesAndo commented 6 months ago

It's a confirmed issue with zigbee2mqtt and has been fixed in the dev branch. https://github.com/Koenkk/zigbee2mqtt/issues/20658

resetko commented 5 months ago

I do not use Z2M, and I do not publish firmware to general lists while they are in beta.

So theoretically once firmware going to be at some stable stage, we can expect it appearing in the lists in Z2M?

While it works fine in Z2M, there is no good way to update firmware say from 18 to 19 in ZTM.

Is there any good way to do that, maybe using some CLI tool?

kwiateusz commented 5 months ago

Create custom OTA index https://www.zigbee2mqtt.io/guide/usage/ota_updates.html with payload:


    {
        "fileVersion": 18427905,
        "fileSize": 128034,
        "manufacturerCode": 4417,
        "imageType": 522,
        "sha512": "f6310b3028dc0187ab99c6086368e467f3577101c6f8f1becdbfafcc22dcc1e1854ceddfd65504a45aef00a81b74530ba6425dcc41ee4b36a2d24426a1af3426",
        "url": "https://github.com/pvvx/ZigbeeTLc/raw/master/bin/1141-020a-01193001-Z03MMC.zigbee"
    }
]