Plugin Zigbee ne fonctionne pas sur Jeedom Atlas

Bonjour,
Je viens de recevoir mon Jeedom Atlas en version Zigbee intégré.
J’ai commencé par faire les mises à jour Jeedom puis installer le plugin Zigbee, installer les dépendances et le configurer comme c’est indiqué sur le forum mais impossible de faire fonctionner le deamon. Il démarre (OK) puis s’arrête (NOK) au bout de 5 secondes. Pour une installation censée être plug and play c’est assez décevant…

Voici les logs en mode debug :

[2022-03-15 22:40:04][INFO] : Start zigbeed
[2022-03-15 22:40:04][INFO] : Log level : debug
[2022-03-15 22:40:04][INFO] : PID file : /tmp/jeedom/zigbee/deamon_1.pid
[2022-03-15 22:40:04][INFO] : Device : /dev/ttyS2
[2022-03-15 22:40:04][INFO] : Apikey : hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU
[2022-03-15 22:40:04][INFO] : Callback : http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php
[2022-03-15 22:40:04][INFO] : Cycle : 0.3
[2022-03-15 22:40:04][INFO] : Controller : ezsp
[2022-03-15 22:40:04][INFO] : Channel : 15
[2022-03-15 22:40:04][INFO] : Data folder : /var/www/html/plugins/zigbee/data/1
[2022-03-15 22:40:04][INFO] : Device folder : /var/www/html/plugins/zigbee/data/device
[2022-03-15 22:40:04][INFO] : Folder OTA : None
[2022-03-15 22:40:04][INFO] : Zigpy advance configuration file : None
[2022-03-15 22:40:05][DEBUG] : SQLite version for <module 'sqlite3' from '/usr/lib/python3.7/sqlite3/__init__.py'>: 3.27.2
[2022-03-15 22:40:05][INFO] : Find device : /dev/ttyS2
[2022-03-15 22:40:05][INFO] : LOADER------Import de la configuration specifics.danfoss
.........
[2022-03-15 22:40:05][INFO] : LOADER------Import de la configuration specifics.schneider.details
[2022-03-15 22:40:05][INFO] : Writing PID 2203 to /tmp/jeedom/zigbee/deamon_1.pid
[2022-03-15 22:40:05][INFO] : Init request module v2.27.1
[2022-03-15 22:40:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2022-03-15 22:40:06][DEBUG] : http://127.0.0.1:80 "GET /plugins/zigbee/core/php/jeeZigbee.php?apikey=hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU HTTP/1.1" 200 0
[2022-03-15 22:40:06][DEBUG] : Using selector: EpollSelector
[2022-03-15 22:40:06][DEBUG] : Loading quirks module zhaquirks.aduro
.........
[2022-03-15 22:40:06][DEBUG] : Loading quirks module zhaquirks.zhongxing
[2022-03-15 22:40:06][DEBUG] : Loading quirks module zhaquirks.zhongxing.motion
[2022-03-15 22:40:06][DEBUG] : Loading custom quirks from /var/www/html/plugins/zigbee/resources/zigbeed/quirks
[2022-03-15 22:40:06][DEBUG] : Loading custom quirks module schneider
[2022-03-15 22:40:06][INFO] : [start_zigbee] Init zigbee network with config : {'database_path': '/var/www/html/plugins/zigbee/data/1/network_ezsp.db', 'device': {'path': '/dev/ttyS2', 'baudrate': 115200}, 'network': {'channel': 15}, 'ezsp': {'CONFIG_APS_UNICAST_MESSAGE_COUNT': 12, 'CONFIG_SOURCE_ROUTE_TABLE_SIZE': 16, 'CONFIG_ADDRESS_TABLE_SIZE': 8}}
[2022-03-15 22:40:06][DEBUG] : executing <function aiosqlite_connect.<locals>.<lambda> at 0xffff88d1da60>
[2022-03-15 22:40:06][DEBUG] : operation <function aiosqlite_connect.<locals>.<lambda> at 0xffff88d1da60> completed
[2022-03-15 22:40:06][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0xffff881e9110>, 'PRAGMA integrity_check', [])
[2022-03-15 22:40:06][DEBUG] : operation functools.partial(<built-in method execute of sqlite3.Connection object at 0xffff881e9110>, 'PRAGMA integrity_check', []) completed
.........
[2022-03-15 22:40:06][DEBUG] : Current database version is v7
[2022-03-15 22:40:06][DEBUG] : Loading application state
.........
[2022-03-15 22:40:06][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0xffff881c6810>)
[2022-03-15 22:40:06][DEBUG] : operation functools.partial(<built-in method close of sqlite3.Cursor object at 0xffff881c6810>) completed
[2022-03-15 22:40:06][DEBUG] : Using selector: EpollSelector
[2022-03-15 22:40:06][DEBUG] : Resetting EZSP
[2022-03-15 22:40:06][DEBUG] : Resetting ASH
[2022-03-15 22:40:06][DEBUG] : Sending: b'1ac038bc7e'
[2022-03-15 22:40:11][ERROR] : Couldn't start application
[2022-03-15 22:40:11][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Connection object at 0xffff881e9110>)
[2022-03-15 22:40:11][DEBUG] : operation functools.partial(<built-in method close of sqlite3.Connection object at 0xffff881e9110>) completed
[2022-03-15 22:40:11][INFO] : Shutting down ControllerApplication
[2022-03-15 22:40:11][ERROR] : [start_zigbee] Fatal error :
[2022-03-15 22:40:11][INFO] : Traceback (most recent call last):
File "/var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py", line 102, 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/bellows/zigbee/application.py", line 132, in startup
self._ezsp = await bellows.ezsp.EZSP.initialize(self.config)
File "/usr/local/lib/python3.7/dist-packages/bellows/ezsp/__init__.py", line 83, in initialize
await ezsp.reset()
File "/usr/local/lib/python3.7/dist-packages/bellows/ezsp/__init__.py", line 98, in reset
await self._gw.reset()
File "/usr/local/lib/python3.7/dist-packages/bellows/uart.py", line 223, in reset
return await asyncio.wait_for(self._reset_future, timeout=RESET_TIMEOUT)
File "/usr/lib/python3.7/asyncio/tasks.py", line 423, in wait_for
raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
[2022-03-15 22:40:11][INFO] : Shutdown
[2022-03-15 22:40:11][INFO] : Removing PID file /tmp/jeedom/zigbee/deamon_1.pid
[2022-03-15 22:40:11][INFO] : Exit 0

