Zigate qui perd tout ses devices

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
lacha007
Messages : 64
Inscription : 28 oct. 2018, 11:37

Zigate qui perd tout ses devices

Message par lacha007 »

ImageBonjour,
En checkant ce soir pourquoi mes scenarios à base d objet zigbee ne ce sont pas lancés je suis tombé sur des log étrange.
Plus aucun devices dans le plusin
Voici les logs apres restart

Code : Tout sélectionner

....
2023-07-06 21:45:40.529  Status: ZiGate: Initialized version 6.3, author 'pipiche38'
2023-07-06 21:45:40.612  Status: ZiGate: Zigbee for Domoticz plugin started!
2023-07-06 21:45:40.613  Status: ZiGate: Python3 requires 3.8 or above and you are running 3.9
2023-07-06 21:45:40.614  Status: ZiGate: Checking Python modules /opt/domoticz/userdata/plugins/Domoticz-Zigbee/requirements.txt
2023-07-06 21:45:44.024  Status: ZiGate: Checking Python modules /opt/domoticz/userdata/plugins/Domoticz-Zigbee/requirements.txt
2023-07-06 21:45:44.468  ZiGate: load PluginConf
2023-07-06 21:45:44.473  ZiGate: Loading PluginConf -  from Domoticz sqlite Db
2023-07-06 21:45:44.474  ZiGate: /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Conf/PluginConf-09.json timestamp is 1686485731.8825412
2023-07-06 21:45:44.475  ZiGate: Dz PluginConf is older than Json Dz: 0 Json: 1686485731.8825412
2023-07-06 21:45:44.510  Status: ZiGate: PluginAnalytics set to 1
2023-07-06 21:45:44.511  Status: ZiGate: blueLedOnOff set to 0
2023-07-06 21:45:44.511  Status: ZiGate: channel set to 11
2023-07-06 21:45:44.511  Status: ZiGate: filename set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Conf/PluginConf-09.json
2023-07-06 21:45:44.511  Status: ZiGate: pluginHome set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/
2023-07-06 21:45:44.511  Status: ZiGate: homedirectory set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/
2023-07-06 21:45:44.511  Status: ZiGate: pluginData set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Data/
2023-07-06 21:45:44.511  Status: ZiGate: pluginConfig set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Conf/
2023-07-06 21:45:44.512  Status: ZiGate: pluginOTAFirmware set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/OTAFirmware/
2023-07-06 21:45:44.512  Status: ZiGate: pluginReports set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Reports/
2023-07-06 21:45:44.512  Status: ZiGate: pluginWWW set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/www/
2023-07-06 21:45:44.512  Status: ZiGate: pluginLogs set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Logs/
2023-07-06 21:45:44.512  Status: ZiGate: logThreadName set to 1
2023-07-06 21:45:44.512  Status: ZiGate: ZiGateReactTime set to 1
2023-07-06 21:45:44.513  Status: ZiGate: EnableLedIfOn set to 0
2023-07-06 21:45:44.513  Status: ZiGate: EnableReleaseButton set to 1
2023-07-06 21:45:44.514  ZiGate: Installing plugin custom page /opt/domoticz/www/templates/ZiGate.html 
2023-07-06 21:45:44.521  ZiGate: Starting LoggingManagement thread
2023-07-06 21:45:44.528  ZiGate: start_logging_thread
2023-07-06 21:45:44.531  ZiGate: logging_thread - listening
2023-07-06 21:45:44.532  Status: ZiGate: Please watch plugin log into /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Logs//PluginZigbee_09.log
2023-07-06 21:45:44.573  Status: ZiGate: Zigbee for Domoticz (z4d) plugin stable6-6.3.013 started
2023-07-06 21:45:44.610  Status: [WebServer] Deprecated RType (hardware) for API request. Handled via fallback (gethardware), please use correct API Command! (127.0.0.1)
2023-07-06 21:45:44.613  Status: [web:8080] Incoming connection from: 127.0.0.1
2023-07-06 21:45:44.632  Status: [WebServer] Deprecated RType (hardware) for API request. Handled via fallback (gethardware), please use correct API Command! (127.0.0.1)
2023-07-06 21:45:44.684  Status: ZiGate: DeviceConf loaded - 17 confs loaded
2023-07-06 21:45:46.525  Status: ZiGate: DeviceConf loaded - 440 confs loaded
2023-07-06 21:45:46.530  Status: ZiGate: load ListOfDevice
2023-07-06 21:45:46.563  Status: ZiGate: 1 Entries loaded from /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Data/DeviceList-9.txt
2023-07-06 21:45:46.593  Error: ZiGate: checkListOfDevice2Devices - W_radiateur_chambre_amis - 00158d0002166ba4 not found in Plugin Database
2023-07-06 21:45:46.661  Error: ZiGate: checkListOfDevice2Devices - temp_cuisine - 00158d0002310205 not found in Plugin Database
........
......
2023-07-06 21:45:49.335  Error: ZiGate: checkListOfDevice2Devices - EDF outside - 3c6a2cfffed212dd not found in Plugin Database
2023-07-06 21:45:49.375  Error: ZiGate: checkListOfDevice2Devices - EDF-Exterieur - 3c6a2cfffed212dd not found in Plugin Database
2023-07-06 21:45:49.426  Error: ZiGate: checkListOfDevice2Devices - ZiGate - PC321_Voltage-3c6a2cfffed212dd-f3 - 3c6a2cfffed212dd not found in Plugin Database
2023-07-06 21:45:49.467  Error: ZiGate: checkListOfDevice2Devices - ZiGate - PC321_Ampere-3c6a2cfffed212dd-f3 - 3c6a2cfffed212dd not found in Plugin Database
2023-07-06 21:45:49.508  Status: ZiGate: Transport mode: USB
2023-07-06 21:45:49.513  Status: ZiGate: ZigateTransport: Serial Connection open: Serial<id=0x7f679ef2b0, open=True>(port='/dev/ttyUSB-ZIGATE', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2023-07-06 21:45:49.519  Status: ZiGate: ZigateTransport: writer_thread Thread start.
2023-07-06 21:45:49.522  Status: ZiGate: ZigateTransport: thread_processing_and_sending Thread start.
2023-07-06 21:45:49.526  Status: ZiGate: Start Web Server connection
2023-07-06 21:45:49.534  Status: ZiGate: Web backend for Web User Interface started on port: 9440
2023-07-06 21:45:49.537  Status: ZiGate: Domoticz Widgets usage is at 25.1 % (191 units free)
2023-07-06 21:45:56.158  ZiGate: Zigate command round trip 0x8000 Max: 99 ms with an of average: 99 ms
2023-07-06 21:45:56.160  ZiGate: Zigate Thread Serial Read Max: 3 ms with an of average: 3 ms
2023-07-06 21:45:56.164  ZiGate: Zigate receive message processing time Max: 1 ms with an of average: 1 ms
2023-07-06 21:45:56.174  ZiGate: Zigate receive message processing time Max: 2 ms with an of average: 1 ms
2023-07-06 21:45:56.178  Status: ZiGate: ==> Transport Mode switch to full mode
2023-07-06 21:45:56.189  Status: ZiGate: ZiGate Classic PDM (OptiPDM)
2023-07-06 21:45:56.194  Status: ZiGate: Installer Version Number: 0320
2023-07-06 21:45:56.199  Status: ZiGate: Branch Version: ==> Production <==
2023-07-06 21:45:57.067  ZiGate: Zigate receive message processing time Max: 5 ms with an of average: 2 ms
2023-07-06 21:45:57.090  ZiGate: Zigate receive message processing time Max: 19 ms with an of average: 4 ms
2023-07-06 21:46:04.460  Status: [WebServer] Deprecated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command! (192.168.2.6)
2023-07-06 21:46:06.208  ZiGate: Zigate command round trip 0x8000 Max: 106 ms with an of average: 102 ms
2023-07-06 21:46:06.293  ZiGate: Zigate receive message processing time Max: 81 ms with an of average: 6 ms
2023-07-06 21:46:06.299  Status: ZiGate: Zigbee Coordinator ieee: 00158d0001b22f0a , short addr: 0000
2023-07-06 21:46:06.304  Status: ZiGate: Network state UP, PANID: 5c2a extPANID: 0x564fbaf9e54f509d Channel: 11
2023-07-06 21:46:11.106  Status: ZiGate: Request Disabling Accepting new Hardware
2023-07-06 21:46:11.652  Status: ZiGate: Accepting new Hardware: Disable (Off)
2023-07-06 21:46:11.758  Status: ZiGate: Number of devices recently active in Coordinator = 10
2023-07-06 21:46:11.760  Status: ZiGate: [00] DevID: 00 Network addr: 0c91 IEEE: 00158d00023101f1 LQI: 099 power: 00 not found in plugin database!
2023-07-06 21:46:11.762  Status: ZiGate: [01] DevID: 01 Network addr: 55de IEEE: 04cf8cdf3c78c104 LQI: 109 power: 01 not found in plugin database!
2023-07-06 21:46:11.765  Status: ZiGate: [02] DevID: 14 Network addr: 34f7 IEEE: 00158d00022f4120 LQI: 140 power: 01 not found in plugin database!
2023-07-06 21:46:11.768  Status: ZiGate: [03] DevID: 15 Network addr: 00ea IEEE: 7cb03eaa00afbcd6 LQI: 093 power: 01 not found in plugin database!
2023-07-06 21:46:11.771  Status: ZiGate: [04] DevID: 16 Network addr: 5a7f IEEE: 5c0272fffed6822d LQI: 135 power: 01 not found in plugin database!
2023-07-06 21:46:11.773  Status: ZiGate: [05] DevID: 17 Network addr: 3350 IEEE: 60a423fffe94f54e LQI: 144 power: 01 not found in plugin database!
2023-07-06 21:46:11.775  Status: ZiGate: [06] DevID: 18 Network addr: aeab IEEE: 00124b0023592cd3 LQI: 130 power: 01 not found in plugin database!
2023-07-06 21:46:11.789  Status: ZiGate: [07] DevID: 19 Network addr: 6a56 IEEE: 3c6a2cfffed212dd LQI: 198 power: 01 not found in plugin database!
2023-07-06 21:46:11.792  Status: ZiGate: [08] DevID: 1a Network addr: 5130 IEEE: 7cb03eaa0a0a2774 LQI: 084 power: 01 not found in plugin database!
2023-07-06 21:46:11.794  Status: ZiGate: [09] DevID: 1b Network addr: 649f IEEE: 540f57fffe74c5ed LQI: 094 power: 01 not found in plugin database!
2023-07-06 21:46:17.129  Status: ZiGate: coordinator set to Certification : 1/CE -> CE
2023-07-06 21:46:17.357  ZiGate: Zigate command round trip 0x8000 Max: 125 ms with an of average: 95 ms
2023-07-06 21:46:17.361  ZiGate: Zigate Thread Serial Read Max: 4 ms with an of average: 0 ms
2023-07-06 21:46:17.382  Status: ZiGate: TxPower Attenuation: 0 dBm
.....
Plus aucun de mes devices n'est present dans la Plugin database !!!!
Je me suis toujours dis qu un jour je devrait tout refaire propre mais je comprends pas quand même.
Je n 'ai rien changé, le system était up hier (du moins les scenario était bon ) et j ai cela depuis ce matin 6h20, date a laquel j ai recu la derniere info du capteur de consommation electrique

Pour les details

Version de DomoticZ : 023.1 (build 15369)
Système sur lequel tourne DomoticZ avec le plugin : RPI3B+
Modèle de ZiGate : V1
Version de ZiGate : USB
Status: ZiGate: Initialized version 6.3, author 'pipiche38'
ZiGate: Zigbee for Domoticz (z4d) plugin stable6-6.3.013 started
Status: ZiGate: ZiGate Classic PDM (OptiPDM)
2023-07-06 21:45:56.194 Status: ZiGate: Installer Version Number: 0320
Marque de l’équipement : tous
lacha007
Messages : 64
Inscription : 28 oct. 2018, 11:37

Re: Zigate qui perd tout ses devices

Message par lacha007 »

Partielement résolue.
J ai restauré le backup complet de domoticz avant le crash et c est reparti.
Du coup je pense un fichier corrompu? Si oui lequel ?
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Modération

Message par Keros »

Sujet déplacé dans la section dédiée au plugin ZigBeeForDomoticZ.
lacha007
Messages : 64
Inscription : 28 oct. 2018, 11:37

Re: [re ouvert] Zigate qui perd tout ses devices

Message par lacha007 »

Bonjour,

mes problèmes continues.
J'ai changé de pi au cas ou ...
Je viens de relancer le tout et lors du reset du coordonnateur j'ai l'erreur suivantes :

Code : Tout sélectionner

2023-08-12 12:47:32.494  Status: Zigate: 'Factory new' Restart status: STARTUP
2023-08-12 12:47:32.602  Error: Zigate: NXP_Extended_Error_Code - Extended Error Code: [89] Bad parameter has been found while processing an APSDE request or response
2023-08-12 12:47:32.608  Error: Zigate: Decode8000 - PacketType: 0113 TypeSqn: 01 sqn_app: 00 sqn_aps: 22 Status: [ZigBee Error Code APS - [a6] A parameter value was invalid or out of range] 
sur chaque appairage de device existant

Code : Tout sélectionner

Error: Zigate: ReadCluster - Error/unknow 5d53/01 Cluster: 0000 Attribute: ffde Status: 00 DataType: 20 DataSize: 0001 Data: 0b
Puis je avoir votre opinion?
Cordialement
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Zigate qui perd tout ses devices

Message par pipiche »

La version du plugin 6, n'est pas supporté.

En tous les cas pour ce qui est de to n soucis, il s'agit d'un problème avce la Zigate, donc voir avec le fabricant de la Zigate.

Comme tu as fait un Erase de la Zigate il te faut re-appairer l'ensemble de tes devices.
Répondre