[Résolu] SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
Aile
Messages : 157
Inscription : 27 janv. 2022, 12:18

Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10

Message par Aile »

Ok. Je pense qu'on peut donc considérer que le plugin ne marche pas sous Windows 10 :?...
NUC Celeron 1037U / Win 10 Pro
  • EcoCompteur Legrand
  • RFLink Nodo : capteurs T° Alecto / capteurs présence EV1527
  • Clef Sonoff Zigbee 3.0 : capteurs T° Sonoff / capteurs présence Lidl / Détecteurs fumée Heiman
  • BroadLink : pilotage clim
  • Shelly 1
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10

Message par pipiche »

Ça je ne suis pas d’accord,
1) parce que je l’ai fait fonctionner pour rédiger la doc
2) car il y a un utilisateur au moins pour qui ça fonctionne puisque c’est pour ça que je me suis pris par la main pour la doc


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
Aile
Messages : 157
Inscription : 27 janv. 2022, 12:18

Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10

Message par Aile »

Tu l'as fait fonctionner sous Windows avec une clef Sonoff, ou bien avec un autre modèle de clef ?
Parce que le Wiki fait référence à une clef Zigate.
NUC Celeron 1037U / Win 10 Pro
  • EcoCompteur Legrand
  • RFLink Nodo : capteurs T° Alecto / capteurs présence EV1527
  • Clef Sonoff Zigbee 3.0 : capteurs T° Sonoff / capteurs présence Lidl / Détecteurs fumée Heiman
  • BroadLink : pilotage clim
  • Shelly 1
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10

Message par pipiche »

Ton problème n’est pas la clef si j’ai bien compris. Ton problème se heurte à l’installation des modules additionnels

https://zigbeefordomoticz.github.io/wik ... ndows.html


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
Aile
Messages : 157
Inscription : 27 janv. 2022, 12:18

Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10

Message par Aile »

Avec la version Python 3.6, je confirme que je n'ai plus l'erreur sur aiohttp, mais il reste ce message :

Code : Tout sélectionner

2022-07-09 21:47:08.705 Error: Zigbee Sonoff: Missing serial or dns modules. https://github.com/zigbeefordomoticz/wiki/blob/zigpy/en-eng/missing-modules.md#make-sure-that-you-have-correctly-installed-the-plugin
Toujours pas d'accès à l'interface web Z4D...

J'ai pourtant suivi la procédure dans ce cas en faisant :

Code : Tout sélectionner

git config --add submodule.recurse true
git submodule update --init --recursive
pip3 install voluptuous pycryptodome aiosqlite crccheck pyusb attrs aiohttp pyserial-asyncio
NUC Celeron 1037U / Win 10 Pro
  • EcoCompteur Legrand
  • RFLink Nodo : capteurs T° Alecto / capteurs présence EV1527
  • Clef Sonoff Zigbee 3.0 : capteurs T° Sonoff / capteurs présence Lidl / Détecteurs fumée Heiman
  • BroadLink : pilotage clim
  • Shelly 1
Aile
Messages : 157
Inscription : 27 janv. 2022, 12:18

Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10

Message par Aile »

Après avoir lancé le batch symlink.bat, les messages d'erreur changent :

Code : Tout sélectionner

