[Fermé] Migration Zigate -> SONOFF ZigBee 3.0 USB Dongle Plus

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Migration Zigate -> SONOFF ZigBee 3.0 USB Dongle Plus

Message par pipiche »

lacha007 a écrit : 23 oct. 2023, 13:42
le soucis c est si je ne supprime pas le plugin je n arrive pas à installer / initialiser la clé.
c'est quoi le problème?

(1) arreter le plugin
(2) debrancher la zigate
(3) brancher la zonoff -> et identifer le chemin d'accès ( serial port)
relancer domoticz
a ce stade le plugin n'est pas lancé

(4) aller dans Domoticz > Hardware
(6) selectioner le plugin
(a) changer le port
(b) changer le modèle du coordinateur
(7) activer Initialisation

faire mettre à jour ( ne pas faire add sinon ca ajoute une nouvelle instance du plugin)
lacha007
Messages : 64
Inscription : 28 oct. 2018, 11:37

Re: Migration Zigate -> SONOFF ZigBee 3.0 USB Dongle Plus

Message par lacha007 »

Et je tombe sur ce message quand je fais cela.
A detail pres que la clé zigate n'etait pas la quand j'ai restaurer la db / repertoire d'installation

Code : Tout sélectionner

2023-10-22 20:28:49.230  Status: Zigbee: load ListOfDevice
2023-10-22 20:28:49.523  Status: Zigbee: 40 Entries loaded from /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Data/DeviceList-2.txt
2023-10-22 20:28:49.636  Status: Zigbee: Transport mode: ZigpyEZSP
2023-10-22 20:28:50.962  Status: Zigbee: Start Zigpy Transport on EZSP
2023-10-22 20:28:50.968  Status: Zigbee: ZigpyTransport: thread_processing_and_sending Thread start.
2023-10-22 20:28:50.969  Status: Zigbee: Start Web Server connection
2023-10-22 20:28:51.074  Status: Zigbee: Web backend for Web User Interface started on port: 9440
2023-10-22 20:28:51.326  Status: Zigbee: Plugin looks to upgrade the Certified Device package
2023-10-22 20:28:51.685  Status: Zigbee: Started radio ezsp port: null
2023-10-22 20:28:51.702  Error: Zigbee: Error at startup 'NoneType' object has no attribute 'networkState'
2023-10-22 20:28:51.712  Status: Zigbee: Network settings
2023-10-22 20:28:51.713  Status: Zigbee:   Device IEEE: ff:ff:ff:ff:ff:ff:ff:ff
2023-10-22 20:28:51.714  Status: Zigbee:   Device NWK: 0xFFFE
2023-10-22 20:28:51.714  Status: Zigbee:   Network Update Id: 0x0000
2023-10-22 20:28:51.715  Status: Zigbee:   PAN ID: 0xFFFE
2023-10-22 20:28:51.716  Status: Zigbee:   Extended PAN ID: ff:ff:ff:ff:ff:ff:ff:ff
2023-10-22 20:28:51.717  Status: Zigbee:   Channel: 0
2023-10-22 20:28:51.718  Error: Zigbee: Coordinator not correctly initialized
2023-10-22 20:28:51.724  Status: Zigbee: Detected Legrand IEEE, broadcast Write Attribute 0x0000/0xf000
2023-10-22 20:28:51.833  Error: Zigbee: ControllerException / ApplicationController is not running: request() Not able to execute the zigpy command: RAW-COMMAND data: {'Function' : zcl_raw_write_attributeNoResponse,'Profile' : 0104,'Cluster' : 0000,'TargetNwk' : ffff,'TargetEp' : 01,'SrcEp' : 01,'Sqn' : 00,'RxOnIdle' : True,'payload' : 142110000500f02300000000,'timestamp' : 1697999331.7056026,'AddressMode' : 02,}

pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Migration Zigate -> SONOFF ZigBee 3.0 USB Dongle Plus

Message par pipiche »

probablement que le port d'accès n'est pas le bon, ou qu'un processs l'utilise ?

As-tu z2m installé, si oui il est impératif de le dé-installer
lacha007
Messages : 64
Inscription : 28 oct. 2018, 11:37

Re: Migration Zigate -> SONOFF ZigBee 3.0 USB Dongle Plus

Message par lacha007 »

HEllo
z2m pour zigbee to Mqtt?

J ai une image docker domoticz ou je passe un script de customStart pour installer le plugin. J'ai un mosquito un homebridge et un nodered en container a coté mais cela ne devrait pas influencer. JE regarde si il fait partie de l image de base
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Migration Zigate -> SONOFF ZigBee 3.0 USB Dongle Plus

Message par pipiche »

