Installer pluging TUYA domoticz

Posez ici vos questions d'utilisation, de configuration de DomoticZ, de bugs, de conseils sur le logiciel lui même dans son utilisation et son paramétrage.
Des forums spécifiques sont ouverts ci-dessous pour regrouper les différents sujets.
audi68
Messages : 139
Inscription : 08 nov. 2020, 20:16

Installer pluging TUYA domoticz

Message 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
Chrominator
Messages : 1042
Inscription : 19 déc. 2015, 07:29
Localisation : France

Re: Installer pluging TUYA domoticz

Message 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.
Un bon frein vaut mieux que deux sparadraps.

Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06
audi68
Messages : 139
Inscription : 08 nov. 2020, 20:16

Re: Installer pluging TUYA domoticz

Message 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?
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: Installer pluging TUYA domoticz

Message par Keros »

Tu es sur une nouvelle installation de Raspberry Pi OS ? Quelques 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
audi68
Messages : 139
Inscription : 08 nov. 2020, 20:16

Re: Installer pluging TUYA domoticz

Message 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
audi68
Messages : 139
Inscription : 08 nov. 2020, 20:16

Re: Installer pluging TUYA domoticz

Message 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"
Chrominator
Messages : 1042
Inscription : 19 déc. 2015, 07:29
Localisation : France

Re: Installer pluging TUYA domoticz

Message par Chrominator »

Essaye le tuto du wiki et vérifie ta version de python.
Tu nous diras ce que ça donne.
Un bon frein vaut mieux que deux sparadraps.

Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06
audi68
Messages : 139
Inscription : 08 nov. 2020, 20:16

Re: Installer pluging TUYA domoticz

Message 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:~ $
Chrominator
Messages : 1042
Inscription : 19 déc. 2015, 07:29
Localisation : France

Re: Installer pluging TUYA domoticz

Message 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
Screenshot 2021-12-31 at 09-33-42 Domoticz_dev.png (57.88 Kio) Consulté 2912 fois

Python 3 a l'air d'être installé sur ta machine, tu peux essayer

Code : Tout sélectionner

sudo apt-get install python3-pip
Un bon frein vaut mieux que deux sparadraps.

Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06
audi68
Messages : 139
Inscription : 08 nov. 2020, 20:16

Re: Installer pluging TUYA domoticz

Message par audi68 »

oui désolé j'avais pas compris qu'il fallait aller dans domoticz :oops:

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
Répondre