[Info] Au revoir ZiGate plugin, bonjour Zigbee for Domoticz

Ici un forum de discussion sur Zigate , sa mise en place , les plugin , l'utilisation avec Domoticz
Jeff
Messages : 852
Enregistré le : 17 nov. 2016, 20:54
Localisation : Rennes (35)

Re: [Info] Au revoir ZiGate plugin, bonjour Zigbee for Domoticz

Message par Jeff »

J'ai préparé un pi de test. J'ai installé le plugin avec ma clé CC2531.
Voici ma config
Plugin_zigbee.png
Plugin_zigbee.png (107.71 Kio) Vu 169 fois
Ma clé est bien reconnue

Le plugin démarre bien

Code : Tout sélectionner

2022-01-14 22:22:01.967 Status: Zigbee: (Zigbee) Initialized version 5.1, author 'zaraki673 pipiche38'
2022-01-14 22:22:01.995 Status: Zigbee: (Zigbee) filename set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-02.json
2022-01-14 22:22:01.995 Status: Zigbee: (Zigbee) pluginHome set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/
2022-01-14 22:22:01.996 Status: Zigbee: (Zigbee) homedirectory set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/
2022-01-14 22:22:01.996 Status: Zigbee: (Zigbee) pluginData set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Data/
2022-01-14 22:22:01.996 Status: Zigbee: (Zigbee) pluginConfig set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Conf/
2022-01-14 22:22:01.996 Status: Zigbee: (Zigbee) pluginOTAFirmware set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/OTAFirmware/
2022-01-14 22:22:01.997 Status: Zigbee: (Zigbee) pluginReports set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Reports/
2022-01-14 22:22:01.997 Status: Zigbee: (Zigbee) pluginWWW set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/www/
2022-01-14 22:22:01.997 Status: Zigbee: (Zigbee) pluginLogs set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Logs/
2022-01-14 22:22:02.002 Zigbee: (Zigbee) logging_thread - listening
2022-01-14 22:22:02.170 Zigbee: (Zigbee) Plugin Database: DeviceList-2.txt
2022-01-14 22:22:02.020 Status: Zigbee: (Zigbee) Zigate plugin stable5-5.1.017 started
2022-01-14 22:22:02.205 Status: Zigbee: (Zigbee) DeviceConf loaded - 24 confs loaded
2022-01-14 22:22:03.807 Zigbee: (Zigbee) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2022-01-14 22:22:03.807 Zigbee: (Zigbee) is_domoticz_db_available: True
2022-01-14 22:22:03.897 Zigbee: (Zigbee) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2022-01-14 22:22:03.897 Zigbee: (Zigbee) is_domoticz_db_available: True
2022-01-14 22:22:03.810 Status: Zigbee: (Zigbee) DeviceConf loaded - 320 confs loaded
2022-01-14 22:22:03.811 Status: Zigbee: (Zigbee) load ListOfDevice
2022-01-14 22:22:03.903 Status: Zigbee: (Zigbee) 0 Entries loaded from /home/pitest/domoticz/plugins/Domoticz-Zigbee/Data/DeviceList-2.txt
2022-01-14 22:22:03.907 Status: Zigbee: (Zigbee) Transport mode: USB
2022-01-14 22:22:04.475 Zigbee: (Zigbee) Connection open: Serial<id=0xab423f30, open=True>(port='/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED2D30-if00', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-01-14 22:22:04.433 Status: Zigbee: (Zigbee) ZigateTransport: Serial Connection open: Serial<id=0xab423f30, open=True>(port='/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED2D30-if00', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-01-14 22:22:04.458 Status: Zigbee: (Zigbee) ZigateTransport: writer_thread Thread start.
2022-01-14 22:22:04.473 Status: Zigbee: (Zigbee) ZigateTransport: thread_processing_and_sending Thread start.
2022-01-14 22:22:04.476 Status: Zigbee: (Zigbee) Start Web Server connection
2022-01-14 22:22:04.701 Status: Zigbee: (Zigbee) Web backend for Web User Interface started on port: 9440
Puis ma clé s'éteint et j'ai cela :

Code : Tout sélectionner

2022-01-14 22:43:24.096 Error: Zigbee: (Zigbee) [273] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2022-01-14 22:43:24.286 Error: Zigbee: (Zigbee) [ ] Stop the plugin and check ZiGate.
Modifié en dernier par Keros le 15 janv. 2022, 14:00, modifié 1 fois.
Version: 4.9700; RFXCOM Rfxtrx433e ext/1007 ; Zwave (Z-stick GEN5, Fibaro...), Zigbee2MQTT.

pipiche
Messages : 2426
Enregistré le : 04 avr. 2018, 16:16
Contact :

Re: [Info] Au revoir ZiGate plugin, bonjour Zigbee for Domoticz

Message par pipiche »

Info enlevée : voir commentaire en début de sujet
Modifié en dernier par Keros le 15 janv. 2022, 13:57, modifié 1 fois.
Je maintiens le plugin Zigate sur mon temps libre .
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

Jeff
Messages : 852
Enregistré le : 17 nov. 2016, 20:54
Localisation : Rennes (35)

Re: [Info] Au revoir ZiGate plugin, bonjour Zigbee for Domoticz

Message par Jeff »

J'ai tout réinstallé le plugin Info enlevée : voir commentaire en début de sujet
Tout se lance, je lance une procédure appairage et j'obtiens cela

Code : Tout sélectionner

2022-01-15 11:27:02.458 Status: Zigbee: (Zigbee) Please watch plugin log into /home/pitest/domoticz/plugins/Domoticz-Zigbee/Logs//PluginZigate_02.log
2022-01-15 11:27:02.527 Status: Zigbee: (Zigbee) Zigate plugin zigpy-6.0.001 started
2022-01-15 11:27:02.987 Status: Zigbee: (Zigbee) DeviceConf loaded - 23 confs loaded
2022-01-15 11:27:09.433 Zigbee: (Zigbee) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2022-01-15 11:27:09.433 Zigbee: (Zigbee) is_domoticz_db_available: True
2022-01-15 11:27:09.492 Zigbee: (Zigbee) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2022-01-15 11:27:09.492 Zigbee: (Zigbee) is_domoticz_db_available: True
2022-01-15 11:27:09.473 Status: Zigbee: (Zigbee) DeviceConf loaded - 320 confs loaded
2022-01-15 11:27:09.477 Status: Zigbee: (Zigbee) load ListOfDevice
2022-01-15 11:27:09.529 Status: Zigbee: (Zigbee) 0 Entries loaded from /home/pitest/domoticz/plugins/Domoticz-Zigbee/Data/DeviceList-2.txt
2022-01-15 11:27:09.542 Status: Zigbee: (Zigbee) Transport mode: USB
2022-01-15 11:27:10.633 Status: Zigbee: (Zigbee) ZigateTransport: Serial Connection open: Serial<id=0xab8538f0, open=True>(port='/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED2D30-if00', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-01-15 11:27:10.738 Status: Zigbee: (Zigbee) ZigateTransport: writer_thread Thread start.
2022-01-15 11:27:10.770 Status: Zigbee: (Zigbee) ZigateTransport: thread_processing_and_sending Thread start.
2022-01-15 11:27:10.811 Status: Zigbee: (Zigbee) Start Web Server connection
2022-01-15 11:27:11.375 Status: Zigbee: (Zigbee) Web backend for Web User Interface started on port: 9440
2022-01-15 11:27:19.203 Zigbee: (Zigbee) Enable Assisted pairing
2022-01-15 11:27:19.249 Status: Zigbee: (Zigbee) Request Accepting new Hardware for 240 seconds
2022-01-15 11:27:39.309 Error: Zigbee: (Zigbee) 'onMessage' failed 'IndexError':'list index out of range'.
2022-01-15 11:27:39.310 Error: Zigbee: (Zigbee) ----> Line 1429 in '/home/pitest/domoticz/plugins/Domoticz-Zigbee/plugin.py', function onMessage
2022-01-15 11:27:39.310 Error: Zigbee: (Zigbee) ----> Line 727 in '/home/pitest/domoticz/plugins/Domoticz-Zigbee/plugin.py', function onMessage
2022-01-15 11:27:39.310 Error: Zigbee: (Zigbee) ----> Line 65 in '/home/pitest/domoticz/plugins/Domoticz-Zigbee/Classes/WebServer/onMessage.py', function onMessage
2022-01-15 11:27:39.310 Error: Zigbee: (Zigbee) ----> Line 135 in '/home/pitest/domoticz/plugins/Domoticz-Zigbee/Classes/WebServer/dispatcher.py', function do_rest
2022-01-15 11:27:39.311 Error: Zigbee: (Zigbee) ----> Line 103 in '/home/pitest/domoticz/plugins/Domoticz-Zigbee/Classes/WebServer/rest_Provisioning.py', function rest_rcv_nw_hrdwr
2022-01-15 11:28:11.098 Error: Zigbee: (Zigbee) [ 61] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2022-01-15 11:28:11.425 Error: Zigbee: (Zigbee) [ ] Stop the plugin and check ZiGate.
2022-01-15 11:28:12.067 Error: Zigbee: (Zigbee) [ 62] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2022-01-15 11:28:12.384 Error: Zigbee: (Zigbee) [ ] Stop the plugin and check ZiGate.
J'ai vérifié mon port série :

Code : Tout sélectionner

crw-rw---- 1 root dialout 166,  0 Jan 15 11:25 /dev/ttyACM0
La lumière de ma clé s'éteint quleques dizaines de secondes après que je la branche, elle se rallume jamais. J'essaye de lre brancher, lancer le plugin pareil :?
Version: 4.9700; RFXCOM Rfxtrx433e ext/1007 ; Zwave (Z-stick GEN5, Fibaro...), Zigbee2MQTT.

Keros
Messages : 2596
Enregistré le : 23 juil. 2019, 20:57

Re: [Info] Au revoir ZiGate plugin, bonjour Zigbee for Domoticz

Message par Keros »

Est-ce que tu peux activer les debugs suivants et relancer le plugin et tenter un appairage ?

Info enlevée : voir commentaire en début de sujet

Il nous faudrait le fichier de logs dans Domoticz-Zigbee/Logs stp.
Fichiers joints
Screenshot 2022-01-12 at 23.39.23.png
Screenshot 2022-01-12 at 23.39.23.png (168.04 Kio) Vu 136 fois

pipiche
Messages : 2426
Enregistré le : 04 avr. 2018, 16:16
Contact :

Re: [Info] Au revoir ZiGate plugin, bonjour Zigbee for Domoticz

Message par pipiche »

A priori le plugin n'est pas correctement lancé.
Lancer un appairage à 11:27:19.249 alors que le plugin a été lancé à 11:27:02.458 me semble un peu rapide.

Donc : attendre le démarrage complet du plugin notamment un message de ce type dans les logs Domoticz

Code : Tout sélectionner

Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.532  Zigpy: ZiGate plugin started!
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.534  Zigpy: load PluginConf
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.537  Zigpy: is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.537  Zigpy: is_domoticz_db_available: True
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.539  Zigpy: /var/lib/domoticz/plugins/Domoticz-zigpy/Conf/PluginConf-18.json timestamp is 1642082777.5672631
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.539  Zigpy: Dz PluginConf is older than Json Dz: 0 Json: 1642082777.5672631
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.540  Zigpy: is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.541  Zigpy: is_domoticz_db_available: True
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.543  Status: Zigpy: enablegroupmanagement set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.543  Status: Zigpy: Lang set to fr-FR
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.543  Status: Zigpy: channel set to 15
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.544  Status: Zigpy: extendedPANID set to 0x5678484504015e10
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.544  Status: Zigpy: filename set to /var/lib/domoticz/plugins/Domoticz-zigpy/Conf/PluginConf-18.json
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.544  Status: Zigpy: pluginHome set to /var/lib/domoticz/plugins/Domoticz-zigpy/
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.544  Status: Zigpy: homedirectory set to /var/lib/domoticz/plugins/Domoticz-zigpy/
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.544  Status: Zigpy: pluginData set to /var/lib/domoticz/plugins/Domoticz-zigpy/Data/
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.544  Status: Zigpy: pluginConfig set to /var/lib/domoticz/plugins/Domoticz-zigpy/Conf/
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.544  Status: Zigpy: pluginOTAFirmware set to /var/lib/domoticz/plugins/Domoticz-zigpy/OTAFirmware/
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.545  Status: Zigpy: pluginReports set to /var/lib/domoticz/plugins/Domoticz-zigpy/Reports/
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.545  Status: Zigpy: pluginWWW set to /var/lib/domoticz/plugins/Domoticz-zigpy/www/
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.545  Status: Zigpy: pluginLogs set to /var/lib/domoticz/plugins/Domoticz-zigpy/Logs/
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.545  Status: Zigpy: logThreadName set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.545  Status: Zigpy: debugzigateCmd set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.545  Status: Zigpy: debugInput set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.545  Status: Zigpy: debugBasicOutput set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.546  Status: Zigpy: debugReadAttributes set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.546  Status: Zigpy: debugTransport8002 set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.546  Status: Zigpy: debugTransportZigpy set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.546  Status: Zigpy: debugTransportZigpyZigate set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.546  Status: Zigpy: debugTransportZigpyZNP set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.546  Status: Zigpy: debugTransportPluginEncoder set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.546  Status: Zigpy: debugCluster set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.547  Status: Zigpy: debuginRawAPS set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.547  Status: Zigpy: debugoutRawAPS set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.547  Status: Zigpy: debugzdpCommand set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.547  Status: Zigpy: debugzclCommand set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.547  Status: Zigpy: debugzdpDecoder set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.547  Status: Zigpy: debugzclDecoder set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.547  Status: Zigpy: debugzigateCommand set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.548  Status: Zigpy: debugThreadForwarder set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.548  Status: Zigpy: debugThreadDomoticz set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.548  Status: Zigpy: debugThreadWriter set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.548  Status: Zigpy: debugThreadCommunication set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.548  Status: Zigpy: ControllerInRawMode set to 1
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.549  Zigpy: Starting LoggingManagement thread
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.550  Zigpy: start_logging_thread
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.557  Zigpy: logging_thread - listening
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.558  Status: Zigpy: Please watch plugin log into /var/lib/domoticz/plugins/Domoticz-zigpy/Logs//PluginZigate_18.log
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.580  Status: Zigpy: Zigate plugin zigpy-6.0.001 started
Jan 15 12:04:54 rasp domoticz[922]: 2022-01-15 12:04:54.658  Status: Zigpy: DeviceConf loaded - 23 confs loaded
Jan 15 12:04:55 rasp domoticz[922]: 2022-01-15 12:04:55.329  Zigpy: is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
Jan 15 12:04:55 rasp domoticz[922]: 2022-01-15 12:04:55.329  Zigpy: is_domoticz_db_available: True
Jan 15 12:04:55 rasp domoticz[922]: 2022-01-15 12:04:55.362  Status: Zigpy: DeviceConf loaded - 320 confs loaded
Jan 15 12:04:55 rasp domoticz[922]: 2022-01-15 12:04:55.434  Status: Zigpy: load ListOfDevice
Jan 15 12:04:55 rasp domoticz[922]: 2022-01-15 12:04:55.919  Zigpy: is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
Jan 15 12:04:55 rasp domoticz[922]: 2022-01-15 12:04:55.919  Zigpy: is_domoticz_db_available: True
Jan 15 12:04:55 rasp domoticz[922]: 2022-01-15 12:04:55.948  Status: Zigpy: 9 Entries loaded from /var/lib/domoticz/plugins/Domoticz-zigpy/Data/DeviceList-18.txt
Jan 15 12:04:55 rasp domoticz[922]: 2022-01-15 12:04:55.998  Status: Zigpy: Transport mode: ZigpyZNP
Jan 15 12:05:01 rasp systemd[1]: Started Session 804 of User root.
Jan 15 12:05:01 rasp CROND[16029]: (root) CMD (/usr/local/bin/check-network.sh)
Jan 15 12:05:02 rasp CROND[16024]: (root) CMDEND (/usr/local/bin/check-network.sh)
Jan 15 12:05:02 rasp domoticz[922]: 2022-01-15 12:05:02.136  Zigpy: Start Zigpy Transport on ZNP
Jan 15 12:05:02 rasp domoticz[922]: 2022-01-15 12:05:02.157  Status: Zigpy: ===> channel: 15
Jan 15 12:05:02 rasp domoticz[922]: 2022-01-15 12:05:02.161  Status: Zigpy: ===> extendedPanId: 0x5678484504015E10
Jan 15 12:05:02 rasp systemd[1]: session-804.scope: Deactivated successfully.
Jan 15 12:05:02 rasp domoticz[922]: 2022-01-15 12:05:02.195  Status: Zigpy: ZigpyTransport: thread_processing_and_sending Thread start.
Jan 15 12:05:02 rasp domoticz[922]: 2022-01-15 12:05:02.201  Status: Zigpy: Start Web Server connection
Jan 15 12:05:02 rasp domoticz[922]: 2022-01-15 12:05:02.209  Status: Zigpy: Web backend for Web User Interface started on port: 9440
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.414  Status: Zigpy: Detected Legrand IEEE, broadcast Write Attribute 0x0000/0xf000
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.481  Status: Zigpy: Number of devices recently active in Zigate = 8
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.503  Status: Zigpy: [00] DevID: 00 Network addr: 2f46 IEEE: 00158d0003021601 LQI: 000 power: ff not found in plugin database!
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.521  Status: Zigpy: [01] DevID: 00 Network addr: 1d8b IEEE: 90fd9ffffe86c7a1 LQI: 000 power: ff Model: TRADFRI bulb E27 WS clear 950lm ( Ikea Led )
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.540  Status: Zigpy: [02] DevID: 00 Network addr: 9264 IEEE: 60a423fffe529d60 LQI: 000 power: ff Model: LXEK-1 ( LXEK Led )
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.564  Status: Zigpy: [03] DevID: 00 Network addr: a9ef IEEE: 90fd9ffffeea89e8 LQI: 000 power: ff Model: TRADFRI remote control ( Ikea Remote )
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.577  Status: Zigpy: [04] DevID: 00 Network addr: 2fcd IEEE: 847127fffed61501 LQI: 000 power: ff not found in plugin database!
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.583  Status: Zigpy: [05] DevID: 00 Network addr: 7319 IEEE: 000474000082a54f LQI: 000 power: ff Model: Dimmer switch wo neutral ( Legrand Dimmer )
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.600  Status: Zigpy: [06] DevID: 00 Network addr: 8c1b IEEE: 00047400001f09a4 LQI: 000 power: ff Model: Micromodule switch ( Legrand Micromodule )
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.610  Status: Zigpy: [07] DevID: 00 Network addr: 7185 IEEE: 00047400008aff8b LQI: 000 power: ff Model: Shutter switch with neutral ( Legrand Shutter )
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.631  Status: Zigpy: Texas Instrument ZNP CC1352/CC2652, Z-Stack 3.30+
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.635  Status: Zigpy: Installer Version Number: 0708
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.637  Status: Zigpy: Branch Version: ==> zigpy-znp 3.x <==
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.678  Status: Zigpy: Zigate addresses ieee: 00124b0021600542 , short addr: 0000
Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.680  Status: Zigpy: Network state UP, PANID: 3239 extPANID: 0x5678484504015e10 Channel: 15
Jan 15 12:05:41 rasp domoticz[922]: 2022-01-15 12:05:41.106  Status: Zigpy: Request Disabling Accepting new Hardware
Jan 15 12:05:41 rasp domoticz[922]: 2022-01-15 12:05:41.233  Status: Zigpy: Accepting new Hardware: Disable (Off)
Jan 15 12:05:46 rasp domoticz[922]: 2022-01-15 12:05:46.098  Zigpy: is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
Jan 15 12:05:46 rasp domoticz[922]: 2022-01-15 12:05:46.098  Zigpy: is_domoticz_db_available: True
Jan 15 12:05:46 rasp domoticz[922]: 2022-01-15 12:05:46.101  Zigpy: is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
Jan 15 12:05:46 rasp domoticz[922]: 2022-01-15 12:05:46.101  Zigpy: is_domoticz_db_available: True
Jan 15 12:05:46 rasp domoticz[922]: 2022-01-15 12:05:46.109  Status: Zigpy: Zigate set to Certification : 1/CE -> CE

et notamment cette partie

Code : Tout sélectionner

Jan 15 12:05:32 rasp domoticz[922]: 2022-01-15 12:05:32.680  Status: Zigpy: Network state UP, PANID: 3239 extPANID: 0x5678484504015e10 Channel: 15
Jan 15 12:05:41 rasp domoticz[922]: 2022-01-15 12:05:41.106  Status: Zigpy: Request Disabling Accepting new Hardware
Jan 15 12:05:41 rasp domoticz[922]: 2022-01-15 12:05:41.233  Status: Zigpy: Accepting new Hardware: Disable (Off)

Jeff
Messages : 852
Enregistré le : 17 nov. 2016, 20:54
Localisation : Rennes (35)

Re: [Info] Au revoir ZiGate plugin, bonjour Zigbee for Domoticz

Message par Jeff »

Voici le fichier de logs avec les paramètres de logs que tu m'as indiqué.
PluginZigate_02.zip
(1.91 Kio) Téléchargé 2 fois
Edit : je viens de voir ton message @Pipiche, je réessaye

Le problème c'est que la clé st'éteint. Donc je la branche, elle s'allume, je relance le plugin, j'attends, la clé s'éteint et j'ai ca :

Code : Tout sélectionner

2022-01-15 12:19:23.007 Status: Zigbee: (Zigbee) filename set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-02.json
2022-01-15 12:19:23.007 Status: Zigbee: (Zigbee) pluginHome set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/
2022-01-15 12:19:23.007 Status: Zigbee: (Zigbee) homedirectory set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/
2022-01-15 12:19:23.008 Status: Zigbee: (Zigbee) pluginData set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Data/
2022-01-15 12:19:23.008 Status: Zigbee: (Zigbee) pluginConfig set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Conf/
2022-01-15 12:19:23.008 Status: Zigbee: (Zigbee) pluginOTAFirmware set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/OTAFirmware/
2022-01-15 12:19:23.008 Status: Zigbee: (Zigbee) pluginReports set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Reports/
2022-01-15 12:19:23.009 Status: Zigbee: (Zigbee) pluginWWW set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/www/
2022-01-15 12:19:23.009 Status: Zigbee: (Zigbee) pluginLogs set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Logs/
2022-01-15 12:19:23.009 Status: Zigbee: (Zigbee) logThreadName set to 1
2022-01-15 12:19:23.009 Status: Zigbee: (Zigbee) debugzigateCmd set to 1
2022-01-15 12:19:23.010 Status: Zigbee: (Zigbee) debugInput set to 1
2022-01-15 12:19:23.010 Status: Zigbee: (Zigbee) debugBasicOutput set to 1
2022-01-15 12:19:23.010 Status: Zigbee: (Zigbee) debugReadAttributes set to 1
2022-01-15 12:19:23.011 Status: Zigbee: (Zigbee) debugTransport8002 set to 1
2022-01-15 12:19:23.011 Status: Zigbee: (Zigbee) debugTransportZigpy set to 1
2022-01-15 12:19:23.012 Status: Zigbee: (Zigbee) debugTransportZigpyZigate set to 1
2022-01-15 12:19:23.012 Status: Zigbee: (Zigbee) debugTransportZigpyZNP set to 1
2022-01-15 12:19:23.012 Status: Zigbee: (Zigbee) debugTransportPluginEncoder set to 1
2022-01-15 12:19:23.012 Status: Zigbee: (Zigbee) debugCluster set to 1
2022-01-15 12:19:23.013 Status: Zigbee: (Zigbee) debugCommand set to 1
2022-01-15 12:19:23.013 Status: Zigbee: (Zigbee) debuginRawAPS set to 1
2022-01-15 12:19:23.013 Status: Zigbee: (Zigbee) debugoutRawAPS set to 1
2022-01-15 12:19:23.014 Status: Zigbee: (Zigbee) debugzdpCommand set to 1
2022-01-15 12:19:23.014 Status: Zigbee: (Zigbee) debugzclCommand set to 1
2022-01-15 12:19:23.014 Status: Zigbee: (Zigbee) debugzdpDecoder set to 1
2022-01-15 12:19:23.014 Status: Zigbee: (Zigbee) debugzclDecoder set to 1
2022-01-15 12:19:23.015 Status: Zigbee: (Zigbee) debugzigateCommand set to 1
2022-01-15 12:19:23.015 Status: Zigbee: (Zigbee) debugThreadForwarder set to 1
2022-01-15 12:19:23.015 Status: Zigbee: (Zigbee) debugThreadDomoticz set to 1
2022-01-15 12:19:23.015 Status: Zigbee: (Zigbee) debugThreadWriter set to 1
2022-01-15 12:19:23.015 Status: Zigbee: (Zigbee) debugThreadCommunication set to 1
2022-01-15 12:19:23.024 Status: Zigbee: (Zigbee) Please watch plugin log into /home/pitest/domoticz/plugins/Domoticz-Zigbee/Logs//PluginZigate_02.log
2022-01-15 12:19:23.068 Status: Zigbee: (Zigbee) Zigate plugin zigpy-6.0.001 started
2022-01-15 12:19:23.292 Status: Zigbee: (Zigbee) DeviceConf loaded - 23 confs loaded
2022-01-15 12:19:26.772 Zigbee: (Zigbee) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2022-01-15 12:19:26.772 Zigbee: (Zigbee) is_domoticz_db_available: True
2022-01-15 12:19:26.844 Zigbee: (Zigbee) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2022-01-15 12:19:26.845 Zigbee: (Zigbee) is_domoticz_db_available: True
2022-01-15 12:19:26.788 Status: Zigbee: (Zigbee) DeviceConf loaded - 320 confs loaded
2022-01-15 12:19:26.807 Status: Zigbee: (Zigbee) load ListOfDevice
2022-01-15 12:19:27.978 Status: Zigbee: (Zigbee) ZigateTransport: Serial Connection open: Serial<id=0xa9f149b0, open=True>(port='/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED2D30-if00', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-01-15 12:19:28.011 Status: Zigbee: (Zigbee) ZigateTransport: writer_thread Thread start.
2022-01-15 12:19:28.033 Status: Zigbee: (Zigbee) ZigateTransport: thread_processing_and_sending Thread start.
2022-01-15 12:19:28.087 Status: Zigbee: (Zigbee) Start Web Server connection
2022-01-15 12:19:28.849 Status: Zigbee: (Zigbee) Web backend for Web User Interface started on port: 9440
2022-01-15 12:20:28.080 Error: Zigbee: (Zigbee) [ 61] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2022-01-15 12:20:28.267 Error: Zigbee: (Zigbee) [ ] Stop the plugin and check ZiGate.
2022-01-15 12:20:29.090 Error: Zigbee: (Zigbee) [ 62] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
Bon je vais supprimer la base domoticz et recommencer pour la création des dispositifs, j'ai l'impression qu'il utilise l'ancien plugin non en zigpy
Version: 4.9700; RFXCOM Rfxtrx433e ext/1007 ; Zwave (Z-stick GEN5, Fibaro...), Zigbee2MQTT.

Jeff
Messages : 852
Enregistré le : 17 nov. 2016, 20:54
Localisation : Rennes (35)

Re: [Info] Au revoir ZiGate plugin, bonjour Zigbee for Domoticz

Message par Jeff »

Idem, il a bien recréer les 2 dispositifs. La clé est éteinte et quand ca faisait cela avec zigbee2mqtt, j'étais obligé de la rebrancher et de relancer...

Code : Tout sélectionner

2022-01-15 12:26:46.559 Status: Zigbee: (Zigbee) Started.
2022-01-15 12:26:46.565 Status: Zigbee: (Zigbee) Entering work loop.
2022-01-15 12:26:58.794 Zigbee: (Zigbee) ZiGate plugin started!
2022-01-15 12:26:58.796 Zigbee: (Zigbee) load PluginConf
2022-01-15 12:26:58.802 Zigbee: (Zigbee) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2022-01-15 12:26:58.803 Zigbee: (Zigbee) is_domoticz_db_available: True
2022-01-15 12:26:58.805 Zigbee: (Zigbee) /home/pitest/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-02.json timestamp is 1642244527.7666914
2022-01-15 12:26:58.805 Zigbee: (Zigbee) Dz PluginConf is older than Json Dz: 0 Json: 1642244527.7666914
2022-01-15 12:26:58.808 Zigbee: (Zigbee) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2022-01-15 12:26:58.808 Zigbee: (Zigbee) is_domoticz_db_available: True
2022-01-15 12:26:58.823 Zigbee: (Zigbee) Starting LoggingManagement thread
2022-01-15 12:26:58.826 Zigbee: (Zigbee) start_logging_thread
2022-01-15 12:26:58.830 Zigbee: (Zigbee) logging_thread - listening
2022-01-15 12:26:58.752 Status: Zigbee: (Zigbee) Initialized version 6.0, author 'pipiche38'
2022-01-15 12:26:58.814 Status: Zigbee: (Zigbee) filename set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-02.json
2022-01-15 12:26:58.814 Status: Zigbee: (Zigbee) pluginHome set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/
2022-01-15 12:26:58.814 Status: Zigbee: (Zigbee) homedirectory set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/
2022-01-15 12:26:58.814 Status: Zigbee: (Zigbee) pluginData set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Data/
2022-01-15 12:26:58.815 Status: Zigbee: (Zigbee) pluginConfig set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Conf/
2022-01-15 12:26:58.815 Status: Zigbee: (Zigbee) pluginOTAFirmware set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/OTAFirmware/
2022-01-15 12:26:58.815 Status: Zigbee: (Zigbee) pluginReports set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Reports/
2022-01-15 12:26:58.815 Status: Zigbee: (Zigbee) pluginWWW set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/www/
2022-01-15 12:26:58.816 Status: Zigbee: (Zigbee) pluginLogs set to /home/pitest/domoticz/plugins/Domoticz-Zigbee/Logs/
2022-01-15 12:26:58.816 Status: Zigbee: (Zigbee) logThreadName set to 1
2022-01-15 12:26:58.816 Status: Zigbee: (Zigbee) debugzigateCmd set to 1
2022-01-15 12:26:58.816 Status: Zigbee: (Zigbee) debugInput set to 1
2022-01-15 12:26:58.817 Status: Zigbee: (Zigbee) debugBasicOutput set to 1
2022-01-15 12:26:58.817 Status: Zigbee: (Zigbee) debugReadAttributes set to 1
2022-01-15 12:26:58.817 Status: Zigbee: (Zigbee) debugTransport8002 set to 1
2022-01-15 12:26:58.818 Status: Zigbee: (Zigbee) debugTransportZigpy set to 1
2022-01-15 12:26:58.818 Status: Zigbee: (Zigbee) debugTransportZigpyZigate set to 1
2022-01-15 12:26:58.818 Status: Zigbee: (Zigbee) debugTransportZigpyZNP set to 1
2022-01-15 12:26:58.818 Status: Zigbee: (Zigbee) debugTransportPluginEncoder set to 1
2022-01-15 12:26:58.818 Status: Zigbee: (Zigbee) debugCluster set to 1
2022-01-15 12:26:58.819 Status: Zigbee: (Zigbee) debugCommand set to 1
2022-01-15 12:26:58.819 Status: Zigbee: (Zigbee) debuginRawAPS set to 1
2022-01-15 12:26:58.820 Status: Zigbee: (Zigbee) debugoutRawAPS set to 1
2022-01-15 12:26:58.820 Status: Zigbee: (Zigbee) debugzdpCommand set to 1
2022-01-15 12:26:58.820 Status: Zigbee: (Zigbee) debugzclCommand set to 1
2022-01-15 12:26:58.820 Status: Zigbee: (Zigbee) debugzdpDecoder set to 1
2022-01-15 12:26:58.821 Status: Zigbee: (Zigbee) debugzclDecoder set to 1
2022-01-15 12:26:58.821 Status: Zigbee: (Zigbee) debugzigateCommand set to 1
2022-01-15 12:26:58.821 Status: Zigbee: (Zigbee) debugThreadForwarder set to 1
2022-01-15 12:26:58.821 Status: Zigbee: (Zigbee) debugThreadDomoticz set to 1
2022-01-15 12:26:58.822 Status: Zigbee: (Zigbee) debugThreadWriter set to 1
2022-01-15 12:26:58.822 Status: Zigbee: (Zigbee) debugThreadCommunication set to 1
2022-01-15 12:26:58.831 Status: Zigbee: (Zigbee) Please watch plugin log into /home/pitest/domoticz/plugins/Domoticz-Zigbee/Logs//PluginZigate_02.log
2022-01-15 12:26:58.886 Status: Zigbee: (Zigbee) Zigate plugin zigpy-6.0.001 started
2022-01-15 12:26:59.366 Status: Zigbee: (Zigbee) DeviceConf loaded - 23 confs loaded
2022-01-15 12:27:03.164 Zigbee: (Zigbee) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2022-01-15 12:27:03.165 Zigbee: (Zigbee) is_domoticz_db_available: True
2022-01-15 12:27:03.234 Zigbee: (Zigbee) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2022-01-15 12:27:03.234 Zigbee: (Zigbee) is_domoticz_db_available: True
2022-01-15 12:27:03.158 Status: Zigbee: (Zigbee) DeviceConf loaded - 320 confs loaded
2022-01-15 12:27:03.189 Status: Zigbee: (Zigbee) load ListOfDevice
2022-01-15 12:27:03.246 Status: Zigbee: (Zigbee) 0 Entries loaded from /home/pitest/domoticz/plugins/Domoticz-Zigbee/Data/DeviceList-2.txt
2022-01-15 12:27:03.304 Status: Zigbee: (Zigbee) Transport mode: USB
2022-01-15 12:27:04.147 Status: Zigbee: (Zigbee) ZigateTransport: Serial Connection open: Serial<id=0xaa866450, open=True>(port='/dev/ttyACM0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-01-15 12:27:04.180 Status: Zigbee: (Zigbee) ZigateTransport: writer_thread Thread start.
2022-01-15 12:27:04.202 Status: Zigbee: (Zigbee) ZigateTransport: thread_processing_and_sending Thread start.
2022-01-15 12:27:04.226 Status: Zigbee: (Zigbee) Start Web Server connection
2022-01-15 12:27:04.482 Status: Zigbee: (Zigbee) Web backend for Web User Interface started on port: 9440
2022-01-15 12:28:04.087 Error: Zigbee: (Zigbee) [ 61] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2022-01-15 12:28:04.510 Error: Zigbee: (Zigbee) [ ] Stop the plugin and check ZiGate.
2022-01-15 12:28:05.360 Zigbee: (Zigbee) fake_list_casaia_ac201
2022-01-15 12:28:05.767 Error: Zigbee: (Zigbee) [ 62] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2022-01-15 12:28:06.568 Error: Zigbee: (Zigbee) [ ] Stop the plugin and check ZiGate.
2022-01-15 12:28:08.272 Error: Zigbee: (Zigbee) [ 63] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2022-01-15 12:28:08.713 Error: Zigbee: (Zigbee) [ ] Stop the plugin and check ZiGate.
2022-01-15 12:28:09.231 Error: Zigbee: (Zigbee) [ 64] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2022-01-15 12:28:09.428 Error: Zigbee: (Zigbee) [ ] Stop the plugin and check ZiGate.
2022-01-15 12:28:09.726 Error: Zigbee: (Zigbee) [ 65] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2022-01-15 12:28:09.922 Error: Zigbee: (Zigbee) [ ] Stop the plugin and check ZiGate.
2022-01-15 12:28:10.460 Error: Zigbee: (Zigbee) [ 66] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2022-01-15 12:28:10.960 Error: Zigbee: (Zigbee) [ ] Stop the plugin and check ZiGate.
2022-01-15 12:28:11.710 Error: Zigbee: (Zigbee) [ 67] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2022-01-15 12:28:12.208 Error: Zigbee: (Zigbee) [ ] Stop the plugin and check ZiGate.
2022-01-15 12:28:12.937 Error: Zigbee: (Zigbee) [ 68] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2022-01-15 12:28:13.416 Error: Zigbee: (Zigbee) [ ] Stop the plugin and check ZiGate.
Je vais peut-être repartir avec un rapsbian tout réinstallé, car j'ai nommé l'utilisateur pitest pour mon openvpn mais je pense que ca pose des problèmes dans certains scripts
Modifié en dernier par Jeff le 15 janv. 2022, 12:33, modifié 1 fois.
Version: 4.9700; RFXCOM Rfxtrx433e ext/1007 ; Zwave (Z-stick GEN5, Fibaro...), Zigbee2MQTT.

pipiche
Messages : 2426
Enregistré le : 04 avr. 2018, 16:16
Contact :

Re: [Info] Au revoir ZiGate plugin, bonjour Zigbee for Domoticz

Message par pipiche »

il nous faut les logs qui se trouvent dans domoticz/plugins/Domoticz-Zigbee/Logs , les logs Domoticz ne sont pas très utile

Jeff
Messages : 852
Enregistré le : 17 nov. 2016, 20:54
Localisation : Rennes (35)

Re: [Info] Au revoir ZiGate plugin, bonjour Zigbee for Domoticz

Message par Jeff »

Les voici
PluginZigate_02.zip
(22.45 Kio) Téléchargé 9 fois
Version: 4.9700; RFXCOM Rfxtrx433e ext/1007 ; Zwave (Z-stick GEN5, Fibaro...), Zigbee2MQTT.

pipiche
Messages : 2426
Enregistré le : 04 avr. 2018, 16:16
Contact :

Re: [Info] Au revoir ZiGate plugin, bonjour Zigbee for Domoticz

Message par pipiche »

A priori c'est mal configuré au niveau du lancement du plugin, et le plugin discute ZIgate avec la clef TI.

Qu'as-tu choisi comme "Coordinator Model" ?

Info enlevée : voir commentaire en début de sujet

Egalement il n'est pas possible d'avoir 2 versions du plugin dans le repertoire domoticz/plugins
Fichiers joints
Screenshot 2022-01-15 at 12.54.26.png
Screenshot 2022-01-15 at 12.54.26.png (111.77 Kio) Vu 92 fois

Répondre