[Résolu] aide sur sonoff zigbee 3.0 dongle

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
fredezic
Messages : 6
Inscription : 27 nov. 2022, 23:27

[Résolu] aide sur sonoff zigbee 3.0 dongle

Message par fredezic »

Bonjour,

j'essaie de me mettre a la domotique
j'essaie de faire fonctionner une gateway sonoff zigbee 3.0 dongle plus sur domoticz avec zigbeefordomoticz

ma config est un raspberry pi 3 Model B avec Raspbian 10.13

j'ai installé la derniere version de domoticz et j'ai suivi le tuto sur cette page
https://zigbeefordomoticz.github.io/wiki/fr-fr/

dans les logs j'ai cette erreur
2022-11-27 21:15:54.380 Error: zbGateway: from crccheck.crc import CrcX25
2022-11-27 21:15:54.380 Error: zbGateway: ImportError: cannot import name 'CrcX25' from 'crccheck.crc' (/usr/local/lib/python3.7/dist-packages/crccheck/crc.py)

pourtant le module crccheck a l'air bien installé

au niveau des paramétrage, je suis débutant mais j'ai un peu cherché mais je n'ai rien trouvé de probant
j'ai essayé de fixer le numéro de la clef USB dans la conf du systeme
j'ai essayé de ne pas mettre le mot de passe pour l'adresse local de l'api domoticz

sur ma version de debian, la version de python est 3.7.3 (dans la doc de ,zigbeefordomoticz c'est précisé 3.8 en version minimum)

je ne sais pas si c'est ca le probleme, si c'est ca, vous me conseiller quelle version de l'os ? (histoire de ne pas avoir a installer pour rien un 2eme fois)
Dernière modification par fredezic le 30 nov. 2022, 19:09, modifié 2 fois.
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: aide sur sonoff zigbee 3.0 dongle

Message par Keros »

Bonjour fredezic et bienvenu sur le forum :)

Je viens de déplacer ton sujet dans la section dédiée au plugin ZigBeeForDomoticZ.

Je pense que ton souci ne vient pas de la configuration, mais de l'installation. Tu as bien suivi toutes les étapes sans avoir d'erreurs ?

Tu pourrais nous mettre les logs de démarrage du plugin ?

Tu peux faire la commande pip3 install crccheck et nous copier/coller les infos ?
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
fredezic
Messages : 6
Inscription : 27 nov. 2022, 23:27

Re: aide sur sonoff zigbee 3.0 dongle

Message par fredezic »

Salut et merci pour l'accueil :D

je suis pas devant ma machine actuellement (étant au boulot)
mais j'ai essayé pip3 install crccheckn ca me dit qu'il est déjà installé

concernant les logs du plugins, est-ce que c'est les fichiers dans le répertoire Logs du dossier du plugin?
si c'est ca, je suis aller voir, ca dit que la connectivité n'est pas ok (ou un truc comme ca), vu l'erreur coté python je me disait que c'était normal

je vérifierais ce soir en rentrant
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: aide sur sonoff zigbee 3.0 dongle

Message par pipiche »

les modules doivent etre installé en root,
commen indiqué sur le wiki il fait faire

Code : Tout sélectionner

sudo pip3 install -r requirements.txt 
Dernière modification par pipiche le 28 nov. 2022, 19:40, modifié 1 fois.
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: aide sur sonoff zigbee 3.0 dongle

Message par Keros »

Ah pardon pour les droits root :oops:

Tu peux avoir les logs dans DomoticZ ou dans le dossier Log du plugin. En voyant les logs, on peut voir des choses dans la séquence de lancement qui peuvent nous donner des indications sur le souci.
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
fredezic
Messages : 6
Inscription : 27 nov. 2022, 23:27

Re: aide sur sonoff zigbee 3.0 dongle

Message par fredezic »

concernant les dépendances, tout a l'air ok

Code : Tout sélectionner

pi@raspberrypi:/usb/media/domoticz/plugins/Domoticz-Zigbee $ sudo pip3 install -r requirements.txt 
Ignoring pyserial-asyncio: markers 'platform_system == "Windows"' don't match your environment
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: aiohttp in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 1)) (3.8.3)
Requirement already satisfied: aiosignal in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 2)) (1.3.1)
Requirement already satisfied: aiosqlite>=0.16.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 3)) (0.17.0)
Requirement already satisfied: async-timeout in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 4)) (4.0.2)
Requirement already satisfied: attrs in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 5)) (22.1.0)
Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 6)) (8.1.3)
Requirement already satisfied: click-log>=0.2.1 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 7)) (0.4.0)
Requirement already satisfied: crccheck in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 8)) (1.3.0)
Requirement already satisfied: coloredlogs in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 9)) (15.0.1)
Requirement already satisfied: jsonschema in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 10)) (4.17.1)
Requirement already satisfied: frozenlist in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 12)) (1.3.3)
Requirement already satisfied: multidict in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 13)) (6.0.2)
Requirement already satisfied: pure-pcapy3 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 14)) (1.0.1)
Requirement already satisfied: pyserial>=3.5 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 15)) (3.5)
Requirement already satisfied: pyserial-asyncio in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 16)) (0.6)
Requirement already satisfied: pyusb>=1.2.1 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 18)) (1.2.1)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 19)) (4.4.0)
Requirement already satisfied: voluptuous in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 20)) (0.13.1)
Requirement already satisfied: yarl in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 21)) (1.8.1)
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from -r requirements.txt (line 22)) (2.6.1)
Requirement already satisfied: dnspython==2.2.1 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 23)) (2.2.1)
concernant les logs du plugin
voici le 1er fichier

