[Résolu] Besoin d'aide SonOff ZBDongle-E et P

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
Jihem
Messages : 337
Inscription : 19 sept. 2014, 13:04
Localisation : Finistère Sud

[Résolu] Besoin d'aide SonOff ZBDongle-E et P

Message par Jihem »

Bonjour a tous
je relance ce sujet car le titre correspond bien à mes questions.
Ayant déménagé récemment, je dois adapter ma Domoticz à mon nouvel environnement Legrand-Netatmo.
Je voudrais installer un coordinateur Zigbee pour gérer tout ça.
Je suis parti d'une nouvelle installation:
Raspberry Pi4
Debian 12 Bookworm
Domoticz 2023.2
plugin ZigBeeForDomoticZ
Dongle Sonoff Zigbee 3.0 plus
le plugin s'est installé correctement et j'ai suivi le Wiki pour le paramétrage.
Model: Texas instrument ZNP (via gigpy)
Type: USB
Port: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230829140200-if00
Initialyse: True
je n'ai pas touche aux autre paramètres
j'obtiens les erreurs:
Error: Zigbee: Error at startup 'NoneType' object has no attribute 'load_network_info'
Error: Zigbee: Coordinator not correctly initialized
Error: Zigbee: [130] I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Code : Tout sélectionner

 2023-10-18 16:55:21.328 Status: Domoticz V2023.2 (c)2012-2023 GizMoCuz
