Page 1 sur 1

RFXCOM : démon en timeout

Publié : 14 avr. 2019, 19:50
par FamBOLLE
Bonjour,

Mon installation est toute récente .
JEEDOM SMART + RFXCOM (dernière version)

Le démon RFXCOM s'arrête au bout de quelques secondes en "Timeout waiting status"

J'ai essayé avec 1 HUB USB alimenté sans succès.
J'ai retiré des protocoles inutiles pour moi sans succès.
J'ai branché en direct la clé sur le boitier JEEDOM SMART sans succès.

Mon installation est tout près de mon Routeur LIVEBOX, de mon ancienne ZIBASE 2S , et de mon onduleur .

Quelqu'un pourrait t'il me donner son avis et des conseils pour essayer de résoudre ce problème.

Merci d'avance

Re: RFXCOM : démon en timeout

Publié : 14 avr. 2019, 21:12
par Fabrice
Bonsoir

De quelle clé parlez vous ?
Vous avez bien configuré le port ?
Vous pouvez mettre un extrait de la log montrant les erreurs.

Re: RFXCOM : démon en timeout

Publié : 14 avr. 2019, 22:01
par FamBOLLE
Bonsoir

La clé c'est le RFXPLAYER (USB) .
Je l'ai directement connecté au boitier SMART JEEDOM (sans rallonge USB) sans succès.

Voir les 2 captures en document joint.

Re: RFXCOM : démon en timeout

Publié : 14 avr. 2019, 22:27
par FamBOLLE
[2019-04-14 21:58:04][INFO] : Lancement démon rfxcomd : /usr/bin/python /var/www/html/plugins/rfxcom/resources/rfxcomd/rfxcomd.py --device /dev/ttyUSB0 --loglevel debug --socketport 55000 --serialrate 38400 --protocol 18,21,23 --callback http://127.0.0.1:80/plugins/rfxcom/core ... Rfxcom.php --apikey xxxxxxxxxxxxxxxxxx--cycle 0.3 --pid /tmp/jeedom/rfxcom/deamon.pid
[2019-04-14 19:58:05][INFO] : Start rfxcomd
[2019-04-14 19:58:05][INFO] : Log level : debug
[2019-04-14 19:58:05][INFO] : Socket port : 55000
[2019-04-14 19:58:05][INFO] : Socket host : 127.0.0.1
[2019-04-14 19:58:05][INFO] : PID file : /tmp/jeedom/rfxcom/deamon.pid
[2019-04-14 19:58:05][INFO] : Device : /dev/ttyUSB0
[2019-04-14 19:58:05][INFO] : Apikey : CBMGcEjAF11GRd7IbsVRYN1nqsSChn9a
[2019-04-14 19:58:05][INFO] : Callback : http://127.0.0.1:80/plugins/rfxcom/core ... Rfxcom.php
[2019-04-14 19:58:05][INFO] : Cycle : 0.3
[2019-04-14 19:58:05][INFO] : Serial rate : 38400
[2019-04-14 19:58:05][INFO] : Serial timeout : 9
[2019-04-14 19:58:05][INFO] : Protocol : 18,21,23
[2019-04-14 19:58:05][DEBUG] : Writing PID 22295 to /tmp/jeedom/rfxcom/deamon.pid
[2019-04-14 19:58:05][DEBUG] : Init request module v2.12.4
[2019-04-14 19:58:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-04-14 19:58:05][DEBUG] : http://127.0.0.1:80 "GET /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=CBMGcEjAF11GRd7IbsVRYN1nqsSChn9a HTTP/1.1" 200 0
[2019-04-14 19:58:05][DEBUG] : Init serial module v3.2.1
[2019-04-14 19:58:05][DEBUG] : Start listening...
[2019-04-14 19:58:05][DEBUG] : Socket interface started
[2019-04-14 19:58:05][DEBUG] : LoopNetServer Thread started
[2019-04-14 19:58:05][DEBUG] : Open serial port on device: /dev/ttyUSB0, rate 38400, timeout : 9
[2019-04-14 19:58:05][DEBUG] : Listening on: [127.0.0.1:55000]
[2019-04-14 19:58:05][DEBUG] : Open Serialport
[2019-04-14 19:58:05][DEBUG] : flushOutput serial port
[2019-04-14 19:58:05][DEBUG] : flushInput serial port
[2019-04-14 19:58:05][DEBUG] : flushOutput serial port
[2019-04-14 19:58:05][DEBUG] : flushInput serial port
[2019-04-14 19:58:05][DEBUG] : Read Socket Thread Launched
[2019-04-14 19:58:05][DEBUG] : Read Device Thread Launched
[2019-04-14 19:58:06][DEBUG] : Send rfxcomd_reset
[2019-04-14 19:58:06][DEBUG] : Write data to serial port : 0D 00 00 00 00 00 00 00 00 00 00 00 00 00
[2019-04-14 19:58:06][DEBUG] : Sleep 1 sec
[2019-04-14 19:58:07][DEBUG] : flushInput serial port
[2019-04-14 19:58:07][DEBUG] : Send get status test
[2019-04-14 19:58:07][DEBUG] : Write data to serial port : 0D 00 00 01 02 00 00 00 00 00 00 00 00 00
[2019-04-14 21:58:07][INFO] : Démon RFXcom lancé
[2019-04-14 19:58:33][ERROR] : Timeout waiting status
[2019-04-14 19:58:33][DEBUG] : Shutdown
[2019-04-14 19:58:33][DEBUG] : Removing PID file /tmp/jeedom/rfxcom/deamon.pid
[2019-04-14 19:58:33][DEBUG] : LoopNetServer Thread stopped
[2019-04-14 19:58:33][DEBUG] : Close serial port
[2019-04-14 19:58:33][DEBUG] : Serial port closed
[2019-04-14 19:58:33][DEBUG] : Exit 0

Re: RFXCOM : démon en timeout

Publié : 14 avr. 2019, 22:30
par Fabrice
Le rfplayer ne fonctionne pas avec le plugin rfxcom.
- Rfxcom est pour l'appareil du même nom.

Vous vous êtes trompé de plugin.

Pour vous, il faut le plugin rfplayer 2.

Re: RFXCOM : démon en timeout

Publié : 14 avr. 2019, 23:49
par FamBOLLE
Effectivement avec le plugin RFPLAYER ça fonctionne mieux.....
Un grand Merci .....

Pour un début dans le forum en ce qui me concerne j'avoue que c'est véritablement efficace.