Page 1 sur 3
Installer pluging TUYA domoticz
Publié : 30 déc. 2021, 10:07
par audi68
Bonjour
J'ai acheté des prises wifi connecté Antela je pensais les rajouter dans domoticz mais je me rends compte que c'est plus compliqué......
J'ai touvé un pluging a installer mais je n arrive pas
https://github.com/Xenomes/Domoticz-TUYA-Plugin
Je suis connecté a mon raspbery mais il ne me trouve pas la commande je fais une erreur?
Code : Tout sélectionner
jeedom@raspberrypi:~ $ cd domoticz/plugins
jeedom@raspberrypi:~/domoticz/plugins $ sudo pip3 install tuyaha requests
[sudo] password for jeedom:
sudo: pip3: command not found
jeedom@raspberrypi:~/domoticz/plugins $ git clone https://github.com/Xenomes/Domoticz-TUYA-Plugin.git
fatal: could not create work tree dir 'Domoticz-TUYA-Plugin': Permission denied
jeedom@raspberrypi:~/domoticz/plugins $ sudo pip3 install tuyaha requests
sudo: pip3: command not found
jeedom@raspberrypi:~/domoticz/plugins $
Merci pour votre aide
Re: Installer pluging TUYA domoticz
Publié : 30 déc. 2021, 12:26
par Chrominator
Ton plugin est en Python, et l'utilitaire de gestion des dépôts correspondant n'est pas sur ta machine (pip3).
Tu ne dis pas si tu es sous Windows ou Linux; je te laisse trouver le tuto qui correspond à ton système.
Re: Installer pluging TUYA domoticz
Publié : 30 déc. 2021, 13:44
par audi68
merci pour ton aide.. le raspbery est sous Linux il me semble?
N’est ce pas le bon tutoriel ?
Je dois installer pip3?
Re: Installer pluging TUYA domoticz
Publié : 30 déc. 2021, 17:15
par Keros
Tu es sur une nouvelle installation de Raspberry Pi OS ?
Quelques infos
Re: Installer pluging TUYA domoticz
Publié : 30 déc. 2021, 21:51
par audi68
Oui je pense j'ai installer mon raspbery en novembre
Je vais voir demain pour trouver la version de mon os et je vais étudier tes infos....
merci
Re: Installer pluging TUYA domoticz
Publié : 31 déc. 2021, 08:09
par audi68
je suis en version 10 et pas 11
mon modele est raspbery Pi3 model B+
Code : Tout sélectionner
jeedom@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Re: Installer pluging TUYA domoticz
Publié : 31 déc. 2021, 08:56
par Chrominator
Essaye
le tuto du wiki et vérifie ta version de python.
Tu nous diras ce que ça donne.
Re: Installer pluging TUYA domoticz
Publié : 31 déc. 2021, 09:07
par audi68
Ma version est 3.7.3 mais je sais pas les valeurs du dessous si c'est installer ou non?
Code : Tout sélectionner
jeedom@raspberrypi:~ $ python3 -V
Python 3.7.3
jeedom@raspberrypi:~ $ dpkg --get-selections | grep libpython
libpython-stdlib:armhf install
libpython2-stdlib:armhf install
libpython2.7-minimal:armhf install
libpython2.7-stdlib:armhf install
libpython3-dev:armhf install
libpython3-stdlib:armhf install
libpython3.7:armhf install
libpython3.7-dev:armhf install
libpython3.7-minimal:armhf install
libpython3.7-stdlib:armhf install
jeedom@raspberrypi:~ $
Re: Installer pluging TUYA domoticz
Publié : 31 déc. 2021, 09:34
par Chrominator
Pourquoi ne pas faire ce qu'indique le tuto ?
Moi j'ai ça :

- Screenshot 2021-12-31 at 09-33-42 Domoticz_dev.png (57.88 Kio) Consulté 2910 fois
Python 3 a l'air d'être installé sur ta machine, tu peux essayer
Re: Installer pluging TUYA domoticz
Publié : 31 déc. 2021, 09:52
par audi68
oui désolé j'avais pas compris qu'il fallait aller dans domoticz
Code : Tout sélectionner
Version: 2021.1
Build Hash: 8547c5b7e
Compile Date: 2021-04-17 17:29:11
dzVents Version: 3.1.7
Python Version: 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
Uptime: 45 Minutes, 25 Secondes
j'ai fait ton code il m' a installer PYthon 3