almico
almico
I tried to download images from https://github.com/Koenkk/zigbee-OTA/tree/master/images/Xiaomi and all of them turned to be invalid OTA files according to zigpy: ``` DEBUG (SyncWorker_2) [zigpy.ota.provider] File '/config/zigpy_ota/OTA_lumi.flood.agl02_V1.0.18_20190814.20191008104903.ota' doesn't appear to be...
It should be this: ``` 2021-06-29 05:24:11 DEBUG (SyncWorker_13) [zigpy.ota.provider] File '/config/zigpy_ota/1600167449-si32_zg_uart_connect_sleep_ZS5_ty_OTA_1.1.5.bin' doesn't appear to be a OTA image Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/zigpy/ota/image.py", line 262, in parse_ota_image...
> I think you downloaded the HTML files instead of the actual OTA images AAAAAAAAAAARGHHHHHH! 😆
I can confirm that "GeoLite2-City.mmdb" does not return 3 chars country codes. In a Python script, I circumvented this by using the following import: ``` from iso3166 import countries as...