Bonjour,
J’ai fait l’acquisition d’un RFXtrx433XL pour commander mes stores (motorisation somfy, RTS).
J’ai installé et activé le plugin RFXCom mais je n’arrive pas à démarrer le deamon, il me signale un problème de communication / config réseau, or je n’en vois pas.
Déjà, le module 433XL USB existe bien sous Debian, en device 007 :
**@debianKNX** : **~** $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 007: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 006: ID 13ee:0001 MosArt Optical Mouse
Bus 001 Device 005: ID 05af:0802 Jing-Mold Enterprise Co., Ltd
Bus 001 Device 004: ID 0b39:0003 Omnidirectional Control Technology, Inc.
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Ensuite, le log en mode debug du plugin me dit ceci :
La connexion semble être refusée.
[2020-05-25 15:40:21][INFO] : Lancement démon rfxcomd : /usr/bin/python /var/www/html/plugins/rfxcom/resources/rfxcomd/rfxcomd.py --device auto --loglevel debug --socketport 55000 --serialrate 38400 --protocol 12,13,18,20,21,22,23 --callback http://127.0.0.1:5080/plugins/rfxcom/core/php/jeeRfxcom.php --apikey xxxxxxxx --cycle 0.3 --pid /tmp/jeedom/rfxcom/deamon.pid
[2020-05-25 15:40:22][INFO] : Start rfxcomd
[2020-05-25 15:40:22][INFO] : Log level : debug
[2020-05-25 15:40:22][INFO] : Socket port : 55000
[2020-05-25 15:40:22][INFO] : Socket host : 127.0.0.1
[2020-05-25 15:40:22][INFO] : PID file : /tmp/jeedom/rfxcom/deamon.pid
[2020-05-25 15:40:22][INFO] : Device : auto
[2020-05-25 15:40:22][INFO] : Apikey : xxxxxxxx
[2020-05-25 15:40:22][INFO] : Callback : http://127.0.0.1:5080/plugins/rfxcom/core/php/jeeRfxcom.php
[2020-05-25 15:40:22][INFO] : Cycle : 0.3
[2020-05-25 15:40:22][INFO] : Serial rate : 38400
[2020-05-25 15:40:22][INFO] : Serial timeout : 9
[2020-05-25 15:40:22][INFO] : Protocol : 12,13,18,20,21,22,23
[2020-05-25 15:40:22][INFO] : Find device : /dev/ttyUSB0
[2020-05-25 15:40:22][DEBUG] : Writing PID 4068 to /tmp/jeedom/rfxcom/deamon.pid
[2020-05-25 15:40:22][DEBUG] : Init request module v2.12.4
[2020-05-25 15:40:22][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
***[2020-05-25 15:40:22][ERROR] : Callback result as a unknown error: HTTPConnectionPool(host='127.0.0.1', port=5080): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=xxxxxxxxxxxxx (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f7794ba6590>: Failed to establish a new connection: [Errno 111] Connection refused',)). Please check your network configuration page***
[2020-05-25 15:40:22][ERROR] : Network communication issues. Please fixe your Jeedom network configuration.
[2020-05-25 15:40:22][DEBUG] : Shutdown
[2020-05-25 15:40:22][DEBUG] : Removing PID file /tmp/jeedom/rfxcom/deamon.pid
[2020-05-25 15:40:22][DEBUG] : Exit 0
[2020-05-25 15:40:51][ERROR] : Impossible de lancer le démon RFXcom, vérifiez le log rfxcmd
Or, lorsque je vérifie la config réseau de jeedom, je ne vois rien d’anormal (et pourtant sous santé, il me dit bien qu’il y a un problème de config réseau et m’invite à le corriger… seulement, où et comment ??).
Je ne vois pas de problème et donc pas comment le corriger, pourtant, jeedom me dit :
Je cherche depuis ce matin et je ne trouve pas… si qqn a une piste ce serait super cool.
Merci d’avance,
Belle journée
Levente