Page 6 sur 10
Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10
Publié : 08 juil. 2022, 21:50
par Aile
J'ai bien autorisé la création de devices dans Domoticz, mais ça n'a rien donné.
Le coordinateur est bien réglé sur Texas Instruments.
J'ai ce message dans le log
Code : Tout sélectionner
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
Mais le lien
https://github.com/zigbeefordomoticz/wi ... the-plugin est mort...
J'ignore comment résoudre l'erreur "Missing serial or dns modules".
Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10
Publié : 08 juil. 2022, 22:44
par Keros
Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10
Publié : 08 juil. 2022, 22:52
par Aile
Je viens de le trouver, mais j'ai un message d'erreur :
Code : Tout sélectionner
Skipping optional fixer: ws_comma
running build_ext
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Random.OSRNG.winrandom' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\program files (x86)\python36-32\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Laurent\\AppData\\Local\\Temp\\pip-install-6to8r976\\pycrypto_f8c6a8482ee642c2b7c195153365b8a3\\setup.py'"'"'; __file__='"'"'C:\\Users\\Laurent\\AppData\\Local\\Temp\\pip-install-6to8r976\\pycrypto_f8c6a8482ee642c2b7c195153365b8a3\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Laurent\AppData\Local\Temp\pip-record-dkncrmpg\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\program files (x86)\python36-32\Include\pycrypto' Check the logs for full command output.
Il semble qu'il faille installer VS VC++ 14.00.
Je tente le coup...
Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10
Publié : 09 juil. 2022, 00:01
par Aile
Bon... Impossible d'installer pycrypto. Je laisse tomber pour aujourd'hui

Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10
Publié : 09 juil. 2022, 09:44
par pipiche
C’est étrange ton truc. Peut-être une veille version de python3 ?
Ça devrait être quasi standard
Envoyé de mon iPhone en utilisant Tapatalk
Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10
Publié : 09 juil. 2022, 10:02
par Aile
Je ne sais pas si tu te rappelles, mais j'avais réussi à enlever les erreurs dans requirements.txt en installant la version 3.3.6 de Python.
Maintenant que j'ai la clef, je peux tenter de mettre une version plus récente ?
Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10
Publié : 09 juil. 2022, 10:20
par pipiche
Il faut à minima Python3.4 pour DomoticZ, donc oui tu peux mettre à jour jusqu’à 3.8 je crois
Envoyé de mon iPhone en utilisant Tapatalk
Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10
Publié : 09 juil. 2022, 10:31
par pipiche
Du reste pour zigpy il me semble qu’il faut 3.7 ou 3.8 donc oui installé 3.8
Envoyé de mon iPhone en utilisant Tapatalk
Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10
Publié : 09 juil. 2022, 10:49
par Aile
J'ai mis la 3.8.10 et je retrouve l'erreur
Code : Tout sélectionner
Error: Zigbee Sonoff: Looks like aiohttp python module is not installed. Make sure to install the required python3 module
2022-07-09 10:31:58.935 Error: Zigbee Sonoff: Use the command:
2022-07-09 10:31:58.935 Error: Zigbee Sonoff: sudo pip3 install -r requirements.txt
Bien sûr, j'ai exécuté la commande en mode administrateur, et ce module est bien installé :
Code : Tout sélectionner
C:\Program Files (x86)\Domoticz\plugins\Domoticz-Zigbee>pip3 install -r requirements.txt
Requirement already satisfied: aiohttp in c:\program files (x86)\python38-32\lib\site-packages (from -r requirements.txt (line 1)) (3.8.1)
Requirement already satisfied: aiosignal in c:\program files (x86)\python38-32\lib\site-packages (from -r requirements.txt (line 2)) (1.2.0)
Requirement already satisfied: aiosqlite>=0.16.0 in c:\program files (x86)\python38-32\lib\site-packages (from -r requirements.txt (line 3)) (0.17.0)
...
Re: SONOFF Zigbee 3.0 USB Dongle Plus : installation sous Windows 10
Publié : 09 juil. 2022, 11:00
par pipiche
le problème de windows et de l'installation des package python3 peut-etre en farfouillant sur google tu trouveras quelque chose.
Je pense que l'erreur avait simplement disparu car rien n'etait fait