Mise à jour RFXCOM et demon KO module ‘serial’ has no attribute ‘VERSION’ r2

Bonjour,

Environnement :
Jeedom V4 installé sur une VM avec accès direct aux ports USB du système dont l’OS est :

root@JEEDOM:/usr/lib/python2.7/dist-packages# uname -a
Linux JEEDOM 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 GNU/Linux

root@JEEDOM:/usr/lib/python2.7/dist-packages# cat /etc/debian_version
10.6

1 -Suite à un upgrade du plugin hier avec la dernière version de code vers 19h, j’ai eu le souci évoqué module ‹ serial › has no attribute ‹ VERSION ›.
2 - J’ai alors lancé la mise ç jour des dépendance que vous avez conseillé, le démon s’est lancé.
3 - J’ai redémarré le serveur Jeedom pour un autre plugin qui me pose de soucis mais pas lià a celui-ci.
4 - Une fois Jeedom redémarré, le démon ne veut plus se lancer.
→ Check des dépendances : OK

********************************************************
*             Installation des dépendances             *
********************************************************
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://ftp.fr.debian.org/debian buster InRelease
Ign:3 http://deb.debian.org/debian/stretch stretch-updates InRelease
Hit:4 http://ftp.fr.debian.org/debian buster-updates InRelease
Hit:5 http://phoscon.de/apt/deconz buster InRelease
Err:6 http://deb.debian.org/debian/stretch stretch-updates Release
404  Not Found [IP: 151.101.114.132 80]
Reading package lists...
E: The repository 'http://deb.debian.org/debian/stretch stretch-updates Release' does not have a Release file.
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 7 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 7 not upgraded.
**Requirement already up-to-date: pyserial in /usr/local/lib/python3.7/dist-packages (3.5)**
********************************************************
*             Installation terminée                    *
********************************************************

→ Démarrage du démon :