Code : Tout sélectionner

pi@raspberrypi:/usb/media/domoticz/plugins/Domoticz-Zigbee/Logs $ sudo cat PluginZigbee_log_error_history.json | jq
{
  "LastLog": 2,
  "0": {
    "LastLog": 5,
    "StartTime": 1669574908,
    "FirmwareVersion": null,
    "FirmwareMajorVersion": null,
    "PluginVersion": "stable6-6.3.006",
    "0": {
      "Time": 1669575028,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[120] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "1": {
      "Time": 1669575038,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[130] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "2": {
      "Time": 1669575048,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[140] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "3": {
      "Time": 1669575058,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[150] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "4": {
      "Time": 1669575068,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[160] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "5": {
      "Time": 1669575069,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[   ] Stopping the plugin and lease do check the Coordinator connectivity.",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    }
  },
  "1": {
    "LastLog": 5,
    "StartTime": 1669583753,
    "FirmwareVersion": null,
    "FirmwareMajorVersion": null,
    "PluginVersion": [
      "stable6-6.3.006"
    ],
    "0": {
      "Time": 1669583873,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[120] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "1": {
      "Time": 1669583883,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[130] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "2": {
      "Time": 1669583893,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[140] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "3": {
      "Time": 1669583903,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[150] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "4": {
      "Time": 1669583913,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[160] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "5": {
      "Time": 1669583914,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[   ] Stopping the plugin and lease do check the Coordinator connectivity.",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    }
  },
  "2": {
    "LastLog": 5,
    "StartTime": 1669589816,
    "FirmwareVersion": null,
    "FirmwareMajorVersion": null,
    "PluginVersion": [
      "stable6-6.3.006"
    ],
    "0": {
      "Time": 1669589936,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[120] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "1": {
      "Time": 1669589946,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[130] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "2": {
      "Time": 1669589956,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[140] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "3": {
      "Time": 1669589966,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[150] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "4": {
      "Time": 1669589976,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[160] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "5": {
      "Time": 1669589977,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[   ] Stopping the plugin and lease do check the Coordinator connectivity.",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    }
  }
}

et voici le 2eme fichier de logs

Code : Tout sélectionner

pi@raspberrypi:/usb/media/domoticz/plugins/Domoticz-Zigbee/Logs $ sudo cat PluginZigbee_02.log
022-11-27 22:56:56,731 INFO    : [     MainThread 0] Zigbee for Domoticz (z4d) plugin stable6-6.3.006 started
2022-11-27 22:56:56,781 INFO    : [     MainThread 0] Plugin Database: DeviceList-2.txt
2022-11-27 22:56:56,789 INFO    : [     MainThread 0] DeviceConf loaded - 22 confs loaded
2022-11-27 22:56:57,074 INFO    : [     MainThread 0] DeviceConf loaded - 369 confs loaded
2022-11-27 22:56:57,074 INFO    : [     MainThread 0] load ListOfDevice
2022-11-27 22:56:57,076 INFO    : [     MainThread 0] 0 Entries loaded from /usb/media/domoticz/plugins/Domoticz-Zigbee/Data/DeviceList-2.txt
2022-11-27 22:56:57,081 INFO    : [     MainThread 0] Transport mode: ZigpyZNP
2022-11-27 22:58:56,088 ERROR   : [       MainThread] [120] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-27 22:59:06,074 ERROR   : [       MainThread] [130] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-27 22:59:16,100 ERROR   : [       MainThread] [140] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-27 22:59:26,078 ERROR   : [       MainThread] [150] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-27 22:59:36,054 ERROR   : [       MainThread] [160] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-27 22:59:37,062 INFO    : [     MainThread 0] Is GC enabled: True
2022-11-27 22:59:37,067 INFO    : [     MainThread 0] DomoticzVersion: 2022.2
2022-11-27 22:59:37,071 INFO    : [     MainThread 0] Parameters[HardwareID] 2
2022-11-27 22:59:37,082 INFO    : [     MainThread 0] Parameters[HomeFolder] /usb/media/domoticz/plugins/Domoticz-Zigbee/
2022-11-27 22:59:37,084 INFO    : [     MainThread 0] Parameters[StartupFolder] /usb/media/domoticz/
2022-11-27 22:59:37,085 INFO    : [     MainThread 0] Parameters[UserDataFolder] /usb/media/domoticz/
2022-11-27 22:59:37,086 INFO    : [     MainThread 0] Parameters[WebRoot] 
2022-11-27 22:59:37,087 INFO    : [     MainThread 0] Parameters[Database] /usb/media/domoticz/domoticz.db
2022-11-27 22:59:37,088 INFO    : [     MainThread 0] Parameters[Language] fr
2022-11-27 22:59:37,089 INFO    : [     MainThread 0] Parameters[Version] 6.3
2022-11-27 22:59:37,091 INFO    : [     MainThread 0] Parameters[Author] pipiche38
2022-11-27 22:59:37,092 INFO    : [     MainThread 0] Parameters[Name] zbGateway
2022-11-27 22:59:37,094 INFO    : [     MainThread 0] Parameters[Address] 0.0.0.0
2022-11-27 22:59:37,095 INFO    : [     MainThread 0] Parameters[Port] 9999
2022-11-27 22:59:37,096 INFO    : [     MainThread 0] Parameters[SerialPort] /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0
2022-11-27 22:59:37,097 INFO    : [     MainThread 0] Parameters[Username] 
2022-11-27 22:59:37,099 INFO    : [     MainThread 0] Parameters[Password] 
2022-11-27 22:59:37,100 INFO    : [     MainThread 0] Parameters[Key] Zigate
2022-11-27 22:59:37,101 INFO    : [     MainThread 0] Parameters[Mode1] ZigpyZNP
2022-11-27 22:59:37,102 INFO    : [     MainThread 0] Parameters[Mode2] USB
2022-11-27 22:59:37,103 INFO    : [     MainThread 0] Parameters[Mode3] True
2022-11-27 22:59:37,104 INFO    : [     MainThread 0] Parameters[Mode4] 9440
2022-11-27 22:59:37,105 INFO    : [     MainThread 0] Parameters[Mode5] http://127.0.0.1:8080
2022-11-27 22:59:37,106 INFO    : [     MainThread 0] Parameters[Mode6] 2
2022-11-27 22:59:37,107 INFO    : [     MainThread 0] Parameters[DomoticzVersion] 2022.2
2022-11-27 22:59:37,108 INFO    : [     MainThread 0] Parameters[DomoticzHash] eea9db734
2022-11-27 22:59:37,109 INFO    : [     MainThread 0] Parameters[DomoticzBuildTime] 2022-11-05 12:05:35
2022-11-27 22:59:37,110 INFO    : [     MainThread 0] Parameters[PluginBranch] stable6
2022-11-27 22:59:37,110 INFO    : [     MainThread 0] Parameters[PluginVersion] 6.3.006
2022-11-27 22:59:37,111 INFO    : [     MainThread 0] Parameters[TimeStamp] 0
2022-11-27 22:59:37,112 INFO    : [     MainThread 0] Parameters[available] None
2022-11-27 22:59:37,113 INFO    : [     MainThread 0] Parameters[available-firmMajor] None
2022-11-27 22:59:37,114 INFO    : [     MainThread 0] Parameters[available-firmMinor] None
2022-11-27 22:59:37,115 INFO    : [     MainThread 0] Parameters[FirmwareVersion] None
2022-11-27 22:59:37,116 INFO    : [     MainThread 0] Parameters[FirmwareUpdate] None
2022-11-27 22:59:37,117 INFO    : [     MainThread 0] Parameters[PluginUpdate] None
2022-11-27 22:59:37,118 INFO    : [     MainThread 0] Parameters[LogLevel] 7
2022-11-27 22:59:37,119 INFO    : [     MainThread 0] Debug: 2
2022-11-27 22:59:37,120 INFO    : [     MainThread 0] Python Version - 3.7.3 (default, Oct 31 2022, 14:04:00) 
[GCC 8.3.0]
2022-11-27 22:59:37,121 INFO    : [     MainThread 0] DomoticzVersion: 2022.2
2022-11-27 22:59:37,122 INFO    : [     MainThread 0] DomoticzHash: eea9db734
2022-11-27 22:59:37,123 INFO    : [     MainThread 0] DomoticzBuildTime: 2022-11-05 12:05:35
2022-11-27 22:59:37,124 INFO    : [     MainThread 0] Startup Folder: /usb/media/domoticz/
2022-11-27 22:59:37,125 INFO    : [     MainThread 0] Home Folder: /usb/media/domoticz/plugins/Domoticz-Zigbee/
2022-11-27 22:59:37,126 INFO    : [     MainThread 0] User Data Folder: /usb/media/domoticz/
2022-11-27 22:59:37,126 INFO    : [     MainThread 0] Web Root Folder: 
2022-11-27 22:59:37,127 INFO    : [     MainThread 0] Database: /usb/media/domoticz/domoticz.db
2022-11-27 22:59:37,128 INFO    : [     MainThread 0] Opening DomoticzDB in raw
2022-11-27 22:59:37,129 INFO    : [     MainThread 0]    - DeviceStatus table
2022-11-27 22:59:37,130 ERROR   : [       MainThread] [   ] Stopping the plugin and lease do check the Coordinator connectivity.
2022-11-27 22:59:37,159 INFO    : [     MainThread 0] onStop called
2022-11-27 22:59:37,160 INFO    : [     MainThread 0] onStop calling (1) domoticzDb DeviceStatus closed
2022-11-27 22:59:37,161 INFO    : [     MainThread 0] onStop calling (3) Transport off
2022-11-27 22:59:37,161 INFO    : [     MainThread 0] onStop calling (4) WebServer off
2022-11-27 22:59:37,162 INFO    : [     MainThread 0] onStop called (4) WebServer off
2022-11-27 22:59:37,163 INFO    : [     MainThread 0] onStop calling (5) Plugin Database saved
2022-11-27 22:59:37,165 INFO    : [     MainThread 0] onStop called (5) Plugin Database saved
2022-11-27 22:59:37,166 INFO    : [     MainThread 0] onStop calling (6) Close Logging Management
ce qui est étonnant c'est que les 2 fichiers de logs sont sous root, alors que tout le reste est avec le user pi
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: aide sur sonoff zigbee 3.0 dongle

Message par Keros »

Maintenant le problème est que ton coordinateur n'est pas reconnu.

Tu as quoi comme SonOff ? Un type E ou P ?
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
fredezic
Messages : 6
Inscription : 27 nov. 2022, 23:27

Re: aide sur sonoff zigbee 3.0 dongle

Message par fredezic »

bonjour,

j'ai fait pas mal de tests depuis 2 jours

quelqu'un avait mis sur le forum (ca a été éditer depuis visiblement) de faire un pip install --update ou quelque chose comme ca, sur le debian 10.13 ce n'est pas une bonne idée car avec la commande en question, l'installation du module cryptography ne fonctionne plus sur le rapsberry, j'ai cherché 2 jours (avec reinstalle complet du rpi avec passage en 11.5 et ca ne marche pas mieux)

je me suis rendu compte qu'avec la version 11.5, l'installation sans le update pose les meme probleme qu'avec le update en 10.13
ce qui pose probleme c'est qu'il faut un compilateur rust pour installer la dernier version de cryptography, et j'ai beau installé un compilateur rust, j'ai toujours la meme erreur

j'ai tout de meme réussi a contourner le problème en forçant la version dans le fichier requirements.txt (j'ai mis cryptography==2.6.1 et ca passe sans compilateur)

avant la derniere remarque de keros, je pensait avoir un sonoff avec un chip Texas instrument
or avec la version 11.5 le lsusb est different, (finalement je pense avoir un silicon labs)

Code : Tout sélectionner

pi@raspberrypi:/usb/media/domoticz/plugins/Domoticz-Zigbee $ sudo lsusb
Bus 001 Device 004: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
donc du coup j'ai reessayé de configurer la clef, j'ai des erreurs mais ca a l'air d'etre mieux

voici le logs domoticz

Code : Tout sélectionner

2022-11-29 20:32:58.719 zbGateway: Worker thread started.
2022-11-29 20:32:58.719 Status: zbGateway: Entering work loop.
2022-11-29 20:32:58.719 Status: zbGateway: Started.
2022-11-29 20:33:03.474 zbGateway: Zigbee for Domoticz plugin started!
2022-11-29 20:33:03.471 Status: zbGateway: Initialized version 6.3, author 'pipiche38'
2022-11-29 20:33:03.474 Status: zbGateway: Checking Python modules /usb/media/domoticz/plugins/Domoticz-Zigbee/requirements.txt
2022-11-29 20:33:04.868 zbGateway: load PluginConf
2022-11-29 20:33:04.873 zbGateway: Installing plugin custom page /usb/media/domoticz/www/templates/zbGateway.html
2022-11-29 20:33:04.873 zbGateway: Starting LoggingManagement thread
2022-11-29 20:33:04.875 zbGateway: start_logging_thread
2022-11-29 20:33:04.876 zbGateway: logging_thread - listening
2022-11-29 20:33:04.704 Status: zbGateway: Checking Python modules /usb/media/domoticz/plugins/Domoticz-Zigbee/requirements.txt
2022-11-29 20:33:04.872 Status: zbGateway: filename set to /usb/media/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-02.json
2022-11-29 20:33:04.872 Status: zbGateway: pluginHome set to /usb/media/domoticz/plugins/Domoticz-Zigbee/
2022-11-29 20:33:04.872 Status: zbGateway: homedirectory set to /usb/media/domoticz/plugins/Domoticz-Zigbee/
2022-11-29 20:33:04.872 Status: zbGateway: pluginData set to /usb/media/domoticz/plugins/Domoticz-Zigbee/Data/
2022-11-29 20:33:04.872 Status: zbGateway: pluginConfig set to /usb/media/domoticz/plugins/Domoticz-Zigbee/Conf/
2022-11-29 20:33:04.872 Status: zbGateway: pluginOTAFirmware set to /usb/media/domoticz/plugins/Domoticz-Zigbee/OTAFirmware/
2022-11-29 20:33:04.872 Status: zbGateway: pluginReports set to /usb/media/domoticz/plugins/Domoticz-Zigbee/Reports/
2022-11-29 20:33:04.872 Status: zbGateway: pluginWWW set to /usb/media/domoticz/plugins/Domoticz-Zigbee/www/
2022-11-29 20:33:04.872 Status: zbGateway: pluginLogs set to /usb/media/domoticz/plugins/Domoticz-Zigbee/Logs/
2022-11-29 20:33:04.876 Status: zbGateway: Please watch plugin log into /usb/media/domoticz/plugins/Domoticz-Zigbee/Logs//PluginZigbee_02.log
2022-11-29 20:33:04.879 Status: zbGateway: Log history not found, no error logged
2022-11-29 20:33:04.890 Status: zbGateway: Zigbee for Domoticz (z4d) plugin stable6-6.3.006 started
2022-11-29 20:33:04.901 Status: Incoming connection from: 127.0.0.1
2022-11-29 20:33:04.931 Status: zbGateway: DeviceConf loaded - 22 confs loaded
2022-11-29 20:33:05.241 Status: zbGateway: DeviceConf loaded - 369 confs loaded
2022-11-29 20:33:05.242 Status: zbGateway: load ListOfDevice
2022-11-29 20:33:05.243 Status: zbGateway: Transport mode: ZigpyEZSP
2022-11-29 20:33:08.109 Status: zbGateway: Start Zigpy Transport on EZSP
2022-11-29 20:33:08.116 Status: zbGateway: ZigpyTransport: thread_processing_and_sending Thread start.
2022-11-29 20:33:08.117 Status: zbGateway: Start Web Server connection
2022-11-29 20:33:08.183 Status: zbGateway: Web backend for Web User Interface started on port: 9440
2022-11-29 20:33:08.184 Status: zbGateway: Domoticz Widgets usage is at 1.2 % (252 units free)
2022-11-29 20:33:09.253 Status: zbGateway: Started radio ezsp port: /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0
2022-11-29 20:33:09.254 Status: zbGateway: Coordinator initialisation requested Channel 0(0x00) ExtendedPanId: 0x0000000000000000
2022-11-29 20:33:14.318 Status: zbGateway: Assuming new network formed
2022-11-29 20:33:14.320 Status: zbGateway: Network settings
2022-11-29 20:33:14.323 Status: zbGateway: Channel: 0
2022-11-29 20:33:14.325 Status: zbGateway: PAN ID: 0xFFFE
2022-11-29 20:33:14.328 Status: zbGateway: Extended PAN ID: ff:ff:ff:ff:ff:ff:ff:ff
2022-11-29 20:33:14.333 Status: zbGateway: Device IEEE: ff:ff:ff:ff:ff:ff:ff:ff
2022-11-29 20:33:14.335 Status: zbGateway: Device NWK: 0xFFFE
2022-11-29 20:33:14.304 Error: zbGateway: Error at startup 'NoneType' object has no attribute 'networkState'
2022-11-29 20:33:14.338 Error: zbGateway: Zigate not correctly initialized
2022-11-29 20:34:17.079 Error: zbGateway: [ 70] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-29 20:34:27.109 Error: zbGateway: [ 80] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-29 20:34:37.084 Error: zbGateway: [ 90] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-29 20:34:47.109 Error: zbGateway: [100] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-29 20:34:57.084 Error: zbGateway: [110] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-29 20:35:07.060 Error: zbGateway: [120] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-29 20:35:08.121 zbGateway: URL INFOS {'type': 'command', 'param': 'updatehardware', 'htype': '94', 'idx': 2, 'name': 'zbGateway', 'address': '0.0.0.0', 'port': '9999', 'serialport': '/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0', 'Mode1': 'ZigpyEZSP', 'Mode2': 'USB', 'Mode3': 'False', 'Mode4': '9440', 'Mode5': 'http://127.0.0.1:8080', 'Mode6': '2', 'extra': 'Zigate', 'enabled': 'false', 'datatimeout': '0', 'loglevel': 7}
2022-11-29 20:35:08.265 zbGateway: onStop()
2022-11-29 20:35:08.278 zbGateway: logging_thread - ended
2022-11-29 20:35:08.280 zbGateway: Logging Thread shutdown
2022-11-29 20:35:08.280 zbGateway: onStop called (6) Close Logging Management
2022-11-29 20:35:08.124 Status: zbGateway: Plugin Restart command : http://127.0.0.1:8080/json.htm?type=command&param=updatehardware&htype=94&idx=2&name=zbGateway&address=0.0.0.0&port=9999&serialport=%2Fdev%2Fserial%2Fby-id%2Fusb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0&Mode1=ZigpyEZSP&Mode2=USB&Mode3=False&Mode4=9440&Mode5=http%3A%2F%2F127.0.0.1%3A8080&Mode6=2&extra=Zigate&enabled=false&datatimeout=0&loglevel=7
2022-11-29 20:35:08.265 Status: zbGateway: Stop directive received.
2022-11-29 20:35:08.271 Status: zbGateway: Shuting down co-routine
2022-11-29 20:35:08.272 Status: zbGateway: ZigpyTransport: thread_processing_and_sending Thread stop.
2022-11-29 20:35:08.676 Status: zbGateway: Exiting work loop.
2022-11-29 20:35:08.765 Status: zbGateway: Stopping threads.
2022-11-29 20:35:08.765 Status: zbGateway: Stopped.
2022-11-29 20:35:08.179 Error: zbGateway: [ ] Stopping the plugin and lease do check the Coordinator connectivity.

voici les logs du plugin

Code : Tout sélectionner

pi@raspberrypi:/usb/media/domoticz/plugins/Domoticz-Zigbee/Logs $ sudo cat PluginZigbee_02.log 
2022-11-29 20:33:04,885 INFO    : [  MainThread 2473] Zigbee for Domoticz (z4d) plugin stable6-6.3.006 started
2022-11-29 20:33:04,921 INFO    : [  MainThread 2473] Plugin Database: DeviceList-2.txt
2022-11-29 20:33:04,931 INFO    : [  MainThread 2473] DeviceConf loaded - 22 confs loaded
2022-11-29 20:33:05,240 INFO    : [  MainThread 2473] DeviceConf loaded - 369 confs loaded
2022-11-29 20:33:05,241 INFO    : [  MainThread 2473] load ListOfDevice
2022-11-29 20:33:05,243 INFO    : [  MainThread 2473] Transport mode: ZigpyEZSP
2022-11-29 20:33:08,107 INFO    : [  MainThread 2473] Start Zigpy Transport on EZSP
2022-11-29 20:33:08,108 DEBUG   :Using selector: EpollSelector
2022-11-29 20:33:08,109 INFO    : [  MainThread 2473] ZigpyTransport __init__
2022-11-29 20:33:08,116 INFO    : [ZigpyForwarder_2 2477] ZigpyTransport: thread_processing_and_sending Thread start.
2022-11-29 20:33:08,117 INFO    : [  MainThread 2473] Start Web Server connection
2022-11-29 20:33:08,183 INFO    : [  MainThread 2473] Web backend for Web User Interface started on port: 9440
2022-11-29 20:33:08,184 INFO    : [  MainThread 2473] Domoticz Widgets usage is at 1.2 % (252 units free)
2022-11-29 20:33:09,252 INFO    : [  ZigpyCom_2 2476] Started radio ezsp port: /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0
2022-11-29 20:33:09,253 INFO    : [  ZigpyCom_2 2476] Coordinator initialisation requested  Channel 0(0x00) ExtendedPanId: 0x0000000000000000
2022-11-29 20:33:09,253 DEBUG   :Using selector: EpollSelector
2022-11-29 20:33:14,275 ERROR   :Couldn't start application
Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usb/media/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/AppBellows.py", line 55, in startup
    await self.connect()
  File "/usb/media/domoticz/plugins/Domoticz-Zigbee/bellows/zigbee/application.py", line 124, in connect
    self._ezsp = await bellows.ezsp.EZSP.initialize(self.config)
  File "/usb/media/domoticz/plugins/Domoticz-Zigbee/bellows/ezsp/__init__.py", line 104, in initialize
    await ezsp._startup_reset()
  File "/usb/media/domoticz/plugins/Domoticz-Zigbee/bellows/ezsp/__init__.py", line 95, in _startup_reset
    await self.reset()
  File "/usb/media/domoticz/plugins/Domoticz-Zigbee/bellows/ezsp/__init__.py", line 124, in reset
    await self._gw.reset()
  File "/usb/media/domoticz/plugins/Domoticz-Zigbee/bellows/uart.py", line 244, in reset
    return await asyncio.wait_for(self._reset_future, timeout=RESET_TIMEOUT)
  File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
2022-11-29 20:33:14,304 ERROR   : [       ZigpyCom_2] Error at startup 'NoneType' object has no attribute 'networkState'
2022-11-29 20:33:14,316 INFO    : [  ZigpyCom_2 2476] Assuming new network formed
2022-11-29 20:33:14,318 INFO    : [  ZigpyCom_2 2476] Network settings
2022-11-29 20:33:14,321 INFO    : [  ZigpyCom_2 2476]   Channel: 0
2022-11-29 20:33:14,323 INFO    : [  ZigpyCom_2 2476]   PAN ID: 0xFFFE
2022-11-29 20:33:14,325 INFO    : [  ZigpyCom_2 2476]   Extended PAN ID: ff:ff:ff:ff:ff:ff:ff:ff
2022-11-29 20:33:14,329 INFO    : [  ZigpyCom_2 2476]   Device IEEE: ff:ff:ff:ff:ff:ff:ff:ff
2022-11-29 20:33:14,334 INFO    : [  ZigpyCom_2 2476]   Device NWK: 0xFFFE
2022-11-29 20:33:14,338 ERROR   : [ ZigpyForwarder_2] Zigate not correctly initialized
2022-11-29 20:34:17,079 ERROR   : [       MainThread] [ 70] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-29 20:34:27,109 ERROR   : [       MainThread] [ 80] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-29 20:34:37,084 ERROR   : [       MainThread] [ 90] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-29 20:34:47,109 ERROR   : [       MainThread] [100] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-29 20:34:57,084 ERROR   : [       MainThread] [110] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-29 20:35:07,060 ERROR   : [       MainThread] [120] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-29 20:35:08,121 INFO    : [  MainThread 2473] Is GC enabled: True
2022-11-29 20:35:08,124 INFO    : [  MainThread 2473] DomoticzVersion: 2022.2
2022-11-29 20:35:08,126 INFO    : [  MainThread 2473] Parameters[HardwareID] 2
2022-11-29 20:35:08,127 INFO    : [  MainThread 2473] Parameters[HomeFolder] /usb/media/domoticz/plugins/Domoticz-Zigbee/
2022-11-29 20:35:08,129 INFO    : [  MainThread 2473] Parameters[StartupFolder] /usb/media/domoticz/
2022-11-29 20:35:08,130 INFO    : [  MainThread 2473] Parameters[UserDataFolder] /usb/media/domoticz/
2022-11-29 20:35:08,132 INFO    : [  MainThread 2473] Parameters[WebRoot] 
2022-11-29 20:35:08,133 INFO    : [  MainThread 2473] Parameters[Database] /usb/media/domoticz/domoticz.db
2022-11-29 20:35:08,134 INFO    : [  MainThread 2473] Parameters[Language] en
2022-11-29 20:35:08,136 INFO    : [  MainThread 2473] Parameters[Version] 6.3
2022-11-29 20:35:08,137 INFO    : [  MainThread 2473] Parameters[Author] pipiche38
2022-11-29 20:35:08,138 INFO    : [  MainThread 2473] Parameters[Name] zbGateway
2022-11-29 20:35:08,140 INFO    : [  MainThread 2473] Parameters[Address] 0.0.0.0
2022-11-29 20:35:08,141 INFO    : [  MainThread 2473] Parameters[Port] 9999
2022-11-29 20:35:08,142 INFO    : [  MainThread 2473] Parameters[SerialPort] /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0
2022-11-29 20:35:08,143 INFO    : [  MainThread 2473] Parameters[Username] 
2022-11-29 20:35:08,144 INFO    : [  MainThread 2473] Parameters[Password] 
2022-11-29 20:35:08,145 INFO    : [  MainThread 2473] Parameters[Key] Zigate
2022-11-29 20:35:08,146 INFO    : [  MainThread 2473] Parameters[Mode1] ZigpyEZSP
2022-11-29 20:35:08,147 INFO    : [  MainThread 2473] Parameters[Mode2] USB
2022-11-29 20:35:08,148 INFO    : [  MainThread 2473] Parameters[Mode3] True
2022-11-29 20:35:08,149 INFO    : [  MainThread 2473] Parameters[Mode4] 9440
2022-11-29 20:35:08,150 INFO    : [  MainThread 2473] Parameters[Mode5] http://127.0.0.1:8080
2022-11-29 20:35:08,151 INFO    : [  MainThread 2473] Parameters[Mode6] 2
2022-11-29 20:35:08,152 INFO    : [  MainThread 2473] Parameters[DomoticzVersion] 2022.2
2022-11-29 20:35:08,153 INFO    : [  MainThread 2473] Parameters[DomoticzHash] eea9db734
2022-11-29 20:35:08,154 INFO    : [  MainThread 2473] Parameters[DomoticzBuildTime] 2022-11-05 12:05:35
2022-11-29 20:35:08,155 INFO    : [  MainThread 2473] Parameters[PluginBranch] stable6
2022-11-29 20:35:08,156 INFO    : [  MainThread 2473] Parameters[PluginVersion] 6.3.006
2022-11-29 20:35:08,157 INFO    : [  MainThread 2473] Parameters[TimeStamp] 0
2022-11-29 20:35:08,158 INFO    : [  MainThread 2473] Parameters[available] None
2022-11-29 20:35:08,159 INFO    : [  MainThread 2473] Parameters[available-firmMajor] None
2022-11-29 20:35:08,160 INFO    : [  MainThread 2473] Parameters[available-firmMinor] None
2022-11-29 20:35:08,161 INFO    : [  MainThread 2473] Parameters[FirmwareVersion] None
2022-11-29 20:35:08,162 INFO    : [  MainThread 2473] Parameters[FirmwareUpdate] None
2022-11-29 20:35:08,163 INFO    : [  MainThread 2473] Parameters[PluginUpdate] None
2022-11-29 20:35:08,164 INFO    : [  MainThread 2473] Parameters[LogLevel] 7
2022-11-29 20:35:08,165 INFO    : [  MainThread 2473] Parameters[Zigpy] True
2022-11-29 20:35:08,166 INFO    : [  MainThread 2473] Parameters[CoordinatorIEEE] ffffffffffffffff
2022-11-29 20:35:08,167 INFO    : [  MainThread 2473] Debug: 2
2022-11-29 20:35:08,167 INFO    : [  MainThread 2473] Python Version - 3.9.2 (default, Mar 12 2021, 04:06:34) 
[GCC 10.2.1 20210110]
2022-11-29 20:35:08,169 INFO    : [  MainThread 2473] DomoticzVersion: 2022.2
2022-11-29 20:35:08,170 INFO    : [  MainThread 2473] DomoticzHash: eea9db734
2022-11-29 20:35:08,171 INFO    : [  MainThread 2473] DomoticzBuildTime: 2022-11-05 12:05:35
2022-11-29 20:35:08,172 INFO    : [  MainThread 2473] Startup Folder: /usb/media/domoticz/
2022-11-29 20:35:08,173 INFO    : [  MainThread 2473] Home Folder: /usb/media/domoticz/plugins/Domoticz-Zigbee/
2022-11-29 20:35:08,174 INFO    : [  MainThread 2473] User Data Folder: /usb/media/domoticz/
2022-11-29 20:35:08,175 INFO    : [  MainThread 2473] Web Root Folder: 
2022-11-29 20:35:08,176 INFO    : [  MainThread 2473] Database: /usb/media/domoticz/domoticz.db
2022-11-29 20:35:08,177 INFO    : [  MainThread 2473] Opening DomoticzDB in raw
2022-11-29 20:35:08,178 INFO    : [  MainThread 2473]    - DeviceStatus table
2022-11-29 20:35:08,179 ERROR   : [       MainThread] [   ] Stopping the plugin and lease do check the Coordinator connectivity.
2022-11-29 20:35:08,266 INFO    : [  MainThread 2473] onDisconnect - Closing Name: 'Zigate Server Connection', Transport: 'TCP/IP', Protocol: 'HTTP', Address: '', Port: '9440', Baud: -1, Timeout: 0, Connected: False, Parent: 'None'
2022-11-29 20:35:08,268 INFO    : [  MainThread 2473] onStop called
2022-11-29 20:35:08,269 INFO    : [  MainThread 2473] onStop calling (1) domoticzDb DeviceStatus closed
2022-11-29 20:35:08,270 INFO    : [  MainThread 2473] onStop calling (3) Transport off
2022-11-29 20:35:08,270 INFO    : [  MainThread 2473] Shuting down co-routine
2022-11-29 20:35:08,271 INFO    : [ZigpyForwarder_2 2477] ZigpyTransport: thread_processing_and_sending Thread stop.
2022-11-29 20:35:08,272 INFO    : [  MainThread 2473] onStop calling (4) WebServer off
2022-11-29 20:35:08,273 INFO    : [  MainThread 2473] onStop called (4) WebServer off
2022-11-29 20:35:08,274 INFO    : [  MainThread 2473] onStop calling (5) Plugin Database saved
2022-11-29 20:35:08,276 INFO    : [  MainThread 2473] onStop called (5) Plugin Database saved
2022-11-29 20:35:08,277 INFO    : [  MainThread 2473] onStop calling (6) Close Logging Management

Code : Tout sélectionner

pi@raspberrypi:/usb/media/domoticz/plugins/Domoticz-Zigbee/Logs $ sudo cat PluginZigbee_log_error_history.json | jq
{
  "LastLog": 0,
  "0": {
    "LastLog": 8,
    "StartTime": 1669753984,
    "FirmwareVersion": null,
    "FirmwareMajorVersion": null,
    "PluginVersion": "stable6-6.3.006",
    "0": {
      "Time": 1669753994,
      "Module": "TransportZigpy",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "Error at startup 'NoneType' object has no attribute 'networkState'",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "ZigpyCom_2"
    },
    "1": {
      "Time": 1669753994,
      "Module": "Input",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "Zigate not correctly initialized",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "ZigpyForwarder_2"
    },
    "2": {
      "Time": 1669754057,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[ 70] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "3": {
      "Time": 1669754067,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[ 80] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "4": {
      "Time": 1669754077,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[ 90] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "5": {
      "Time": 1669754087,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[100] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "6": {
      "Time": 1669754097,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[110] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "7": {
      "Time": 1669754107,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[120] I have hard time to get Coordinator Version. Mostlikly there is a communication issue",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    },
    "8": {
      "Time": 1669754108,
      "Module": "Plugin",
      "nwkid": "None",
      "PluginHealth": "Startup",
      "message": "[   ] Stopping the plugin and lease do check the Coordinator connectivity.",
      "PermitToJoin": {
        "Duration": 0,
        "Starttime": 0
      },
      "Thread": "MainThread"
    }
  }
}
si vous avez une idée?
Deufo
Messages : 280
Inscription : 26 févr. 2019, 16:25

Re: aide sur sonoff zigbee 3.0 dongle

Message par Deufo »

Bonsoir,
Silicon labs est un grand fabriquant de composant électronique, il fabrique des puces Zigbee mais aussi des UARTs.
En l'occurence, ici, le Silicon Labs affiché correspond à la puce USB vers série, on en revient donc à la question précédente de Keros :
Keros a écrit : 28 nov. 2022, 21:59 Tu as quoi comme SonOff ? Un type E ou P ?
Il faut regarder sur le boitier ce qu'il y a d'écrit.

Par ailleurs, ne pas hésiter à éloigner la clé du rpi en utilisant une rallonge, c'est fortement recommandé !
fredezic
Messages : 6
Inscription : 27 nov. 2022, 23:27

Re: aide sur sonoff zigbee 3.0 dongle

Message par fredezic »

sur la clef c'est ecrit zigBee 3.0 USB Dongle Plus
coté model c'est ecrit ZBDongle-P

donc je dirais le model P
Répondre