Quelqu’un peut-il m’aider à faire fonctionner le plugin Zigbee sur Jeedom Atlas ?
J’ai déjà essayé de changer le port du contrôleur en remplaçant Atlas par /dev/ttyS2 mais ça ne fonctionne pas mieux.

Et voici le log zigbee :

[2022-03-15 22:30:02][ERROR] : Echec de la requête HTTP : http://127.0.0.1:8089/device/all cURL error : Failed to connect to 127.0.0.1 port 8089: Connection refused
[2022-03-15 22:32:23][INFO] : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device /dev/ttyS2 --loglevel debug --socketport 8089 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_1.pid --data_folder /var/www/html/plugins/zigbee/data/1 --device_folder /var/www/html/plugins/zigbee/data/device --controller ezsp --sub_controller elelabs --channel 15
[2022-03-15 22:32:24][DEBUG] : null
[2022-03-15 22:35:04][INFO] : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device /dev/ttyS2 --loglevel debug --socketport 8089 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_1.pid --data_folder /var/www/html/plugins/zigbee/data/1 --device_folder /var/www/html/plugins/zigbee/data/device --controller ezsp --sub_controller elelabs --channel 15
[2022-03-15 22:35:06][DEBUG] : null
[2022-03-15 22:37:29][INFO] : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device /dev/ttyS2 --loglevel debug --socketport 8089 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_1.pid --data_folder /var/www/html/plugins/zigbee/data/1 --device_folder /var/www/html/plugins/zigbee/data/device --controller ezsp --sub_controller elelabs --channel 15
[2022-03-15 22:37:31][DEBUG] : null
[2022-03-15 22:40:04][INFO] : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device /dev/ttyS2 --loglevel debug --socketport 8089 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_1.pid --data_folder /var/www/html/plugins/zigbee/data/1 --device_folder /var/www/html/plugins/zigbee/data/device --controller ezsp --sub_controller elelabs --channel 15
[2022-03-15 22:40:06][DEBUG] : null
[2022-03-15 22:45:02][DEBUG] : http://127.0.0.1:8089/device/all type : GET
[2022-03-15 22:45:02][DEBUG] : null
[2022-03-15 22:45:02][ERROR] : Echec de la requête HTTP : http://127.0.0.1:8089/device/all cURL error : Failed to connect to 127.0.0.1 port 8089: Connection refused
[2022-03-15 22:45:03][INFO] : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device /dev/ttyS2 --loglevel debug --socketport 8089 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_1.pid --data_folder /var/www/html/plugins/zigbee/data/1 --device_folder /var/www/html/plugins/zigbee/data/device --controller ezsp --sub_controller elelabs --channel 15
[2022-03-15 22:45:05][DEBUG] : null
[2022-03-15 22:50:04][INFO] : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device /dev/ttyS2 --loglevel debug --socketport 8089 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_1.pid --data_folder /var/www/html/plugins/zigbee/data/1 --device_folder /var/www/html/plugins/zigbee/data/device --controller ezsp --sub_controller elelabs --channel 15
[2022-03-15 22:50:06][DEBUG] : null
[2022-03-15 22:55:02][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2022-03-15 22:55:04][INFO] : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device /dev/ttyS2 --loglevel debug --socketport 8089 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_1.pid --data_folder /var/www/html/plugins/zigbee/data/1 --device_folder /var/www/html/plugins/zigbee/data/device --controller ezsp --sub_controller elelabs --channel 15
[2022-03-15 22:55:05][DEBUG] : null
[2022-03-15 23:00:03][DEBUG] : http://127.0.0.1:8089/device/all type : GET
[2022-03-15 23:00:03][DEBUG] : null
[2022-03-15 23:00:03][ERROR] : Echec de la requête HTTP : http://127.0.0.1:8089/device/all cURL error : Failed to connect to 127.0.0.1 port 8089: Connection refused
[2022-03-15 23:00:03][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2022-03-15 23:00:05][INFO] : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device /dev/ttyS2 --loglevel debug --socketport 8089 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_1.pid --data_folder /var/www/html/plugins/zigbee/data/1 --device_folder /var/www/html/plugins/zigbee/data/device --controller ezsp --sub_controller elelabs --channel 15
[2022-03-15 23:00:06][DEBUG] : null
[2022-03-15 23:05:02][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2022-03-15 23:05:03][INFO] : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device /dev/ttyS2 --loglevel debug --socketport 8089 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_1.pid --data_folder /var/www/html/plugins/zigbee/data/1 --device_folder /var/www/html/plugins/zigbee/data/device --controller ezsp --sub_controller elelabs --channel 15
[2022-03-15 23:05:05][DEBUG] : null
[2022-03-15 23:10:03][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2022-03-15 23:10:04][INFO] : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device /dev/ttyS2 --loglevel debug --socketport 8089 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_1.pid --data_folder /var/www/html/plugins/zigbee/data/1 --device_folder /var/www/html/plugins/zigbee/data/device --controller ezsp --sub_controller elelabs --channel 15
[2022-03-15 23:10:06][DEBUG] : null
[2022-03-15 23:13:15][INFO] : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device /dev/ttyS2 --loglevel debug --socketport 8089 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_1.pid --data_folder /var/www/html/plugins/zigbee/data/1 --device_folder /var/www/html/plugins/zigbee/data/device --controller ezsp --sub_controller elelabs --channel 15
[2022-03-15 23:13:17][DEBUG] : null
[2022-03-15 23:15:02][DEBUG] : http://127.0.0.1:8089/device/all type : GET
[2022-03-15 23:15:02][DEBUG] : null
[2022-03-15 23:15:02][ERROR] : Echec de la requête HTTP : http://127.0.0.1:8089/device/all cURL error : Failed to connect to 127.0.0.1 port 8089: Connection refused
[2022-03-15 23:15:02][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2022-03-15 23:15:03][INFO] : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device /dev/ttyS2 --loglevel debug --socketport 8089 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey hD2PmEtgyWVWatyyD8lKDlH47fUAi6sn55wn7kZ5vhfj4X24GvnjvfP3QdJcCqlU --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_1.pid --data_folder /var/www/html/plugins/zigbee/data/1 --device_folder /var/www/html/plugins/zigbee/data/device --controller ezsp --sub_controller elelabs --channel 15
[2022-03-15 23:15:05][DEBUG] : null

Bonjour,
J’ai eu le même souci à la réception de ma ‹ première › box.
J’ai tenté le plugin Ziwave qui lui, fonctionnait très bien :grin:
J’ai ouvert un ticket au support et la box été changée. Possible que le mauvais module ait été installé…

Bonjour,

J’ai essayé toute les manipulations que j’ai trouvé sur le forum mais rien ne règle le problème.
Je vais ouvrir un ticket alors.

Merci

Le problème a été résolu par le support !

Le contrôleur interne Zigbee était bloqué au niveau du bootloader, du coup le démon ne pouvait pas démarrer. C’est un cas rare, mais cela arrive parfois…

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.