[2020-11-27 09:16:00][DEBUG] : Shutdown
[2020-11-27 09:16:00][DEBUG] : Removing PID file /tmp/jeedom/rfxcom/deamon.pid
[2020-11-27 09:16:00][DEBUG] : Exit 0
[2020-11-27 09:16:30][ERROR] : Impossible de lancer le démon RFXcom, vérifiez le log rfxcmd
[2020-11-27 09:26:33][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 6,11,12,13,16,18,19,23 --callback http://127.0.0.1:80/plugins/rfxcom/core/php/jeeRfxcom.php --apikey mvdZSR0m1wCbn4uCK5MIRuS8XxPXD5um --cycle 0.3 --pid /tmp/jeedom/rfxcom/deamon.pid
[2020-11-27 09:26:33][INFO] : Start rfxcomd
[2020-11-27 09:26:33][INFO] : Log level : debug
[2020-11-27 09:26:33][INFO] : Socket port : 55000
[2020-11-27 09:26:33][INFO] : Socket host : 127.0.0.1
[2020-11-27 09:26:33][INFO] : PID file : /tmp/jeedom/rfxcom/deamon.pid
[2020-11-27 09:26:33][INFO] : Device : /dev/ttyUSB0
[2020-11-27 09:26:33][INFO] : Apikey : *****************************************
[2020-11-27 09:26:33][INFO] : Callback : http://127.0.0.1:80/plugins/rfxcom/core/php/jeeRfxcom.php
[2020-11-27 09:26:33][INFO] : Cycle : 0.3
[2020-11-27 09:26:33][INFO] : Serial rate : 38400
[2020-11-27 09:26:33][INFO] : Serial timeout : 9
[2020-11-27 09:26:33][INFO] : Protocol : 6,11,12,13,16,18,19,23
[2020-11-27 09:26:33][INFO] : Find device : /dev/ttyUSB0
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x01 : Interface Response Message
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x10 : Lighting1 (X10, ARC, ELRO, Waveman, EMW200, IMPULS,RisingSun, Philips, Energenie, GDR2, HQ, Oase)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x11 : Lighting2 (AC, HomeEasy EU, ANSLUT, Kambrook)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x13 : Lighting4 (PT2262)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x14 : Lighting5 ( LightwaveRF, Siemens, EMW100, BBSB, MDREMOTE,RSL2, OTIO, Livolo, RGB, Aoke relay, Eurodomest, RGB432W, Legrand,Avantek, IT, Kangtai)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x15 : Lighting6 (Blyss (AE), Cuveo)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x16 : Chime (Byron SX, Byron MP001, SelectPlus, Envivo, Alfawise)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x17 : Fan (Siemens SF01, Itho, LucciAir, SEAV,Westinghouse,Casafan,FT1211R,Novy)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x19 : Blinds1 (RollerTrol,Hasta,A-OK,Raex, Media Mount, DC)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x1C : Edisio
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x1D : Honeywell ActivLink
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x1E : FunkBus
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x1F : Hunter Fan
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x20 : Security1 (X10, KD101, Visonic, Meiantech, SA30, SA33, RM174RF)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x21 : Security2 (KeeLoq)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x28 : Camera1 (Ninja/Robocam)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x30 : Remote control and IR (ATI, Medion, PC Remote)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x40 : Thermostat1 (Digimax)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x42 : Thermostat3 (Mertik-Maxitrol G6R-H4 type)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x4E : BBQ Temperature sensors (BBQ1)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x4F : Temperature and rain sensors
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x50 : Temperature sensors
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x51 : Humidity sensors
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x52 : Temperature and humidity sensors
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x53 : Barometric sensors 
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x54 : Temperature, humidity and barometric sensors
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x55 : Rain sensors
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x56 : Wind sensors
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x57 : UV sensors
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x58 : Date/time sensors
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x59 : Current sensors
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x5A : Current sensors
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x5B : Current + ENERGY sensors
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x5C : Power sensors
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x5D : Weighting scale
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x60 : CARTELECTRONIC
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x70 : RFXsensor
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x71 : RFXMeter
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x72 : FS20 (FS20, FHT 8V, FHT80)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x76 : Weather stations (WEATHER1-WEATHER2)
[2020-11-27 09:26:33][DEBUG] : Load decoder packet type 0x77 : SOLAR1
[2020-11-27 09:26:33][DEBUG] : Writing PID 18938 to /tmp/jeedom/rfxcom/deamon.pid
[2020-11-27 09:26:33][DEBUG] : Init request module v2.21.0
[2020-11-27 09:26:33][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-11-27 09:26:33][DEBUG] : null
[2020-11-27 09:26:33][DEBUG] : http://127.0.0.1:80 "GET /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=*****************************************HTTP/1.1" 200 0
[2020-11-27 09:26:33][ERROR] : Fatal error : module 'serial' has no attribute 'VERSION'
[2020-11-27 09:26:33][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'**

[2020-11-27 09:26:33][DEBUG] : Shutdown
[2020-11-27 09:26:33][DEBUG] : Removing PID file /tmp/jeedom/rfxcom/deamon.pid
[2020-11-27 09:26:33][DEBUG] : Exit 0
[2020-11-27 09:27:04][ERROR] : Impossible de lancer le démon RFXcom, vérifiez le log rfxcmd

Je suis bloqué.

Petite info utile, j’ai chercher à regarder si il ne restait pas de résidus de l’ancienne version 3.4 car j’avais des messages comme ceci lors des désinstallation de pyserial pour tenter de sollutionner le souci :

root@JEEDOM:/var/www/html/plugins/rfxcom/resources/rfxcomd/jeedom# pip install pyserial --upgrade
Collecting pyserial
  Using cached https://files.pythonhosted.org/packages/07/bc/587a445451b253b285629263eb51c2d8e9bcea4fc97826266d186f96f558/pyse                                                                                           rial-3.5-py2.py3-none-any.whl
Installing collected packages: pyserial
  **Found existing installation: pyserial 3.4**
    Not uninstalling pyserial at /usr/lib/python2.7/dist-packages, outside environment /usr
    Can't uninstall 'pyserial'. No files were found to uninstall.
Successfully installed pyserial-3.5

root@JEEDOM:/var/www/html/plugins/rfxcom/resources/rfxcomd/jeedom# pip install pyserial
**Requirement already satisfied: pyserial in /usr/lib/python2.7/dist-packages (3.4)**

J’ai du faire ceci :

sudo pip install -U pyserial
sudo pip3 install -U pyserial

=> Maintenant je suis bloqué … SI je n’arrive pas à me débloquer, est-ce qu’il y a une façon de remettre l’ancienne version de plugin?

Merci d’avance.

Bonjour,
Pourrais tu mettre la version de l’os (debian combien ? Il faut absolument le 9 ou le 10) et la log d’installation des dependances ?

Bonjour,

As-tu chercher parmi les sujets récents suite à la mise à jour d’hier? Sujets avec l'étiquette plugin-rfxcom

Il y en a un avec la même erreur ici:

Sinon sur ton install on voit un mélange entre stretch et buster
et pas besoin d’aller installer des lib python2, le plugin est en python3…
J’ai l’impression que tu as fait pas mal d’opérations à la main, du coup compliqué si pas impossible de savoir ce qui a été fait et comment corriger.

C’est précisément ce qui cause ton problème, il ne fallait pas faire ca…

Relance l’installation des dépendances pour régler le problème

Hello
Version Debian : C’est au début du log. La 10.6
Log des dépendances : J’ai fait un copier coller mais je peux uploader le fichier si besoin

Bonjour,

Pour répondre aux questions :

1 - Relance l’installation des dépendances pour régler le problème
=> Fait, log attachée.

2 - As-tu chercher parmi les sujets récents suite à la mise à jour d’hier? Il y en a un avec la même erreur ici:
=> J’ai expliqué dans mon poste que j’avais suivi cette procédure sans résultat stable. Ca a marché une fois et lors du reboot du Jeedom ca s’est vautré et impossible de retomber en marche.

3 - J’ai l’impression que tu as fait pas mal d’opérations à la main, du coup compliqué si pas impossible de savoir ce qui a été fait et comment corriger.

=> J’ai suivit un tuto d’installation de JEEDOM sur VM, et si vous avez une liste de librairie à mettre je suis preneur pour pas avoir de souci plus tard.

4 - Pourrais tu mettre la version de l’os (debian combien ?
10.6 comme affiché dans le début de mon post.

Merci.
rfxcom.log (42,0 Ko) rfxcom_update.log (1,6 Ko)

Salut !

Ca sent quand même la bonne version de debian 9 upgradée en 10 !
Et ça attributeError: module ‹ serial › has no attribute ‹ VERSION ›

Hello,

Iso utilisée pour l’installation de cette VM qui a moins de 2 mois : debian-10.6.0-amd64-xfce-CD-1.iso
Donc non, pas d’upgrade de 9 vers 10.

Ben tu as du bidouiller alors car dans tes repos il y a ça :

Hit:1 http://ftp.fr.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://phoscon.de/apt/deconz buster InRelease
Get:4 http://ftp.fr.debian.org/debian buster-updates InRelease [51.9 kB]
Ign:5 http://deb.debian.org/debian/stretch stretch-updates InRelease
Err:6 http://deb.debian.org/debian/stretch stretch-updates Release
  404  Not Found [IP: 151.101.114.132 80]
Reading package lists...
E: The repository 'http://deb.debian.org/debian/stretch stretch-updates Release' does not have a Release file.
Skipping serial as it is not installed.

Dans une fresh install de debian 10, il n’y a rien de strech qui apparait.

De plus tu dois avoir un conflit python2 et python3 et le paquet piserial a du s’installer bizarrement.

Le plus simple, installer un debian 10 propre, le mettre à jour, faire l’install de jeedom et restaurer un backup

Merci @anon53349806, merci également aux autres contributeurs.
une fois la réinstallation DEBIAN 10 faite from scratch, sans ajouter de modification avec les librairies de paquets, le démon se lance bien.

Je vais checker sur le long terme si ca reste stable :wink:

Bonsoir,

Je viens de tester un redémarrage de JEEDOM via la GUI « REBOOT » et … même souci que précédemment.
Logs attaché où vous voyez bien que ca marche avant le démarrage et ensuite … ca plante avec la même erreur.
Une explication? Avez-vous tenté un reboot avec ce nouveau plugin sur votre JEEDOM? Je sèche … rien n’a été magouillé sur cette nouvelle installation.

Merci.rfxcom_update_new.log (1,4 Ko) rfxcom_new.log (45,6 Ko)

 Load decoder packet type 0x01 : Interface Response Message
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x10 : Lighting1 (X10, ARC, ELRO, Waveman, EMW200, IMPULS,RisingSun, Philips, Energenie, GDR2, HQ, Oase)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x11 : Lighting2 (AC, HomeEasy EU, ANSLUT, Kambrook)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x13 : Lighting4 (PT2262)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x14 : Lighting5 ( LightwaveRF, Siemens, EMW100, BBSB, MDREMOTE,RSL2, OTIO, Livolo, RGB, Aoke relay, Eurodomest, RGB432W, Legrand,Avantek, IT, Kangtai)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x15 : Lighting6 (Blyss (AE), Cuveo)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x16 : Chime (Byron SX, Byron MP001, SelectPlus, Envivo, Alfawise)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x17 : Fan (Siemens SF01, Itho, LucciAir, SEAV,Westinghouse,Casafan,FT1211R,Novy)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x19 : Blinds1 (RollerTrol,Hasta,A-OK,Raex, Media Mount, DC)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x1C : Edisio
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x1D : Honeywell ActivLink
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x1E : FunkBus
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x1F : Hunter Fan
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x20 : Security1 (X10, KD101, Visonic, Meiantech, SA30, SA33, RM174RF)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x21 : Security2 (KeeLoq)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x28 : Camera1 (Ninja/Robocam)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x30 : Remote control and IR (ATI, Medion, PC Remote)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x40 : Thermostat1 (Digimax)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x42 : Thermostat3 (Mertik-Maxitrol G6R-H4 type)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x4E : BBQ Temperature sensors (BBQ1)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x4F : Temperature and rain sensors
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x50 : Temperature sensors
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x51 : Humidity sensors
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x52 : Temperature and humidity sensors
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x53 : Barometric sensors 
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x54 : Temperature, humidity and barometric sensors
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x55 : Rain sensors
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x56 : Wind sensors
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x57 : UV sensors
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x58 : Date/time sensors
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x59 : Current sensors
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x5A : Current sensors
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x5B : Current + ENERGY sensors
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x5C : Power sensors
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x5D : Weighting scale
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x60 : CARTELECTRONIC
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x70 : RFXsensor
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x71 : RFXMeter
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x72 : FS20 (FS20, FHT 8V, FHT80)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x76 : Weather stations (WEATHER1-WEATHER2)
[2020-11-27 17:07:03][DEBUG] : Load decoder packet type 0x77 : SOLAR1

Tu as activé tous les protocols du rfxcom ???

non, seulement ceux par défaut et 1 autre. Il ne faut pas le faire c’est clair.

Tu as quel firmware dans ton rfx ?
Tu as vérifié sur le site dans la doc que tu as pas 2 protocoles cochés incompatible entre eux ?

Tu as un autre cable usb pour tester car ceux d’origine, j’ai eu des soucis !

Firware → Le dernier sur leur site disponible
Tu as vérifié sur le site dans la doc que tu as pas 2 protocoles cochés incompatible entre eux ? oui et ca a marché sur l’ancienne version sans souci pendant 2 mois.
Tu as un autre cable usb pour tester car ceux d’origine → Je viens de changer, pareil

En restaurant le Snap de ma VM une fois réinstallé, et en ayant le plugin DECONZ de non activé, ca fonctionne et je peux redémarrer mon JEEDOM sans souci.
La seule différence vient du lancement du plugin Deconz … Est-ce qu’il y aurait un conflit possible? Je vais continuer à creuser.

ALors la conflit je sais pas, il faut voir avec Loic
Je n’utilise pas deconz

Bonsoir
Je rencontre le même problème. Le demon se lance puis s’arrête. J’ai installé jeedom sur une VM avec Buster.

********************************************************
*             Installation des dépendances             *
********************************************************
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
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_12.x buster InRelease
Fetched 51.9 kB in 7s (7045 B/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 153 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 153 not upgraded.
Requirement already up-to-date: pyserial in /usr/local/lib/python3.7/dist-packages (3.5)
********************************************************
*             Installation terminée                    *
********************************************************

Je vous mets les logs de l'installation des dépendances.
Merci de votre aide.
Boboss

J’ai le même problème sur une jeedom smart :

-J’ai mis à jour le plugin
-J’ai mis à jour les dépendances
-J’ai mis à jour le firmware de mon RFXtrx433
-J’ai fait un recovery de ma box jeedom smart puis j’ai charger ma sauvegarde
-J’ai réinstaller le plugin
-J’ai réinstaller les dépendances
-Je n’ai activé que le protocole orégon car je n’utilise que celui-ci.

Démon toujours NOK

[2020-11-27 19:37:33][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2020-11-27 19:37:34][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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --cycle 0.3 --pid /tmp/jeedom/rfxcom/deamon.pid
[2020-11-27 18:37:35][INFO] : Start rfxcomd
[2020-11-27 18:37:35][INFO] : Log level : debug
[2020-11-27 18:37:35][INFO] : Socket port : 55000
[2020-11-27 18:37:35][INFO] : Socket host : 127.0.0.1
[2020-11-27 18:37:35][INFO] : PID file : /tmp/jeedom/rfxcom/deamon.pid
[2020-11-27 18:37:35][INFO] : Device : /dev/ttyUSB0
[2020-11-27 18:37:35][INFO] : Apikey : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2020-11-27 18:37:35][INFO] : Callback : http://127.0.0.1:80/plugins/rfxcom/core/php/jeeRfxcom.php
[2020-11-27 18:37:35][INFO] : Cycle : 0.3
[2020-11-27 18:37:35][INFO] : Serial rate : 38400
[2020-11-27 18:37:35][INFO] : Serial timeout : 9
[2020-11-27 18:37:35][INFO] : Protocol : 18
[2020-11-27 18:37:35][INFO] : Find device : /dev/ttyUSB0
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x01 : Interface Response Message
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x10 : Lighting1 (X10, ARC, ELRO, Waveman, EMW200, IMPULS,RisingSun, Philips, Energenie, GDR2, HQ, Oase)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x11 : Lighting2 (AC, HomeEasy EU, ANSLUT, Kambrook)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x13 : Lighting4 (PT2262)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x14 : Lighting5 ( LightwaveRF, Siemens, EMW100, BBSB, MDREMOTE,RSL2, OTIO, Livolo, RGB, Aoke relay, Eurodomest, RGB432W, Legrand,Avantek, IT, Kangtai)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x15 : Lighting6 (Blyss (AE), Cuveo)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x16 : Chime (Byron SX, Byron MP001, SelectPlus, Envivo, Alfawise)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x17 : Fan (Siemens SF01, Itho, LucciAir, SEAV,Westinghouse,Casafan,FT1211R,Novy)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x19 : Blinds1 (RollerTrol,Hasta,A-OK,Raex, Media Mount, DC)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x1C : Edisio
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x1D : Honeywell ActivLink
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x1E : FunkBus
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x1F : Hunter Fan
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x20 : Security1 (X10, KD101, Visonic, Meiantech, SA30, SA33, RM174RF)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x21 : Security2 (KeeLoq)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x28 : Camera1 (Ninja/Robocam)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x30 : Remote control and IR (ATI, Medion, PC Remote)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x40 : Thermostat1 (Digimax)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x42 : Thermostat3 (Mertik-Maxitrol G6R-H4 type)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x4E : BBQ Temperature sensors (BBQ1)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x4F : Temperature and rain sensors
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x50 : Temperature sensors
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x51 : Humidity sensors
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x52 : Temperature and humidity sensors
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x53 : Barometric sensors 
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x54 : Temperature, humidity and barometric sensors
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x55 : Rain sensors
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x56 : Wind sensors
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x57 : UV sensors
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x58 : Date/time sensors
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x59 : Current sensors
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x5A : Current sensors
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x5B : Current + ENERGY sensors
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x5C : Power sensors
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x5D : Weighting scale
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x60 : CARTELECTRONIC
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x70 : RFXsensor
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x71 : RFXMeter
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x72 : FS20 (FS20, FHT 8V, FHT80)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x76 : Weather stations (WEATHER1-WEATHER2)
[2020-11-27 18:37:35][DEBUG] : Load decoder packet type 0x77 : SOLAR1
[2020-11-27 18:37:35][DEBUG] : Writing PID 4677 to /tmp/jeedom/rfxcom/deamon.pid
[2020-11-27 18:37:35][DEBUG] : Init request module v2.12.4
[2020-11-27 18:37:35][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-11-27 19:37:35][DEBUG] : null
[2020-11-27 18:37:35][DEBUG] : http://127.0.0.1:80 "GET /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1" 200 0
[2020-11-27 18:37:35][ERROR] : Fatal error : module 'serial' has no attribute 'VERSION'
[2020-11-27 18:37:35][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'

[2020-11-27 18:37:35][DEBUG] : Shutdown
[2020-11-27 18:37:35][DEBUG] : Removing PID file /tmp/jeedom/rfxcom/deamon.pid
[2020-11-27 18:37:35][DEBUG] : Exit 0
[2020-11-27 19:38:05][ERROR] : Impossible de lancer le démon RFXcom, vérifiez le log rfxcmd
[2020-11-27 19:40:04][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2020-11-27 19:40:04][ERROR] : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2020-11-27 19:40:04
[2020-11-27 19:40:06][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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --cycle 0.3 --pid /tmp/jeedom/rfxcom/deamon.pid
[2020-11-27 18:40:07][INFO] : Start rfxcomd
[2020-11-27 18:40:07][INFO] : Log level : debug
[2020-11-27 18:40:07][INFO] : Socket port : 55000
[2020-11-27 18:40:07][INFO] : Socket host : 127.0.0.1
[2020-11-27 18:40:07][INFO] : PID file : /tmp/jeedom/rfxcom/deamon.pid
[2020-11-27 18:40:07][INFO] : Device : /dev/ttyUSB0
[2020-11-27 18:40:07][INFO] : Apikey : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2020-11-27 18:40:07][INFO] : Callback : http://127.0.0.1:80/plugins/rfxcom/core/php/jeeRfxcom.php
[2020-11-27 18:40:07][INFO] : Cycle : 0.3
[2020-11-27 18:40:07][INFO] : Serial rate : 38400
[2020-11-27 18:40:07][INFO] : Serial timeout : 9
[2020-11-27 18:40:07][INFO] : Protocol : 18
[2020-11-27 18:40:07][INFO] : Find device : /dev/ttyUSB0
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x01 : Interface Response Message
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x10 : Lighting1 (X10, ARC, ELRO, Waveman, EMW200, IMPULS,RisingSun, Philips, Energenie, GDR2, HQ, Oase)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x11 : Lighting2 (AC, HomeEasy EU, ANSLUT, Kambrook)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x13 : Lighting4 (PT2262)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x14 : Lighting5 ( LightwaveRF, Siemens, EMW100, BBSB, MDREMOTE,RSL2, OTIO, Livolo, RGB, Aoke relay, Eurodomest, RGB432W, Legrand,Avantek, IT, Kangtai)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x15 : Lighting6 (Blyss (AE), Cuveo)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x16 : Chime (Byron SX, Byron MP001, SelectPlus, Envivo, Alfawise)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x17 : Fan (Siemens SF01, Itho, LucciAir, SEAV,Westinghouse,Casafan,FT1211R,Novy)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x19 : Blinds1 (RollerTrol,Hasta,A-OK,Raex, Media Mount, DC)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x1C : Edisio
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x1D : Honeywell ActivLink
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x1E : FunkBus
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x1F : Hunter Fan
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x20 : Security1 (X10, KD101, Visonic, Meiantech, SA30, SA33, RM174RF)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x21 : Security2 (KeeLoq)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x28 : Camera1 (Ninja/Robocam)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x30 : Remote control and IR (ATI, Medion, PC Remote)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x40 : Thermostat1 (Digimax)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x42 : Thermostat3 (Mertik-Maxitrol G6R-H4 type)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x4E : BBQ Temperature sensors (BBQ1)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x4F : Temperature and rain sensors
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x50 : Temperature sensors
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x51 : Humidity sensors
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x52 : Temperature and humidity sensors
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x53 : Barometric sensors 
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x54 : Temperature, humidity and barometric sensors
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x55 : Rain sensors
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x56 : Wind sensors
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x57 : UV sensors
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x58 : Date/time sensors
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x59 : Current sensors
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x5A : Current sensors
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x5B : Current + ENERGY sensors
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x5C : Power sensors
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x5D : Weighting scale
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x60 : CARTELECTRONIC
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x70 : RFXsensor
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x71 : RFXMeter
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x72 : FS20 (FS20, FHT 8V, FHT80)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x76 : Weather stations (WEATHER1-WEATHER2)
[2020-11-27 18:40:07][DEBUG] : Load decoder packet type 0x77 : SOLAR1
[2020-11-27 18:40:07][DEBUG] : Writing PID 12082 to /tmp/jeedom/rfxcom/deamon.pid
[2020-11-27 18:40:07][DEBUG] : Init request module v2.12.4
[2020-11-27 18:40:07][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-11-27 19:40:07][DEBUG] : null
[2020-11-27 18:40:07][DEBUG] : http://127.0.0.1:80 "GET /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1" 200 0
[2020-11-27 18:40:07][ERROR] : Fatal error : module 'serial' has no attribute 'VERSION'
[2020-11-27 18:40:07][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'

[2020-11-27 18:40:07][DEBUG] : Shutdown
[2020-11-27 18:40:07][DEBUG] : Removing PID file /tmp/jeedom/rfxcom/deamon.pid
[2020-11-27 18:40:07][DEBUG] : Exit 0
[2020-11-27 19:40:09][INFO] : Démon RFXcom lancé

Bonsoir,

Merci à l’avenir d’utiliser les balises </> pour insérer vos logs pour une meilleurs lisibilité pour tout le monde et de ne pas afficher votre APIKey en clair ;-).

1 « J'aime »