Assur toi qu’il n’y ait pas un process qui s’accroche au port de la sonoff


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
lacha007
Messages : 64
Inscription : 28 oct. 2018, 11:37

Re: Migration Zigate -> SONOFF ZigBee 3.0 USB Dongle Plus

Message par lacha007 »

Hello,
De retour dans la maison .
C'est bien un dongle E. Je l'ai donc mise en Silicon Labs EZSP (via zigpy).

Je me suis dit que j'allais repartir d'une install propre, c'est pas grave si je dois pairer de nouveau tout.
Quoi qu'il en soit toutes mes vannes thermostatique Moesh etaient sans piles , je devais toutes les reprendre.

Quand j ajoute le Materiel avec demande d'initialisation du plugin j'ai les log suivant :

Code : Tout sélectionner

2023-11-04 10:21:01.382  Status: [web:8080] Incoming connection from: 192.168.20.6
2023-11-04 10:21:31.083  Status: ZIGBEE: Entering work loop.
2023-11-04 10:21:31.084  ZIGBEE: Worker thread started.
2023-11-04 10:21:31.084  Status: ZIGBEE: Started.
2023-11-04 10:21:33.627  Status: ZIGBEE: Initialized version 7.1, author 'pipiche38'
2023-11-04 10:21:33.629  Status: ZIGBEE: Zigbee for Domoticz plugin starting
2023-11-04 10:21:33.629  Status: ZIGBEE: Z4D plugin requires python3 3.8 or above and you are running 3.9
2023-11-04 10:21:33.629  Status: ZIGBEE: Checking Python modules /opt/domoticz/userdata/plugins/Domoticz-Zigbee/requirements.txt
2023-11-04 10:21:34.470  ZIGBEE: load PluginConf
2023-11-04 10:21:34.474  Error: ZIGBEE: Cannot access path: /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Conf/PluginConf.txt
2023-11-04 10:21:34.475  Status: ZIGBEE: filename set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Conf/PluginConf.txt
2023-11-04 10:21:34.476  Status: ZIGBEE: pluginHome set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee
2023-11-04 10:21:34.476  Status: ZIGBEE: homedirectory set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee
2023-11-04 10:21:34.476  Status: ZIGBEE: pluginData set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Data
2023-11-04 10:21:34.476  Status: ZIGBEE: pluginConfig set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Conf
2023-11-04 10:21:34.477  Status: ZIGBEE: pluginOTAFirmware set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/OTAFirmware
2023-11-04 10:21:34.477  Status: ZIGBEE: pluginReports set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Reports
2023-11-04 10:21:34.477  Status: ZIGBEE: pluginWWW set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/www
2023-11-04 10:21:34.478  Status: ZIGBEE: pluginLogs set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Logs
2023-11-04 10:21:34.478  Status: ZIGBEE: expJsonDatabase set to 0
2023-11-04 10:21:34.479  ZIGBEE: Installing plugin custom page /opt/domoticz/www/templates/ZIGBEE.html 
2023-11-04 10:21:34.481  ZIGBEE: Starting LoggingManagement thread
2023-11-04 10:21:34.481  ZIGBEE: zigpy_login_mode(30)
2023-11-04 10:21:34.483  ZIGBEE: start_logging_thread
2023-11-04 10:21:34.484  ZIGBEE: logging_thread - listening
2023-11-04 10:21:34.485  Status: ZIGBEE: Please watch plugin log into /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Logs/PluginZigbee_09.log
2023-11-04 10:21:34.487  Status: ZIGBEE: Log history not found, no error logged
2023-11-04 10:21:34.495  Status: ZIGBEE: Zigbee for Domoticz (z4d) plugin stable7-7.1.004 started
2023-11-04 10:21:34.501  Status: [web:8080] Incoming connection from: 127.0.0.1
2023-11-04 10:21:34.516  Status: ZIGBEE: Loading ZCL Cluster definitions
2023-11-04 10:21:34.520  Status: ZIGBEE:  - ZCL Cluster 0000 - (V1) Basic loaded
2023-11-04 10:21:34.521  Status: ZIGBEE:  - ZCL Cluster 0001 - (V1) Power loaded
2023-11-04 10:21:34.523  Status: ZIGBEE:  - ZCL Cluster 0002 - (V1) Device Temperature Configuration loaded
2023-11-04 10:21:34.525  Status: ZIGBEE:  - ZCL Cluster 0003 - (V1) Identify loaded
2023-11-04 10:21:34.527  Status: ZIGBEE:  - ZCL Cluster 0004 - (V1) Groups loaded
2023-11-04 10:21:34.528  Status: ZIGBEE:  - ZCL Cluster 0005 - (V1) Scenes loaded
2023-11-04 10:21:34.529  Status: ZIGBEE:  - ZCL Cluster 0006 - (V1) On/Off loaded
2023-11-04 10:21:34.531  Status: ZIGBEE:  - ZCL Cluster 0007 - (V1) On/Off Switch Configuration loaded
2023-11-04 10:21:34.533  Status: ZIGBEE:  - ZCL Cluster 0008 - (V1) Level loaded
2023-11-04 10:21:34.534  Status: ZIGBEE:  - ZCL Cluster 0009 - (V1) Alarms loaded
2023-11-04 10:21:34.536  Status: ZIGBEE:  - ZCL Cluster 000a - (V1) Time loaded
2023-11-04 10:21:34.538  Status: ZIGBEE:  - ZCL Cluster 000d - (V1) Analog Output loaded
2023-11-04 10:21:34.540  Status: ZIGBEE:  - ZCL Cluster 000f - (V1) Binary Input loaded
2023-11-04 10:21:34.542  Status: ZIGBEE:  - ZCL Cluster 0013 - (V1) Multistate Output loaded
2023-11-04 10:21:34.543  Status: ZIGBEE:  - ZCL Cluster 0019 - (V1) OTA Upgrade loaded
2023-11-04 10:21:34.546  Status: ZIGBEE:  - ZCL Cluster 0020 - (V1) Poll Control loaded
2023-11-04 10:21:34.549  Status: ZIGBEE:  - ZCL Cluster 0102 - (V1) Window Covering loaded
2023-11-04 10:21:34.550  Status: ZIGBEE:  - ZCL Cluster 0202 - (V1) Fan Control loaded
2023-11-04 10:21:34.552  Status: ZIGBEE:  - ZCL Cluster 0204 - (V1) Thermostat User Interface Configuration loaded
2023-11-04 10:21:34.554  Status: ZIGBEE:  - ZCL Cluster 0300 - (V1) Color Control loaded
2023-11-04 10:21:34.556  Status: ZIGBEE:  - ZCL Cluster 0301 - (V1) Ballast Configuration loaded
2023-11-04 10:21:34.558  Status: ZIGBEE:  - ZCL Cluster 0400 - (V1) Illuminance Level Sensing loaded
2023-11-04 10:21:34.560  Status: ZIGBEE:  - ZCL Cluster 0402 - (V1) Temperature Measurement loaded
2023-11-04 10:21:34.561  Status: ZIGBEE:  - ZCL Cluster 0403 - (V1) Pressure Measurement loaded
2023-11-04 10:21:34.563  Status: ZIGBEE:  - ZCL Cluster 0405 - (V1) Relative Humidity Measurement loaded
2023-11-04 10:21:34.565  Status: ZIGBEE:  - ZCL Cluster 0406 - (V1) Occupancy Sensing loaded
2023-11-04 10:21:34.569  Status: ZIGBEE:  - ZCL Cluster 0700 - (V1) Price loaded
2023-11-04 10:21:34.572  Status: ZIGBEE:  - ZCL Cluster 0702 - (V1) Metering (Smart Energy) loaded
2023-11-04 10:21:34.574  Status: ZIGBEE:  - ZCL Cluster 0b01 - (V1) Meter Identification loaded
2023-11-04 10:21:34.576  Status: ZIGBEE:  - ZCL Cluster 0b04 - (V1) Electrical Measurement loaded
2023-11-04 10:21:34.578  Status: ZIGBEE:  - ZCL Cluster 0b05 - (V1) Diagnostics loaded
2023-11-04 10:21:34.580  Status: ZIGBEE:  - ZCL Cluster e000 - (V1) Tuya E000 Private Cluster loaded
2023-11-04 10:21:34.582  Status: ZIGBEE:  - ZCL Cluster e001 - (V1) Tuya E001 Private Cluster loaded
2023-11-04 10:21:34.584  Status: ZIGBEE:  - ZCL Cluster e002 - (V1) Tuya E002 Private Cluster loaded
2023-11-04 10:21:34.586  Status: ZIGBEE:  - ZCL Cluster fcc0 - (V1) LUMI Private Cluster loaded
2023-11-04 10:21:34.588  Status: ZIGBEE:  - ZCL Cluster ff66 - (V1) Lixee Zlinky private cluster loaded
2023-11-04 10:21:34.592  Status: ZIGBEE: DeviceConf loaded - 16 confs loaded
2023-11-04 10:21:34.600  Status: ZIGBEE: Local-Device conf loaded - 21 confs loaded
2023-11-04 10:21:35.131  Status: ZIGBEE: Certified Devices loaded - 518 confs loaded
2023-11-04 10:21:35.132  Status: ZIGBEE: load ListOfDevice
2023-11-04 10:21:35.134  Status: ZIGBEE: Transport mode: ZigpyEZSP
2023-11-04 10:21:36.230  Status: ZIGBEE: Start Zigpy Transport on EZSP
2023-11-04 10:21:36.236  Status: ZIGBEE: ZigpyTransport: thread_processing_and_sending Thread start.
2023-11-04 10:21:36.236  Status: ZIGBEE: Start Web Server connection
2023-11-04 10:21:36.260  Status: ZIGBEE: Web backend for Web User Interface started on port: 9440
2023-11-04 10:21:36.478  Status: ZIGBEE: Plugin looks to upgrade the Certified Device package
2023-11-04 10:21:36.840  Status: ZIGBEE: Started radio ezsp port: /dev/ttyUSB-ZIGBEE
2023-11-04 10:21:36.842  Status: ZIGBEE: Coordinator initialisation requested  Channel 0(0x00) ExtendedPanId: 0x0000000000000000
2023-11-04 10:21:38.179  Status: ZIGBEE: Bellows Radio register default Ep
2023-11-04 10:21:39.393  Status: ZIGBEE: Domoticz Widgets usage is at 1.2 % (252 units free)
2023-11-04 10:21:45.902  Status: ZIGBEE: Number of devices recently active in Coordinator = 0
2023-11-04 10:21:45.945  Status: ZIGBEE: EZSP Radio manufacturer: 
2023-11-04 10:21:45.949  Status: ZIGBEE: EZSP Radio board name: 
2023-11-04 10:21:45.952  Status: ZIGBEE: EmberZNet version: 6.10.3.0 build 297
2023-11-04 10:21:45.954  Status: ZIGBEE: Assuming new network formed
2023-11-04 10:21:45.957  Status: ZIGBEE: Network settings
2023-11-04 10:21:45.961  Status: ZIGBEE:   Device IEEE: e0:79:8d:ff:fe:c7:b7:1b
2023-11-04 10:21:45.962  Status: ZIGBEE:   Device NWK: 0x0000
2023-11-04 10:21:45.964  Status: ZIGBEE:   Network Update Id: 0x0000
2023-11-04 10:21:45.965  Status: ZIGBEE:   PAN ID: 0xCF51
2023-11-04 10:21:45.972  Status: ZIGBEE:   Extended PAN ID: 60:61:e1:21:8b:c4:e7:9f
2023-11-04 10:21:45.972  Status: ZIGBEE:   Channel: 25
2023-11-04 10:21:45.978  Status: ZIGBEE: Untested Zigbee adaptater model. If this is a Sonoff USB Dongle E that is known issue, otherwise please report to the Zigbee for Domoticz team
2023-11-04 10:21:45.979  Status: ZIGBEE: Installer Version Number: 6.10.3.0 build 297
2023-11-04 10:21:45.980  Status: ZIGBEE: Branch Version: ==> Unknown Silicon Labs <==
2023-11-04 10:21:45.984  Status: ZIGBEE: Initialize Zigate Data Structure 0000 e0798dfffec7b71b
2023-11-04 10:21:45.991  Status: ZIGBEE: Updating Channel in Plugin Configuration from: 0 to: 25
2023-11-04 10:21:45.997  Status: ZIGBEE: Zigbee Coordinator ieee: e0798dfffec7b71b , short addr: 0000
2023-11-04 10:21:46.000  Status: ZIGBEE: Network state UP, PANID: cf51 extPANID: 0x6061e1218bc4e79f Channel: 25
2023-11-04 10:21:53.074  Status: ZIGBEE: Request Disabling Accepting new Hardware
2023-11-04 10:21:58.086  ZIGBEE: URL INFOS {'type': 'command', 'param': 'updatehardware', 'htype': '94', 'idx': 9, 'name': 'ZIGBEE', 'address': '0.0.0.0', 'port': '9999', 'serialport': '/dev/ttyUSB-ZIGBEE', 'Mode1': 'ZigpyEZSP', 'Mode2': 'USB', 'Mode3': 'False', 'Mode4': '9440', 'Mode5': 'http://127.0.0.1:8080', 'Mode6': '-1', 'extra': 'Zigate', 'enabled': 'true', 'datatimeout': '0', 'loglevel': 7}
2023-11-04 10:21:58.089  Status: ZIGBEE: Plugin Restart command : http://127.0.0.1:8080/json.htm?type=command&param=updatehardware&htype=94&idx=9&name=ZIGBEE&address=0.0.0.0&port=9999&serialport=%2Fdev%2FttyUSB-ZIGBEE&Mode1=ZigpyEZSP&Mode2=USB&Mode3=False&Mode4=9440&Mode5=http%3A%2F%2F127.0.0.1%3A8080&Mode6=-1&extra=Zigate&enabled=true&datatimeout=0&loglevel=7
2023-11-04 10:21:58.106  Status: ZIGBEE: coordinator set to Certification : 1/CE -> CE
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
2023-11-04 10:21:58.167  Status: ZIGBEE: Stop directive received.
2023-11-04 10:21:59.606  ZIGBEE: onStop()
2023-11-04 10:21:59.607  Status: ZIGBEE: ota_scan_folder Following Firmware have been loaded 
2023-11-04 10:21:59.610  Status: ZIGBEE: Plugin with Zigpy, Coordinator Unknown Silicon Labs firmware UNK - 6.10.3.0 build 297 correctly initialized
2023-11-04 10:21:59.616  Status: ZIGBEE: Shuting down co-routine
2023-11-04 10:21:59.617  Status: ZIGBEE: ZigpyTransport: thread_processing_and_sending Thread stop.
2023-11-04 10:22:06.242  Status: ZIGBEE: Coordinator backup is available: /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Data/Coordinator-09.backup
2023-11-04 10:22:08.252  Status: ZIGBEE: Statistics on message
2023-11-04 10:22:08.252  Status: ZIGBEE:    PDM load(s)      : 0
2023-11-04 10:22:08.252  Status: ZIGBEE: ZiGate reacting time
2023-11-04 10:22:08.252  Status: ZIGBEE:    Max              : 0 sec
2023-11-04 10:22:08.253  Status: ZIGBEE:    Average          : 0 sec
2023-11-04 10:22:08.253  Status: ZIGBEE: ZiGate processing time on Rx
2023-11-04 10:22:08.253  Status: ZIGBEE:    Max              : 0 sec
2023-11-04 10:22:08.253  Status: ZIGBEE:    Average          : 0 sec
2023-11-04 10:22:08.253  Status: ZIGBEE: Sent:
2023-11-04 10:22:08.253  Status: ZIGBEE:    TX commands      : 6
2023-11-04 10:22:08.253  Status: ZIGBEE:    Max Load (Queue) : 4 
2023-11-04 10:22:08.253  Status: ZIGBEE:    Max aPDU (Queue) : 0 
2023-11-04 10:22:08.253  Status: ZIGBEE:    Max nPDU (Queue) : 0 
2023-11-04 10:22:08.253  Status: ZIGBEE:    TX failed        : 0 (0.0%)
2023-11-04 10:22:08.253  Status: ZIGBEE:    TX timeout       : 0 (0.0%)
2023-11-04 10:22:08.254  Status: ZIGBEE:    TX data timeout  : 0 (0.0%)
2023-11-04 10:22:08.254  Status: ZIGBEE:    TX reTransmit    : 0 (0.0%)
2023-11-04 10:22:08.254  Status: ZIGBEE:    TX APS Failure   : 0 (0.0%)
2023-11-04 10:22:08.254  Status: ZIGBEE:    TX APS Ack       : 0 (0.0%)
2023-11-04 10:22:08.254  Status: ZIGBEE:    TX APS Nck       : 0 (0.0%)
2023-11-04 10:22:08.254  Status: ZIGBEE: Received:
2023-11-04 10:22:08.255  Status: ZIGBEE:    RX frame         : 36
2023-11-04 10:22:08.255  Status: ZIGBEE:    RX crc errors    : 0 (0.0%)
2023-11-04 10:22:08.255  Status: ZIGBEE:    RX lentgh errors : 0 (0.0%)
2023-11-04 10:22:08.255  Status: ZIGBEE:    RX clusters      : 0
2023-11-04 10:22:08.255  Status: ZIGBEE:    RX clusters KO   : 0
2023-11-04 10:22:08.256  Status: ZIGBEE: Operating time      : 0 Hours 0 Mins 33 Secs
2023-11-04 10:22:08.261  ZIGBEE: logging_thread - ended
2023-11-04 10:22:08.264  ZIGBEE: Logging Thread shutdown
2023-11-04 10:22:08.264  ZIGBEE: onStop called (6) Close Logging Management
2023-11-04 10:22:08.586  Status: ZIGBEE: Exiting work loop.
2023-11-04 10:22:08.678  Status: ZIGBEE: Stopping threads.
2023-11-04 10:22:08.678  Status: ZIGBEE: Stopped.
2023-11-04 10:22:08.679  ZIGBEE: Worker thread started.
2023-11-04 10:22:08.679  Status: ZIGBEE: Started.
2023-11-04 10:22:08.679  Status: ZIGBEE: Entering work loop.
100    50  100    50    0     0      4      0  0:00:12  0:00:10  0:00:02    11
{
	"status" : "OK",
	"title" : "UpdateHardware"
}
2023-11-04 10:22:09.679  Status: ZIGBEE: Initialized version 7.1, author 'pipiche38'
2023-11-04 10:22:09.681  Status: ZIGBEE: Zigbee for Domoticz plugin starting
2023-11-04 10:22:09.681  Status: ZIGBEE: Z4D plugin requires python3 3.8 or above and you are running 3.9
2023-11-04 10:22:09.682  Status: ZIGBEE: Checking Python modules /opt/domoticz/userdata/plugins/Domoticz-Zigbee/requirements.txt
2023-11-04 10:22:10.530  ZIGBEE: load PluginConf
2023-11-04 10:22:10.532  ZIGBEE: Loading PluginConf -  from Domoticz sqlite Db
2023-11-04 10:22:10.533  ZIGBEE: /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Conf/PluginConf-09.json timestamp is 1699089705.9603348
2023-11-04 10:22:10.533  ZIGBEE: Dz PluginConf is older than Json Dz: 0 Json: 1699089705.9603348
2023-11-04 10:22:10.535  Status: ZIGBEE: channel set to 25
2023-11-04 10:22:10.535  Status: ZIGBEE: filename set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Conf/PluginConf-09.json
2023-11-04 10:22:10.535  Status: ZIGBEE: pluginHome set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee
2023-11-04 10:22:10.535  Status: ZIGBEE: homedirectory set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee
2023-11-04 10:22:10.535  Status: ZIGBEE: pluginData set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Data
2023-11-04 10:22:10.535  Status: ZIGBEE: pluginConfig set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Conf
2023-11-04 10:22:10.535  Status: ZIGBEE: pluginOTAFirmware set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/OTAFirmware
2023-11-04 10:22:10.535  Status: ZIGBEE: pluginReports set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Reports
2023-11-04 10:22:10.535  Status: ZIGBEE: pluginWWW set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/www
2023-11-04 10:22:10.535  Status: ZIGBEE: pluginLogs set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Logs
2023-11-04 10:22:10.535  Status: ZIGBEE: ControllerInRawMode set to True
2023-11-04 10:22:10.535  Status: ZIGBEE: expJsonDatabase set to 0
2023-11-04 10:22:10.535  Status: ZIGBEE: ControllerInRawMode set to True
2023-11-04 10:22:10.536  ZIGBEE: Installing plugin custom page /opt/domoticz/www/templates/ZIGBEE.html 
2023-11-04 10:22:10.537  ZIGBEE: Starting LoggingManagement thread
2023-11-04 10:22:10.537  ZIGBEE: zigpy_login_mode(30)
2023-11-04 10:22:10.540  ZIGBEE: start_logging_thread
2023-11-04 10:22:10.540  ZIGBEE: logging_thread - listening
2023-11-04 10:22:10.541  Status: ZIGBEE: Please watch plugin log into /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Logs/PluginZigbee_09.log
2023-11-04 10:22:10.549  Status: ZIGBEE: Zigbee for Domoticz (z4d) plugin stable7-7.1.004 started
2023-11-04 10:22:10.566  Status: ZIGBEE: Loading ZCL Cluster definitions
2023-11-04 10:22:10.568  Status: ZIGBEE:  - ZCL Cluster 0000 - (V1) Basic loaded
2023-11-04 10:22:10.570  Status: ZIGBEE:  - ZCL Cluster 0001 - (V1) Power loaded
2023-11-04 10:22:10.571  Status: ZIGBEE:  - ZCL Cluster 0002 - (V1) Device Temperature Configuration loaded
2023-11-04 10:22:10.572  Status: ZIGBEE:  - ZCL Cluster 0003 - (V1) Identify loaded
2023-11-04 10:22:10.574  Status: ZIGBEE:  - ZCL Cluster 0004 - (V1) Groups loaded
2023-11-04 10:22:10.575  Status: ZIGBEE:  - ZCL Cluster 0005 - (V1) Scenes loaded
2023-11-04 10:22:10.576  Status: ZIGBEE:  - ZCL Cluster 0006 - (V1) On/Off loaded
2023-11-04 10:22:10.577  Status: ZIGBEE:  - ZCL Cluster 0007 - (V1) On/Off Switch Configuration loaded
2023-11-04 10:22:10.579  Status: ZIGBEE:  - ZCL Cluster 0008 - (V1) Level loaded
2023-11-04 10:22:10.580  Status: ZIGBEE:  - ZCL Cluster 0009 - (V1) Alarms loaded
2023-11-04 10:22:10.582  Status: ZIGBEE:  - ZCL Cluster 000a - (V1) Time loaded
2023-11-04 10:22:10.583  Status: ZIGBEE:  - ZCL Cluster 000d - (V1) Analog Output loaded
2023-11-04 10:22:10.584  Status: ZIGBEE:  - ZCL Cluster 000f - (V1) Binary Input loaded
2023-11-04 10:22:10.586  Status: ZIGBEE:  - ZCL Cluster 0013 - (V1) Multistate Output loaded
2023-11-04 10:22:10.587  Status: ZIGBEE:  - ZCL Cluster 0019 - (V1) OTA Upgrade loaded
2023-11-04 10:22:10.589  Status: ZIGBEE:  - ZCL Cluster 0020 - (V1) Poll Control loaded
2023-11-04 10:22:10.590  Status: ZIGBEE:  - ZCL Cluster 0102 - (V1) Window Covering loaded
2023-11-04 10:22:10.592  Status: ZIGBEE:  - ZCL Cluster 0202 - (V1) Fan Control loaded
2023-11-04 10:22:10.593  Status: ZIGBEE:  - ZCL Cluster 0204 - (V1) Thermostat User Interface Configuration loaded
2023-11-04 10:22:10.595  Status: ZIGBEE:  - ZCL Cluster 0300 - (V1) Color Control loaded
2023-11-04 10:22:10.596  Status: ZIGBEE:  - ZCL Cluster 0301 - (V1) Ballast Configuration loaded
2023-11-04 10:22:10.598  Status: ZIGBEE:  - ZCL Cluster 0400 - (V1) Illuminance Level Sensing loaded
2023-11-04 10:22:10.599  Status: ZIGBEE:  - ZCL Cluster 0402 - (V1) Temperature Measurement loaded
2023-11-04 10:22:10.600  Status: ZIGBEE:  - ZCL Cluster 0403 - (V1) Pressure Measurement loaded
2023-11-04 10:22:10.602  Status: ZIGBEE:  - ZCL Cluster 0405 - (V1) Relative Humidity Measurement loaded
2023-11-04 10:22:10.603  Status: ZIGBEE:  - ZCL Cluster 0406 - (V1) Occupancy Sensing loaded
2023-11-04 10:22:10.606  Status: ZIGBEE:  - ZCL Cluster 0700 - (V1) Price loaded
2023-11-04 10:22:10.608  Status: ZIGBEE:  - ZCL Cluster 0702 - (V1) Metering (Smart Energy) loaded
2023-11-04 10:22:10.610  Status: ZIGBEE:  - ZCL Cluster 0b01 - (V1) Meter Identification loaded
2023-11-04 10:22:10.611  Status: ZIGBEE:  - ZCL Cluster 0b04 - (V1) Electrical Measurement loaded
2023-11-04 10:22:10.613  Status: ZIGBEE:  - ZCL Cluster 0b05 - (V1) Diagnostics loaded
2023-11-04 10:22:10.614  Status: ZIGBEE:  - ZCL Cluster e000 - (V1) Tuya E000 Private Cluster loaded
2023-11-04 10:22:10.616  Status: ZIGBEE:  - ZCL Cluster e001 - (V1) Tuya E001 Private Cluster loaded
2023-11-04 10:22:10.618  Status: ZIGBEE:  - ZCL Cluster e002 - (V1) Tuya E002 Private Cluster loaded
2023-11-04 10:22:10.619  Status: ZIGBEE:  - ZCL Cluster fcc0 - (V1) LUMI Private Cluster loaded
2023-11-04 10:22:10.621  Status: ZIGBEE:  - ZCL Cluster ff66 - (V1) Lixee Zlinky private cluster loaded
2023-11-04 10:22:10.625  Status: ZIGBEE: DeviceConf loaded - 16 confs loaded
2023-11-04 10:22:10.630  Status: ZIGBEE: Local-Device conf loaded - 21 confs loaded
2023-11-04 10:22:10.908  Status: ZIGBEE: Certified Devices loaded - 518 confs loaded
2023-11-04 10:22:10.910  Status: ZIGBEE: load ListOfDevice
2023-11-04 10:22:10.913  Status: ZIGBEE: 1 Entries loaded from /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Data/DeviceList-9.txt
2023-11-04 10:22:10.917  Status: ZIGBEE: Transport mode: ZigpyEZSP
context.c:56: warning: mpd_setminalloc: ignoring request to set MPD_MINALLOC a second time

