[Résolu] Plantage plugin zigate > plantage domoticz

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
Skwi
Messages : 53
Inscription : 20 nov. 2018, 13:09

[Résolu] Plantage plugin zigate > plantage domoticz

Message par Skwi »

Bonjour,

Suite à mon poste viewtopic.php?f=28&t=10813 j'ai mis hier à jour le plugin de la 4.7 à la dernière 4.11.0.11
Hier soir domoticz crash, pas de bol passons (bien que ça n'arrive jamais)
Cependant aujourd'hui paf même chose j'arrive chez moi plus rien ne fonctionne en domotique, je regarde et domoticz est encore en stop sur mon synology.

les logs des deux crash (j'ai la version wifi)

Code : Tout sélectionner

2020-12-09 22:43:05.403  Status: (Zigate) Plugin Restart command : http://monuser:xxx@127.0.0.1:8080/json.htm?type=command&param=updatehardware&htype=94&idx=19&name=Zigate&address=192.168.31.60&port=9999&serialport=null&Mode1=Wifi&Mode2=&Mode3=False&Mode4=9440&Mode5=&Mode6=0&extra=Zigate&enabled=true&datatimeout=0
2020-12-09 22:43:05.481  Status: (Zigate) Stop directive received.
2020-12-09 22:43:05.481  Status: (Zigate) Exiting work loop.
2020-12-09 22:43:05.569  Status: (Zigate) onDisconnect called
2020-12-09 22:43:05.569  (Zigate) onDisconnect - Closing Name: 'Zigate Server Connection', Transport: 'TCP/IP', Protocol: 'HTTP', Address: '', Port: '9440', Baud: -1, Connected: False, Parent: 'None'
2020-12-09 22:43:05.569  Status: (Zigate) onStop called
2020-12-09 22:43:05.569  Status: (Zigate) Connection close: Name: 'Zigate', Transport: 'TCP/IP', Protocol: 'None ', Address: '192.168.31.60', Port: '9999', Baud: -1, Connected: False, Parent: 'None'
2020-12-09 22:43:05.569  Error: CConnection_disconnect, disconnection request from 'Zigate' ignored. Transport does not exist.
2020-12-09 22:43:05.584  Status: (Zigate) Statistics on message
2020-12-09 22:43:05.584  Status: (Zigate) ZiGate reacting time
2020-12-09 22:43:05.584  Status: (Zigate)    Max              : 0 sec
2020-12-09 22:43:05.584  Status: (Zigate)    Average          : 0 sec
2020-12-09 22:43:05.584  Status: (Zigate) ZiGate processing time on Rx
2020-12-09 22:43:05.584  Status: (Zigate)    Max              : 0 sec
2020-12-09 22:43:05.585  Status: (Zigate)    Average          : 0 sec
2020-12-09 22:43:05.585  Status: (Zigate) Sent:
2020-12-09 22:43:05.585  Status: (Zigate)    TX commands      : 138
2020-12-09 22:43:05.585  Status: (Zigate)    Max Load (Queue) : 6
2020-12-09 22:43:05.585  Status: (Zigate)    TX failed        : 0 (0.0%)
2020-12-09 22:43:05.585  Status: (Zigate)    TX timeout       : 30 (21.74%)
2020-12-09 22:43:05.585  Status: (Zigate)    TX data timeout  : 0 (0.0%)
2020-12-09 22:43:05.585  Status: (Zigate)    TX reTransmit    : 0 (0.0%)
2020-12-09 22:43:05.585  Status: (Zigate)    TX APS Failure   : 8 (5.8%)
2020-12-09 22:43:05.585  Status: (Zigate)    TX APS Ack       : 52 (37.68%)
2020-12-09 22:43:05.585  Status: (Zigate)    TX APS Nck       : 55 (39.86%)
2020-12-09 22:43:05.585  Status: (Zigate) Received:
2020-12-09 22:43:05.585  Status: (Zigate)    RX frame         : 894
2020-12-09 22:43:05.585  Status: (Zigate)    RX crc errors    : 0 (0.0%)
2020-12-09 22:43:05.585  Status: (Zigate)    RX lentgh errors : 0 (0.0%)
2020-12-09 22:43:05.585  Status: (Zigate)    RX clusters      : 608
2020-12-09 22:43:05.585  Status: (Zigate)    RX clusters KO   : 0
2020-12-09 22:43:05.585  Status: (Zigate) Operating time      : 2 Hours 45 Mins 1 Secs
2020-12-09 22:43:05.940  Error: Domoticz(pid:10827, tid:10832('PluginMgr')) received fatal signal 11 (Segmentation fault)
2020-12-09 22:43:05.940  Error: siginfo address=0x2a4b, address=0x7f830e76c089
2020-12-09 22:43:06.052  Error: Failed to start gdb, will use backtrace() for printing stack frame

2020-12-09 22:43:06.063  Error: #0  /usr/local/domoticz/bin/domoticz() [0x6e0660]
2020-12-09 22:43:06.126  Error: #1  /usr/local/domoticz/bin/domoticz : signal_handler(int, siginfo_t*, void*) + 0x295 [0x6e13d5]
2020-12-09 22:43:06.126  Error: #2  /lib/libpthread.so.0 :  + 0x101c0 [0x7f830e76c1c0]
2020-12-09 22:43:06.126  Error: #3  /lib/libpthread.so.0 : raise + 0x29 [0x7f830e76c089]
2020-12-09 22:43:06.126  Error: #4  /lib/libpthread.so.0 :  + 0x101c0 [0x7f830e76c1c0]
2020-12-09 22:43:06.126  Error: #5  /usr/local/lib/libpython3.8.so :  + 0xccf77 [0x7f830c637f77]
2020-12-09 22:43:06.126  Error: #6  /usr/local/domoticz/bin/domoticz : Plugins::CPlugin::Stop() + 0xd7 [0xa39c17]
2020-12-09 22:43:06.126  Error: #7  /usr/local/domoticz/bin/domoticz : Plugins::onStopCallback::ProcessLocked() + 0x2b [0xa3c99b]
2020-12-09 22:43:06.126  Error: #8  /usr/local/domoticz/bin/domoticz : Plugins::CPluginMessageBase::Process() + 0x33 [0x66d683]
2020-12-09 22:43:06.126  Error: #9  /usr/local/domoticz/bin/domoticz : Plugins::CPluginSystem::Do_Work() + 0x319 [0xa3d9e9]
2020-12-09 22:43:06.126  Error: #10 /usr/local/domoticz/bin/domoticz : execute_native_thread_routine + 0x30 [0xd662fc]
2020-12-09 22:43:06.126  Error: #11 /lib/libpthread.so.0 :  + 0x72c4 [0x7f830e7632c4]
2020-12-09 22:43:06.126  Error: #12 /lib/libc.so.6 : clone + 0x6d [0x7f830d6f310d]
et aujourd'hui :

Code : Tout sélectionner

2020-12-10 14:27:00.230  (Meteo) Temp + Humidity + Baro (THB)
2020-12-10 14:27:00.235  (Meteo) Wind (Vent)
2020-12-10 14:27:00.236  (Meteo) UV (UV Index)
2020-12-10 14:27:00.239  (Meteo) Rain (Rain)
2020-12-10 14:27:00.240  (Meteo) General/Visibility (Unknown)
2020-12-10 14:27:00.240  (Meteo) General/Custom Sensor (Ozone Sensor)
2020-12-10 14:27:00.241  (Meteo) General/Percentage (Cloud Cover)
2020-12-10 14:27:00.294  InfluxLink: value Temperature,idx=177,name=THB value=2.7
2020-12-10 14:27:00.294  InfluxLink: value Direction,idx=178,name=Vent value=141.0
2020-12-10 14:27:00.294  InfluxLink: value Speed,idx=178,name=Vent value=5.0
2020-12-10 14:27:14.614  Status: Incoming connection from: 192.168.31.71
2020-12-10 14:27:20.615  Status: EventSystem: Opening a URL after 0.2 seconds...
2020-12-10 14:27:20.935  InfluxLink: value Usage-current,idx=150,name=EDF-Smart-Meter value=250.0
2020-12-10 14:27:23.075  Status: Incoming connection from: 192.168.31.72
2020-12-10 14:27:23.512  InfluxLink: value Temperature,idx=175,name=Tmp_72_salon value=19.1
2020-12-10 14:28:20.694  Status: EventSystem: Opening a URL after 0.2 seconds...
2020-12-10 14:28:21.128  InfluxLink: value Usage-current,idx=150,name=EDF-Smart-Meter value=230.0
2020-12-10 14:29:03.228  InfluxLink: value Temperature,idx=209,name=Rika-Stove-Tmp value=653.0
2020-12-10 14:29:14.579  Status: Incoming connection from: 192.168.31.71
2020-12-10 14:29:20.617  Status: EventSystem: Opening a URL after 0.2 seconds...
2020-12-10 14:29:25.036  (Zigate) pingZigate - WARNING: Ping sent but no response yet from Zigate. Status: Sent  - Ping: 5 sec
2020-12-10 14:29:30.050  (Zigate) pingZigate - WARNING: Ping sent but no response yet from Zigate. Status: Sent  - Ping: 10 sec
2020-12-10 14:29:35.062  (Zigate) pingZigate - WARNING: Ping sent but no response yet from Zigate. Status: Sent  - Ping: 15 sec
2020-12-10 14:29:38.803  Error: Broadlink hardware (7) thread seems to have ended unexpectedly
2020-12-10 14:29:40.057  (Zigate) pingZigate - WARNING: Ping sent but no response yet from Zigate. Status: Sent  - Ping: 20 sec
2020-12-10 14:29:45.019  (Zigate) pingZigate - WARNING: Ping sent but no response yet from Zigate. Status: Sent  - Ping: 25 sec
2020-12-10 14:29:50.030  (Zigate) pingZigate - WARNING: Ping sent but no response yet from Zigate. Status: Sent  - Ping: 30 sec
2020-12-10 14:29:52.805  Error: Broadlink hardware (7) thread seems to have ended unexpectedly
2020-12-10 14:29:55.060  (Zigate) pingZigate - WARNING: Ping sent but no response yet from Zigate. Status: Sent  - Ping: 35 sec
2020-12-10 14:30:00.055  (Zigate) pingZigate - WARNING: Ping sent but no response yet from Zigate. Status: Sent  - Ping: 40 sec
2020-12-10 14:30:05.036  (Zigate) pingZigate - WARNING: Ping sent but no response yet from Zigate. Status: Sent  - Ping: 45 sec
2020-12-10 14:30:10.048  (Zigate) pingZigate - WARNING: Ping sent but no response yet from Zigate. Status: Sent  - Ping: 50 sec
2020-12-10 14:30:13.742  Status: Incoming connection from: 192.168.31.71
2020-12-10 14:30:14.579  Status: Incoming connection from: 192.168.31.71
2020-12-10 14:30:15.025  (Zigate) pingZigate - WARNING: Ping sent but no response yet from Zigate. Status: Sent  - Ping: 55 sec
2020-12-10 14:30:20.037  (Zigate) pingZigate - WARNING: Ping sent but no response yet from Zigate. Status: Sent  - Ping: 60 sec
2020-12-10 14:30:20.037  Error: (Zigate) pingZigate - no Heartbeat with Zigate, try to reConnect
2020-12-10 14:30:20.050  Status: (Zigate) Plugin Restart command : http://userchangé:pwchangé@127.0.0.1:8080/json.htm?type=command&param=updatehardware&htype=94&idx=19&name=Zigate&address=192.168.31.60&port=9999&serialport=null&Mode1=Wifi&Mode2=&Mode3=False&Mode4=9440&Mode5=&Mode6=0&extra=Zigate&enabled=true&datatimeout=0
2020-12-10 14:30:20.084  Status: (Zigate) Stop directive received.
2020-12-10 14:30:20.084  Status: (Zigate) Exiting work loop.
2020-12-10 14:30:20.158  Status: (Zigate) onDisconnect called
2020-12-10 14:30:20.158  (Zigate) onDisconnect - Closing Name: 'Zigate Server Connection', Transport: 'TCP/IP', Protocol: 'HTTP', Address: '', Port: '9440', Baud: -1, Connected: False, Parent: 'None'
2020-12-10 14:30:20.158  Status: (Zigate) onStop called
2020-12-10 14:30:20.158  Status: (Zigate) Connection close: Name: 'Zigate', Transport: 'TCP/IP', Protocol: 'None ', Address: '192.168.31.60', Port: '9999', Baud: -1, Connected: False, Parent: 'None'
2020-12-10 14:30:20.158  Error: CConnection_disconnect, disconnection request from 'Zigate' ignored. Transport does not exist.
2020-12-10 14:30:20.173  Status: (Zigate) Statistics on message
2020-12-10 14:30:20.173  Status: (Zigate) ZiGate reacting time
2020-12-10 14:30:20.173  Status: (Zigate)    Max              : 0 sec
2020-12-10 14:30:20.173  Status: (Zigate)    Average          : 0 sec
2020-12-10 14:30:20.173  Status: (Zigate) ZiGate processing time on Rx
2020-12-10 14:30:20.174  Status: (Zigate)    Max              : 0 sec
2020-12-10 14:30:20.174  Status: (Zigate)    Average          : 0 sec
2020-12-10 14:30:20.174  Status: (Zigate) Sent:
2020-12-10 14:30:20.174  Status: (Zigate)    TX commands      : 91
2020-12-10 14:30:20.174  Status: (Zigate)    Max Load (Queue) : 5
2020-12-10 14:30:20.174  Status: (Zigate)    TX failed        : 0 (0.0%)
2020-12-10 14:30:20.174  Status: (Zigate)    TX timeout       : 6 (6.59%)
2020-12-10 14:30:20.174  Status: (Zigate)    TX data timeout  : 0 (0.0%)
2020-12-10 14:30:20.174  Status: (Zigate)    TX reTransmit    : 0 (0.0%)
2020-12-10 14:30:20.174  Status: (Zigate)    TX APS Failure   : 23 (25.27%)
2020-12-10 14:30:20.174  Status: (Zigate)    TX APS Ack       : 51 (56.04%)
2020-12-10 14:30:20.174  Status: (Zigate)    TX APS Nck       : 53 (58.24%)
2020-12-10 14:30:20.174  Status: (Zigate) Received:
2020-12-10 14:30:20.174  Status: (Zigate)    RX frame         : 1653
2020-12-10 14:30:20.174  Status: (Zigate)    RX crc errors    : 0 (0.0%)
2020-12-10 14:30:20.174  Status: (Zigate)    RX lentgh errors : 0 (0.0%)
2020-12-10 14:30:20.174  Status: (Zigate)    RX clusters      : 1266
2020-12-10 14:30:20.174  Status: (Zigate)    RX clusters KO   : 0
2020-12-10 14:30:20.174  Status: (Zigate) Operating time      : 6 Hours 3 Mins 55 Secs
2020-12-10 14:30:20.340  Error: Domoticz(pid:8899, tid:8904('PluginMgr')) received fatal signal 11 (Segmentation fault)
2020-12-10 14:30:20.340  Error: siginfo address=0x22c3, address=0x7fd6c0a44089
2020-12-10 14:30:20.427  Error: Failed to start gdb, will use backtrace() for printing stack frame

2020-12-10 14:30:20.429  Error: #0  /usr/local/domoticz/bin/domoticz() [0x6e0660]
2020-12-10 14:30:20.429  Error: #1  /usr/local/domoticz/bin/domoticz : signal_handler(int, siginfo_t*, void*) + 0x295 [0x6e13d5]
2020-12-10 14:30:20.429  Error: #2  /lib/libpthread.so.0 :  + 0x101c0 [0x7fd6c0a441c0]
2020-12-10 14:30:20.429  Error: #3  /lib/libpthread.so.0 : raise + 0x29 [0x7fd6c0a44089]
2020-12-10 14:30:20.429  Error: #4  /lib/libpthread.so.0 :  + 0x101c0 [0x7fd6c0a441c0]
2020-12-10 14:30:20.429  Error: #5  /usr/local/lib/libpython3.8.so :  + 0xccf77 [0x7fd6be90ff77]
2020-12-10 14:30:20.429  Error: #6  /usr/local/domoticz/bin/domoticz : Plugins::CPlugin::Stop() + 0xd7 [0xa39c17]
2020-12-10 14:30:20.429  Error: #7  /usr/local/domoticz/bin/domoticz : Plugins::onStopCallback::ProcessLocked() + 0x2b [0xa3c99b]
2020-12-10 14:30:20.429  Error: #8  /usr/local/domoticz/bin/domoticz : Plugins::CPluginMessageBase::Process() + 0x33 [0x66d683]
2020-12-10 14:30:20.429  Error: #9  /usr/local/domoticz/bin/domoticz : Plugins::CPluginSystem::Do_Work() + 0x319 [0xa3d9e9]
2020-12-10 14:30:20.429  Error: #10 /usr/local/domoticz/bin/domoticz : execute_native_thread_routine + 0x30 [0xd662fc]
2020-12-10 14:30:20.429  Error: #11 /lib/libpthread.so.0 :  + 0x72c4 [0x7fd6c0a3b2c4]
2020-12-10 14:30:20.429  Error: #12 /lib/libc.so.6 : clone + 0x6d [0x7fd6bf9cb10d]
Domoticz tourne depuis 2ans maintenant et je n'avais jamais eu de crash comme ça.

Pour moi il y a deux problèmes :
1/ Le plugin ne voit plus la zigate pendant 1mn (y a-t-il moyen de voir l'uptime de la zigate qqpart? je doute d'un problème réseau)
2/ Si j'essaye de faire "update" sur un hardware dans domoticz, ce dernier crash (peu importe le plugin)

Merci

Edit : en regardant viewtopic.php?t=9616 j'ai constaté que j'avais également 2 PluginConf-19.json et PluginConf-14.json (ancien hardware, je viens de le delete mais normalement il ne rentre pas en compte)
je vais laisser tourner et si ça replante j'essayerai en rajoutant "internetAccess": 0, (sauf indication contraire)

Edit2: En fait dans mes hardware, si le plugin Zigate est enabled, dès que je fais un update sur n'importe quel autre hardware ça fait crash domoticz. Si le plugin Zigate est disabled aucun soucis pour update les autres...
Dernière modification par Skwi le 02 févr. 2021, 19:22, modifié 1 fois.
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Plantage plugin zigate > plantage domoticz

Message par pipiche »

Quelle version de Domoticz ?
Quelle plateforme ? Os ?
Quelle version de phython ?

Je serais intéressé des logs du plugin au démarrage pour pouvoir voir les paramètres activés et la version python ainsi que celle de Domoticz.

Le problème est un problème connu de Domoticz avec les plugin qui utilisent les Threads. Lorsqu'on arrete un plugin si les threads qu'il a lancé ne sont pas arrêté alors Domoticz crash.

Si tu dis que ca fonctionne depuis 2 ans, qu'est -ce qui a changé depuis.
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: Plantage plugin zigate > plantage domoticz

Message par Keros »

Tu as ton python qui est à jour ?

Pour suivre la communication avec ta zigate wifi, il y a un plugin ping (System Alive Checker) qui permet de vérifier la réponse d'un équipement réseau toutes les X secondes.

EDIT : Salut Pipiche, tu as été plus rapide que moi ;)
Comment bien utiliser le forum : Poser une question, Mettre un script, un fichier, une image ou des logs
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Skwi
Messages : 53
Inscription : 20 nov. 2018, 13:09

Re: Plantage plugin zigate > plantage domoticz

Message par Skwi »

Hello, merci pour vos retours rapides.

Je suis sur un synology (ds218+) et j'utilise la version 4.0.11546-8 de Jadahl avec python :
Version: 4.11546
Build Hash: 06d4b197d-modified
Compile Date: 2019-12-03 14:01:53
dzVents Version: 2.5.2
Python Version: 3.8.2 (tags/Contacts-1.0.0-0232-200617:57e5f51, Jun 29 2020, 09:34:04) [GCC 4.9.3 20150311 (prerelease)]

Il y a eu deux changements, le premier qui n'a je pense pas d'impact, est la mise à jour de DSM en version 6.2.3-25426 (j'étais dans la version précédente ou celle d'avant). Ceci m'a fait planter un script du plugin broadlink sous domoticz: mon appel du script via 'python plugin.py' ne fonctionnait plus, j'ai du modifier en 'python3 plugin.py'. Ce que je n'ai pas compris c'est que selon moi ça devrait utiliser la version python de domoticz (donc la 3.8) et pas la version de python que j'ai installé à côté via les packages syno.

Le second changement c'est l'arrivée de mes prises ikea qui généraient pas mal d'erreur dans les logs domoticz, d'où ma mise à jour du plugin via git pull hier, et depuis ça j'ai des crash.

Je voulais déjà tenter deux options: Création d'une image docker avec la dernière version de domoticz, mais comme je suis peu familier avec on verra si ça passe.

Sinon mise à jour classique de domoticz via l'image de jadahl pour monter en 2020.2 (beta) avec python (un bug sur le site m'empêche de récupérer la 2020.1 stable)

