Error Importing module jeedom.jeedom

Bonjour,

Mon plugin zigbee fait des siennes ce matin.
Hier soir, impossible d’éteindre ma lampe Zigbee et ce matin impossible de demarrer le demon.
J’ai systematiquement une erreur « Error: importing module jeedom.jeedom » dans le log Zigbeed_1 en mode debug et rien d’autre.
J’ai relancer les dépendances, vérifier que les commande pip, pip3 fonctionnaient et même relancer une restauration de -2 jours sans amélioration.
J’ai fait le test de mettre un clé POP, invalider ma clé conbee mais pas mieux.
J’ai alors reinstallé le plugin, toujours pareil. Reboot, pareil.

Je cale un peu sur les causes et la résolution.

La page Santé (Le plugin speedtest donne des erreurs de dépendance mais fonctionne)

Le log zigbeed_1

0000|Error: importing module jeedom.jeedom

Le log Zigbee

0025|[2022-01-29 10:45:07]DEBUG : null
0026|[2022-01-29 10:45:07]ERROR : Echec de la requête HTTP : http://127.0.0.1:57600/device/all cURL error : Failed to connect to 127.0.0.1 port 57600: Connection refused
0027|[2022-01-29 10:45:09]DEBUG : http://127.0.0.1:8089/device/command type : PUT
0028|[2022-01-29 10:45:09]DEBUG : {"ieee":"ec:1b:bd:ff:fe:32:6a:98","cmd":[{"endpoint":3,"cluster":"on_off","command":"on","await":1}],"allowQueue":false}
0029|[2022-01-29 10:45:09]ERROR : Erreur exécution de la commande [Bureau][Multiprise][On 3] : Echec de la requête HTTP : http://127.0.0.1:8089/device/command cURL error : Failed to connect to 127.0.0.1 port 8089: Connection refused
0030|[2022-01-29 10:45:09]DEBUG : http://127.0.0.1:8089/device/command type : PUT
0031|[2022-01-29 10:45:09]DEBUG : {"ieee":"ec:1b:bd:ff:fe:32:6a:98","cmd":[{"endpoint":3,"cluster":"on_off","command":"on","await":1}],"allowQueue":false}
0032|[2022-01-29 10:45:09]ERROR : Erreur exécution de la commande [Bureau][Multiprise][On 3] : Echec de la requête HTTP : http://127.0.0.1:8089/device/command cURL error : Failed to connect to 127.0.0.1 port 8089: Connection refused
0033|[2022-01-29 10:45:10]INFO : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device auto --loglevel debug --socketport 57600 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey xxxxxxxxx --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_2.pid --data_folder /var/www/html/plugins/zigbee/data/2 --device_folder /var/www/html/plugins/zigbee/data/device --controller znp --sub_controller elelabs --channel 25 --folder_OTA /var/www/html/plugins/zigbee/data/ota```

Plugin version du 2022-01-28 01:03:42 et Jeedom 4.2.3 (depuis le 20/09/2021)

Merci d'avance pour vos conseils.

Bonjour,

Peux-tu montrer le log des dépendances ?

Je suspecte un problème avec la lib serial ou requests.

Un nouveau plug-in installé récemment ?
Ou réinstallation de dépendances sur un autre plug-in ?

As-tu fait un reboot dans tout ça ?

Antoine

Rien de nouvellement installé

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_zigbee
+ echo 1
+ echo 2
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 https://deb.nodesource.com/node_14.x buster InRelease
Hit:5 https://packagecloud.io/ookla/speedtest-cli/debian buster InRelease
Reading package lists...
Building dependency tree...
Reading state information...
1 package can be upgraded. Run 'apt list --upgradable' to see it.
+ echo 3
+ sudo pip3 install --upgrade zigpy
Requirement already satisfied: zigpy in /usr/local/lib/python3.7/dist-packages (0.43.0)
Requirement already satisfied: aiohttp in /usr/local/lib/python3.7/dist-packages (from zigpy) (3.7.3)
Requirement already satisfied: pycryptodome in /usr/local/lib/python3.7/dist-packages (from zigpy) (3.9.9)
Requirement already satisfied: voluptuous in /usr/local/lib/python3.7/dist-packages (from zigpy) (0.12.1)
Requirement already satisfied: crccheck in /usr/local/lib/python3.7/dist-packages (from zigpy) (1.0)
Requirement already satisfied: aiosqlite>=0.16.0 in /usr/local/lib/python3.7/dist-packages (from zigpy) (0.16.1)
Requirement already satisfied: typing_extensions>=3.7.2 in /usr/local/lib/python3.7/dist-packages (from aiosqlite>=0.16.0->zigpy) (3.7.4.3)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy) (5.1.0)
Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy) (20.3.0)
Requirement already satisfied: async-timeout<4.0,>=3.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy) (3.0.1)
Requirement already satisfied: chardet<4.0,>=2.0 in /usr/lib/python3/dist-packages (from aiohttp->zigpy) (3.0.4)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy) (1.6.3)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.0->aiohttp->zigpy) (2.6)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 4
+ sudo pip3 install --upgrade zha-quirks
Requirement already satisfied: zha-quirks in /usr/local/lib/python3.7/dist-packages (0.0.66)
Requirement already satisfied: zigpy>=0.42.0 in /usr/local/lib/python3.7/dist-packages (from zha-quirks) (0.43.0)
Requirement already satisfied: crccheck in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.42.0->zha-quirks) (1.0)
Requirement already satisfied: pycryptodome in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.42.0->zha-quirks) (3.9.9)
Requirement already satisfied: aiohttp in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.42.0->zha-quirks) (3.7.3)
Requirement already satisfied: aiosqlite>=0.16.0 in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.42.0->zha-quirks) (0.16.1)
Requirement already satisfied: voluptuous in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.42.0->zha-quirks) (0.12.1)
Requirement already satisfied: typing_extensions>=3.7.2 in /usr/local/lib/python3.7/dist-packages (from aiosqlite>=0.16.0->zigpy>=0.42.0->zha-quirks) (3.7.4.3)
Requirement already satisfied: chardet<4.0,>=2.0 in /usr/lib/python3/dist-packages (from aiohttp->zigpy>=0.42.0->zha-quirks) (3.0.4)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.42.0->zha-quirks) (5.1.0)
Requirement already satisfied: async-timeout<4.0,>=3.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.42.0->zha-quirks) (3.0.1)
Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.42.0->zha-quirks) (20.3.0)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.42.0->zha-quirks) (1.6.3)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.0->aiohttp->zigpy>=0.42.0->zha-quirks) (2.6)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 5
+ sudo pip3 install --upgrade zigpy-znp
Requirement already satisfied: zigpy-znp in /usr/local/lib/python3.7/dist-packages (0.7.0)
Requirement already satisfied: zigpy>=0.40.0 in /usr/local/lib/python3.7/dist-packages (from zigpy-znp) (0.43.0)
Requirement already satisfied: coloredlogs in /usr/local/lib/python3.7/dist-packages (from zigpy-znp) (15.0)
Requirement already satisfied: jsonschema in /usr/local/lib/python3.7/dist-packages (from zigpy-znp) (3.2.0)
Requirement already satisfied: voluptuous in /usr/local/lib/python3.7/dist-packages (from zigpy-znp) (0.12.1)
Requirement already satisfied: pyserial-asyncio in /usr/local/lib/python3.7/dist-packages (from zigpy-znp) (0.5)
Requirement already satisfied: async-timeout in /usr/local/lib/python3.7/dist-packages (from zigpy-znp) (3.0.1)
Requirement already satisfied: pycryptodome in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.40.0->zigpy-znp) (3.9.9)
Requirement already satisfied: aiohttp in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.40.0->zigpy-znp) (3.7.3)
Requirement already satisfied: crccheck in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.40.0->zigpy-znp) (1.0)
Requirement already satisfied: aiosqlite>=0.16.0 in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.40.0->zigpy-znp) (0.16.1)
Requirement already satisfied: humanfriendly>=9.1 in /usr/local/lib/python3.7/dist-packages (from coloredlogs->zigpy-znp) (9.1)
Requirement already satisfied: attrs>=17.4.0 in /usr/local/lib/python3.7/dist-packages (from jsonschema->zigpy-znp) (20.3.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (from jsonschema->zigpy-znp) (60.5.0)
Requirement already satisfied: six>=1.11.0 in /usr/lib/python3/dist-packages (from jsonschema->zigpy-znp) (1.12.0)
Requirement already satisfied: pyrsistent>=0.14.0 in /usr/local/lib/python3.7/dist-packages (from jsonschema->zigpy-znp) (0.18.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/dist-packages (from jsonschema->zigpy-znp) (4.8.1)
Requirement already satisfied: pyserial in /usr/local/lib/python3.7/dist-packages (from pyserial-asyncio->zigpy-znp) (3.5)
Requirement already satisfied: typing_extensions>=3.7.2 in /usr/local/lib/python3.7/dist-packages (from aiosqlite>=0.16.0->zigpy>=0.40.0->zigpy-znp) (3.7.4.3)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.40.0->zigpy-znp) (1.6.3)
Requirement already satisfied: chardet<4.0,>=2.0 in /usr/lib/python3/dist-packages (from aiohttp->zigpy>=0.40.0->zigpy-znp) (3.0.4)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.40.0->zigpy-znp) (5.1.0)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->jsonschema->zigpy-znp) (3.5.0)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.0->aiohttp->zigpy>=0.40.0->zigpy-znp) (2.6)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 6
+ sudo pip3 install --upgrade zigpy-xbee
Requirement already satisfied: zigpy-xbee in /usr/local/lib/python3.7/dist-packages (0.14.0)
Requirement already satisfied: pyserial-asyncio in /usr/local/lib/python3.7/dist-packages (from zigpy-xbee) (0.5)
Requirement already satisfied: zigpy>=0.23.0 in /usr/local/lib/python3.7/dist-packages (from zigpy-xbee) (0.43.0)
Requirement already satisfied: pycryptodome in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.23.0->zigpy-xbee) (3.9.9)
Requirement already satisfied: crccheck in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.23.0->zigpy-xbee) (1.0)
Requirement already satisfied: voluptuous in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.23.0->zigpy-xbee) (0.12.1)
Requirement already satisfied: aiohttp in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.23.0->zigpy-xbee) (3.7.3)
Requirement already satisfied: aiosqlite>=0.16.0 in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.23.0->zigpy-xbee) (0.16.1)
Requirement already satisfied: pyserial in /usr/local/lib/python3.7/dist-packages (from pyserial-asyncio->zigpy-xbee) (3.5)
Requirement already satisfied: typing_extensions>=3.7.2 in /usr/local/lib/python3.7/dist-packages (from aiosqlite>=0.16.0->zigpy>=0.23.0->zigpy-xbee) (3.7.4.3)
Requirement already satisfied: chardet<4.0,>=2.0 in /usr/lib/python3/dist-packages (from aiohttp->zigpy>=0.23.0->zigpy-xbee) (3.0.4)
Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.23.0->zigpy-xbee) (20.3.0)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.23.0->zigpy-xbee) (5.1.0)
Requirement already satisfied: async-timeout<4.0,>=3.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.23.0->zigpy-xbee) (3.0.1)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.23.0->zigpy-xbee) (1.6.3)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.0->aiohttp->zigpy>=0.23.0->zigpy-xbee) (2.6)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 7
+ sudo pip3 install --upgrade zigpy-deconz
Requirement already satisfied: zigpy-deconz in /usr/local/lib/python3.7/dist-packages (0.14.0)
Requirement already satisfied: zigpy>=0.40.0 in /usr/local/lib/python3.7/dist-packages (from zigpy-deconz) (0.43.0)
Requirement already satisfied: pyserial-asyncio in /usr/local/lib/python3.7/dist-packages (from zigpy-deconz) (0.5)
Requirement already satisfied: voluptuous in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.40.0->zigpy-deconz) (0.12.1)
Requirement already satisfied: crccheck in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.40.0->zigpy-deconz) (1.0)
Requirement already satisfied: aiohttp in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.40.0->zigpy-deconz) (3.7.3)
Requirement already satisfied: pycryptodome in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.40.0->zigpy-deconz) (3.9.9)
Requirement already satisfied: aiosqlite>=0.16.0 in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.40.0->zigpy-deconz) (0.16.1)
Requirement already satisfied: pyserial in /usr/local/lib/python3.7/dist-packages (from pyserial-asyncio->zigpy-deconz) (3.5)
Requirement already satisfied: typing_extensions>=3.7.2 in /usr/local/lib/python3.7/dist-packages (from aiosqlite>=0.16.0->zigpy>=0.40.0->zigpy-deconz) (3.7.4.3)
Requirement already satisfied: async-timeout<4.0,>=3.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.40.0->zigpy-deconz) (3.0.1)
Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.40.0->zigpy-deconz) (20.3.0)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.40.0->zigpy-deconz) (5.1.0)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.40.0->zigpy-deconz) (1.6.3)
Requirement already satisfied: chardet<4.0,>=2.0 in /usr/lib/python3/dist-packages (from aiohttp->zigpy>=0.40.0->zigpy-deconz) (3.0.4)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.0->aiohttp->zigpy>=0.40.0->zigpy-deconz) (2.6)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 8
+ sudo pip3 install --upgrade zigpy-zigate
Requirement already satisfied: zigpy-zigate in /usr/local/lib/python3.7/dist-packages (0.7.4)
Requirement already satisfied: zigpy>=0.22.2 in /usr/local/lib/python3.7/dist-packages (from zigpy-zigate) (0.43.0)
Requirement already satisfied: pyserial-asyncio in /usr/local/lib/python3.7/dist-packages (from zigpy-zigate) (0.5)
Requirement already satisfied: pyusb in /usr/local/lib/python3.7/dist-packages (from zigpy-zigate) (1.1.1)
Requirement already satisfied: voluptuous in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.22.2->zigpy-zigate) (0.12.1)
Requirement already satisfied: aiosqlite>=0.16.0 in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.22.2->zigpy-zigate) (0.16.1)
Requirement already satisfied: pycryptodome in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.22.2->zigpy-zigate) (3.9.9)
Requirement already satisfied: crccheck in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.22.2->zigpy-zigate) (1.0)
Requirement already satisfied: aiohttp in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.22.2->zigpy-zigate) (3.7.3)
Requirement already satisfied: pyserial in /usr/local/lib/python3.7/dist-packages (from pyserial-asyncio->zigpy-zigate) (3.5)
Requirement already satisfied: typing_extensions>=3.7.2 in /usr/local/lib/python3.7/dist-packages (from aiosqlite>=0.16.0->zigpy>=0.22.2->zigpy-zigate) (3.7.4.3)
Requirement already satisfied: chardet<4.0,>=2.0 in /usr/lib/python3/dist-packages (from aiohttp->zigpy>=0.22.2->zigpy-zigate) (3.0.4)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.22.2->zigpy-zigate) (5.1.0)
Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.22.2->zigpy-zigate) (20.3.0)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.22.2->zigpy-zigate) (1.6.3)
Requirement already satisfied: async-timeout<4.0,>=3.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.22.2->zigpy-zigate) (3.0.1)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.0->aiohttp->zigpy>=0.22.2->zigpy-zigate) (2.6)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 9
+ sudo pip3 install --upgrade bellows
Requirement already satisfied: bellows in /usr/local/lib/python3.7/dist-packages (0.29.0)
Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (from bellows) (7.1.2)
Requirement already satisfied: pyserial-asyncio in /usr/local/lib/python3.7/dist-packages (from bellows) (0.5)
Requirement already satisfied: pyserial in /usr/local/lib/python3.7/dist-packages (from bellows) (3.5)
Requirement already satisfied: voluptuous in /usr/local/lib/python3.7/dist-packages (from bellows) (0.12.1)
Requirement already satisfied: pure-pcapy3==1.0.1 in /usr/local/lib/python3.7/dist-packages (from bellows) (1.0.1)
Requirement already satisfied: zigpy>=0.37.0 in /usr/local/lib/python3.7/dist-packages (from bellows) (0.43.0)
Requirement already satisfied: click-log>=0.2.1 in /usr/local/lib/python3.7/dist-packages (from bellows) (0.3.2)
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (from pure-pcapy3==1.0.1->bellows) (60.5.0)
Requirement already satisfied: aiosqlite>=0.16.0 in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.37.0->bellows) (0.16.1)
Requirement already satisfied: pycryptodome in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.37.0->bellows) (3.9.9)
Requirement already satisfied: aiohttp in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.37.0->bellows) (3.7.3)
Requirement already satisfied: crccheck in /usr/local/lib/python3.7/dist-packages (from zigpy>=0.37.0->bellows) (1.0)
Requirement already satisfied: typing_extensions>=3.7.2 in /usr/local/lib/python3.7/dist-packages (from aiosqlite>=0.16.0->zigpy>=0.37.0->bellows) (3.7.4.3)
Requirement already satisfied: async-timeout<4.0,>=3.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.37.0->bellows) (3.0.1)
Requirement already satisfied: chardet<4.0,>=2.0 in /usr/lib/python3/dist-packages (from aiohttp->zigpy>=0.37.0->bellows) (3.0.4)
Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.37.0->bellows) (20.3.0)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.37.0->bellows) (1.6.3)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.7/dist-packages (from aiohttp->zigpy>=0.37.0->bellows) (5.1.0)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.0->aiohttp->zigpy>=0.37.0->bellows) (2.6)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 10
+ sudo chmod +x /var/www/html/core/class/../../plugins/zigbee/resources/post-install.sh
+ sudo /var/www/html/core/class/../../plugins/zigbee/resources/post-install.sh
Launch install of zigbee dependancy
Everything is successfully installed!
+ echo 11
+ rm /tmp/jeedom_install_in_progress_zigbee
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Oui cela a été fait

Bonsoir,
J’ai le même problème depuis ce soir, impossible de relancer le deamon Zigbee avec l’erreur: Importing jeedom.jeedom
J’ai fait une mise à jour de Jeedom par l’interface mais je ne sais pas annuler cette mise à jour ou régler le problème.
Merci d’avance

Je n’ai toujours pas trouvé la cause. Je reste en mode dégradé sans zigbee que j’utilise principalement pour les capteurs température

J’ai tous les capteurs d’ouverture de portes pour l’alarme en Zigbee donc je peux difficilement m’en passer.

J’avais le même problème suite à une installation toute fraîche de Jeedom basée sur l’ISO officielle (seulement en 4.1.27 :frowning: ) puis mise à jour à partir d’une sauvegarde en 4.2.7.

Et après avoir mis le nez dans le code j’ai découvert que l’erreur était en réalité due à
image

En creusant encore un peu partout, j’en suis venu à trouver qu’il pouvait s’agir d’un souci avec la version de six, qui serait en 1.12.0 alors qu’en 1.14.0 ça serait apparemment mieux.

Du coup je lance python3 -m pip install six==1.14.0 :


Puis je retourne dans mon Jeedom et je relance le démon, et là… c’est bon ! :tada:

Donc je te recommande de tester, tu me diras si ça fait le job pour toi aussi :wink:

(Au passage, merci @Julien_Adele pour ton message concernant le problème de dépendances Z-wave car j’avais aussi ce souci :sweat_smile: Je soupçonne un souci avec la 4.2.7 quand même au final…)

Voir aussi peut être ici :

Bonjour, suite a la mise a jour du plugin je me retrouve dans la meme position que vous

Merci pour ta reponse !
Ca fonctionne mais sur pip3:

 pip3 install six==1.14.0

Ah excellent ! :slight_smile: Moi j’avais tenté en passant par python3 pour lancer pip histoire d’être sûr de l’installation concernée :wink: Mais c’est top si ça a pu te débloquer :slight_smile:

Trop d’exitation, c’est une nouvelle erreur.
Voici le début des logs Zigbeed_1:

[2022-02-02 22:26:50][DEBUG] : [0xfa18:1:0x0001] Attribute id: 32 value: 30.6
[2022-02-02 22:26:50][DEBUG] : [0xfa18:1:0x0001] Attribute id: 33 value: 175
[2022-02-02 22:26:50][DEBUG] : [0xfa18:1:0x0000] Attribute id: 0 value: 1
[2022-02-02 22:26:50][DEBUG] : [0xfa18:1:0x0000] Attribute id: 1 value: 3
[2022-02-02 22:26:50][DEBUG] : [0xfa18:1:0x0000] Attribute id: 2 value: 2
[2022-02-02 22:26:50][DEBUG] : [0xfa18:1:0x0000] Attribute id: 3 value: 2
[2022-02-02 22:26:50][DEBUG] : [0xfa18:1:0x0000] Attribute id: 7 value: 3
[2022-02-02 22:26:50][DEBUG] : [0xfa18:1:0x0000] Attribute id: 6 value: 20161128
[2022-02-02 22:26:50][DEBUG] : [0xfa18:1:0x0000] Attribute id: 16384 value: 3000-0001
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e2b4e0>)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e2b4e0>) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x739f2d20>, 'SELECT * FROM unsupported_attributes_v7', [])
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x739f2d20>, 'SELECT * FROM unsupported_attributes_v7', []) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e2b4e0>)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e2b4e0>) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x739f2d20>, 'SELECT * FROM groups_v7', [])
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x739f2d20>, 'SELECT * FROM groups_v7', []) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e2b4e0>)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e2b4e0>) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x739f2d20>, 'SELECT * FROM group_members_v7', [])
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x739f2d20>, 'SELECT * FROM group_members_v7', []) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e2b4e0>)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e2b4e0>) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x739f2d20>, 'SELECT * FROM relays_v7', [])
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x739f2d20>, 'SELECT * FROM relays_v7', []) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e2b4e0>)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e2b4e0>) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x739f2d20>, 'SELECT * FROM neighbors_v7', [])
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x739f2d20>, 'SELECT * FROM neighbors_v7', []) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e2b4e0>, 64) completed
[2022-02-02 22:26:50][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e2b4e0>)
[2022-02-02 22:26:50][DEBUG] : operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e2b4e0>) completed
[2022-02-02 22:26:50][INFO] : Trådfri: OTA provider enabled
[2022-02-02 22:26:50][INFO] : Ledvance: OTA provider enabled
[2022-02-02 22:26:50][DEBUG] : ImageKey(manufacturer_id=4107, image_type=256): /var/www/html/plugins/zigbee/data/ota/100B_0100_ConnectedLamp-Target_0012_91.1.sbl-ota, version: 1124096769, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:50][DEBUG] : ImageKey(manufacturer_id=4448, image_type=3): /var/www/html/plugins/zigbee/data/ota/RDL2016091_1_E11-G13_V0.0.9_20170921_release.ota, version: 9, hw_ver: (None, None), OTA string: EBL ElementClassic_E11GX3
[2022-02-02 22:26:50][DEBUG] : ImageKey(manufacturer_id=4448, image_type=1): /var/www/html/plugins/zigbee/data/ota/RDS2014011_Z01-A19_V0.0.46_20171028_release.ota, version: 46, hw_ver: (None, None), OTA string: EBL Z01_A19_HV2
[2022-02-02 22:26:50][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.curtain_0.0.0_0034_20200717_1F0A7B.20200717154021.ota, version: 34, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:50][DEBUG] : ImageKey(manufacturer_id=4687, image_type=0): /var/www/html/plugins/zigbee/data/ota/GL-D-005P_V11076801_OTAV12_20211108_60%.ota, version: 18, hw_ver: (None, None), OTA string: EBL ARGBW_V_0_1
[2022-02-02 22:26:50][DEBUG] : ImageKey(manufacturer_id=4364, image_type=4): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_Surface_Light_TW.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:50][DEBUG] : ImageKey(manufacturer_id=4117, image_type=593): /var/www/html/plugins/zigbee/data/ota/ED_Smoke_Sensor_SSIG_4.0.2.zigbee, version: 262146, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:50][DEBUG] : ImageKey(manufacturer_id=4448, image_type=1016): /var/www/html/plugins/zigbee/data/ota/1594189489604_RDS2017039_E12_N1E_V0.0.30_20200630_SVN396.ota, version: 30, hw_ver: (None, None), OTA string: EBL E12_N1E_1016
[2022-02-02 22:26:50][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.relay.c4acn01_V2.1.20_201900821_8FFEC9.20190906162416.ota, version: 20, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:50][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/OTA_lumi.curtain_0.0.0_0034_20200717_1F0A7B.20200717154021.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_lumi.relay.c4acn01_V2.1.20_201900821_8FFEC9.20190906162416.ota'
[2022-02-02 22:26:50][DEBUG] : ImageKey(manufacturer_id=4447, image_type=396): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.switch.b2nacn01_0.0.0_0026_20211101_CE93A8.ota, version: 26, hw_ver: (None, None), OTA string: ROUTERX-----JN5180--ENCRYPTED000
[2022-02-02 22:26:50][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota, version: 92, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:50][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_lumi.curtain_0.0.0_0034_20200717_1F0A7B.20200717154021.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=274): /var/www/html/plugins/zigbee/data/ota/100B-0112-01002200-ConfLightBLE-Lamps-EFR32MG13.zigbee, version: 16785920, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/lumi.relay.c2acn01_20211201_v0047.ota, version: 47, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/lumi.relay.c2acn01_20211201_v0047.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=107): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_CEILING_TW_OSRAM.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4151, image_type=4364): /var/www/html/plugins/zigbee/data/ota/20190408_EUROTRONIC_Spirit_Zigbee_0x00122C380.ota, version: 19055488, hw_ver: (None, None), OTA string: DR1175r1v2--JN5179--ENCRYPTED000
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=20): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_CLASSIC_B40_TW.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=9480): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.airmonitor.acn01_V.0.22_test.20200630113132.ota, version: 22, hw_ver: (None, None), OTA string: OM15082-TEMP-JN5180--ENCRYPTED01
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.ctrl_86plug.aq1_V92_20200320_A6E461.20200323114330.ota, version: 92, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Ignoring '/var/www/html/plugins/zigbee/data/ota/OTA_lumi.ctrl_86plug.aq1_V92_20200320_A6E461.20200323114330.ota' already have 92 version
[2022-02-02 22:26:51][DEBUG] : File '/var/www/html/plugins/zigbee/data/ota/.empty' doesn't appear to be a OTA image
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 262, in parse_ota_image
    return HueSBLOTAImage.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 201, in deserialize
    header, remaining_data = OTAImageHeader.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 110, in deserialize
    hdr, data = super().deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/types/struct.py", line 249, in deserialize
    value, data = field.type.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/types/basic.py", line 140, in deserialize
    raise ValueError(f"Data is too short to contain {byte_size} bytes")
ValueError: Data is too short to contain 4 bytes

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/provider.py", line 414, in scan_image
    parsed_image, _ = parse_ota_image(f.read())
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 264, in parse_ota_image
    return OTAImage.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 162, in deserialize
    hdr, data = OTAImageHeader.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 110, in deserialize
    hdr, data = super().deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/types/struct.py", line 249, in deserialize
    value, data = field.type.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/types/basic.py", line 140, in deserialize
    raise ValueError(f"Data is too short to contain {byte_size} bytes")
ValueError: Data is too short to contain 4 bytes
[2022-02-02 22:26:51][DEBUG] : Ledvance: Finished downloading firmware update list
[2022-02-02 22:26:51][DEBUG] : File '/var/www/html/plugins/zigbee/data/ota/1021-0011-3e4203-NLP-62.zigbee' doesn't appear to be a OTA image
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 262, in parse_ota_image
    return HueSBLOTAImage.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 201, in deserialize
    header, remaining_data = OTAImageHeader.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 113, in deserialize
    f"Wrong magic number for OTA Image: {hdr.upgrade_file_id!r}"
ValueError: Wrong magic number for OTA Image: 250647

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/provider.py", line 414, in scan_image
    parsed_image, _ = parse_ota_image(f.read())
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 264, in parse_ota_image
    return OTAImage.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 162, in deserialize
    hdr, data = OTAImageHeader.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 113, in deserialize
    f"Wrong magic number for OTA Image: {hdr.upgrade_file_id!r}"
ValueError: Wrong magic number for OTA Image: 250647
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4474, image_type=53249): /var/www/html/plugins/zigbee/data/ota/ZLL_HS_4f_GJ_Release_10.03.32.02.zigbee, version: 36832016, hw_ver: (None, None), OTA string: 450727                          
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4678, image_type=256): /var/www/html/plugins/zigbee/data/ota/1246-0100-01180118.0002_(F5BFD8B8).ota, version: 274, hw_ver: (None, None), OTA string: 29-11-2021 V.0112.0112
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=10132, image_type=2017): /var/www/html/plugins/zigbee/data/ota/12128_OTA_3.18.ZIGBEE, version: 318, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_LMACN02_DoorLock_V4.1.09_20180317.20180411152155.ota, version: 9, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_LMACN02_DoorLock_V4.1.09_20180317.20180411152155.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4448, image_type=1017): /var/www/html/plugins/zigbee/data/ota/1555679540244_RDS2017009_E11_U2E_V42_20190418_release.ota, version: 42, hw_ver: (None, None), OTA string: EBL E11_U2E_1017
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4687, image_type=0): /var/www/html/plugins/zigbee/data/ota/GL-FL-006P_V14_OTAV4_20210119_100%.ota, version: 4, hw_ver: (None, None), OTA string: EBL ARGBW_V_0_1
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4687, image_type=0): Preferring '/var/www/html/plugins/zigbee/data/ota/GL-D-005P_V11076801_OTAV12_20211108_60%.ota' over '/var/www/html/plugins/zigbee/data/ota/GL-FL-006P_V14_OTAV4_20210119_100%.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=9): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_Surface_Light_W.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=8584): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.remote.b286acn03_V1.0.21_20191127.20200310172748.ota, version: 21, hw_ver: (None, None), OTA string: OM15082-SW_AQ02-JN5180-ENCRYPTED
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4448, image_type=1004): /var/www/html/plugins/zigbee/data/ota/1586412538195_RDS2017007_E11-N1EA_V0.0.71_20200311_release.ota, version: 71, hw_ver: (None, None), OTA string: EBL rgb_lamp
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln1.aq1_20201206_v0092.ota, version: 92, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Ignoring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln1.aq1_20201206_v0092.ota' already have 92 version
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=268): /var/www/html/plugins/zigbee/data/ota/100B-010C-01002100-ConfLight-Lamps_0012.zigbee, version: 16785664, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=103): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_GARDENPOLE_MINI_RGBW_OSRAM.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=90): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_GARDENPOLE_RGBW_LIGHTIFY.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=261): /var/www/html/plugins/zigbee/data/ota/WhiteLamp-Atmel-Target_0105_5.130.1.30000_0012.sbl-ota, version: 1107326256, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=108): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_FLOOD_LIGHT_RGBW_OSRAM.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=265): /var/www/html/plugins/zigbee/data/ota/Switch-ATmega_6.1.1.28573_0012.sbl-ota, version: 1107324829, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : File '/var/www/html/plugins/zigbee/data/ota/1021-0012-364203-NLT-54.zigbee' doesn't appear to be a OTA image
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 262, in parse_ota_image
    return HueSBLOTAImage.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 201, in deserialize
    header, remaining_data = OTAImageHeader.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 113, in deserialize
    f"Wrong magic number for OTA Image: {hdr.upgrade_file_id!r}"
ValueError: Wrong magic number for OTA Image: 196871

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/provider.py", line 414, in scan_image
    parsed_image, _ = parse_ota_image(f.read())
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 264, in parse_ota_image
    return OTAImage.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 162, in deserialize
    hdr, data = OTAImageHeader.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 113, in deserialize
    f"Wrong magic number for OTA Image: {hdr.upgrade_file_id!r}"
ValueError: Wrong magic number for OTA Image: 196871
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=281): /var/www/html/plugins/zigbee/data/ota/100B-0119-02002D02-Switch-EFR32MG22.zigbee, version: 33565954, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4747, image_type=2): /var/www/html/plugins/zigbee/data/ota/128b-0002-204-700_p1771_nodon_sin_2_fw_efr32_V204.zigbee.gbl, version: 516, hw_ver: (None, None), OTA string: nodon_sin_efr32_ota
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4098, image_type=24256): /var/www/html/plugins/zigbee/data/ota/ZPS_CS5490_039.ota, version: 57, hw_ver: (None, None), OTA string: peanut Power Plug
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=259): /var/www/html/plugins/zigbee/data/ota/100B_0103_LivingColors-Hue-Target_0012_91.1.sbl-ota, version: 1124096769, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/lumi.plug_20211224_v92.ota, version: 92, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Ignoring '/var/www/html/plugins/zigbee/data/ota/lumi.plug_20211224_v92.ota' already have 92 version
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4420, image_type=0): /var/www/html/plugins/zigbee/data/ota/Superman_v3_08_ProdKey_3080.ota, version: 3080, hw_ver: (None, None), OTA string: EBL Z3SwitchSoc
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=1288): /var/www/html/plugins/zigbee/data/ota/OTA_lumi_switch_l3acn3_0_0_0_0027_20200619_283DA8_20200702151504.ota, version: 27, hw_ver: (None, None), OTA string: ROUTERX-----JN5180--ENCRYPTED000
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=279): /var/www/html/plugins/zigbee/data/ota/100B-0117-01001C00-ConfLightBLE-ModuLum-EFR32MG21.zigbee, version: 16784384, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=260): /var/www/html/plugins/zigbee/data/ota/Atmel_0104_ConnectedLamp-Target_0012_88.1.sbl-ota, version: 1124096001, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4117, image_type=832): /var/www/html/plugins/zigbee/data/ota/ED_HA_EMI_Norwegian_HAN_4.0.1.zigbee, version: 262145, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=101): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_MR16_TW_OSRAM.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4405, image_type=0): /var/www/html/plugins/zigbee/data/ota/1135-0000-201000A0-FLS-PP3_RGBW.zigbee, version: 537919648, hw_ver: (None, None), OTA string: Zu}6@
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_withCRC_LMES_Dimmer3Controller_V1.2.30_20170801.20170818101543.ota, version: 30, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_withCRC_LMES_Dimmer3Controller_V1.2.30_20170801.20170818101543.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=271): /var/www/html/plugins/zigbee/data/ota/100B-010F-01001000-ConfLight-LedStrips_0012.zigbee, version: 16781312, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4448, image_type=5): /var/www/html/plugins/zigbee/data/ota/1594881275531_RDSE2020003C0511_E1G-G8E_05m_10m_V0.0.14_20200711_release.ota, version: 14, hw_ver: (None, None), OTA string: EBL RGB_LampTape
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4687, image_type=0): /var/www/html/plugins/zigbee/data/ota/GL-B-007P_V17_OTAV7_20210305_100%.ota, version: 7, hw_ver: (None, None), OTA string: EBL ARGBW_V_0_1
[2022-02-02 22:26:51][DEBUG] : Trådfri: Finished downloading firmware update list

Voici la suite des logs et l’erreur finale:

[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4687, image_type=0): Preferring '/var/www/html/plugins/zigbee/data/ota/GL-D-005P_V11076801_OTAV12_20211108_60%.ota' over '/var/www/html/plugins/zigbee/data/ota/GL-B-007P_V17_OTAV7_20210305_100%.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=14976): /var/www/html/plugins/zigbee/data/ota/20211018181955_OTA_lumi.curtain.acn002_0.0.0_1425_20210519_3B6D0A.ota, version: 3609, hw_ver: (None, None), OTA string: ROUTERX-----JN5180--ENCRYPTED000
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_withCRC_LMES_HVACController_V1_2_30_20170710_20170818101250.ota, version: 30, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_withCRC_LMES_HVACController_V1_2_30_20170710_20170818101250.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=3): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_PAR16_50_TW.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=6169): /var/www/html/plugins/zigbee/data/ota/lumi.switch.n0agl1_20210921_v0022.ota, version: 22, hw_ver: (None, None), OTA string: lumi.switch.n0acn2
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4919, image_type=8205): /var/www/html/plugins/zigbee/data/ota/datek_han_adapter_v04.ota, version: 67134800, hw_ver: (None, None), OTA string: EBL han_adapter
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/LM15_SP_aq_V1.3.30_20180724_v30_withCRC.20180724160524.ota, version: 30, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/LM15_SP_aq_V1.3.30_20180724_v30_withCRC.20180724160524.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=2056): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.light.cwopcn03_V25_20200328_0022DA.20200702160124.ota, version: 25, hw_ver: (None, None), OTA string: ROUTERX-----JN5180--ENCRYPTED000
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/LM15_ln2_V1.0.32_20180625_v32.20181008194246.ota, version: 32, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/LM15_ln2_V1.0.32_20180625_v32.20181008194246.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=282): /var/www/html/plugins/zigbee/data/ota/100B-011A-01000A00-SmartPlug-EFR32MG21.zigbee, version: 16779776, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=268): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.switch.b1nacn01_0.0.0_0026_20211101_E70B9E.ota, version: 26, hw_ver: (None, None), OTA string: ROUTERX-----JN5180--ENCRYPTED000
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.airrtc.tcpco2ecn01_OTA_v12.20180828161433.ota, version: 12, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_lumi.airrtc.tcpco2ecn01_OTA_v12.20180828161433.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.plug_V90_20191220_E2AB53.20200106152408.ota, version: 90, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_lumi.plug_V90_20191220_E2AB53.20200106152408.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=8584): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.remote.b1acn02_V1.0.18_20190814.20190823153451.ota, version: 18, hw_ver: (None, None), OTA string: OM15082-SWITCH-JN5180--ENCRYPTED
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=8584): Preferring '/var/www/html/plugins/zigbee/data/ota/OTA_lumi.remote.b286acn03_V1.0.21_20191127.20200310172748.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_lumi.remote.b1acn02_V1.0.18_20190814.20190823153451.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=106): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_PANEL_RGBW_OSRAM.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=9480): /var/www/html/plugins/zigbee/data/ota/20211223104612_OTA_lumi.airmonitor.acn01_0.0.0_0027_20211222_3BA1AA.ota, version: 27, hw_ver: (None, None), OTA string: OM15082-TEMP-JN5180--ENCRYPTED01
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=9480): Preferring '/var/www/html/plugins/zigbee/data/ota/20211223104612_OTA_lumi.airmonitor.acn01_0.0.0_0027_20211222_3BA1AA.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_lumi.airmonitor.acn01_V.0.22_test.20200630113132.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_LMAQ_DoorLock_V2.2.19_20171108.20180129142422.ota, version: 19, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_LMAQ_DoorLock_V2.2.19_20171108.20180129142422.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=8712): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.flood.agl02_V1.0.18_20190814.20191008104903.ota, version: 18, hw_ver: (None, None), OTA string: OM15082-WATER-JN5180--ENCRYPTED0
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4747, image_type=10): /var/www/html/plugins/zigbee/data/ota/128b-000A-204-700_p1771_nodon_sin_1_fw_efr32_V204.zigbee.gbl, version: 516, hw_ver: (None, None), OTA string: nodon_sin_efr32_ota
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=92): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_LIGHTIFY_INDOOR_FLEX.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=104): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_OUTDOOR_LANTERN_W_RGBW_OSRAM.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/LM15_86SP_aq_V1.0.11_20170302_OTA_v11_withCRC.20170417201259.ota, version: 11, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/LM15_86SP_aq_V1.0.11_20170302_OTA_v11_withCRC.20170417201259.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.airrtc.tcpecn02_OTA_v12.20180828161528.ota, version: 12, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_lumi.airrtc.tcpecn02_OTA_v12.20180828161528.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4687, image_type=0): /var/www/html/plugins/zigbee/data/ota/GL-C-008P_V17A1_OTAV7_20210303--V1-4.ota, version: 7, hw_ver: (None, None), OTA string: EBL ARGBW_V_0_1
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4687, image_type=0): Preferring '/var/www/html/plugins/zigbee/data/ota/GL-D-005P_V11076801_OTAV12_20211108_60%.ota' over '/var/www/html/plugins/zigbee/data/ota/GL-C-008P_V17A1_OTAV7_20210303--V1-4.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4098, image_type=5634): /var/www/html/plugins/zigbee/data/ota/1615190575-si32_zg_uart_connect_sleep_ZS5_ty_OTA_1.1.7.bin, version: 87, hw_ver: (None, None), OTA string: EBL sdk_route
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=269): /var/www/html/plugins/zigbee/data/ota/Sensor-ATmega_6.1.1.27575_0012.sbl-ota, version: 1107323831, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=5): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_GARDENSPOT_RGB.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=270): /var/www/html/plugins/zigbee/data/ota/100B-010E-01001F00-ConfLight-ModuLum_0012.zigbee, version: 16785152, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_LM15_LNN_V2.6.22_20180503_neutral1_19ms_DIO19Led.20181011142357.ota, version: 22, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_LM15_LNN_V2.6.22_20180503_neutral1_19ms_DIO19Led.20181011142357.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4098, image_type=0): /var/www/html/plugins/zigbee/data/ota/Home Control AS_HC-SLM-1=00.02.zigbee, version: 10003, hw_ver: (None, None), OTA string: EBL HomeControl_DoorLock
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=99): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_CLA60_TW_OSRAM.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.curtain.aq2_0.0.0_0030_20200706_C8C672.20200713103412.ota, version: 30, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_lumi.curtain.aq2_0.0.0_0030_20200706_C8C672.20200713103412.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4648, image_type=0): /var/www/html/plugins/zigbee/data/ota/TERNCY-SD01_v46.OTA, version: 26, hw_ver: (1, 1), OTA string: TERNCY-SD01
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=6): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_CLASSIC_A60_RGBW.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=280): /var/www/html/plugins/zigbee/data/ota/100B-0118-01000D06-PixelLum-EFR32MG21.zigbee, version: 16780550, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=19): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_CLA60_W_CLEAR.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=46): /var/www/html/plugins/zigbee/data/ota/ZLL_SubstiTube_W_MK_0x01020509.ota, version: 16909577, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=5128): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.plug.sacn03_0.0.0_0034_20211119_85CEC0.ota, version: 34, hw_ver: (None, None), OTA string: ROUTERX-----JN5180--ENCRYPTED000
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=110): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_OUTDOOR_LANTERN_B90_RGBW_OSRAM.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=264): /var/www/html/plugins/zigbee/data/ota/100B_0108_LivingColors-Target_0012_93.3.sbl-ota, version: 1124097283, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_LM15_LNN_V2.6.22_20180503_neutral2_19ms_DIO19Led.20181011142447.ota, version: 22, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_LM15_LNN_V2.6.22_20180503_neutral2_19ms_DIO19Led.20181011142447.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=98): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_CLA60_RGBW_OSRAM.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=24): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.plug.maeu01_V32_20200922_C11F8A.20200924102946.ota, version: 32, hw_ver: (None, None), OTA string: ROUTERX-----JN5180--ENCRYPTED000
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=16408): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.plug.mmeu01_V22_20190906_D32362.20191008105750.ota, version: 22, hw_ver: (None, None), OTA string: ROUTERX-----JN5180--ENCRYPTED000
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/lumi.zzjq_1.1.35_20180824_v35.20180824161828.ota, version: 35, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/lumi.zzjq_1.1.35_20180824_v35.20180824161828.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=1800): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.light.cwopcn01_V25_20200328_86DF8E.20200702155802.ota, version: 25, hw_ver: (None, None), OTA string: ROUTERX-----JN5180--ENCRYPTED000
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4687, image_type=0): /var/www/html/plugins/zigbee/data/ota/GL-FL-005P_V14_OTAV4_20210119_100%.ota, version: 4, hw_ver: (None, None), OTA string: EBL ARGBW_V_0_1
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4687, image_type=0): Preferring '/var/www/html/plugins/zigbee/data/ota/GL-D-005P_V11076801_OTAV12_20211108_60%.ota' over '/var/www/html/plugins/zigbee/data/ota/GL-FL-005P_V14_OTAV4_20210119_100%.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/lumi.light.aqcn02_32.ota, version: 32, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/lumi.light.aqcn02_32.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.switch.b2nacn02_0.0.0_0062_20200827_3282B0.20200831122819.ota, version: 62, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_lumi.switch.b2nacn02_0.0.0_0062_20200827_3282B0.20200831122819.ota'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4448, image_type=2100): /var/www/html/plugins/zigbee/data/ota/RDS2017028_E1C-NB6_V0.0.22_20180314.ota, version: 22, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4364, image_type=7): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_GARDENSPOT_W.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=268): /var/www/html/plugins/zigbee/data/ota/100B-010C-01001A02-ConfLight-Lamps_0012.zigbee, version: 16783874, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4107, image_type=268): Preferring '/var/www/html/plugins/zigbee/data/ota/100B-010C-01002100-ConfLight-Lamps_0012.zigbee' over '/var/www/html/plugins/zigbee/data/ota/100B-010C-01001A02-ConfLight-Lamps_0012.zigbee'
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4107, image_type=267): /var/www/html/plugins/zigbee/data/ota/LSP_010B_ModuLum-ATmega_0012_88.1.sbl-ota, version: 1124096001, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=1928): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.light.cwopcn02_V25_20200328_6C8C9C.20200702155957.ota, version: 25, hw_ver: (None, None), OTA string: ROUTERX-----JN5180--ENCRYPTED000
[2022-02-02 22:26:51][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_WithCRC_LMES_RGBController_V1.2.30_20170801.20170920100827.ota, version: 30, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:51][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_WithCRC_LMES_RGBController_V1.2.30_20170801.20170920100827.ota'
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4747, image_type=0): /var/www/html/plugins/zigbee/data/ota/128b-0000-202-700_p1771_nodon_sin_1_fw_efr32_V202.zigbee, version: 514, hw_ver: (None, None), OTA string: nodon_sin_efr32_ota
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_LM_WM_DoorLock_V2.3.13_20180409.20180412161023.ota, version: 13, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:52][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_LM_WM_DoorLock_V2.3.13_20180409.20180412161023.ota'
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4687, image_type=0): /var/www/html/plugins/zigbee/data/ota/GL-B-008P_V17A1_OTAV7.ota, version: 7, hw_ver: (None, None), OTA string: EBL ARGBW_V_0_1
[2022-02-02 22:26:52][DEBUG] : FileStore: ImageKey(manufacturer_id=4687, image_type=0): Preferring '/var/www/html/plugins/zigbee/data/ota/GL-D-005P_V11076801_OTAV12_20211108_60%.ota' over '/var/www/html/plugins/zigbee/data/ota/GL-B-008P_V17A1_OTAV7.ota'
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/LM15_ln1_AQ_V1.0.32_20180625_v32.20181008194104.ota, version: 32, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:52][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/LM15_ln1_AQ_V1.0.32_20180625_v32.20181008194104.ota'
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4447, image_type=12): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.plug.macn01_0.0.0_0032_20211117_C0EB36.ota, version: 32, hw_ver: (None, None), OTA string: ROUTERX-----JN5180--ENCRYPTED000
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4447, image_type=9096): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.sen_ill.mgl01_V1.0.18_20190814.20191008105225.ota, version: 18, hw_ver: (None, None), OTA string: OM15082-LUX-JN5180-MI-ENCRYPTED0
[2022-02-02 22:26:52][DEBUG] : File '/var/www/html/plugins/zigbee/data/ota/1021-0010-2d4203-NLM-45.zigbee' doesn't appear to be a OTA image
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 262, in parse_ota_image
    return HueSBLOTAImage.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 201, in deserialize
    header, remaining_data = OTAImageHeader.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 113, in deserialize
    f"Wrong magic number for OTA Image: {hdr.upgrade_file_id!r}"
ValueError: Wrong magic number for OTA Image: 242695

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/provider.py", line 414, in scan_image
    parsed_image, _ = parse_ota_image(f.read())
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 264, in parse_ota_image
    return OTAImage.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 162, in deserialize
    hdr, data = OTAImageHeader.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 113, in deserialize
    f"Wrong magic number for OTA Image: {hdr.upgrade_file_id!r}"
ValueError: Wrong magic number for OTA Image: 242695
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4364, image_type=17): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_Par16Rgbw.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4747, image_type=9): /var/www/html/plugins/zigbee/data/ota/128b-0009-203-700_p1771_nodon_sin_rs_fw_efr32_V203.zigbee, version: 515, hw_ver: (None, None), OTA string: nodon_sin_efr32_ota
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4447, image_type=4108): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.switch.b3n01_0.0.0_0024_20211116_8C7C7F.ota, version: 24, hw_ver: (None, None), OTA string: ROUTERX-----JN5180--ENCRYPTED000
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4107, image_type=273): /var/www/html/plugins/zigbee/data/ota/100B-0111-01001D00-ConfLight-ModuLum-EFR32MG13.zigbee, version: 16784640, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4687, image_type=0): /var/www/html/plugins/zigbee/data/ota/GL-S-007P_V15_A1_OTAV5_20210201_90%.ota, version: 5, hw_ver: (None, None), OTA string: EBL ARGBW_V_0_1
[2022-02-02 22:26:52][DEBUG] : FileStore: ImageKey(manufacturer_id=4687, image_type=0): Preferring '/var/www/html/plugins/zigbee/data/ota/GL-D-005P_V11076801_OTAV12_20211108_60%.ota' over '/var/www/html/plugins/zigbee/data/ota/GL-S-007P_V15_A1_OTAV5_20210201_90%.ota'
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4447, image_type=140): /var/www/html/plugins/zigbee/data/ota/OTA_lumi.plug.sacn02_0.0.0_0050_20211108_AB5B77.ota, version: 50, hw_ver: (None, None), OTA string: ROUTERX-----JN5180--ENCRYPTED000
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4107, image_type=278): /var/www/html/plugins/zigbee/data/ota/100B-0116-02002F08-Switch-EFR32MG13.zigbee, version: 33566472, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4364, image_type=91): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_LIGHTIFY_OUTDOOR_FLEX.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4107, image_type=272): /var/www/html/plugins/zigbee/data/ota/100B-0110-01001F00-ConfLight-Lamps-EFR32MG13.zigbee, version: 16785152, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4107, image_type=276): /var/www/html/plugins/zigbee/data/ota/100B-0114-01001B00-ConfLightBLE-Lamps-EFR32MG21.zigbee, version: 16784128, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4447, image_type=1409): /var/www/html/plugins/zigbee/data/ota/20210602140622_lumi.switch.n0acn2_0.0.0_0038_20210524_273333.ota, version: 38, hw_ver: (None, None), OTA string: lumi.switch.n0acn2
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_withCRC_LMES_HVACController_V1.2.30_20170710.20181024102131.ota, version: 30, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:52][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_withCRC_LMES_HVACController_V1.2.30_20170710.20181024102131.ota'
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4107, image_type=277): /var/www/html/plugins/zigbee/data/ota/100B-0115-01000F00-SmartPlug-EFR32MG13.zigbee, version: 16781056, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4447, image_type=257): /var/www/html/plugins/zigbee/data/ota/OTA_withCRC_LMES_DualController_V1.3.30_20170801.20170818100757.ota, version: 30, hw_ver: (None, None), OTA string: DR1175r1v1UNENCRYPTED00000JN5169
[2022-02-02 22:26:52][DEBUG] : FileStore: ImageKey(manufacturer_id=4447, image_type=257): Preferring '/var/www/html/plugins/zigbee/data/ota/lumi.ctrl_ln2.aq1_20201106_v0092.ota' over '/var/www/html/plugins/zigbee/data/ota/OTA_withCRC_LMES_DualController_V1.3.30_20170801.20170818100757.ota'
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4364, image_type=39): /var/www/html/plugins/zigbee/data/ota/ZLL_Plug01_OnOff_MK_0x01020509.ota, version: 16909577, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4474, image_type=53250): /var/www/html/plugins/zigbee/data/ota/ZLL_WS_4f_J_Release_10.03.32.02.zigbee, version: 36832016, hw_ver: (None, None), OTA string: 450728                          
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4107, image_type=260): /var/www/html/plugins/zigbee/data/ota/ConnectedLamp-Atmel_0104_5.130.1.30000_0012.sbl-ota, version: 1107326256, hw_ver: (None, None), OTA string: 
[2022-02-02 22:26:52][DEBUG] : FileStore: ImageKey(manufacturer_id=4107, image_type=260): Preferring '/var/www/html/plugins/zigbee/data/ota/Atmel_0104_ConnectedLamp-Target_0012_88.1.sbl-ota' over '/var/www/html/plugins/zigbee/data/ota/ConnectedLamp-Atmel_0104_5.130.1.30000_0012.sbl-ota'
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4364, image_type=105): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020510_OUTDOOR_LANTERN_B50_RGBW_OSRAM.ota, version: 16909584, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4447, image_type=9224): /var/www/html/plugins/zigbee/data/ota/LM19_BatteryCurtain_V1.0.24_20200803_Enc_F3D9.20200903160047.ota, version: 24, hw_ver: (None, None), OTA string: OM15082-CURTIN-JN5180--ENCRYPTED
[2022-02-02 22:26:52][DEBUG] : ImageKey(manufacturer_id=4364, image_type=8): /var/www/html/plugins/zigbee/data/ota/ZLL_MK_0x01020509_CLA60_TW.ota, version: 16909577, hw_ver: (None, None), OTA string: NULL
[2022-02-02 22:26:52][DEBUG] : Connection made
[2022-02-02 22:26:52][DEBUG] : Command Command.read_parameter (1, <NetworkParameter.protocol_version: 34>, b'')
[2022-02-02 22:26:52][DEBUG] : Send: 0x0a02000800010022
[2022-02-02 22:26:54][WARNING] : No response to 'Command.read_parameter' command with seq id '0x02'
[2022-02-02 22:26:54][ERROR] : Couldn't start application
[2022-02-02 22:26:54][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Connection object at 0x739f2d20>)
[2022-02-02 22:26:54][DEBUG] : operation functools.partial(<built-in method close of sqlite3.Connection object at 0x739f2d20>) completed
[2022-02-02 22:26:54][ERROR] : [start_zigbee] Fatal error : 
[2022-02-02 22:26:54][INFO] : Traceback (most recent call last):
  File "/var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py", line 104, in start_zigbee
    start_radio=True,
  File "/usr/local/lib/python3.7/dist-packages/zigpy/application.py", line 69, in new
    await app.startup(auto_form)
  File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/zigbee/application.py", line 67, in startup
    self.version = await self._api.version()
  File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/api.py", line 463, in version
    (self._proto_ver,) = await self[NetworkParameter.protocol_version]
  File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/api.py", line 428, in read_parameter
    r = await self._command(Command.read_parameter, 1 + len(data), param, data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/api.py", line 313, in _command
    return await asyncio.wait_for(fut, timeout=COMMAND_TIMEOUT)
  File "/usr/lib/python3.7/asyncio/tasks.py", line 423, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError

[2022-02-02 22:26:54][INFO] : Shutdown
[2022-02-02 22:26:54][INFO] : Removing PID file /tmp/jeedom/zigbee/deamon_1.pid
[2022-02-02 22:26:54][INFO] : Exit 0

Quelqu’un peut m’expliquer ce qui se passe ?

Cela a bien réglé mon problème de jeedom.jeedom.
Merci du tuyau

Ah excellent ! :slight_smile:

« Désolé » (je mets des guillemets car je suis quand même content de pas avoir d’autre erreur :sweat_smile: ) mais du coup je n’ai pas ce souci et ça ne me dit rien du tout.

Je viens de voir une mise à jour du plugin zigbee pour corriger l’erreur initiale. Ptet que tu peux tenter de défaire le hack que je proposais et appliquer cette mise à jour pour voir si ça corrige correctement le souci :wink:

Je suis pas du tout expert hein, mais à en juger par ce qui apparaît dans la log j’ai l’impression qu’il y a eut une tentative de mise à jour du firmware de ta clé et que ça a échoué car le fichier fournit était incorrect.

Hello tout le monde,
Je sais que sur le forum il ne faut pas mettre « moi aussi j’ai le souci » mais pour le coup j’ai exactement le meme souci.
Effectivement le deamon s’arrête quelque secondes après de le lancer.
Log.txt (83,0 Ko)
Apres l’analyse des log j’ai trouvé ca:

[2022-02-17 17:50:30][DEBUG] : File '/var/www/html/plugins/zigbee/data/ota/.empty' doesn't appear to be a OTA image
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 262, in parse_ota_image
    return HueSBLOTAImage.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 201, in deserialize
    header, remaining_data = OTAImageHeader.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 110, in deserialize
    hdr, data = super().deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/types/struct.py", line 249, in deserialize
    value, data = field.type.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/types/basic.py", line 140, in deserialize
    raise ValueError(f"Data is too short to contain {byte_size} bytes")
ValueError: Data is too short to contain 4 bytes

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/provider.py", line 414, in scan_image
    parsed_image, _ = parse_ota_image(f.read())
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 264, in parse_ota_image
    return OTAImage.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 162, in deserialize
    hdr, data = OTAImageHeader.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 110, in deserialize
    hdr, data = super().deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/types/struct.py", line 249, in deserialize
    value, data = field.type.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/types/basic.py", line 140, in deserialize
    raise ValueError(f"Data is too short to contain {byte_size} bytes")
ValueError: Data is too short to contain 4 bytes
[2022-02-17 17:50:30][DEBUG] : File '/var/www/html/plugins/zigbee/data/ota/1021-0011-3e4203-NLP-62.zigbee' doesn't appear to be a OTA image
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 262, in parse_ota_image
    return HueSBLOTAImage.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 201, in deserialize
    header, remaining_data = OTAImageHeader.deserialize(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 113, in deserialize
    f"Wrong magic number for OTA Image: {hdr.upgrade_file_id!r}"
ValueError: Wrong magic number for OTA Image: 250647