2023-10-18 16:55:21.329 Status: Build Hash: 19efd039c, Date: 2023-07-21 17:23:44
2023-10-18 16:55:21.329 Status: Startup Path: /home/pi/domoticz/
2023-10-18 16:55:21.451 Status: PluginSystem: Started, Python version '3.11.2', 2 plugin definitions loaded.
2023-10-18 16:55:21.460 Status: WebServer(HTTP) started on address: :: with port 8080
2023-10-18 16:55:21.471 Status: WebServer(SSL) started on address: :: with port 443
2023-10-18 16:55:21.474 Status: TCPServer: shared server started...
2023-10-18 16:55:21.475 Status: RxQueue: queue worker started...
2023-10-18 16:55:21.356 Error: Default admin password has NOT been changed! Change it asap!
2023-10-18 16:55:23.475 Zigbee: Worker thread started.
2023-10-18 16:55:23.475 Status: Zigbee: Entering work loop.
2023-10-18 16:55:23.476 Status: Zigbee: Started.
2023-10-18 16:55:23.476 Status: NotificationSystem: thread started...
2023-10-18 16:55:23.477 Status: EventSystem: reset all events...
2023-10-18 16:55:23.478 Status: EventSystem: reset all device statuses...
2023-10-18 16:55:25.894 Status: Zigbee: Initialized version 7.1, author 'pipiche38'
2023-10-18 16:55:25.897 Status: Zigbee: Zigbee for Domoticz plugin starting
2023-10-18 16:55:25.897 Status: Zigbee: Z4D plugin requires python3 3.8 or above and you are running 3.11
2023-10-18 16:55:25.897 Status: Zigbee: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigbee/requirements.txt
2023-10-18 16:55:27.340 Zigbee: load PluginConf
2023-10-18 16:55:27.342 Zigbee: Loading PluginConf - from Domoticz sqlite Db
2023-10-18 16:55:27.342 Zigbee: /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-02.json timestamp is 1697636692.7386143
2023-10-18 16:55:27.342 Zigbee: Dz PluginConf is older than Json Dz: 0 Json: 1697636692.7386143
2023-10-18 16:55:27.345 Zigbee: Installing plugin custom page /home/pi/domoticz/www/templates/Zigbee.html
2023-10-18 16:55:27.345 Zigbee: Starting LoggingManagement thread
2023-10-18 16:55:27.346 Zigbee: zigpy_login_mode(30)
2023-10-18 16:55:27.348 Zigbee: start_logging_thread
2023-10-18 16:55:27.349 Zigbee: logging_thread - listening
2023-10-18 16:55:27.344 Status: Zigbee: PluginAnalytics set to 1
2023-10-18 16:55:27.344 Status: Zigbee: filename set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-02.json
2023-10-18 16:55:27.344 Status: Zigbee: pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigbee
2023-10-18 16:55:27.344 Status: Zigbee: homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigbee
2023-10-18 16:55:27.344 Status: Zigbee: pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Data
2023-10-18 16:55:27.344 Status: Zigbee: pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf
2023-10-18 16:55:27.344 Status: Zigbee: pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigbee/OTAFirmware
2023-10-18 16:55:27.344 Status: Zigbee: pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Reports
2023-10-18 16:55:27.344 Status: Zigbee: pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigbee/www
2023-10-18 16:55:27.344 Status: Zigbee: pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs
2023-10-18 16:55:27.345 Status: Zigbee: ControllerInRawMode set to True
2023-10-18 16:55:27.345 Status: Zigbee: expJsonDatabase set to 0
2023-10-18 16:55:27.345 Status: Zigbee: ControllerInRawMode set to True
2023-10-18 16:55:27.349 Status: Zigbee: Please watch plugin log into /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs/PluginZigbee_02.log
2023-10-18 16:55:27.361 Status: Zigbee: Zigbee for Domoticz (z4d) plugin stable7-7.1.004 started
2023-10-18 16:55:27.369 Status: [web:8080] Incoming connection from: 127.0.0.1
2023-10-18 16:55:27.389 Status: Zigbee: Loading ZCL Cluster definitions
2023-10-18 16:55:27.390 Status: Zigbee: - ZCL Cluster 0000 - (V1) Basic loaded
2023-10-18 16:55:27.390 Status: Zigbee: - ZCL Cluster 0001 - (V1) Power loaded
2023-10-18 16:55:27.392 Status: Zigbee: - ZCL Cluster 0002 - (V1) Device Temperature Configuration loaded
2023-10-18 16:55:27.393 Status: Zigbee: - ZCL Cluster 0003 - (V1) Identify loaded
2023-10-18 16:55:27.394 Status: Zigbee: - ZCL Cluster 0004 - (V1) Groups loaded
2023-10-18 16:55:27.395 Status: Zigbee: - ZCL Cluster 0005 - (V1) Scenes loaded
2023-10-18 16:55:27.397 Status: Zigbee: - ZCL Cluster 0006 - (V1) On/Off loaded
2023-10-18 16:55:27.398 Status: Zigbee: - ZCL Cluster 0007 - (V1) On/Off Switch Configuration loaded
2023-10-18 16:55:27.399 Status: Zigbee: - ZCL Cluster 0008 - (V1) Level loaded
2023-10-18 16:55:27.400 Status: Zigbee: - ZCL Cluster 0009 - (V1) Alarms loaded
2023-10-18 16:55:27.401 Status: Zigbee: - ZCL Cluster 000a - (V1) Time loaded
2023-10-18 16:55:27.402 Status: Zigbee: - ZCL Cluster 000d - (V1) Analog Output loaded
2023-10-18 16:55:27.404 Status: Zigbee: - ZCL Cluster 000f - (V1) Binary Input loaded
2023-10-18 16:55:27.405 Status: Zigbee: - ZCL Cluster 0013 - (V1) Multistate Output loaded
2023-10-18 16:55:27.406 Status: Zigbee: - ZCL Cluster 0019 - (V1) OTA Upgrade loaded
2023-10-18 16:55:27.407 Status: Zigbee: - ZCL Cluster 0020 - (V1) Poll Control loaded
2023-10-18 16:55:27.408 Status: Zigbee: - ZCL Cluster 0102 - (V1) Window Covering loaded
2023-10-18 16:55:27.410 Status: Zigbee: - ZCL Cluster 0202 - (V1) Fan Control loaded
2023-10-18 16:55:27.411 Status: Zigbee: - ZCL Cluster 0204 - (V1) Thermostat User Interface Configuration loaded
2023-10-18 16:55:27.412 Status: Zigbee: - ZCL Cluster 0300 - (V1) Color Control loaded
2023-10-18 16:55:27.414 Status: Zigbee: - ZCL Cluster 0301 - (V1) Ballast Configuration loaded
2023-10-18 16:55:27.416 Status: Zigbee: - ZCL Cluster 0400 - (V1) Illuminance Level Sensing loaded
2023-10-18 16:55:27.417 Status: Zigbee: - ZCL Cluster 0402 - (V1) Temperature Measurement loaded
2023-10-18 16:55:27.418 Status: Zigbee: - ZCL Cluster 0403 - (V1) Pressure Measurement loaded
2023-10-18 16:55:27.419 Status: Zigbee: - ZCL Cluster 0405 - (V1) Relative Humidity Measurement loaded
2023-10-18 16:55:27.421 Status: Zigbee: - ZCL Cluster 0406 - (V1) Occupancy Sensing loaded
2023-10-18 16:55:27.426 Status: Zigbee: - ZCL Cluster 0700 - (V1) Price loaded
2023-10-18 16:55:27.428 Status: Zigbee: - ZCL Cluster 0702 - (V1) Metering (Smart Energy) loaded
2023-10-18 16:55:27.430 Status: Zigbee: - ZCL Cluster 0b01 - (V1) Meter Identification loaded
2023-10-18 16:55:27.432 Status: Zigbee: - ZCL Cluster 0b04 - (V1) Electrical Measurement loaded
2023-10-18 16:55:27.434 Status: Zigbee: - ZCL Cluster 0b05 - (V1) Diagnostics loaded
2023-10-18 16:55:27.435 Status: Zigbee: - ZCL Cluster e000 - (V1) Tuya E000 Private Cluster loaded
2023-10-18 16:55:27.436 Status: Zigbee: - ZCL Cluster e001 - (V1) Tuya E001 Private Cluster loaded
2023-10-18 16:55:27.437 Status: Zigbee: - ZCL Cluster e002 - (V1) Tuya E002 Private Cluster loaded
2023-10-18 16:55:27.438 Status: Zigbee: - ZCL Cluster fcc0 - (V1) LUMI Private Cluster loaded
2023-10-18 16:55:27.440 Status: Zigbee: - ZCL Cluster ff66 - (V1) Lixee Zlinky private cluster loaded
2023-10-18 16:55:27.447 Status: Zigbee: DeviceConf loaded - 16 confs loaded
2023-10-18 16:55:27.453 Status: Zigbee: Local-Device conf loaded - 21 confs loaded
2023-10-18 16:55:27.852 Status: Zigbee: Certified Devices loaded - 506 confs loaded
2023-10-18 16:55:27.853 Status: Zigbee: load ListOfDevice
2023-10-18 16:55:27.854 Status: Zigbee: 0 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigbee/Data/DeviceList-2.txt
2023-10-18 16:55:27.859 Status: Zigbee: Transport mode: ZigpyZNP
2023-10-18 16:55:29.674 Status: Zigbee: Start Zigpy Transport on ZNP
2023-10-18 16:55:29.679 Status: Zigbee: Starting radio znp port: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230829140200-if00
2023-10-18 16:55:29.680 Status: Zigbee: ZigpyTransport: thread_processing_and_sending Thread start.
2023-10-18 16:55:29.681 Status: Zigbee: Start Web Server connection
2023-10-18 16:55:29.779 Status: Zigbee: Web backend for Web User Interface started on port: 9441
2023-10-18 16:55:29.966 Status: Zigbee: Plugin looks to upgrade the Certified Device package
2023-10-18 16:55:30.177 Status: Zigbee: Started radio znp port: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230829140200-if00
2023-10-18 16:55:38.131 Status: Zigbee: Domoticz Widgets usage is at 1.2 % (252 units free)
2023-10-18 16:55:40.219 Status: Zigbee: Network settings
2023-10-18 16:55:40.221 Status: Zigbee: Device IEEE: ff:ff:ff:ff:ff:ff:ff:ff
2023-10-18 16:55:40.223 Status: Zigbee: Device NWK: 0xFFFE
2023-10-18 16:55:40.224 Status: Zigbee: Network Update Id: 0x0000
2023-10-18 16:55:40.225 Status: Zigbee: PAN ID: 0xFFFE
2023-10-18 16:55:40.226 Status: Zigbee: Extended PAN ID: ff:ff:ff:ff:ff:ff:ff:ff
2023-10-18 16:55:40.228 Status: Zigbee: Channel: 0
2023-10-18 16:55:40.204 Error: Zigbee: Error at startup 'NoneType' object has no attribute 'load_network_info'
2023-10-18 16:55:40.230 Error: Zigbee: Coordinator not correctly initialized 
2023-10-18 17:08:38.062 Error: Zigbee: [130] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
Est-ce que ma configuration est correcte?
il semblerait que le dongle Sonoff fonctionne pour d'autres itervenants.
Une Pizigate serait elle plus adaptée?
une installation ZigbeeMQTT serait elle plus facile?
j'avoue être un peu pedu dans ce nouveau domaine
Merci de votre aide et bonne soirée.
Jihem
Dernière modification par Jihem le 21 oct. 2023, 14:47, modifié 1 fois.
Hard:Raspberry Pi4 + SSD Arduino Tablette murale Archos
Soft: Domoticz WireGuard vpn Homebridge Tradfri Ikea
Devices:[/colore]Rfxtrx433 DI-O Chacon Sonoff touch Anémomètre, pluviometre, sondes Orégon, capteurs humidité Miflora, téléinfo
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: Besoin d'aide SonOff ZBDongle-E et P