2023-11-04 10:22:11.085  Error: ZIGBEE: Call to function 'onStart' failed, exception details:
2023-11-04 10:22:11.092  Error: ZIGBEE: Traceback (most recent call last):
2023-11-04 10:22:11.092  Error: ZIGBEE:   File "/opt/domoticz/userdata/plugins/Domoticz-Zigbee/plugin.py", line 1563, in onStart
2023-11-04 10:22:11.092  Error: ZIGBEE:     _plugin.onStart()
2023-11-04 10:22:11.092  Error: ZIGBEE:   File "/opt/domoticz/userdata/plugins/Domoticz-Zigbee/plugin.py", line 631, in onStart
2023-11-04 10:22:11.092  Error: ZIGBEE:     from zigpy.config import (CONF_DEVICE, CONF_DEVICE_PATH,
2023-11-04 10:22:11.092  Error: ZIGBEE:   File "/usr/local/lib/python3.9/dist-packages/zigpy/config/__init__.py", line 34, in <module>
2023-11-04 10:22:11.092  Error: ZIGBEE:     from zigpy.config.validators import (
2023-11-04 10:22:11.092  Error: ZIGBEE:   File "/usr/local/lib/python3.9/dist-packages/zigpy/config/validators.py", line 9, in <module>
2023-11-04 10:22:11.092  Error: ZIGBEE:     import zigpy.zdo.types as zdo_t
2023-11-04 10:22:11.092  Error: ZIGBEE:   File "/usr/local/lib/python3.9/dist-packages/zigpy/zdo/__init__.py", line 10, in <module>
2023-11-04 10:22:11.092  Error: ZIGBEE:     import zigpy.util
2023-11-04 10:22:11.092  Error: ZIGBEE:   File "/usr/local/lib/python3.9/dist-packages/zigpy/util.py", line 15, in <module>
2023-11-04 10:22:11.092  Error: ZIGBEE:     from cryptography.hazmat.primitives.ciphers import Cipher
2023-11-04 10:22:11.092  Error: ZIGBEE:   File "/usr/local/lib/python3.9/dist-packages/cryptography/hazmat/primitives/ciphers/__init__.py", line 11, in <module>
2023-11-04 10:22:11.092  Error: ZIGBEE:     from cryptography.hazmat.primitives.ciphers.base import (
2023-11-04 10:22:11.092  Error: ZIGBEE:   File "/usr/local/lib/python3.9/dist-packages/cryptography/hazmat/primitives/ciphers/base.py", line 10, in <module>
2023-11-04 10:22:11.092  Error: ZIGBEE:     from cryptography.exceptions import (
2023-11-04 10:22:11.092  Error: ZIGBEE:   File "/usr/local/lib/python3.9/dist-packages/cryptography/exceptions.py", line 9, in <module>
2023-11-04 10:22:11.093  Error: ZIGBEE:     from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
2023-11-04 10:22:11.093  Error: ZIGBEE: ImportError: PyO3 modules may only be initialized once per interpreter process
Surement car le plugin est deja demarré.
Je viens de relancer docker pour voir Et je vous tiens informé
Image
lacha007
Messages : 64
Inscription : 28 oct. 2018, 11:37

Re: Migration Zigate -> SONOFF ZigBee 3.0 USB Dongle Plus

Message par lacha007 »

Hello ,

apres relance pas d erreur. Par contre pas moyen de pairer un device
J ai essayé une prise connecté et mon compteur legrand.
Avec la sonoff dois je faire quelque chose de particulier pour le pairing?

Merci
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: Migration Zigate -> SONOFF ZigBee 3.0 USB Dongle Plus

Message par Keros »

Normalement, il n'y a rien de particulier à faire.

Tu peux nous mettre les logs de démarrage du plugin, de l'activation de l'appairage dans le WebUI et la tentative d'appairage ?

Ton objet est proche de ton coordinateur ?
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
lacha007
Messages : 64
Inscription : 28 oct. 2018, 11:37

Re: Migration Zigate -> SONOFF ZigBee 3.0 USB Dongle Plus

Message par lacha007 »

J ai mis les logs de démarrage plus haut .
Pour l'appariage je n ai rien dans les log . que dois je ativer pour avoir plus ?
LA prise est a 2m du Pi

Et sinon j ai un device MQTT Client Gateway with LAN interface est ce lui qui peut faire chi....r
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: Migration Zigate -> SONOFF ZigBee 3.0 USB Dongle Plus

Message par Keros »

Plus haut, il y a deux démarrages dont un avec des erreurs.

Active le debug pairing, redémarre le plugin et tente un appairage. Mets-nous tous les logs du démarrage jusqu'à la fin du pairing.

Par de raison MQTT Client Gateway soit un problème tant que ce n'est pas avec ZigBee2MQTT.
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
Répondre