C'est peut-être lié à une incompatibilité entre la version du plugin et la version de python

Pour les logs :
2020-12-10 20:05:52.734 Status: (Zigate) Entering work loop.
2020-12-10 20:05:52.734 Status: (Zigate) Initialized version 4.11, author 'zaraki673 pipiche38'
2020-12-10 20:06:00.167 (PP-Manager) Installation requested for Plugin:Zigate plugin
2020-12-10 20:06:00.167 (PP-Manager) Plugin Display Name:Zigate plugin
2020-12-10 20:06:00.167 (PP-Manager) Plugin Repository:Domoticz-Zigate
2020-12-10 20:06:00.167 (PP-Manager) Plugin Key:Zigate
2020-12-10 20:06:00.168 (PP-Manager) Installing Plugin:Zigate plugin
2020-12-10 20:06:00.168 (PP-Manager) Calling:LANG=en_US /usr/bin/git clone -b stable https://github.com/sasu-drooz/Domoticz-Zigate.git Zigate
2020-12-10 20:06:00.181 (Zigate) DomoticzVersion: 4.11546
2020-12-10 20:06:00.180 Status: (Zigate) Zigate plugin stable-4.11.011 started
2020-12-10 20:06:00.181 Status: (Zigate) Debug: 0
2020-12-10 20:06:00.181 Status: (Zigate) load PluginConf
2020-12-10 20:06:00.299 Status: (Zigate) blueLedOnOff set to 0
2020-12-10 20:06:00.299 Status: (Zigate) channel set to 11
2020-12-10 20:06:00.299 Status: (Zigate) filename set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/Conf/PluginConf-19.json
2020-12-10 20:06:00.299 Status: (Zigate) pluginHome set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/
2020-12-10 20:06:00.299 Status: (Zigate) homedirectory set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/
2020-12-10 20:06:00.299 Status: (Zigate) pluginData set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/Data/
2020-12-10 20:06:00.299 Status: (Zigate) pluginConfig set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/Conf/
2020-12-10 20:06:00.299 Status: (Zigate) pluginOTAFirmware set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/OTAFirmware/
2020-12-10 20:06:00.299 Status: (Zigate) pluginReports set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/Reports/
2020-12-10 20:06:00.299 Status: (Zigate) pluginWWW set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/www/
2020-12-10 20:06:00.299 Status: (Zigate) pluginLogs set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/Logs/
2020-12-10 20:06:00.299 Status: (Zigate) Switching Heartbeat to 5 s interval
2020-12-10 20:06:00.299 Status: (Zigate) Python Version - 3.8.2 (tags/Contacts-1.0.0-0232-200617:57e5f51, Jun 29 2020, 09:34:04)
2020-12-10 20:06:00.299 Status: (Zigate) DomoticzVersion: 4.11546
2020-12-10 20:06:00.299 Status: (Zigate) DomoticzHash: 06d4b197d-modified
2020-12-10 20:06:00.299 Status: (Zigate) DomoticzBuildTime: 2019-12-03 14:01:53
2020-12-10 20:06:00.299 Status: (Zigate) Opening DomoticzDB in raw
2020-12-10 20:06:00.439 Status: (Zigate) Plugin Database: DeviceList-19.txt
2020-12-10 20:06:00.505 Status: (Zigate) DeviceConf loaded
2020-12-10 20:06:00.792 Status: (Zigate) load ListOfDevice
2020-12-10 20:06:01.114 Status: (Zigate) Entries loaded from /usr/local/domoticz/var/plugins/Domoticz-Zigate/Data/DeviceList-19.txt
2020-12-10 20:06:01.126 Status: (Zigate) Transport mode: Wifi
2020-12-10 20:06:01.127 Status: (Zigate) ==> Transport Mode: auto
2020-12-10 20:06:01.128 Status: (Zigate) Connection Name: Zigate, Transport: TCP/IP, Address: None:9999
2020-12-10 20:06:01.128 Status: (Zigate) Connection open: Name: 'Zigate', Transport: 'TCP/IP', Protocol: 'None ', Address: '192.168.31.60', Port: '9999', Baud: -1, Connected: False, Parent: 'None'
2020-12-10 20:06:16.162 Status: (Zigate) Firmware with APS SQN switching to Mode: ZiGateAck
2020-12-10 20:06:16.162 Status: (Zigate) Major Version Num: 0003
2020-12-10 20:06:16.162 Status: (Zigate) Installer Version Number: 031d
2020-12-10 20:06:26.144 (Zigate) setZigateIEEE - Set Zigate IEEE: 00158d0001ecbf25
2020-12-10 20:06:26.144 Status: (Zigate) Zigate addresses ieee: 00158d0001ecbf25 , short addr: 0000
2020-12-10 20:06:26.144 Status: (Zigate) Network state UP, PANID: 55e6 extPANID: 0x47fa22a379b1f5bf Channel: 11
2020-12-10 20:06:31.108 Status: (Zigate) Request Disabling Accepting new Hardware
2020-12-10 20:06:31.311 Status: (Zigate) Accepting new Hardware: Disable
2020-12-10 20:06:31.413 Status: (Zigate) Number of devices recently active in Zigate = 20
2020-12-10 20:06:31.413 Status: (Zigate) [00] DevID = 00 Network addr = bd87 IEEE = 00158d0002a72a8c LQI = 188 Power = 00 Model = lumi.sensor_cube.aqgl01 ( Xiaomi Cube 1 )
2020-12-10 20:06:31.413 Status: (Zigate) [01] DevID = 01 Network addr = 0e44 IEEE = 00158d00044dfc19 LQI = 086 Power = 00 Model = lumi.remote.b1acn01 ( Nord Xiaomi Switch 3 )
2020-12-10 20:06:31.413 Status: (Zigate) [02] DevID = 02 Network addr = bec4 IEEE = 00158d00026b5958 LQI = 152 Power = 00 Model = lumi.sensor_switch ( Mezza Xiaomi Switch 0 )
2020-12-10 20:06:31.413 Status: (Zigate) [03] DevID = 03 Network addr = 75d6 IEEE = 00158d00044def4c LQI = 107 Power = 00 Model = lumi.remote.b1acn01 ( Sud Xiaomi Switch 2 )
2020-12-10 20:06:31.413 Status: (Zigate) [04] DevID = 04 Network addr = bbc3 IEEE = 00158d00044db590 LQI = 081 Power = 00 Model = lumi.remote.b1acn01 ( Chambre Xiaomi Switch 1 )
2020-12-10 20:06:31.413 Status: (Zigate) [05] DevID = 05 Network addr = 4d5f IEEE = 00158d00044d9006 LQI = 124 Power = 00 Model = lumi.remote.b1acn01 ( Cellier Xiaomi Switch 4 )
2020-12-10 20:06:31.413 Status: (Zigate) [06] DevID = 06 Network addr = c279 IEEE = 00158d00039354e3 LQI = 132 Power = 00 Model = ( SdB Xiaomi Temp )
2020-12-10 20:06:31.413 Status: (Zigate) [07] DevID = 07 Network addr = a64c IEEE = 00158d00063a6c0e LQI = 180 Power = 00 Model = lumi.sensor_motion.aq2 ( )
2020-12-10 20:06:31.413 Status: (Zigate) [08] DevID = 09 Network addr = affe IEEE = 00158d0002a72a69 LQI = 198 Power = 00 Model = lumi.sensor_cube.aqgl01 ( Xiaomi Cube 2 )
2020-12-10 20:06:31.413 Status: (Zigate) [09] DevID = 28 Network addr = 91e2 IEEE = bc33acfffe796379 LQI = 140 Power = 01 Model = TRADFRI control outlet ( )
2020-12-10 20:06:31.414 Status: (Zigate) [10] DevID = 29 Network addr = a82c IEEE = bc33acfffe2b9d6f LQI = 125 Power = 01 Model = TRADFRI control outlet ( )
2020-12-10 20:06:31.414 Status: (Zigate) [11] DevID = 2a Network addr = 8d31 IEEE = bc33acfffe2f11f0 LQI = 125 Power = 01 Model = ( )
2020-12-10 20:06:31.414 Status: (Zigate) [12] DevID = 2b Network addr = 7da5 IEEE = 7cb03eaa0a0473a4 LQI = 076 Power = 01 Model = Classic A60 W clear - LIGHTIFY ( Nord Osram 2 )
2020-12-10 20:06:31.414 Status: (Zigate) [13] DevID = 2c Network addr = 7091 IEEE = 7cb03eaa0a047fb0 LQI = 137 Power = 01 Model = ( Mezza Osram 3 )
2020-12-10 20:06:31.414 Status: (Zigate) [14] DevID = 2d Network addr = 65c5 IEEE = 7cb03eaa0a04a3d4 LQI = 086 Power = 01 Model = Classic A60 W clear - LIGHTIFY ( Cellier Osram 5 )
2020-12-10 20:06:31.414 Status: (Zigate) [15] DevID = 2e Network addr = 1083 IEEE = bc33acfffe648e68 LQI = 110 Power = 01 Model = TRADFRI control outlet ( )
2020-12-10 20:06:31.414 Status: (Zigate) [16] DevID = 2f Network addr = 65d0 IEEE = 7cb03eaa0a0462f5 LQI = 065 Power = 01 Model = Classic A60 W clear - LIGHTIFY ( Sud Osram 1 )
2020-12-10 20:06:31.414 Status: (Zigate) [17] DevID = 30 Network addr = 9942 IEEE = bc33acfffe2ab5a1 LQI = 094 Power = 01 Model = TRADFRI control outlet ( )
2020-12-10 20:06:31.414 Status: (Zigate) [18] DevID = 31 Network addr = 238d IEEE = 7cb03eaa0a046eaa LQI = 098 Power = 01 Model = Classic A60 W clear - LIGHTIFY ( Mezza Osram 4 )
2020-12-10 20:06:31.414 Status: (Zigate) [19] DevID = 32 Network addr = bd03 IEEE = 000d6ffffe9a1c99 LQI = 052 Power = 01 Model = TRADFRI signal repeater ( Ikea USB 1 )
2020-12-10 20:06:36.124 (Zigate) Switch Blue Led off
2020-12-10 20:06:36.125 Status: (Zigate) Zigate set to Certification : CE
2020-12-10 20:06:36.125 Status: (Zigate) Start Web Server connection
2020-12-10 20:06:36.126 Status: (Zigate) Web backend for Web User Interface started on port: 9440
2020-12-10 20:06:36.126 Status: (Zigate) Plugin with Zigate firmware 031d correctly initialized
2020-12-10 20:06:36.227 Status: (Zigate) TxPower Attenuation : 0 dBm
(Y'a pas de balise spoiler pour ne pas spammer?)
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Plantage plugin zigate > plantage domoticz

Message par pipiche »

C'est plutot une incompatbilité entre le plugin et Domoticz. Tu etais sur quelle version du plugin avant , une idée ? est-ce que c'etait 4.9.xxx ou en dessous ?

Sinon, peux-tu essayer de passer sur la branche nothread

Code : Tout sélectionner

git pull
git checkout nothread
et essayer ?
Skwi
Messages : 53
Inscription : 20 nov. 2018, 13:09

Re: Plantage plugin zigate > plantage domoticz

Message par Skwi »

J'étais en version 4.7.008, donc ça fait quand même un grand saut. Je tente ça demain
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Plantage plugin zigate > plantage domoticz

Message par pipiche »

Oui essayes et dis moi,


Envoyé de mon iPhone en utilisant Tapatalk
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
Skwi
Messages : 53
Inscription : 20 nov. 2018, 13:09

Re: Plantage plugin zigate > plantage domoticz

Message par Skwi »

Pas mieux avec la branche nothread, dès que je désactive un hardware ça fait crash domoticz, si le plugin zigate est enabled.
Pour compléter, que ce soit sur la branche stable ou nothread, au redémarrage de domoticz le hardware est bien en disabled, et je peux le repasser en enabled sans crash, mais dès que j'essaye de le re-désactiver j'ai droit au segfault:

Code : Tout sélectionner

2020-12-11 09:47:22.430  Error: Domoticz(pid:367, tid:380('PluginMgr')) received fatal signal 11 (Segmentation fault)
2020-12-11 09:47:22.430  Error: siginfo address=0x16f, address=0x7f63f0e4b089
2020-12-11 09:47:22.449  Error: Failed to start gdb, will use backtrace() for printing stack frame

2020-12-11 09:47:22.534  Error: #0  /usr/local/domoticz/bin/domoticz() [0x6e0660]
2020-12-11 09:47:22.534  Error: #1  /usr/local/domoticz/bin/domoticz : signal_handler(int, siginfo_t*, void*) + 0x295 [0x6e13d5]
2020-12-11 09:47:22.534  Error: #2  /lib/libpthread.so.0 :  + 0x101c0 [0x7f63f0e4b1c0]
2020-12-11 09:47:22.534  Error: #3  /lib/libpthread.so.0 : raise + 0x29 [0x7f63f0e4b089]
2020-12-11 09:47:22.534  Error: #4  /lib/libpthread.so.0 :  + 0x101c0 [0x7f63f0e4b1c0]
2020-12-11 09:47:22.534  Error: #5  /usr/local/lib/libpython3.8.so :  + 0xccf77 [0x7f63eed16f77]
2020-12-11 09:47:22.534  Error: #6  /usr/local/domoticz/bin/domoticz : Plugins::CPlugin::Stop() + 0xd7 [0xa39c17]
2020-12-11 09:47:22.534  Error: #7  /usr/local/domoticz/bin/domoticz : Plugins::onStopCallback::ProcessLocked() + 0x2b [0xa3c99b]
2020-12-11 09:47:22.534  Error: #8  /usr/local/domoticz/bin/domoticz : Plugins::CPluginMessageBase::Process() + 0x33 [0x66d683]
2020-12-11 09:47:22.534  Error: #9  /usr/local/domoticz/bin/domoticz : Plugins::CPluginSystem::Do_Work() + 0x319 [0xa3d9e9]
2020-12-11 09:47:22.534  Error: #10 /usr/local/domoticz/bin/domoticz : execute_native_thread_routine + 0x30 [0xd662fc]
2020-12-11 09:47:22.534  Error: #11 /lib/libpthread.so.0 :  + 0x72c4 [0x7f63f0e422c4]
2020-12-11 09:47:22.535  Error: #12 /lib/libc.so.6 : clone + 0x6d [0x7f63efdd210d]
Je vais donc tenter l'upgrade de version domoticz et vous tiens informé
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Plantage plugin zigate > plantage domoticz

Message par pipiche »

j'aimerai les logs Domoticz lors de l'arret du plugin ..
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Plantage plugin zigate > plantage domoticz

Message par pipiche »

peux-tu refaire un test toujours sur la branche nothread

Code : Tout sélectionner

git pull
pour mettre à jour

et relancer le plugin
Répondre