[RESOLU] Installation Matériel de la Zigate fait planter domoticz
Publié : 29 août 2019, 16:02
Bonjour,
ceci est ma première participation au forum. D'avance merci pour votre aide.
J'ai ARMBIAN 5.38 stable Ubuntu 16.04.4 LTS 3.4.113-sun7i sur un bananaPI et domoticz 4.10717. Python3 est en 3.5.2
J'utilise les GPIO pour faire du 433 et du 315 sur des interrupteurs et un écran de projection et j'ai aussi un thermomètre wifi maison sur un wemosD1. J'utilise un script python qui gère l'API de la bar de son bose qui est sur le réseau via wifi.
J'ai reçu aujourd'hui la Zigate. J'ai cloné le repertoire github pour installer le plugin puis redémarré domoticz ce qui m'a permis d'avoir accès à l'installation de la zigate dans matériel.
Le port USB est bien détecté automatiquement et l'installation se passe bien puis après quelques secondes tout mes dispositifs ont disparus et domoticz ne fonctionne plus, plus d'accès au log non plus.
J'ai restart domoticz qui a fonctionné 30 sec puis à nouveau plantage. J'ai restart à nouveau et dans le court intervalle supprimé Zigate de mes matériels. Domoticz fonctionne alors parfaitement normalement.
Voici le log domoticz que j'ai pu récupéré après le deuxième restart et la suppression rapide du zigate de matériels.
2019-08-29 15:31:46.863 Status: Domoticz V4.10717 (c)2012-2019 GizMoCuz
2019-08-29 15:31:46.863 Status: Build Hash: b38b49e5, Date: 2019-05-09 13:04:08
2019-08-29 15:31:46.864 Status: System: Cubieboard/Cubietruck
2019-08-29 15:31:46.864 Status: Startup Path: /home/root/domoticz/
2019-08-29 15:31:47.132 Active notification Subsystems: (0/13)
2019-08-29 15:31:47.151 Starting shared server on: :::6144
2019-08-29 15:31:47.116 Status: PluginSystem: Started, Python version '3.5.2'.
2019-08-29 15:31:47.135 Status: WebServer(HTTP) started on address: :: with port 8080
2019-08-29 15:31:47.145 Status: WebServer(SSL) started on address: :: with port 443
2019-08-29 15:31:47.152 Status: TCPServer: shared server started...
2019-08-29 15:31:47.153 Status: RxQueue: queue worker started...
2019-08-29 15:31:49.154 Status: (ZigatePH) Started.
2019-08-29 15:31:49.156 Status: EventSystem: reset all events...
2019-08-29 15:31:49.158 Status: EventSystem: reset all device statuses...
2019-08-29 15:31:49.328 Status: Python EventSystem: Initalizing event module.
2019-08-29 15:31:49.329 Status: EventSystem: Started
2019-08-29 15:31:49.329 Status: EventSystem: Queue thread started...
2019-08-29 15:31:49.431 Status: PluginSystem: Entering work loop.
2019-08-29 15:31:50.274 (ZigatePH) Debug: 0
2019-08-29 15:31:50.334 (ZigatePH) setTimeServer - Setting UTC Time to : 620407910
2019-08-29 15:31:50.750 (ZigatePH) Permit Join status: 01
2019-08-29 15:31:50.750 (ZigatePH) ---> self.permitTojoin['Starttime']: 1567085510
2019-08-29 15:31:50.750 (ZigatePH) ---> Current time : 1567085510
2019-08-29 15:31:50.750 (ZigatePH) ---> self.Ping['Permit'] (prev) : None
2019-08-29 15:31:50.750 (ZigatePH) ---> self.Ping['Permit'] (new ) : On
2019-08-29 15:31:50.155 Status: MQTT: Connecting to localhost:1883
2019-08-29 15:31:50.258 Status: MQTT: connected to: localhost:1883
2019-08-29 15:31:50.265 Status: (ZigatePH) Entering work loop.
2019-08-29 15:31:50.267 Status: (ZigatePH) Initialized version 4.5, author 'zaraki673 pipiche38'
2019-08-29 15:31:50.274 Status: (ZigatePH) Zigate plugin stable-4.5.4 started
2019-08-29 15:31:50.274 Status: (ZigatePH) Python Version - 3.5.2 (default, Nov 12 2018, 13:43:14)
2019-08-29 15:31:50.274 [GCC 5.4.0 20160609]
2019-08-29 15:31:50.274 Status: (ZigatePH) Switching Heartbeat to 5 s interval
2019-08-29 15:31:50.274 Status: (ZigatePH) DomoticzVersion: 4.10717
2019-08-29 15:31:50.274 Status: (ZigatePH) DomoticzHash: b38b49e5
2019-08-29 15:31:50.274 Status: (ZigatePH) DomoticzBuildTime: 2019-05-09 13:04:08
2019-08-29 15:31:50.274 Status: (ZigatePH) load PluginConf
2019-08-29 15:31:50.277 Status: (ZigatePH) pluginData set to /home/root/domoticz/plugins/Domoticz-Zigate/Data/
2019-08-29 15:31:50.277 Status: (ZigatePH) pluginWWW set to /home/root/domoticz/plugins/Domoticz-Zigate/www/
2019-08-29 15:31:50.277 Status: (ZigatePH) pluginReports set to /home/root/domoticz/plugins/Domoticz-Zigate/Reports/
2019-08-29 15:31:50.277 Status: (ZigatePH) pluginConfig set to /home/root/domoticz/plugins/Domoticz-Zigate/Conf/
2019-08-29 15:31:50.277 Status: (ZigatePH) pluginOTAFirmware set to /home/root/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2019-08-29 15:31:50.278 Status: (ZigatePH) pluginHome set to /home/root/domoticz/plugins/Domoticz-Zigate/
2019-08-29 15:31:50.278 Status: (ZigatePH) filename set to /home/root/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-11.json
2019-08-29 15:31:50.278 Status: (ZigatePH) homedirectory set to /home/root/domoticz/plugins/Domoticz-Zigate/
2019-08-29 15:31:50.278 Status: (ZigatePH) Opening DomoticzDB in raw
2019-08-29 15:31:50.278 Status: (ZigatePH) Plugin Database: DeviceList-11.txt
2019-08-29 15:31:50.313 Status: (ZigatePH) DeviceConf loaded
2019-08-29 15:31:50.313 Status: (ZigatePH) load ListOfDevice
2019-08-29 15:31:50.319 Status: (ZigatePH) Entries loaded from /home/root/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-11.txt : 0
2019-08-29 15:31:50.319 Status: (ZigatePH) Transport mode: USB
2019-08-29 15:31:50.320 Status: (ZigatePH) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB0
2019-08-29 15:31:50.334 Status: (ZigatePH) Zigate set Time Server
2019-08-29 15:31:50.335 Status: (ZigatePH) Configure Permit To Join
2019-08-29 15:31:50.335 Status: (ZigatePH) Request Accepting new Hardware for 254 seconds
2019-08-29 15:31:50.335 Status: (ZigatePH) Trigger a Topology Scan
2019-08-29 15:31:50.335 Status: (ZigatePH) Trigger a Energy Level Scan
2019-08-29 15:31:50.336 Status: (ZigatePH) Network Energy Level Report: 0000
2019-08-29 15:31:50.336 Status: (ZigatePH) -----------------------------------------------
2019-08-29 15:31:50.336 Status: (ZigatePH) router <- nwkid Tx Failure 11 15 19 20 25 26
2019-08-29 15:31:50.359 Status: MQTT: Subscribed
2019-08-29 15:31:50.442 Status: (ZigatePH) Major Version Num: 0003
2019-08-29 15:31:50.442 Status: (ZigatePH) Installer Version Number: 031a
2019-08-29 15:31:50.750 Status: (ZigatePH) Accepting new Hardware: On
2019-08-29 15:31:50.865 Status: (ZigatePH) Zigate addresses ieee: 00158d0001ee04e3 , short addr: 0000
2019-08-29 15:31:50.865 Status: (ZigatePH) Network state UP, PANID: e05f extPANID: 0x39bc1baae4b2bb5a Channel: 11
2019-08-29 15:31:50.972 Status: (ZigatePH) Number of devices recently active in Zigate = 0
2019-08-29 15:31:51.075 Error: (ZigatePH) LQI:LQIresp - Status: c1 for 09c10100000000
2019-08-29 15:31:56.796 Status: (ZigatePH) Stop directive received.
2019-08-29 15:31:56.796 Status: (ZigatePH) Exiting work loop.
2019-08-29 15:31:56.842 Status: (ZigatePH) onStop called
2019-08-29 15:31:56.845 Status: (ZigatePH) Statistics on message
2019-08-29 15:31:56.845 Status: (ZigatePH) Sent:
2019-08-29 15:31:56.845 Status: (ZigatePH) TX commands : 7
2019-08-29 15:31:56.845 Status: (ZigatePH) Max Load (Queue) : 6
2019-08-29 15:31:56.846 Status: (ZigatePH) TX failed : 0 (0.0%)
2019-08-29 15:31:56.846 Status: (ZigatePH) TX timeout : 0 (0.0%)
2019-08-29 15:31:56.846 Status: (ZigatePH) TX data timeout : 0 (0.0%)
2019-08-29 15:31:56.846 Status: (ZigatePH) TX reTransmit : 0 (0.0%)
2019-08-29 15:31:56.846 Status: (ZigatePH) Received:
2019-08-29 15:31:56.846 Status: (ZigatePH) RX frame : 12
2019-08-29 15:31:56.847 Status: (ZigatePH) RX crc errors : 0 (0.0%)
2019-08-29 15:31:56.847 Status: (ZigatePH) RX lentgh errors : 0 (0.0%)
2019-08-29 15:31:56.847 Status: (ZigatePH) RX clusters : 0
2019-08-29 15:31:56.847 Status: (ZigatePH) RX clusters KO : 0
2019-08-29 15:31:56.847 Status: (ZigatePH) Operating time : 0 Hours 0 Mins 6 Secs
2019-08-29 15:31:56.997 Status: (ZigatePH) Stopping threads.
2019-08-29 15:31:56.997 Status: (ZigatePH) Stopped.
Je n'arrive pas à comprendre ce log et c'est pourquoi je vous demande votre aide.
Merci d'avance !
ceci est ma première participation au forum. D'avance merci pour votre aide.
J'ai ARMBIAN 5.38 stable Ubuntu 16.04.4 LTS 3.4.113-sun7i sur un bananaPI et domoticz 4.10717. Python3 est en 3.5.2
J'utilise les GPIO pour faire du 433 et du 315 sur des interrupteurs et un écran de projection et j'ai aussi un thermomètre wifi maison sur un wemosD1. J'utilise un script python qui gère l'API de la bar de son bose qui est sur le réseau via wifi.
J'ai reçu aujourd'hui la Zigate. J'ai cloné le repertoire github pour installer le plugin puis redémarré domoticz ce qui m'a permis d'avoir accès à l'installation de la zigate dans matériel.
Le port USB est bien détecté automatiquement et l'installation se passe bien puis après quelques secondes tout mes dispositifs ont disparus et domoticz ne fonctionne plus, plus d'accès au log non plus.
J'ai restart domoticz qui a fonctionné 30 sec puis à nouveau plantage. J'ai restart à nouveau et dans le court intervalle supprimé Zigate de mes matériels. Domoticz fonctionne alors parfaitement normalement.
Voici le log domoticz que j'ai pu récupéré après le deuxième restart et la suppression rapide du zigate de matériels.
2019-08-29 15:31:46.863 Status: Domoticz V4.10717 (c)2012-2019 GizMoCuz
2019-08-29 15:31:46.863 Status: Build Hash: b38b49e5, Date: 2019-05-09 13:04:08
2019-08-29 15:31:46.864 Status: System: Cubieboard/Cubietruck
2019-08-29 15:31:46.864 Status: Startup Path: /home/root/domoticz/
2019-08-29 15:31:47.132 Active notification Subsystems: (0/13)
2019-08-29 15:31:47.151 Starting shared server on: :::6144
2019-08-29 15:31:47.116 Status: PluginSystem: Started, Python version '3.5.2'.
2019-08-29 15:31:47.135 Status: WebServer(HTTP) started on address: :: with port 8080
2019-08-29 15:31:47.145 Status: WebServer(SSL) started on address: :: with port 443
2019-08-29 15:31:47.152 Status: TCPServer: shared server started...
2019-08-29 15:31:47.153 Status: RxQueue: queue worker started...
2019-08-29 15:31:49.154 Status: (ZigatePH) Started.
2019-08-29 15:31:49.156 Status: EventSystem: reset all events...
2019-08-29 15:31:49.158 Status: EventSystem: reset all device statuses...
2019-08-29 15:31:49.328 Status: Python EventSystem: Initalizing event module.
2019-08-29 15:31:49.329 Status: EventSystem: Started
2019-08-29 15:31:49.329 Status: EventSystem: Queue thread started...
2019-08-29 15:31:49.431 Status: PluginSystem: Entering work loop.
2019-08-29 15:31:50.274 (ZigatePH) Debug: 0
2019-08-29 15:31:50.334 (ZigatePH) setTimeServer - Setting UTC Time to : 620407910
2019-08-29 15:31:50.750 (ZigatePH) Permit Join status: 01
2019-08-29 15:31:50.750 (ZigatePH) ---> self.permitTojoin['Starttime']: 1567085510
2019-08-29 15:31:50.750 (ZigatePH) ---> Current time : 1567085510
2019-08-29 15:31:50.750 (ZigatePH) ---> self.Ping['Permit'] (prev) : None
2019-08-29 15:31:50.750 (ZigatePH) ---> self.Ping['Permit'] (new ) : On
2019-08-29 15:31:50.155 Status: MQTT: Connecting to localhost:1883
2019-08-29 15:31:50.258 Status: MQTT: connected to: localhost:1883
2019-08-29 15:31:50.265 Status: (ZigatePH) Entering work loop.
2019-08-29 15:31:50.267 Status: (ZigatePH) Initialized version 4.5, author 'zaraki673 pipiche38'
2019-08-29 15:31:50.274 Status: (ZigatePH) Zigate plugin stable-4.5.4 started
2019-08-29 15:31:50.274 Status: (ZigatePH) Python Version - 3.5.2 (default, Nov 12 2018, 13:43:14)
2019-08-29 15:31:50.274 [GCC 5.4.0 20160609]
2019-08-29 15:31:50.274 Status: (ZigatePH) Switching Heartbeat to 5 s interval
2019-08-29 15:31:50.274 Status: (ZigatePH) DomoticzVersion: 4.10717
2019-08-29 15:31:50.274 Status: (ZigatePH) DomoticzHash: b38b49e5
2019-08-29 15:31:50.274 Status: (ZigatePH) DomoticzBuildTime: 2019-05-09 13:04:08
2019-08-29 15:31:50.274 Status: (ZigatePH) load PluginConf
2019-08-29 15:31:50.277 Status: (ZigatePH) pluginData set to /home/root/domoticz/plugins/Domoticz-Zigate/Data/
2019-08-29 15:31:50.277 Status: (ZigatePH) pluginWWW set to /home/root/domoticz/plugins/Domoticz-Zigate/www/
2019-08-29 15:31:50.277 Status: (ZigatePH) pluginReports set to /home/root/domoticz/plugins/Domoticz-Zigate/Reports/
2019-08-29 15:31:50.277 Status: (ZigatePH) pluginConfig set to /home/root/domoticz/plugins/Domoticz-Zigate/Conf/
2019-08-29 15:31:50.277 Status: (ZigatePH) pluginOTAFirmware set to /home/root/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2019-08-29 15:31:50.278 Status: (ZigatePH) pluginHome set to /home/root/domoticz/plugins/Domoticz-Zigate/
2019-08-29 15:31:50.278 Status: (ZigatePH) filename set to /home/root/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-11.json
2019-08-29 15:31:50.278 Status: (ZigatePH) homedirectory set to /home/root/domoticz/plugins/Domoticz-Zigate/
2019-08-29 15:31:50.278 Status: (ZigatePH) Opening DomoticzDB in raw
2019-08-29 15:31:50.278 Status: (ZigatePH) Plugin Database: DeviceList-11.txt
2019-08-29 15:31:50.313 Status: (ZigatePH) DeviceConf loaded
2019-08-29 15:31:50.313 Status: (ZigatePH) load ListOfDevice
2019-08-29 15:31:50.319 Status: (ZigatePH) Entries loaded from /home/root/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-11.txt : 0
2019-08-29 15:31:50.319 Status: (ZigatePH) Transport mode: USB
2019-08-29 15:31:50.320 Status: (ZigatePH) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB0
2019-08-29 15:31:50.334 Status: (ZigatePH) Zigate set Time Server
2019-08-29 15:31:50.335 Status: (ZigatePH) Configure Permit To Join
2019-08-29 15:31:50.335 Status: (ZigatePH) Request Accepting new Hardware for 254 seconds
2019-08-29 15:31:50.335 Status: (ZigatePH) Trigger a Topology Scan
2019-08-29 15:31:50.335 Status: (ZigatePH) Trigger a Energy Level Scan
2019-08-29 15:31:50.336 Status: (ZigatePH) Network Energy Level Report: 0000
2019-08-29 15:31:50.336 Status: (ZigatePH) -----------------------------------------------
2019-08-29 15:31:50.336 Status: (ZigatePH) router <- nwkid Tx Failure 11 15 19 20 25 26
2019-08-29 15:31:50.359 Status: MQTT: Subscribed
2019-08-29 15:31:50.442 Status: (ZigatePH) Major Version Num: 0003
2019-08-29 15:31:50.442 Status: (ZigatePH) Installer Version Number: 031a
2019-08-29 15:31:50.750 Status: (ZigatePH) Accepting new Hardware: On
2019-08-29 15:31:50.865 Status: (ZigatePH) Zigate addresses ieee: 00158d0001ee04e3 , short addr: 0000
2019-08-29 15:31:50.865 Status: (ZigatePH) Network state UP, PANID: e05f extPANID: 0x39bc1baae4b2bb5a Channel: 11
2019-08-29 15:31:50.972 Status: (ZigatePH) Number of devices recently active in Zigate = 0
2019-08-29 15:31:51.075 Error: (ZigatePH) LQI:LQIresp - Status: c1 for 09c10100000000
2019-08-29 15:31:56.796 Status: (ZigatePH) Stop directive received.
2019-08-29 15:31:56.796 Status: (ZigatePH) Exiting work loop.
2019-08-29 15:31:56.842 Status: (ZigatePH) onStop called
2019-08-29 15:31:56.845 Status: (ZigatePH) Statistics on message
2019-08-29 15:31:56.845 Status: (ZigatePH) Sent:
2019-08-29 15:31:56.845 Status: (ZigatePH) TX commands : 7
2019-08-29 15:31:56.845 Status: (ZigatePH) Max Load (Queue) : 6
2019-08-29 15:31:56.846 Status: (ZigatePH) TX failed : 0 (0.0%)
2019-08-29 15:31:56.846 Status: (ZigatePH) TX timeout : 0 (0.0%)
2019-08-29 15:31:56.846 Status: (ZigatePH) TX data timeout : 0 (0.0%)
2019-08-29 15:31:56.846 Status: (ZigatePH) TX reTransmit : 0 (0.0%)
2019-08-29 15:31:56.846 Status: (ZigatePH) Received:
2019-08-29 15:31:56.846 Status: (ZigatePH) RX frame : 12
2019-08-29 15:31:56.847 Status: (ZigatePH) RX crc errors : 0 (0.0%)
2019-08-29 15:31:56.847 Status: (ZigatePH) RX lentgh errors : 0 (0.0%)
2019-08-29 15:31:56.847 Status: (ZigatePH) RX clusters : 0
2019-08-29 15:31:56.847 Status: (ZigatePH) RX clusters KO : 0
2019-08-29 15:31:56.847 Status: (ZigatePH) Operating time : 0 Hours 0 Mins 6 Secs
2019-08-29 15:31:56.997 Status: (ZigatePH) Stopping threads.
2019-08-29 15:31:56.997 Status: (ZigatePH) Stopped.
Je n'arrive pas à comprendre ce log et c'est pourquoi je vous demande votre aide.
Merci d'avance !