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.
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
J’ai ouvert un ticket au support et la box été changée. Possible que le mauvais module ait été installé…
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…