sasu-drooz / Domoticz-Rfplayer

Domoticz python Plugin for Ziblue RfPlayer Rfp1000
GNU General Public License v3.0
12 stars 16 forks source link

OREGON decoding stop working since 1 december updates #54

Closed Quentin-domo closed 6 years ago

Quentin-domo commented 6 years ago

issue with decoding OREGON messages on last versions, the last working version found is 1.0.7

last version, NOT working version : 1.0.11 (commit : ab3a82b36864bc208ea9a7c2c1715c8fc32f81ef) 2018-01-05 01:55:55.504 (rfp1000) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-49", "floorNoise": "-100", "rfQuality": "10", "protocol": "5", "protocolMeaning": "OREGON", "infoType": "4", "frequency": "433920"},"infos": {"subType": "0", "id_PHY": "0x1A2D", "id_PHYMeaning": "THGR122/228/238/268,THGN122/123/132", "adr_channel": "63490", "adr": "248", "channel": "2", "qualifier": "32", "lowBatt": "0", "measures" : [{"type" : "temperature", "value" : "+21.0", "unit" : "Celsius"}, {"type" : "hygrometry", "value" : "52", "unit" : "%"}]}}} 2018-01-05 01:55:55.504 (rfp1000) infoType : 4 2018-01-05 01:55:55.504 (rfp1000) id : 0x1A2D adr_channel : 63490 2018-01-05 01:55:55.504 (rfp1000) Options to find or set : {'adr_channel': '63490', 'id': '0x1A2D', 'sensorType': '80', 'Temp': '1', 'infoType': '4', 'protocol': '5'} 2018-01-05 01:55:55.504 (rfp1000) Error while decoding Infotype4 frame

last WORKING version : 1.0.7 (commit : ce6e4ffbceba55847bee6f45f18a6a4ed8551fd2) 2018-01-05 02:09:35.496 (rfp1000) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-48", "floorNoise": "-101", "rfQuality": "10", "protocol": "5", "protocolMeaning": "OREGON", "infoType": "4", "frequency": "433920"},"infos": {"subType": "0", "id_PHY": "0x1A2D", "id_PHYMeaning": "THGR122/228/238/268,THGN122/123/132", "adr_channel": "63490", "adr": "248", "channel": "2", "qualifier": "32", "lowBatt": "0", "measures" : [{"type" : "temperature", "value" : "+21.0", "unit" : "Celsius"}, {"type" : "hygrometry", "value" : "53", "unit" : "%"}]}}} 2018-01-05 02:09:35.496 (rfp1000) infoType : 4 2018-01-05 02:09:35.496 (rfp1000) id_PHY : 0x1A2D adr_channel : 63490 2018-01-05 02:09:35.496 (rfp1000) Options to find or set : {'infoType': '4', 'adr_channel': '63490', 'id_PHY': '0x1A2D', 'protocol': '5', 'Temp': '1'} 2018-01-05 02:09:35.497 (rfp1000) Devices already exist. Unit=2 2018-01-05 02:09:35.497 (rfp1000) Options find in DB: {'infoType': '4', 'adr_channel': '63490', 'id_PHY': '0x1A2D', 'protocol': '5', 'Temp': '1'} for devices unit 2 2018-01-05 02:09:35.497 (rfp1000 - Temp - 63490) Updating device from 1:'+21.0' to have values 1:'+21.0'. 2018-01-05 02:09:35.497 (rfp1000) Options to find or set : {'infoType': '4', 'adr_channel': '63490', 'id_PHY': '0x1A2D', 'Hygro': '1', 'protocol': '5'} 2018-01-05 02:09:35.497 (rfp1000) Devices already exist. Unit=3 2018-01-05 02:09:35.497 (rfp1000) Options find in DB: {'infoType': '4', 'adr_channel': '63490', 'id_PHY': '0x1A2D', 'Hygro': '1', 'protocol': '5'} for devices unit 3 2018-01-05 02:09:35.497 (rfp1000 - Hygro - 63490) Updating device from 53:'1' to have values 53:'1'. 2018-01-05 02:09:35.498 (rfp1000) Options to find or set : {'infoType': '4', 'adr_channel': '63490', 'id_PHY': '0x1A2D', 'TempHygro': '1', 'protocol': '5'} 2018-01-05 02:09:35.498 (rfp1000) Devices already exist. Unit=4 2018-01-05 02:09:35.498 (rfp1000) Options find in DB: {'infoType': '4', 'adr_channel': '63490', 'id_PHY': '0x1A2D', 'TempHygro': '1', 'protocol': '5'} for devices unit 4 2018-01-05 02:09:35.498 (Chambre Parents) Updating device from 1:'+21.0;53;1' to have values 1:'+21.0;53;1'.

zzdomi commented 6 years ago

Il faut supprimer le rfplayer de la liste des contrôleurs hardware et le recréeer. Les options présentes dans la base de données ont changé.

Quentin-domo commented 6 years ago

Parfait ! le décodage marche maintenant en version 1.0.11, après recréation du hardware Great ! decoding works with last version after re-creating rfplayer hardware

Merci @zzdomi

zzdomi commented 6 years ago

Je ferme le ticket.