Décidément, plus j’avance dans mes tests, plus j’ai l’impression que le module que je capte est bien mon pluviometre.
Le message reçu
[2021-05-15 17:19:58][DEBUG] : Message: 0a52020a870100dd310049
[2021-05-15 17:19:58][DEBUG] : Decode : 0a52020a870100dd310049
[2021-05-15 17:19:58][DEBUG] : Test message: 0a52020a870100dd310049
[2021-05-15 17:19:58][DEBUG] : PacketType: 0x52
[2021-05-15 17:19:58][DEBUG] : Length: 11
[2021-05-15 17:19:58][DEBUG] : Start decoding packet type 0x52
[2021-05-15 17:19:58][DEBUG] : Subtype = TH2 is THGR810, THGN800, THGN801
[2021-05-15 17:19:58][DEBUG] : Data : {'packetlen': '0x0A', 'packettype': '0x52', 'subtype': '0x02', 'seqnbr': '0x0A', 'id1': '0x87', 'id2': '0x01', 'temperaturesign': '', 'temperature': 221, 'humidity': 49, 'humidity_status': 0, 'battery': 100, 'rssi': 4}
[2021-05-15 17:19:58][DEBUG] : Decoded info : {'packettype': '0x52', 'subtype': '0x02', 'id': '8701', 'temperature': '22.1', 'humidity': 49, 'humidity_status': 0, 'battery': 100, 'rssi': 4}
[2021-05-15 17:19:58][DEBUG] : Device is known id : 8701
[2021-05-15 17:19:59][DEBUG] : Send to jeedom : {'devices': {'870152': {'packettype': '0x52', 'subtype': '0x02', 'id': '8701', 'temperature': '22.1', 'humidity': 49, 'humidity_status': 0, 'battery': 100, 'rssi': 4}}}
[2021-05-15 17:19:59][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-05-15 17:19:59][DEBUG] : {"devices":{"870152":{"packettype":"0x52","subtype":"0x02","id":"8701","temperature":"22.1","humidity":49,"humidity_status":0,"battery":100,"rssi":4}}}
[2021-05-15 17:19:59][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=8M4RZpAEZXFcAd10CODX0fnByIEv5ZWc HTTP/1.1" 200 0
Lorsque je supprime le module, il se recrée automatiquement, exactement lorsque la base (le boitier avec écran) affiche le petite logo de reception de message.
De plus, la température affichée, est exactement de 22.1, la même que celle affichée sur le boitier.
Donc je fini par me demander si ce n’est pas juste mon pluviometre qui remonte un message d’un « autre type » ou qui est mal reconnu par mon rfxCom.
Je n’ai que 4 protocols activés :
Rubicson : mes sondes de températures (2)
X10 : Mon moteur somfy pour le garage
LaCrosse : Qui ne détecte rien, mais qui devrait pourtant détecter mon pluviomètre
Oregon : Celui qui détecte mon message de type 0x52 (mon pluviometre).
Si je désactive le protocole Oregon, le pluviometre n’est plus détecté.
Démarrage du démon en mode débug :
[2021-05-15 17:26:54][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,12,18,23 --callback http://127.0.0.1:80/plugins/rfxcom/core/php/jeeRfxcom.php --apikey 8M4RZpAEZXFcAd10CODX0fnByIEv5ZWc --cycle 0.3 --pid /tmp/jeedom/rfxcom/deamon.pid
[2021-05-15 17:26:54][INFO] : Start rfxcomd
[2021-05-15 17:26:54][INFO] : Log level : debug
[2021-05-15 17:26:54][INFO] : Socket port : 55000
[2021-05-15 17:26:54][INFO] : Socket host : 127.0.0.1
[2021-05-15 17:26:54][INFO] : PID file : /tmp/jeedom/rfxcom/deamon.pid
[2021-05-15 17:26:54][INFO] : Device : /dev/ttyUSB0
[2021-05-15 17:26:54][INFO] : Apikey : 8M4RZpAEZXFcAd10CODX0fnByIEv5ZWc
[2021-05-15 17:26:54][INFO] : Callback : http://127.0.0.1:80/plugins/rfxcom/core/php/jeeRfxcom.php
[2021-05-15 17:26:54][INFO] : Cycle : 0.3
[2021-05-15 17:26:54][INFO] : Serial rate : 38400
[2021-05-15 17:26:54][INFO] : Serial timeout : 9
[2021-05-15 17:26:54][INFO] : Protocol : 6,12,18,23
[2021-05-15 17:26:54][INFO] : Find device : /dev/ttyUSB0
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x01 : Interface Response Message
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x02 : Receiver/Transmitter Message
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x10 : Lighting1 (X10, ARC, ELRO, Waveman, EMW200, IMPULS,RisingSun, Philips, Energenie, GDR2, HQ, Oase)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x11 : Lighting2 (AC, HomeEasy EU, ANSLUT, Kambrook)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x13 : Lighting4 (PT2262)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x14 : Lighting5 ( LightwaveRF, Siemens, EMW100, BBSB, MDREMOTE,RSL2, OTIO, Livolo, RGB, Aoke relay, Eurodomest, RGB432W, Legrand,Avantek, IT, Kangtai)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x15 : Lighting6 (Blyss (AE), Cuveo)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x16 : Chime (Byron SX, Byron MP001, SelectPlus, Envivo, Alfawise)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x17 : Fan (Siemens SF01, Itho, LucciAir, SEAV,Westinghouse,Casafan,FT1211R,Novy)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x19 : Blinds1 (RollerTrol,Hasta,A-OK,Raex, Media Mount, DC)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x1C : Edisio
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x1D : Honeywell ActivLink
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x1E : FunkBus
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x1F : Hunter Fan
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x20 : Security1 (X10, KD101, Visonic, Meiantech, SA30, SA33, RM174RF)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x21 : Security2 (KeeLoq)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x28 : Camera1 (Ninja/Robocam)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x30 : Remote control and IR (ATI, Medion, PC Remote)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x40 : Thermostat1 (Digimax)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x42 : Thermostat3 (Mertik-Maxitrol G6R-H4 type)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x4E : BBQ Temperature sensors (BBQ1)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x4F : Temperature and rain sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x50 : Temperature sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x51 : Humidity sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x52 : Temperature and humidity sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x53 : Barometric sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x54 : Temperature, humidity and barometric sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x55 : Rain sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x56 : Wind sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x57 : UV sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x58 : Date/time sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x59 : Current sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x5A : Current sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x5B : Current + ENERGY sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x5C : Power sensors
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x5D : Weighting scale
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x60 : CARTELECTRONIC
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x70 : RFXsensor
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x71 : RFXMeter
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x72 : FS20 (FS20, FHT 8V, FHT80)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x76 : Weather stations (WEATHER1-WEATHER2)
[2021-05-15 17:26:54][DEBUG] : Load decoder packet type 0x77 : SOLAR1
[2021-05-15 17:26:54][DEBUG] : Writing PID 19832 to /tmp/jeedom/rfxcom/deamon.pid
[2021-05-15 17:26:54][DEBUG] : Init request module v2.25.1
[2021-05-15 17:26:54][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-05-15 17:26:55][DEBUG] : null
[2021-05-15 17:26:55][DEBUG] : http://127.0.0.1:80 "GET /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=8M4RZpAEZXFcAd10CODX0fnByIEv5ZWc HTTP/1.1" 200 0
[2021-05-15 17:26:55][DEBUG] : Init serial module v3.5
[2021-05-15 17:26:55][DEBUG] : Start listening...
[2021-05-15 17:26:55][DEBUG] : Socket interface started
[2021-05-15 17:26:55][DEBUG] : LoopNetServer Thread started
[2021-05-15 17:26:55][DEBUG] : Open serial port on device: /dev/ttyUSB0, rate 38400, timeout : 9
[2021-05-15 17:26:55][DEBUG] : Listening on: [127.0.0.1:55000]
[2021-05-15 17:26:55][DEBUG] : Open Serialport
[2021-05-15 17:26:55][DEBUG] : flushOutput serial port
[2021-05-15 17:26:55][DEBUG] : flushInput serial port
[2021-05-15 17:26:55][DEBUG] : flushOutput serial port
[2021-05-15 17:26:55][DEBUG] : flushInput serial port
[2021-05-15 17:26:55][DEBUG] : Read Socket Thread Launched
[2021-05-15 17:26:55][DEBUG] : Read Device Thread Launched
[2021-05-15 17:26:56][DEBUG] : Send rfxcomd_reset
[2021-05-15 17:26:56][DEBUG] : Write data to serial port : 0d00000000000000000000000000
[2021-05-15 17:26:56][DEBUG] : Sleep 1 sec
[2021-05-15 17:26:57][DEBUG] : flushInput serial port
[2021-05-15 17:26:57][DEBUG] : Send get status test
[2021-05-15 17:26:57][DEBUG] : Write data to serial port : 0d00000102000000000000000000
[2021-05-15 17:26:57][DEBUG] : Message: 1401000102532b0208210003001c10494658434f4d
[2021-05-15 17:26:57][DEBUG] : Decode : 1401000102532b0208210003001c10494658434f4d
[2021-05-15 17:26:57][DEBUG] : Test message: 1401000102532b0208210003001c10494658434f4d
[2021-05-15 17:26:57][DEBUG] : PacketType: 0x01
[2021-05-15 17:26:57][DEBUG] : Length: 21
[2021-05-15 17:26:57][DEBUG] : Start decoding packet type 0x01
[2021-05-15 17:26:57][DEBUG] : Data : {'packetlen': '0x14', 'packettype': '0x01', 'subtype': '0x00', 'seqnbr': '0x01', 'cmnd': '0x02', 'msg1': '0x53', 'msg2': '0x2B', 'msg3': '0x02', 'msg4': '0x08', 'msg5': '0x21', 'msg6': '0x00', 'msg7': '0x03', 'msg8': '0x00', 'msg9': 28, 'msg10': '0x10', 'msg11': '0x49', 'msg12': '0x46', 'msg13': '0x58', 'msg14': '0x43', 'msg15': '0x4F', 'msg16': '0x4D'}
[2021-05-15 17:26:57][DEBUG] : Subtype = response on a mode command
[2021-05-15 17:26:57][DEBUG] : Firmware version = 0x2B
[2021-05-15 17:26:57][DEBUG] : RFXtrx433 operating at 433.92MHz
[2021-05-15 17:26:57][DEBUG] : Hardware major version = 0x03
[2021-05-15 17:26:57][DEBUG] : Hardware minor version = 0x00
[2021-05-15 17:26:57][DEBUG] : Output power = 10 dBm
[2021-05-15 17:26:57][DEBUG] : Firmware ProXL1
[2021-05-15 17:26:57][DEBUG] : Noise level (only used in special firmware) = 0x49
[2021-05-15 17:26:57][DEBUG] : undec on : 0
[2021-05-15 17:26:57][DEBUG] : Imagintronix,Opus/Alecto2010/Alecto : 0
[2021-05-15 17:26:57][DEBUG] : Byron SX,SelectPlus/Alecto5500 : 0
[2021-05-15 17:26:57][DEBUG] : RSL,Revolt/La Crosse : 0
[2021-05-15 17:26:57][DEBUG] : Lighting4/Davis EU : 0
[2021-05-15 17:26:57][DEBUG] : FineOffset,Viking/Davis US : 0
[2021-05-15 17:26:57][DEBUG] : Rubicson,Alecto,Banggood/Davis AU : 1
[2021-05-15 17:26:57][DEBUG] : AE Blyss : 0
[2021-05-15 17:26:57][DEBUG] : BlindsTx : 0
[2021-05-15 17:26:57][DEBUG] : BlindsT0 : 0
[2021-05-15 17:26:57][DEBUG] : Proguard : 0
[2021-05-15 17:26:57][DEBUG] : Legrand CAD : 0
[2021-05-15 17:26:57][DEBUG] : La Crosse : 1
[2021-05-15 17:26:57][DEBUG] : Hideki,TFA,Cresta,UPM/FS20 : 0
[2021-05-15 17:26:57][DEBUG] : AD LightwaveRF : 0
[2021-05-15 17:26:57][DEBUG] : Mertik/Edisio : 0
[2021-05-15 17:26:57][DEBUG] : Visonic : 0
[2021-05-15 17:26:57][DEBUG] : ATI/cartelectronic/Meiantech,Atlantic : 0
[2021-05-15 17:26:57][DEBUG] : Oregon Scientific/Keeloq : 1
[2021-05-15 17:26:57][DEBUG] : Meiantech,Atlantic/Proguard : 0
[2021-05-15 17:26:57][DEBUG] : HomeEasy EU : 0
[2021-05-15 17:26:57][DEBUG] : AC : 0
[2021-05-15 17:26:57][DEBUG] : ARC : 0
[2021-05-15 17:26:57][DEBUG] : X10 : 1
[2021-05-15 17:26:57][DEBUG] : FunkBus 433.42/Itho CVE RFT : 0
[2021-05-15 17:26:57][DEBUG] : MCZ 434.50/Itho CVE ECO RFT : 0
[2021-05-15 17:26:57][DEBUG] : Honeywell Chime : 0
[2021-05-15 17:26:57][DEBUG] : HomeConfort,Fan : 0
[2021-05-15 17:26:57][DEBUG] : Keeloq : 0
[2021-05-15 17:26:57][DEBUG] : Client connected to [127.0.0.1:33940]
[2021-05-15 17:26:57][DEBUG] : Message read from socket: b'{"apikey":"8M4RZpAEZXFcAd10CODX0fnByIEv5ZWc","cmd":"add","device":{"id":"8701"}}'
[2021-05-15 17:26:57][DEBUG] : Client disconnected from [127.0.0.1:33940]
[2021-05-15 17:26:57][DEBUG] : Client connected to [127.0.0.1:33942]
[2021-05-15 17:26:57][DEBUG] : Message read from socket: b'{"apikey":"8M4RZpAEZXFcAd10CODX0fnByIEv5ZWc","cmd":"add","device":{"id":"B402"}}'
[2021-05-15 17:26:57][DEBUG] : Client disconnected from [127.0.0.1:33942]
[2021-05-15 17:26:57][INFO] : Démon RFXcom lancé
[2021-05-15 17:26:57][DEBUG] : Client connected to [127.0.0.1:33944]
[2021-05-15 17:26:57][DEBUG] : Message read from socket: b'{"apikey":"8M4RZpAEZXFcAd10CODX0fnByIEv5ZWc","cmd":"add","device":{"id":"78AD03"}}'
[2021-05-15 17:26:57][DEBUG] : Client disconnected from [127.0.0.1:33944]
[2021-05-15 17:26:57][DEBUG] : Client connected to [127.0.0.1:33946]
[2021-05-15 17:26:57][DEBUG] : Message read from socket: b'{"apikey":"8M4RZpAEZXFcAd10CODX0fnByIEv5ZWc","cmd":"add","device":{"id":"044569"}}'
[2021-05-15 17:26:57][DEBUG] : Client disconnected from [127.0.0.1:33946]
[2021-05-15 17:26:57][DEBUG] : Client connected to [127.0.0.1:33948]
[2021-05-15 17:26:57][DEBUG] : Message read from socket: b'{"apikey":"8M4RZpAEZXFcAd10CODX0fnByIEv5ZWc","cmd":"add","device":{"id":"52F9"}}'
[2021-05-15 17:26:57][DEBUG] : Client disconnected from [127.0.0.1:33948]
[2021-05-15 17:26:57][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-05-15 17:26:57][DEBUG] : Add device : {'id': '8701'}
[2021-05-15 17:26:57][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-05-15 17:26:57][DEBUG] : Add device : {'id': 'B402'}
[2021-05-15 17:26:57][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-05-15 17:26:57][DEBUG] : Add device : {'id': '78AD03'}
[2021-05-15 17:26:57][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-05-15 17:26:57][DEBUG] : Add device : {'id': '044569'}
[2021-05-15 17:26:57][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-05-15 17:26:57][DEBUG] : Add device : {'id': '52F9'}
[2021-05-15 17:26:58][DEBUG] : msg3: [0, 0, 0, 0, 0, 0, 1, 0] / 02
[2021-05-15 17:26:58][DEBUG] : msg4: [0, 0, 0, 0, 1, 0, 0, 0] / 08
[2021-05-15 17:26:58][DEBUG] : msg5: [0, 0, 1, 0, 0, 0, 0, 1] / 21
[2021-05-15 17:26:58][DEBUG] : msg6: [0, 0, 0, 0, 0, 0, 0, 0] / 00
[2021-05-15 17:26:58][DEBUG] : Command: 0d00000203531C02082100000000
[2021-05-15 17:26:58][DEBUG] : Protocol actually activated 02082100
[2021-05-15 17:26:58][DEBUG] : Actual Frequency 53
[2021-05-15 17:26:58][DEBUG] : Wanted protocol 02082100