Page 1 sur 2
Broadlink rm4
Publié : 18 juil. 2021, 11:34
par jbt
Bonjour à tous.
Je change de logiciel domotique ,après avoir été sur Jeedom pendant 7 ans , testé Home-assistant pendant 1 mois sans réussir à faire fonctionné bouzin. . . Comment dire : j'aime le code mais trop de code tues le code
Après un énième plugin passé payant (commande vocale)
Je suis revenu sur Domoticz, qui à bien évolué depuis le temps , c'est sobre, stable, plutôt facile à déployer.
Malheureusement pour moi j'ai une broadlink RM4 mini et un Orvibo allone.
Orvibo qui pilote : tv / dvd (rdc)
Rm4 : video projecteur / ampli home cinéma denon (1 étage)
Sur Jeedom ça fonctionnais , mais sur domoticz je cherche une solution, tuto , plugin

.
Aussi j'abandonne le Zwave au profit du wifi via des shelly , la domoticz c'est que du bonheur.
Si quelqu'un à une solution autre que le Irtrans (250€) je suis preneur.
Excellente journée à tous
Re: Broadlink rm4
Publié : 26 juil. 2021, 09:13
par jbt
Bonjour à tous §
petit up !
Au cas où , j'ai besoin d'une interface infrarouge compatible domoticz
Excellente semaine
Re: Broadlink rm4
Publié : 26 juil. 2021, 16:27
par Thorgal
Tu as testé le plugin domoticz pour le rm4 ?
De mon coté a l’époque j'utilisais directement la lib python.
Re: Broadlink rm4
Publié : 04 sept. 2021, 15:46
par jbt
Merci pour la réponse alors ,
J'ai réussi à trouvé un rm3 mini , mais le nouveau plugins rm2/3/4 mais impossible de le faire fonctionné
via python idem , je suis la procédure mais pour déverrouiller le Rm, il faut se connecter dessus pour désactiver les verrouillage, or dés qu'il est connecter il se connecter au cloud et là à priori impossible de le connecter par le plugin
ça fais trois semaine que je galère
J'ai trouvé un git qui me dit comment ça fonctionne mais pas comment l'installer
https://github.com/mjg59/python-broadlink
J'ai suivie ce tuto à la lettre mais je sais pas ou se trouve la ref 0x000f sur mon RM3 mni
Mais si ce n'étais que ça . . .
Bref je deviens fou en plus mon install jeedom merde de plus en plus
Donc si quelqu'un à une procédure même en anglais je prends
Re: Broadlink rm4
Publié : 04 sept. 2021, 19:32
par jbt
Voila mon log si quelqu'un à une idée
Code : Tout sélectionner
2021-09-04 18:26:26.923 INFRA-ROUGE hardware started.
2021-09-04 18:26:26.923 Status: INFRA-ROUGE: (INFRA-ROUGE) Started.
2021-09-04 18:26:26.923 Status: INFRA-ROUGE: (INFRA-ROUGE) Entering work loop.
2021-09-04 18:26:27.678 INFRA-ROUGE: (INFRA-ROUGE) fichier lang: /home/pi/domoticz/plugins/Broadlink/lng/en_fr.lng
2021-09-04 18:26:27.678 INFRA-ROUGE: (INFRA-ROUGE) Langue chargée pour: fr
2021-09-04 18:26:27.679 INFRA-ROUGE: (INFRA-ROUGE) Écouter le BROWebServer - Port: 9000
2021-09-04 18:26:27.688 INFRA-ROUGE: (INFRA-ROUGE) Plugin démarrage du nombre de périphériques sur: 9
2021-09-04 18:26:27.693 INFRA-ROUGE: (INFRA-ROUGE) Connexion à: 192.168.caché : cahcé
2021-09-04 18:26:27.702 INFRA-ROUGE: (INFRA-ROUGE) fichier html Admin créé: /home/pi/domoticz/www/templates/Broadlink-RM2-4.html
2021-09-04 18:26:27.674 Status: INFRA-ROUGE: (INFRA-ROUGE) Initialized version 1.6.3, author 'zak45'
2021-09-04 18:26:27.679 Error: (INFRA-ROUGE) Device creation failed, Domoticz settings prevent accepting new devices.
2021-09-04 18:26:27.679 Error: (INFRA-ROUGE) Device creation failed, Domoticz settings prevent accepting new devices.
2021-09-04 18:26:27.679 Error: (INFRA-ROUGE) Device creation failed, Domoticz settings prevent accepting new devices.
2021-09-04 18:26:27.693 Error: INFRA-ROUGE: (INFRA-ROUGE) Traceback (most recent call last):
File "/home/pi/domoticz/plugins/Broadlink/plugin.py", line 404, in onStart
with open(devfile, 'w', encoding='utf-8') as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/domoticz/plugins/Broadlink/log/4RM2.txt'
2021-09-04 18:26:27.693 Error: INFRA-ROUGE: (INFRA-ROUGE) Erreur de créer un fichier de périphérique: /home/pi/domoticz/plugins/Broadlink/log/4RM2.txt
2021-09-04 18:26:27.694 Error: INFRA-ROUGE: (INFRA-ROUGE) Traceback (most recent call last):
File "/home/pi/domoticz/plugins/Broadlink/plugin.py", line 1823, in read_type
with open(devfile, 'r', encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/domoticz/plugins/Broadlink/log/4RM2.txt'
2021-09-04 18:26:27.694 Error: INFRA-ROUGE: (INFRA-ROUGE) Erreur pour récupérer le type de ce fichier: /home/pi/domoticz/plugins/Broadlink/log/4RM2.txt
2021-09-04 18:26:27.696 Error: INFRA-ROUGE: (INFRA-ROUGE) Traceback (most recent call last):
File "/home/pi/domoticz/plugins/Broadlink/plugin.py", line 1803, in broadlink_connect
DEVICE.auth()
File "/usr/local/lib/python3.7/dist-packages/broadlink/__init__.py", line 270, in auth
response = self.send_packet(0x65, payload)
File "/usr/local/lib/python3.7/dist-packages/broadlink/__init__.py", line 323, in send_packet
packet[0x25] = self.devtype >> 8
ValueError: byte must be in range(0, 256)
2021-09-04 18:26:27.696 Error: INFRA-ROUGE: (INFRA-ROUGE) Erreur de se connecter à un appareil Broadlink: 192.168.xxx
2021-09-04 18:26:59.627 Error: INFRA-ROUGE: (INFRA-ROUGE) Le dispositif 1 existe pas
2021-09-04 18:27:35.007 Error: INFRA-ROUGE hardware (4) nothing received for more than 1 Minute!....
2021-09-04 18:27:36.009 INFRA-ROUGE: (INFRA-ROUGE) onStop called
2021-09-04 18:27:36.209 INFRA-ROUGE hardware started.
2021-09-04 18:27:36.795 INFRA-ROUGE: (INFRA-ROUGE) fichier lang: /home/pi/domoticz/plugins/Broadlink/lng/en_fr.lng
2021-09-04 18:27:36.795 INFRA-ROUGE: (INFRA-ROUGE) Langue chargée pour: fr
2021-09-04 18:27:36.795 INFRA-ROUGE: (INFRA-ROUGE) Écouter le BROWebServer - Port: 9000
2021-09-04 18:27:36.798 INFRA-ROUGE: (INFRA-ROUGE) Plugin démarrage du nombre de périphériques sur: 9
2021-09-04 18:27:36.804 INFRA-ROUGE: (INFRA-ROUGE) Connexion à: 192.168.xxxx: xxxxxxxxx
2021-09-04 18:27:36.811 INFRA-ROUGE: (INFRA-ROUGE) fichier html Admin créé: /home/pi/domoticz/www/templates/Broadlink-RM2-4.html
2021-09-04 18:27:36.008 Status: INFRA-ROUGE: (INFRA-ROUGE) Stop directive received.
2021-09-04 18:27:36.139 Status: INFRA-ROUGE: (INFRA-ROUGE) Exiting work loop.
2021-09-04 18:27:36.208 Status: INFRA-ROUGE: (INFRA-ROUGE) Stopping threads.
2021-09-04 18:27:36.208 Status: INFRA-ROUGE: (INFRA-ROUGE) Stopped.
2021-09-04 18:27:36.209 Status: INFRA-ROUGE: (INFRA-ROUGE) Entering work loop.
2021-09-04 18:27:36.209 Status: INFRA-ROUGE: (INFRA-ROUGE) Started.
2021-09-04 18:27:36.791 Status: INFRA-ROUGE: (INFRA-ROUGE) Initialized version 1.6.3, author 'zak45'
2021-09-04 18:27:36.008 Error: Restarting: INFRA-ROUGE
2021-09-04 18:27:36.795 Error: (INFRA-ROUGE) Device creation failed, Domoticz settings prevent accepting new devices.
2021-09-04 18:27:36.795 Error: (INFRA-ROUGE) Device creation failed, Domoticz settings prevent accepting new devices.
2021-09-04 18:27:36.795 Error: (INFRA-ROUGE) Device creation failed, Domoticz settings prevent accepting new devices.
2021-09-04 18:27:36.804 Error: INFRA-ROUGE: (INFRA-ROUGE) Traceback (most recent call last):
File "/home/pi/domoticz/plugins/Broadlink/plugin.py", line 404, in onStart
with open(devfile, 'w', encoding='utf-8') as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/domoticz/plugins/Broadlink/log/4RM2.txt'
2021-09-04 18:27:36.804 Error: INFRA-ROUGE: (INFRA-ROUGE) Erreur de créer un fichier de périphérique: /home/pi/domoticz/plugins/Broadlink/log/4RM2.txt
2021-09-04 18:27:36.804 Error: INFRA-ROUGE: (INFRA-ROUGE) Traceback (most recent call last):
File "/home/pi/domoticz/plugins/Broadlink/plugin.py", line 1823, in read_type
with open(devfile, 'r', encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/domoticz/plugins/Broadlink/log/4RM2.txt'
2021-09-04 18:27:36.804 Error: INFRA-ROUGE: (INFRA-ROUGE) Erreur pour récupérer le type de ce fichier: /home/pi/domoticz/plugins/Broadlink/log/4RM2.txt
2021-09-04 18:27:36.805 Error: INFRA-ROUGE: (INFRA-ROUGE) Traceback (most recent call last):
File "/home/pi/domoticz/plugins/Broadlink/plugin.py", line 1803, in broadlink_connect
DEVICE.auth()
File "/usr/local/lib/python3.7/dist-packages/broadlink/__init__.py", line 270, in auth
response = self.send_packet(0x65, payload)
File "/usr/local/lib/python3.7/dist-packages/broadlink/__init__.py", line 323, in send_packet
packet[0x25] = self.devtype >> 8
ValueError: byte must be in range(0, 256)
2021-09-04 18:27:36.806 Error: INFRA-ROUGE: (INFRA-ROUGE) Erreur de se connecter à un appareil Broadlink: 192.168.0.110
2021-09-04 18:27:37.681 INFRA-ROUGE: (INFRA-ROUGE) Nous traitons cette URL: /postupdDatas?key=242606378181554&id=%27update_type%27
2021-09-04 18:27:37.681 INFRA-ROUGE: (INFRA-ROUGE) Update_device : 0x2737
2021-09-04 18:27:37.682 Error: INFRA-ROUGE: (INFRA-ROUGE) Traceback (most recent call last):
File "/home/pi/domoticz/plugins/Broadlink/plugin.py", line 2690, in process_data
with open(devfile, 'w', encoding='utf-8') as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/domoticz/plugins/Broadlink/log/4RM2.txt'
2021-09-04 18:27:37.682 Error: INFRA-ROUGE: (INFRA-ROUGE) Erreur de créer un fichier de périphérique: /home/pi/domoticz/plugins/Broadlink/log/4RM2.txt
2021-09-04 18:27:46.559 Status: INFRA-ROUGE: (INFRA-ROUGE) Stop directive received.
2021-09-04 18:27:48.562 INFRA-ROUGE: (INFRA-ROUGE) onStop called
2021-09-04 18:27:48.761 INFRA-ROUGE hardware started.
2021-09-04 18:27:48.689 Status: INFRA-ROUGE: (INFRA-ROUGE) Exiting work loop.
2021-09-04 18:27:48.761 Status: INFRA-ROUGE: (INFRA-ROUGE) Stopping threads.
2021-09-04 18:27:48.761 Status: INFRA-ROUGE: (INFRA-ROUGE) Stopped.
2021-09-04 18:27:49.351 Error: (INFRA-ROUGE) Device creation failed, Domoticz settings prevent accepting new devices.
2021-09-04 18:27:49.351 Error: (INFRA-ROUGE) Device creation failed, Domoticz settings prevent accepting new devices.
2021-09-04 18:27:49.351 Error: (INFRA-ROUGE) Device creation failed, Domoticz settings prevent accepting new devices.
Je remarque qu'il recherche un dossier/fichier : "log"
je dois le créer
Re: Broadlink rm4
Publié : 05 sept. 2021, 10:24
par Thorgal
Ben c'est indiqué
2021-09-04 18:26:27.679 Error: (INFRA-ROUGE) Device creation failed, Domoticz settings prevent accepting new devices.
Il te faut l'activer.
Sinon oui, il m'a fallu le connecter en utilisant une appli android, mais apres ca, tout marchait en local.
Par contre je viens de voir ca, du coup j'ai un doute.
Info : do not use the official app if using broadlink library
Et d'apres les logs tu as meme une page web en plus dans l'onglet "custom"
Re: Broadlink rm4
Publié : 05 sept. 2021, 20:58
par jbt
Bonsoir Thorgal
Merci de ta réponse !
Grace à toi j'ai tilté , sur le fais d'activé mon nouveau device !
J'ai trouvé D’où venais mon problème , dans paramètre :
Accepter les nouveau dispositif , je l'avais désactivé à cause des Shelly en mqtt qui créais des nouveau devices à gogo.
Trois semaines pour çà

Le Boulet
Re: Broadlink rm4
Publié : 05 sept. 2021, 22:54
par jbt
Bon Impossible d'enregistrer un code

Re: Broadlink rm4
Publié : 06 sept. 2021, 12:13
par garycooper
Il me semble que ce plugin est obsolète. Va ici :
https://www.domoticz.com/forum/viewtopi ... =broadlink
Ca marche pour ma multiprise MP1 et mes 2 RM3 mini
Re: Broadlink rm4
Publié : 10 sept. 2021, 22:45
par jbt
C'est bien celui la que j'utilise ,
J'ai réussi à affiché la page web , mais je il ne trouve pas mon mini .
Tu à fais quelque chose de spécial ?
je peu choisir une version comme : 0x2737 ou 0x27c2 ou ... 0x27de je ne sais lequel choisir
En dernière ligne jai toujours
IR-remote: (IR-remote) Erreur de se connecter à un appareil Broadlink: 192.168.0.110
Alors que j'ai donné une ip fixe au broadlink
jusqu’à maintenant je m'en sortais seul mais là je dois loupé quelque chose
