Message
par Jean-Luc 57 » 14 déc. 2019, 14:11
WTH0531 pluviomètre
[2019-12-14 14:07:01][DEBUG] : Message: 0A 4F 01 27 C7 0F 00 BB 05 3D 69
[2019-12-14 14:07:01][DEBUG] : Decode : 0A 4F 01 27 C7 0F 00 BB 05 3D 69
[2019-12-14 14:07:01][DEBUG] : Test message: 0A 4F 01 27 C7 0F 00 BB 05 3D 69
[2019-12-14 14:07:01][DEBUG] : PacketType: 4F
[2019-12-14 14:07:01][DEBUG] : SubType: 01
[2019-12-14 14:07:01][DEBUG] : SeqNbr: 27
[2019-12-14 14:07:01][DEBUG] : Id1: C7
[2019-12-14 14:07:01][DEBUG] : Id2: 0F
[2019-12-14 14:07:01][DEBUG] : Decode data : {'temperature': '18.7', 'raw': '0A4F0127C70F00BB053D69', 'battery': '9', 'signal': '6', 'subtype': '01', 'raintotal': '134.1', 'packettype': '4F', 'id': 'C70F'}
[2019-12-14 14:07:02][DEBUG] : Send to jeedom : {'devices': {'C70F4F': {'temperature': '18.7', 'raw': '0A4F0127C70F00BB053D69', 'battery': '9', 'signal': '6', 'subtype': '01', 'raintotal': '134.1', 'packettype': '4F', 'id': 'C70F'}}}
[2019-12-14 14:07:02][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
Le fichier se trouve sur /var/www/html/plugins/rfxcom/resources/rfxcomd
fichier rfxcom.py:
Ajouter ces lignes:
# ---------------------------------------
# 0x4F - Rain sensors
# ---------------------------------------
if packettype == '4F':
action['id'] = str(id1 + id2)
action['temperature'] = str(decodeTemperature(message[6], message[7]))
action['raintotal'] = str(decodeTemperature(message[8], message[9]))
action['signal'] = str(decodeSignal(message[10]))
action['battery'] = str(decodeBattery(message[10]))
>>>>> NE PAS METTRE LE PROTOCOL LIGHTNING 4
[Transceiver type = 433.92MHz
[2019-12-14 13:55:07][DEBUG] : Firmware version = 24
[2019-12-14 13:55:07][DEBUG] : Protocols:
[2019-12-14 13:55:07][DEBUG] : Undecoded Enabled
[2019-12-14 13:55:07][DEBUG] : Imagintronix,Opus Enabled
[2019-12-14 13:55:07][DEBUG] : Byron SX,SelectPlus Disabled
[2019-12-14 13:55:07][DEBUG] : RSL,Revolt Disabled
[2019-12-14 13:55:07][DEBUG] : Lightning4 Disabled
[2019-12-14 13:55:07][DEBUG] : FineOffset / Viking Enabled
[2019-12-14 13:55:07][DEBUG] : Rubicson,Alecto,Banggood Enabled
[2019-12-14 13:55:07][DEBUG] : AE Blyss Enabled
[2019-12-14 13:55:07][DEBUG] : Blinds T1/T2/T3/T4 Disabled
[2019-12-14 13:55:07][DEBUG] : Blinds T0 Disabled
[2019-12-14 13:55:07][DEBUG] : Disabled
[2019-12-14 13:55:07][DEBUG] : Legrand CAD Disabled
[2019-12-14 13:55:07][DEBUG] : La Crosse Enabled
[2019-12-14 13:55:07][DEBUG] : Hideki,TFA,Cresta,UPM Enabled
[2019-12-14 13:55:07][DEBUG] : AD Lightwave RF Enabled
[2019-12-14 13:55:07][DEBUG] : Mertik Disabled
[2019-12-14 13:55:07][DEBUG] : Visonic Disabled
[2019-12-14 13:55:07][DEBUG] : ATI/cartelectronic Enabled
[2019-12-14 13:55:07][DEBUG] : Oregon Scientific Enabled
[2019-12-14 13:55:07][DEBUG] : Meiantech,Atlantic Enabled
[2019-12-14 13:55:07][DEBUG] : HomeEasy EU Enabled
[2019-12-14 13:55:07][DEBUG] : AC Enabled
[2019-12-14 13:55:07][DEBUG] : ARC Enabled
[2019-12-14 13:55:07][DEBUG] : X10 Enabled
[2019-12-14 13:55:07][DEBUG] : FunkBus Enabled