Message par Keros »

Je viens de déplacer ton message dans un nouveau sujet.

Tu peux nous faire un screenshot de ta page de configuration dans DomoticZ ?

Ton dongle Sonoff est un P ou un E?
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
Jihem
Messages : 337
Inscription : 19 sept. 2014, 13:04
Localisation : Finistère Sud

Re: Besoin d'aide SonOff ZBDongle-E et P

Message par Jihem »

Merci pour ta réactivité.
Il s'agit d'un dongle E EFR32MG21.
Bonne soirée
Jihem
Pièces jointes
Zigbee.PNG
Zigbee.PNG (56.29 Kio) Consulté 958 fois
Hard:Raspberry Pi4 + SSD Arduino Tablette murale Archos
Soft: Domoticz WireGuard vpn Homebridge Tradfri Ikea
Devices:[/colore]Rfxtrx433 DI-O Chacon Sonoff touch Anémomètre, pluviometre, sondes Orégon, capteurs humidité Miflora, téléinfo
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: Besoin d'aide SonOff ZBDongle-E et P

Message par Keros »

C'est ton model de coordinateur qui n'est pas correct. Essaye en mettant SiliconLabs (EZSP).
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
Jihem
Messages : 337
Inscription : 19 sept. 2014, 13:04
Localisation : Finistère Sud

