Bonjour à Tous,
D’habitude si j’ai un soucis avec un plugin, je passe par une restauration sur la sauvegarde précédente, mais cela ne résout pas non plus mon problème
J’ai essayé ce que j’ai vu sur d’autres cas similaire, réinstallation des dépendances etc, mais rien n’y fait.
log du démon:
[2022-02-04 09:40:03][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 18 --callback http://127.0.0.1:80/plugins/rfxcom/core/php/jeeRfxcom.php --apikey ROVuKxFD9PmS4ywvZx1XRDn9N7lvSnweEPHvDmx7MFPKBxcf --cycle 0.3 --pid /tmp/jeedom/rfxcom/deamon.pid
[2022-02-04 09:40:04][INFO] : Start rfxcomd
[2022-02-04 09:40:04][INFO] : Log level : debug
[2022-02-04 09:40:04][INFO] : Socket port : 55000
[2022-02-04 09:40:04][INFO] : Socket host : 127.0.0.1
[2022-02-04 09:40:04][INFO] : PID file : /tmp/jeedom/rfxcom/deamon.pid
[2022-02-04 09:40:04][INFO] : Device : /dev/ttyUSB0
[2022-02-04 09:40:04][INFO] : Apikey : ROVuKxFD9PmS4ywvZx1XRDn9N7lvSnweEPHvDmx7MFPKBxcf
[2022-02-04 09:40:04][INFO] : Callback : http://127.0.0.1:80/plugins/rfxcom/core/php/jeeRfxcom.php
[2022-02-04 09:40:04][INFO] : Cycle : 0.3
[2022-02-04 09:40:04][INFO] : Serial rate : 38400
[2022-02-04 09:40:04][INFO] : Serial timeout : 9
[2022-02-04 09:40:04][INFO] : Protocol : 18
[2022-02-04 09:40:04][INFO] : Find device : /dev/ttyUSB0
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x01 : Interface Response Message
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x02 : Receiver/Transmitter Message
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x10 : Lighting1 (X10, ARC, ELRO, Waveman, EMW200, IMPULS,RisingSun, Philips, Energenie, GDR2, HQ, Oase)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x11 : Lighting2 (AC, HomeEasy EU, ANSLUT, Kambrook)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x13 : Lighting4 (PT2262)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x14 : Lighting5 ( LightwaveRF, Siemens, EMW100, BBSB, MDREMOTE,RSL2, OTIO, Livolo, RGB, Aoke relay, Eurodomest, RGB432W, Legrand,Avantek, IT, Kangtai)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x15 : Lighting6 (Blyss (AE), Cuveo)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x16 : Chime (Byron SX, Byron MP001, SelectPlus, Envivo, Alfawise)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x17 : Fan (Siemens SF01, Itho, LucciAir, SEAV,Westinghouse,Casafan,FT1211R,Novy)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x19 : Blinds1 (RollerTrol,Hasta,A-OK,Raex, Media Mount, DC)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x1C : Edisio
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x1D : Honeywell ActivLink
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x1E : FunkBus
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x1F : Hunter Fan
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x20 : Security1 (X10, KD101, Visonic, Meiantech, SA30, SA33, RM174RF)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x21 : Security2 (KeeLoq)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x28 : Camera1 (Ninja/Robocam)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x30 : Remote control and IR (ATI, Medion, PC Remote)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x40 : Thermostat1 (Digimax)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x42 : Thermostat3 (Mertik-Maxitrol G6R-H4 type)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x4E : BBQ Temperature sensors (BBQ1)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x4F : Temperature and rain sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x50 : Temperature sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x51 : Humidity sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x52 : Temperature and humidity sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x53 : Barometric sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x54 : Temperature, humidity and barometric sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x55 : Rain sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x56 : Wind sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x57 : UV sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x58 : Date/time sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x59 : Current sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x5A : Current sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x5B : Current + ENERGY sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x5C : Power sensors
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x5D : Weighting scale
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x60 : CARTELECTRONIC
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x70 : RFXsensor
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x71 : RFXMeter
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x72 : FS20 (FS20, FHT 8V, FHT80)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x76 : Weather stations (WEATHER1-WEATHER2)
[2022-02-04 09:40:04][DEBUG] : Load decoder packet type 0x77 : SOLAR1
[2022-02-04 09:40:04][DEBUG] : Writing PID 779 to /tmp/jeedom/rfxcom/deamon.pid
[2022-02-04 09:40:04][DEBUG] : Init request module v2.27.1
[2022-02-04 09:40:04][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2022-02-04 09:40:04][DEBUG] : null
[2022-02-04 09:40:04][DEBUG] : http://127.0.0.1:80 "GET /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=ROVuKxFD9PmS4ywvZx1XRDn9N7lvSnweEPHvDmx7MFPKBxcf HTTP/1.1" 200 0
[2022-02-04 09:40:04][ERROR] : Fatal error : module 'serial' has no attribute 'VERSION'
[2022-02-04 09:40:04][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/rfxcom/resources/rfxcomd/rfxcomd.py", line 394, in <module>
shared.JEEDOM_SERIAL = jeedom_serial(device=_device,rate=_serial_rate,timeout=_serial_timeout)
File "/var/www/html/plugins/rfxcom/resources/rfxcomd/jeedom/jeedom.py", line 231, in __init__
logging.debug('Init serial module v%s' % (str(serial.VERSION),))
AttributeError: module 'serial' has no attribute 'VERSION'
[2022-02-04 09:40:04][DEBUG] : Shutdown
[2022-02-04 09:40:04][DEBUG] : Removing PID file /tmp/jeedom/rfxcom/deamon.pid
[2022-02-04 09:40:04][DEBUG] : Exit 0
[2022-02-04 09:40:34][ERROR] : Impossible de lancer le démon RFXcom, vérifiez le log rfxcmd
log dépedances:
********************************************************
* Installation des dépendances *
********************************************************
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Hit:4 https://deb.nodesource.com/node_14.x buster InRelease
Get:5 http://security.debian.org/debian-security buster/updates/main Sources [202 kB]
Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [308 kB]
Fetched 628 kB in 1s (759 kB/s)
Reading package lists...
Skipping serial as it is not installed.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'python3-serial' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 244 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (18.1-5).
python3 is already the newest version (3.7.3-1).
python3-pyudev is already the newest version (0.21.0-1).
python3-requests is already the newest version (2.21.0-1).
0 upgraded, 0 newly installed, 0 to remove and 244 not upgraded.
Collecting pyserial
Downloading https://files.pythonhosted.org/packages/07/bc/587a445451b253b285629263eb51c2d8e9bcea4fc97826266d186f96f558/pyserial-3.5-py2.py3-none-any.whl (90kB)
Installing collected packages: pyserial
Successfully installed pyserial-3.5
********************************************************
* Installation terminée *
********************************************************
Une petite idée, mon chauffage en dépend
merci !