Bonjour Mips,
J’ai réinstallé jeedom sur carte neuve, récupéré une sauvegarde et plus de message d’erreur sur l’install des dépendances RFXCOM.
Par contre le daemon ne se lance pas. (ne me gronde pas, j’ai lu tous les sujets avant d’écrire ici
voici le log en debug du rfxcom lors du lancement du daemon.
Si tu penses à quelque chose merci d’avance
[2023-09-08 07:46:39]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2023-09-08 07:46:42]ERROR : Fatal error : 'ConnectionError' object has no attribute 'message'
[2023-09-08 07:47:12]ERROR : Impossible de lancer le démon RFXcom, vérifiez le log rfxcmd
[2023-09-08 07:50:59]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2023-09-08 07:51:03]ERROR : Fatal error : 'ConnectionError' object has no attribute 'message'
[2023-09-08 07:51:33]ERROR : Impossible de lancer le démon RFXcom, vérifiez le log rfxcmd
[2023-09-08 07:58:46]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2023-09-08 07:58:47]INFO : Lancement démon rfxcomd : /usr/bin/python3 /var/www/html/plugins/rfxcom/resources/rfxcomd/rfxcomd.py --device /dev/ttyUSB0 --loglevel debug --socketport 55000 --serialrate 38400 --protocol 4,6,7,12,18,19,20,21,22,23 --callback http://127.0.0.1:8080/plugins/rfxcom/core/php/jeeRfxcom.php --apikey XXXXXX --cycle 0.3 --pid /tmp/jeedom/rfxcom/deamon.pid
[2023-09-08 07:58:48]INFO : Start rfxcomd
[2023-09-08 07:58:48]INFO : Log level : debug
[2023-09-08 07:58:48]INFO : Socket port : 55000
[2023-09-08 07:58:48]INFO : Socket host : 127.0.0.1
[2023-09-08 07:58:48]INFO : PID file : /tmp/jeedom/rfxcom/deamon.pid
[2023-09-08 07:58:48]INFO : Device : /dev/ttyUSB0
[2023-09-08 07:58:48]INFO : Apikey : XXXXXXXXXXX
[2023-09-08 07:58:48]INFO : Callback : http://127.0.0.1:8080/plugins/rfxcom/core/php/jeeRfxcom.php
[2023-09-08 07:58:48]INFO : Cycle : 0.3
[2023-09-08 07:58:48]INFO : Serial rate : 38400
[2023-09-08 07:58:48]INFO : Serial timeout : 9
[2023-09-08 07:58:48]INFO : Protocol : 4,6,7,12,18,19,20,21,22,23
[2023-09-08 07:58:48]INFO : Find device : /dev/ttyUSB0
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x01 : Interface Response Message
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x02 : Receiver/Transmitter Message
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x10 : Lighting1 (X10, ARC, ELRO, Waveman, EMW200, IMPULS,RisingSun, Philips, Energenie, GDR2, HQ, Oase)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x11 : Lighting2 (AC, HomeEasy EU, ANSLUT, Kambrook)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x13 : Lighting4 (PT2262)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x14 : Lighting5 ( LightwaveRF, Siemens, EMW100, BBSB, MDREMOTE,RSL2, OTIO, Livolo, RGB, Aoke relay, Eurodomest, RGB432W, Legrand,Avantek, IT, Kangtai)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x15 : Lighting6 (Blyss (AE), Cuveo)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x16 : Chime (Byron SX, Byron MP001, SelectPlus, Envivo, Alfawise)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x17 : Fan (Siemens SF01, Itho, LucciAir, SEAV,Westinghouse,Casafan,FT1211R,Novy)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x19 : Blinds1 (RollerTrol,Hasta,A-OK,Raex, Media Mount, DC)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x1C : Edisio
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x1D : Honeywell ActivLink
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x1E : FunkBus
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x1F : Hunter Fan
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x20 : Security1 (X10, KD101, Visonic, Meiantech, SA30, SA33, RM174RF)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x21 : Security2 (KeeLoq)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x28 : Camera1 (Ninja/Robocam)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x30 : Remote control and IR (ATI, Medion, PC Remote)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x40 : Thermostat1 (Digimax)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x42 : Thermostat3 (Mertik-Maxitrol G6R-H4 type)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x4E : BBQ Temperature sensors (BBQ1)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x4F : Temperature and rain sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x50 : Temperature sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x51 : Humidity sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x52 : Temperature and humidity sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x53 : Barometric sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x54 : Temperature, humidity and barometric sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x55 : Rain sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x56 : Wind sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x57 : UV sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x58 : Date/time sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x59 : Current sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x5A : Current sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x5B : Current + ENERGY sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x5C : Power sensors
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x5D : Weighting scale
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x60 : CARTELECTRONIC
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x70 : RFXsensor
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x71 : RFXMeter
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x72 : FS20 (FS20, FHT 8V, FHT80)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x76 : Weather stations (WEATHER1-WEATHER2)
[2023-09-08 07:58:48]DEBUG : Load decoder packet type 0x77 : SOLAR1
[2023-09-08 07:58:48]DEBUG : Writing PID 3557 to /tmp/jeedom/rfxcom/deamon.pid
[2023-09-08 07:58:48]DEBUG : Init request module v2.31.0
[2023-09-08 07:58:48]DEBUG : Starting new HTTP connection (1): 127.0.0.1:8080
[2023-09-08 07:58:48]ERROR : Fatal error : 'ConnectionError' object has no attribute 'message'
[2023-09-08 07:58:48]DEBUG : Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 207, in _new_conn
socket_options=self.socket_options,
File "/usr/local/lib/python3.7/dist-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/usr/local/lib/python3.7/dist-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 802, in urlopen
**response_kw,
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 504, in _make_request
enforce_content_length=enforce_content_length,
File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 395, in request
self.endheaders()
File "/usr/lib/python3.7/http/client.py", line 1255, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1030, in _send_output
self.send(msg)
File "/usr/lib/python3.7/http/client.py", line 970, in send
self.connect()
File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 243, in connect
self.sock = self._new_conn()
File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 220, in _new_conn
) from e
urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 497, in send
chunked=chunked,
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 845, in urlopen
method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.7/dist-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=8080): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/rfxcom/resources/rfxcomd/jeedom/jeedom.py", line 134, in test
response = requests.get(self.url + '?apikey=' + self.apikey, verify=False)
File "/usr/local/lib/python3.7/dist-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8080): Max retries exceeded with url: /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=XXXXXXXXX (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/rfxcom/resources/rfxcomd/rfxcomd.py", line 391, in
if not shared.JEEDOM_COM.test():
File "/var/www/html/plugins/rfxcom/resources/rfxcomd/jeedom/jeedom.py", line 139, in test
logging.error('Callback result as a unknown error: %s. Please check your network configuration page'% (e.message,))
AttributeError: 'ConnectionError' object has no attribute 'message'
[2023-09-08 07:58:48]DEBUG : Shutdown
[2023-09-08 07:58:48]DEBUG : Removing PID file /tmp/jeedom/rfxcom/deamon.pid
[2023-09-08 07:58:48]DEBUG : Exit 0
[2023-09-08 07:59:19]ERROR : Impossible de lancer le démon RFXcom, vérifiez le log rfxcmd
Version firmware rfxcom : 1048 PROXL1 sur rfxcom XL