Re: Besoin d'aide SonOff ZBDongle-E et P

Message par Jihem »

Ça ne marche pas avec SiliconLabs par contre il y a du progrès avec Zigate +
je trouve des informations sur la page web du plugin ce que je n'avais pas avant.
j'ai dans les erreurs:

Code : Tout sélectionner

0:
Time: "18/10/2023 21:21:46"
Module: "Plugin"
nwkid: "None"
PluginHealth: "Startup"
message: "[ 70] I have hard time to get Coordinator Version. Mostlikly there is a communication issue"
PermitToJoin: Object {"Duration":0,"Starttime":0}
Thread: "MainThread"
LastLog: 5
StartTime: "18/10/2023 21:20:29"
FirmwareVersion: null
FirmwareMajorVersion: null
PluginVersion:
0: "stable7-7.1.004"
Je vais regarder tout ça
encore merci.
Jihem
Hard:Raspberry Pi4 + SSD Arduino Tablette murale Archos
Soft: Domoticz WireGuard vpn Homebridge Tradfri Ikea
Devices:[/colore]Rfxtrx433 DI-O Chacon Sonoff touch Anémomètre, pluviometre, sondes Orégon, capteurs humidité Miflora, téléinfo
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: Besoin d'aide SonOff ZBDongle-E et P

Message par Keros »

Redémarre le plugin en SiliconLabs et mets-nous les logs de démarrage du plugin.

Ne joue pas avec ZiGate+, ce n'est pas fait pour ton coordinateur et on va perdre du temps à analyser des choses pour rien.
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
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Besoin d'aide SonOff ZBDongle-E et P

Message par pipiche »