2022-07-09 22:23:03.772 Status: Zigbee Sonoff: Started.
2022-07-09 22:23:03.772 Status: Zigbee Sonoff: Entering work loop.
2022-07-09 22:23:07.553 Zigbee Sonoff: Zigbee for Domoticz plugin started!
2022-07-09 22:23:07.553 Status: Zigbee Sonoff: Initialized version 6.2, author 'pipiche38'
2022-07-09 22:23:07.553 Status: Zigbee Sonoff: Checking Python modules C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\requirements.txt
2022-07-09 22:23:07.265 Error: CPlugin:PyDomoticz_Error, illegal operation, Plugin has not started yet.
2022-07-09 22:23:08.735 Zigbee Sonoff: load PluginConf
2022-07-09 22:23:08.736 Zigbee Sonoff: is_domoticz_db_available: Fashion: True , Major: 2022, Minor: 1
2022-07-09 22:23:08.736 Zigbee Sonoff: is_domoticz_db_available: True
2022-07-09 22:23:08.737 Zigbee Sonoff: C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Conf/PluginConf-05.json timestamp is 1657302022.358091
2022-07-09 22:23:08.737 Zigbee Sonoff: Dz PluginConf is older than Json Dz: 0 Json: 1657302022.358091
2022-07-09 22:23:08.745 Zigbee Sonoff: is_domoticz_db_available: Fashion: True , Major: 2022, Minor: 1
2022-07-09 22:23:08.746 Zigbee Sonoff: is_domoticz_db_available: True
2022-07-09 22:23:08.748 Zigbee Sonoff: Installing plugin custom page C:\Program Files (x86)\Domoticz\www/templates/Zigbee Sonoff.html
2022-07-09 22:23:08.749 Zigbee Sonoff: Starting LoggingManagement thread
2022-07-09 22:23:08.750 Zigbee Sonoff: start_logging_thread
2022-07-09 22:23:08.751 Zigbee Sonoff: logging_thread - listening
2022-07-09 22:23:08.747 Status: Zigbee Sonoff: filename set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Conf/PluginConf-05.json
2022-07-09 22:23:08.747 Status: Zigbee Sonoff: pluginHome set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\
2022-07-09 22:23:08.747 Status: Zigbee Sonoff: homedirectory set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\
2022-07-09 22:23:08.747 Status: Zigbee Sonoff: pluginData set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Data/
2022-07-09 22:23:08.747 Status: Zigbee Sonoff: pluginConfig set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Conf/
2022-07-09 22:23:08.747 Status: Zigbee Sonoff: pluginOTAFirmware set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\OTAFirmware/
2022-07-09 22:23:08.747 Status: Zigbee Sonoff: pluginReports set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Reports/
2022-07-09 22:23:08.748 Status: Zigbee Sonoff: pluginWWW set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\www/
2022-07-09 22:23:08.748 Status: Zigbee Sonoff: pluginLogs set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Logs/
2022-07-09 22:23:08.751 Status: Zigbee Sonoff: Please watch plugin log into C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Logs//PluginZigbee_05.log
2022-07-09 22:23:08.767 Status: Zigbee Sonoff: Zigate plugin stable6-6.1.005 started
2022-07-09 22:23:08.794 Status: Zigbee Sonoff: DeviceConf loaded - 22 confs loaded
2022-07-09 22:23:11.537 Zigbee Sonoff: is_domoticz_db_available: Fashion: True , Major: 2022, Minor: 1
2022-07-09 22:23:11.537 Zigbee Sonoff: is_domoticz_db_available: True
2022-07-09 22:23:11.553 Zigbee Sonoff: is_domoticz_db_available: Fashion: True , Major: 2022, Minor: 1
2022-07-09 22:23:11.584 Zigbee Sonoff: is_domoticz_db_available: True
2022-07-09 22:23:11.537 Status: Zigbee Sonoff: DeviceConf loaded - 344 confs loaded
2022-07-09 22:23:11.537 Status: Zigbee Sonoff: load ListOfDevice
2022-07-09 22:23:11.584 Status: Zigbee Sonoff: 0 Entries loaded from C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Data/DeviceList-5.txt
2022-07-09 22:23:11.584 Status: Zigbee Sonoff: Transport mode: ZigpyZNP
2022-07-09 22:23:11.662 Error: Zigbee Sonoff: 'onStart' failed 'ModuleNotFoundError':'No module named 'zigpy.application''.
2022-07-09 22:23:11.662 Error: Zigbee Sonoff: Exception traceback:
2022-07-09 22:23:11.662 Error: Zigbee Sonoff: ----> Line 1738 in 'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\plugin.py'
2022-07-09 22:23:11.662 Error: Zigbee Sonoff: ----> Line 617 in 'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\plugin.py'
2022-07-09 22:23:11.662 Error: Zigbee Sonoff: ----> Line 11 in 'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Classes\ZigpyTransport\Transport.py'
2022-07-09 22:23:22.975 RF Link: Temp + Humidity (Chambre)
2022-07-09 22:23:28.053 RF Link: Temp + Humidity (Séjour)
2022-07-09 22:25:12.081 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:13.050 RF Link: Temp + Humidity (Séjour)
2022-07-09 22:25:14.129 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:15.064 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:16.096 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:17.068 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:18.084 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:19.084 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:20.147 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:20.131 Error: Zigbee Sonoff: [ ] Stop the plugin and check the Coordinator connectivity.
2022-07-09 22:25:20.147 Error: Zigbee Sonoff: [130] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-07-09 22:25:21.084 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:22.084 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:23.083 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:24.074 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:25.116 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:26.084 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:27.069 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:28.098 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:29.083 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:30.106 Zigbee Sonoff: Unable to restart the plugin, /usr/bin/curl not available
2022-07-09 22:25:30.098 Error: Zigbee Sonoff: [ ] Stop the plugin and check the Coordinator connectivity.
Apparemment, la ligne importante est

Code : Tout sélectionner

2022-07-09 22:23:11.662 Error: Zigbee Sonoff: 'onStart' failed 'ModuleNotFoundError':'No module named 'zigpy.application''.
Comment installer zigpy.application ?
NUC Celeron 1037U / Win 10 Pro
  • EcoCompteur Legrand
  • RFLink Nodo : capteurs T° Alecto / capteurs présence EV1527
  • Clef Sonoff Zigbee 3.0 : capteurs T° Sonoff / capteurs présence Lidl / Détecteurs fumée Heiman
  • BroadLink : pilotage clim
  • Shelly 1
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10

Message par Keros »

La librairie zigpy est normalement incluse via les submodules du plugin. Cela se met en place avec la commande git submodule update --init --recursive.
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
Aile
Messages : 157
Inscription : 27 janv. 2022, 12:18

Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10

Message par Aile »

J'ai bien lancé cette commande en mode administrateur, sans aucun message d'erreur, J'ai relancé le plugin, et toujours le même problème (No module named 'zigpy.application) :

Code : Tout sélectionner

2022-07-10 09:32:47.101 Status: Zigbee Sonoff: Entering work loop.
2022-07-10 09:32:50.773 Status: Zigbee Sonoff: Initialized version 6.2, author 'pipiche38'
2022-07-10 09:32:50.773 Status: Zigbee Sonoff: Checking Python modules C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\requirements.txt
2022-07-10 09:32:50.495 Error: CPlugin:PyDomoticz_Error, illegal operation, Plugin has not started yet.
2022-07-10 09:32:51.747 Zigbee Sonoff: start_logging_thread
2022-07-10 09:32:51.748 Zigbee Sonoff: logging_thread - listening
2022-07-10 09:32:51.744 Status: Zigbee Sonoff: filename set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Conf/PluginConf-05.json
2022-07-10 09:32:51.744 Status: Zigbee Sonoff: pluginHome set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\
2022-07-10 09:32:51.744 Status: Zigbee Sonoff: homedirectory set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\
2022-07-10 09:32:51.744 Status: Zigbee Sonoff: pluginData set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Data/
2022-07-10 09:32:51.744 Status: Zigbee Sonoff: pluginConfig set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Conf/
2022-07-10 09:32:51.745 Status: Zigbee Sonoff: pluginOTAFirmware set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\OTAFirmware/
2022-07-10 09:32:51.745 Status: Zigbee Sonoff: pluginReports set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Reports/
2022-07-10 09:32:51.745 Status: Zigbee Sonoff: pluginWWW set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\www/
2022-07-10 09:32:51.745 Status: Zigbee Sonoff: pluginLogs set to C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Logs/
2022-07-10 09:32:51.748 Status: Zigbee Sonoff: Please watch plugin log into C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Logs//PluginZigbee_05.log
2022-07-10 09:32:51.763 Status: Zigbee Sonoff: Zigate plugin stable6-6.1.005 started
2022-07-10 09:32:51.791 Status: Zigbee Sonoff: DeviceConf loaded - 22 confs loaded
2022-07-10 09:32:55.476 Zigbee Sonoff: is_domoticz_db_available: Fashion: True , Major: 2022, Minor: 1
2022-07-10 09:32:55.476 Zigbee Sonoff: is_domoticz_db_available: True
2022-07-10 09:32:55.491 Zigbee Sonoff: is_domoticz_db_available: Fashion: True , Major: 2022, Minor: 1
2022-07-10 09:32:55.522 Zigbee Sonoff: is_domoticz_db_available: True
2022-07-10 09:32:55.476 Status: Zigbee Sonoff: DeviceConf loaded - 344 confs loaded
2022-07-10 09:32:55.476 Status: Zigbee Sonoff: load ListOfDevice
2022-07-10 09:32:55.507 Status: Zigbee Sonoff: 0 Entries loaded from C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Data/DeviceList-5.txt
2022-07-10 09:32:55.538 Status: Zigbee Sonoff: Transport mode: ZigpyZNP
2022-07-10 09:32:55.616 Error: Zigbee Sonoff: 'onStart' failed 'ModuleNotFoundError':'No module named 'zigpy.application''.
2022-07-10 09:32:55.616 Error: Zigbee Sonoff: Exception traceback:
2022-07-10 09:32:55.616 Error: Zigbee Sonoff: ----> Line 1738 in 'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\plugin.py'
2022-07-10 09:32:55.616 Error: Zigbee Sonoff: ----> Line 617 in 'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\plugin.py'
2022-07-10 09:32:55.616 Error: Zigbee Sonoff: ----> Line 11 in 'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee\Classes\ZigpyTransport\Transport.py'
NUC Celeron 1037U / Win 10 Pro
  • EcoCompteur Legrand
  • RFLink Nodo : capteurs T° Alecto / capteurs présence EV1527
  • Clef Sonoff Zigbee 3.0 : capteurs T° Sonoff / capteurs présence Lidl / Détecteurs fumée Heiman
  • BroadLink : pilotage clim
  • Shelly 1
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10

Message par pipiche »

peux-tu montrer la structure de ton file system , la liste des fichiers et directory ainsi que les liens à partir de Domoticz-Zigbee

IL faut à minima python3.7 pour zigpy, donc python3.6 ce n'est pas bon.
Aile
Messages : 157
Inscription : 27 janv. 2022, 12:18

Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10

Message par Aile »

Ok. Je remets la 3.8.10.
J'avais vu dans le wiki que tu avais installé la 3.5 :
Pour avoir testé plusieurs versions avec échec et succès, j’ai finalement opté pour conserver la version 3.5.2 (mentionnée dans le wiki DomoticZ) qui a fonctionné correctement et j’ai supprimé toutes les autres .
Il faudrait sans doute retirer cette phrase ?
NUC Celeron 1037U / Win 10 Pro
  • EcoCompteur Legrand
  • RFLink Nodo : capteurs T° Alecto / capteurs présence EV1527
  • Clef Sonoff Zigbee 3.0 : capteurs T° Sonoff / capteurs présence Lidl / Détecteurs fumée Heiman
  • BroadLink : pilotage clim
  • Shelly 1
Répondre