SiliconLabs est le modèle de ton coordinateur
ensuite vérifies que ce soit bien /dev/serial1

un moyen en général très simple c'est:

debrancher la clef
rebrancher la clef
faire dans la foulée la commande

Code : Tout sélectionner

sudo dmesg
tu devrais avoir appairaitre des lignes indiquant qu'un device USB vient d'etre ajouter et tu devrais y trouver le port

Code : Tout sélectionner

[2283389.361713] usb 1-1.1.3: new full-speed USB device number 17 using dwc2
[2283389.470992] usb 1-1.1.3: New USB device found, idVendor=1a86, idProduct=55d4, bcdDevice= 4.42
[2283389.485433] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2283389.496297] usb 1-1.1.3: Product: SONOFF Zigbee 3.0 USB Dongle Plus V2
[2283389.506190] usb 1-1.1.3: Manufacturer: ITEAD
[2283389.513794] usb 1-1.1.3: SerialNumber: 20220715103321
[2283389.524777] cdc_acm 1-1.1.3:1.0: ttyACM0: USB ACM device
Voici un exemple avec une SonOff E et donc le port c'est /dev/ttyACM0
Jihem
Messages : 337
Inscription : 19 sept. 2014, 13:04
Localisation : Finistère Sud

Re: Besoin d'aide SonOff ZBDongle-E et P

Message par Jihem »

Bonjour

Je viens de refaire une nouvelle installation et le dongle Sonoff est installé correctement avec le type silicon lab.
un grand merci pour votre aide.
je viens de coupler la 1ere prise :-)
Bravo pour le Wiki particulièrement bien documenté
En lisant le chapitre consacré au matériel Legrand Netatmo je note que les interrupteurs sans fils ne peuvent plus être couplé de la façon habituelle.

Code : Tout sélectionner

Impossible d'utiliser le Tap-Tap pour coupler le sans fil avec un équipement.
Les appareils sans fil utilisent un cluster propriétaire 0xfc01 pour envoyer certaines commandes. Je soupçonne que la gestion du jumelage.
Nécessite des liaisons de 0x0001, 0x000f et 0x0003 (dans cet ordre) - @ Thorgal789 a mentionné que la liaison 0x000f n'est pas requise.
Utilisez la valeur actuelle (cluster 0x000f / 0x0055) pour activer/désactiver ou monter et descendre l'obturateur.

Alors qu'avec le HUB Legrand, il n'y a pas de liaison des clusters 0x0006 et 0x0008 pour le commutateur distant, afin d'obtenir le contrôle de niveau lorsque vous appuyez longuement/relâchez longuement, il est nécessaire de lier les clusters 0x0006 et 0x0008.
Cela signifie t'il qu'il n’est pas possible de les utiliser?
Ou y'a t'il des modifications à apporter et si oui à quel niveau?
je nage un peu

encore merci pour vos conseil
Jihem
Hard:Raspberry Pi4 + SSD Arduino Tablette murale Archos
Soft: Domoticz WireGuard vpn Homebridge Tradfri Ikea
Devices:[/colore]Rfxtrx433 DI-O Chacon Sonoff touch Anémomètre, pluviometre, sondes Orégon, capteurs humidité Miflora, téléinfo
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Besoin d'aide SonOff ZBDongle-E et P

Message par pipiche »

cela indique simplement que la fonctionnalité legrand "Tap-Tap" qui consiste à tapoter sur un device pour le coupler avec un autre ne fonctionne pas, mais la fonctionnalité standard Zigbee de couplage fonctionne
Jihem
Messages : 337
Inscription : 19 sept. 2014, 13:04
Localisation : Finistère Sud

Re: Besoin d'aide SonOff ZBDongle-E et P

Message par Jihem »

Encore une fois merci.
comment mettre le sujet comme résolu?
Bon Week-end à tous.
jihem
Hard:Raspberry Pi4 + SSD Arduino Tablette murale Archos
Soft: Domoticz WireGuard vpn Homebridge Tradfri Ikea
Devices:[/colore]Rfxtrx433 DI-O Chacon Sonoff touch Anémomètre, pluviometre, sondes Orégon, capteurs humidité Miflora, téléinfo
Répondre