sasu-drooz / Domoticz-Rfplayer

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

owl erreur infotype 8 #74

Open zedbulo opened 5 years ago

zedbulo commented 5 years ago

bonjour :) impossible de recuperer les données d'un compteur owl j'en ai 2 autres qui fonctionnent voici les logs. en vous remerçiant : = ) "erreur infotype 8"

2018-10-08 11:25:39.007 (Rfplayer) Pushing 'onHeartbeatCallback' on to queue 2018-10-08 11:25:39.030 (Rfplayer) Processing 'onHeartbeatCallback' message 2018-10-08 11:25:39.030 (Rfplayer) Calling message handler 'onHeartbeat'. 2018-10-08 11:25:39.756 (Rfplayer) Pushing 'ReadEvent' on to queue 2018-10-08 11:25:39.781 (Rfplayer) Processing 'ReadEvent' message 2018-10-08 11:25:39.782 (Rfplayer) Received 43 bytes of data 2018-10-08 11:25:39.782 (Rfplayer) 5a 49 41 33 33 7b 20 22 66 72 61 6d 65 22 20 3a 7b 22 68 65 ZIA33{."frame".:{"he 2018-10-08 11:25:39.782 (Rfplayer) 61 64 65 72 22 3a 20 7b 22 66 72 61 6d 65 54 79 70 65 22 3a ader":.{"frameType": 2018-10-08 11:25:39.782 (Rfplayer) 20 22 30 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ."0 2018-10-08 11:25:39.782 (Rfplayer) Pushing 'onMessageCallback' on to queue 2018-10-08 11:25:39.782 (Rfplayer) Processing 'onMessageCallback' message 2018-10-08 11:25:39.782 (Rfplayer) Calling message handler 'onMessage'. 2018-10-08 11:25:39.782 (Rfplayer) Last Message was 1.453407 seconds ago, Message clear 2018-10-08 11:25:39.811 (Rfplayer) Pushing 'ReadEvent' on to queue 2018-10-08 11:25:39.833 (Rfplayer) Processing 'ReadEvent' message 2018-10-08 11:25:39.833 (Rfplayer) Received 468 bytes of data 2018-10-08 11:25:39.833 (Rfplayer) 22 2c 20 22 63 6c 75 73 74 65 72 22 3a 20 22 30 22 2c 20 22 ",."cluster":."0",." 2018-10-08 11:25:39.833 (Rfplayer) 64 61 74 61 46 6c 61 67 22 3a 20 22 30 22 2c 20 22 72 66 4c dataFlag":."0",."rfL 2018-10-08 11:25:39.833 (Rfplayer) 65 76 65 6c 22 3a 20 22 2d 32 36 22 2c 20 22 66 6c 6f 6f 72 evel":."-26",."floor 2018-10-08 11:25:39.833 (Rfplayer) 4e 6f 69 73 65 22 3a 20 22 2d 39 34 22 2c 20 22 72 66 51 75 Noise":."-94",."rfQu 2018-10-08 11:25:39.833 (Rfplayer) 61 6c 69 74 79 22 3a 20 22 31 30 22 2c 20 22 70 72 6f 74 6f ality":."10",."proto 2018-10-08 11:25:39.833 (Rfplayer) 63 6f 6c 22 3a 20 22 37 22 2c 20 22 70 72 6f 74 6f 63 6f 6c col":."7",."protocol 2018-10-08 11:25:39.833 (Rfplayer) 4d 65 61 6e 69 6e 67 22 3a 20 22 4f 57 4c 22 2c 20 22 69 6e Meaning":."OWL",."in 2018-10-08 11:25:39.833 (Rfplayer) 66 6f 54 79 70 65 22 3a 20 22 38 22 2c 20 22 66 72 65 71 75 foType":."8",."frequ 2018-10-08 11:25:39.833 (Rfplayer) 65 6e 63 79 22 3a 20 22 34 33 33 39 32 30 22 7d 2c 22 69 6e ency":."433920"},"in 2018-10-08 11:25:39.833 (Rfplayer) 66 6f 73 22 3a 20 7b 22 73 75 62 54 79 70 65 22 3a 20 22 30 fos":.{"subType":."0 2018-10-08 11:25:39.833 (Rfplayer) 22 2c 20 22 69 64 5f 50 48 59 22 3a 20 22 30 78 30 30 30 30 ",."id_PHY":."0x0000 2018-10-08 11:25:39.834 (Rfplayer) 22 2c 20 22 69 64 5f 50 48 59 4d 65 61 6e 69 6e 67 22 3a 20 ",."id_PHYMeaning":. 2018-10-08 11:25:39.834 (Rfplayer) 22 43 4d 31 31 39 2f 31 36 30 22 2c 20 22 61 64 72 5f 63 68 "CM119/160",."adr_ch 2018-10-08 11:25:39.834 (Rfplayer) 61 6e 6e 65 6c 22 3a 20 22 31 38 35 31 34 22 2c 20 20 22 61 annel":."18514",.."a 2018-10-08 11:25:39.834 (Rfplayer) 64 72 22 3a 20 22 31 31 35 37 22 2c 20 20 22 63 68 61 6e 6e dr":."1157",.."chann 2018-10-08 11:25:39.834 (Rfplayer) 65 6c 22 3a 20 22 32 22 2c 20 20 22 71 75 61 6c 69 66 69 65 el":."2",.."qualifie 2018-10-08 11:25:39.834 (Rfplayer) 72 22 3a 20 22 34 22 2c 20 20 22 6c 6f 77 42 61 74 74 22 3a r":."4",.."lowBatt": 2018-10-08 11:25:39.834 (Rfplayer) 20 22 30 22 2c 20 22 6d 65 61 73 75 72 65 73 22 20 3a 20 5b ."0",."measures".:.[ 2018-10-08 11:25:39.834 (Rfplayer) 7b 22 74 79 70 65 22 20 3a 20 22 65 6e 65 72 67 79 22 2c 20 {"type".:."energy",. 2018-10-08 11:25:39.834 (Rfplayer) 22 76 61 6c 75 65 22 20 3a 20 22 31 36 31 35 30 22 2c 20 22 "value".:."16150",." 2018-10-08 11:25:39.834 (Rfplayer) 75 6e 69 74 22 20 3a 20 22 57 68 22 7d 2c 20 7b 22 74 79 70 unit".:."Wh"},.{"typ 2018-10-08 11:25:39.834 (Rfplayer) 65 22 20 3a 20 22 70 6f 77 65 72 22 2c 20 22 76 61 6c 75 65 e".:."power",."value 2018-10-08 11:25:39.834 (Rfplayer) 22 20 3a 20 22 30 22 2c 20 22 75 6e 69 74 22 20 3a 20 22 57 ".:."0",."unit".:."W 2018-10-08 11:25:39.834 (Rfplayer) 22 7d 5d 7d 7d 7d 0a 0d .. .. .. .. .. .. .. .. .. .. .. .. "}]}}}.. 2018-10-08 11:25:39.834 (Rfplayer) Pushing 'onMessageCallback' on to queue 2018-10-08 11:25:39.835 (Rfplayer) Processing 'onMessageCallback' message 2018-10-08 11:25:39.835 (Rfplayer) Calling message handler 'onMessage'. 2018-10-08 11:25:39.835 (Rfplayer) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-26", "floorNoise": "-94", "rfQuality": "10", "protocol": "7", "protocolMeaning": "OWL", "infoType": "8", "frequency": "433920"},"infos": {"subType": "0", "id_PHY": "0x0000", "id_PHYMeaning": "CM119/160", "adr_channel": "18514", "adr": "1157", "channel": "2", "qualifier": "4", "lowBatt": "0", "measures" : [{"type" : "energy", "value" : "16150", "unit" : "Wh"}, {"type" : "power", "value" : "0", "unit" : "W"}]}}} 2018-10-08 11:25:39.835 2018-10-08 11:25:39.835 (Rfplayer) ReadData - ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-26", "floorNoise": "-94", "rfQuality": "10", "protocol": "7", "protocolMeaning": "OWL", "infoType": "8", "frequency": "433920"},"infos": {"subType": "0", "id_PHY": "0x0000", "id_PHYMeaning": "CM119/160", "adr_channel": "18514", "adr": "1157", "channel": "2", "qualifier": "4", "lowBatt": "0", "measures" : [{"type" : "energy", "value" : "16150", "unit" : "Wh"}, {"type" : "power", "value" : "0", "unit" : "W"}]}}} 2018-10-08 11:25:39.835 2018-10-08 11:25:39.835 (Rfplayer) infoType : 8 2018-10-08 11:25:39.835 (Rfplayer) id : 0x0000 adr_channel : 18514 2018-10-08 11:25:39.835 (Rfplayer) Options to find or set : {'infoType': '8', 'Power&Energie': '1', 'id': '18514', 'protocol': '7'} 2018-10-08 11:25:39.836 (Rfplayer) Error while decoding Infotype8 frame 2018-10-08 11:25:49.008 (Rfplayer) Pushing 'onHeartbeatCallback' on to queue 2018-10-08 11:25:49.051 (Rfplayer) Processing 'onHeartbeatCallback' message 2018-10-08 11:25:49.051 (Rfplayer) Calling message handler 'onHeartbeat'.

IGwenI commented 5 years ago

Bonjour zaraki673, J'ai le même problème depuis pas mal de temps. J'avais essayé de me débrouiller tout seul mais je n'y arrive pas. Les compteurs OWL installés sur des versions antérieures du plugin fonctionnent mais on ne peut plus en ajouter. Le problème c'est que les versions compatibles OWL du plugin ne marchent plus avec la version actuelle de Domoticz. Je te mets mon log : 2019-01-16 17:12:23.949 (RFPlayer) Processing 'ReadEvent' message 2019-01-16 17:12:23.949 (RFPlayer) Received 496 bytes of data 2019-01-16 17:12:23.949 (RFPlayer) 5a 49 41 33 33 7b 20 22 66 72 61 6d 65 22 20 3a 7b 22 68 65 ZIA33{."frame".:{"he 2019-01-16 17:12:23.949 (RFPlayer) 61 64 65 72 22 3a 20 7b 22 66 72 61 6d 65 54 79 70 65 22 3a ader":.{"frameType": 2019-01-16 17:12:23.949 (RFPlayer) 20 22 30 22 2c 20 22 63 6c 75 73 74 65 72 22 3a 20 22 30 22 ."0",."cluster":."0" 2019-01-16 17:12:23.949 (RFPlayer) 2c 20 22 64 61 74 61 46 6c 61 67 22 3a 20 22 30 22 2c 20 22 ,."dataFlag":."0",." 2019-01-16 17:12:23.949 (RFPlayer) 72 66 4c 65 76 65 6c 22 3a 20 22 2d 36 39 22 2c 20 22 66 6c rfLevel":."-69",."fl 2019-01-16 17:12:23.949 (RFPlayer) 6f 6f 72 4e 6f 69 73 65 22 3a 20 22 2d 31 30 36 22 2c 20 22 oorNoise":."-106",." 2019-01-16 17:12:23.949 (RFPlayer) 72 66 51 75 61 6c 69 74 79 22 3a 20 22 39 22 2c 20 22 70 72 rfQuality":."9",."pr 2019-01-16 17:12:23.949 (RFPlayer) 6f 74 6f 63 6f 6c 22 3a 20 22 37 22 2c 20 22 70 72 6f 74 6f otocol":."7",."proto 2019-01-16 17:12:23.949 (RFPlayer) 63 6f 6c 4d 65 61 6e 69 6e 67 22 3a 20 22 4f 57 4c 22 2c 20 colMeaning":."OWL",. 2019-01-16 17:12:23.949 (RFPlayer) 22 69 6e 66 6f 54 79 70 65 22 3a 20 22 38 22 2c 20 22 66 72 "infoType":."8",."fr 2019-01-16 17:12:23.950 (RFPlayer) 65 71 75 65 6e 63 79 22 3a 20 22 34 33 33 39 32 30 22 7d 2c equency":."433920"}, 2019-01-16 17:12:23.950 (RFPlayer) 22 69 6e 66 6f 73 22 3a 20 7b 22 73 75 62 54 79 70 65 22 3a "infos":.{"subType": 2019-01-16 17:12:23.950 (RFPlayer) 20 22 30 22 2c 20 22 69 64 5f 50 48 59 22 3a 20 22 30 78 30 ."0",."id_PHY":."0x0 2019-01-16 17:12:23.950 (RFPlayer) 30 30 33 22 2c 20 22 69 64 5f 50 48 59 4d 65 61 6e 69 6e 67 003",."id_PHYMeaning 2019-01-16 17:12:23.950 (RFPlayer) 22 3a 20 22 43 4d 31 38 30 69 22 2c 20 22 61 64 72 5f 63 68 ":."CM180i",."adr_ch 2019-01-16 17:12:23.950 (RFPlayer) 61 6e 6e 65 6c 22 3a 20 22 31 36 39 36 22 2c 20 20 22 61 64 annel":."1696",.."ad 2019-01-16 17:12:23.950 (RFPlayer) 72 22 3a 20 22 31 30 36 22 2c 20 20 22 63 68 61 6e 6e 65 6c r":."106",.."channel 2019-01-16 17:12:23.950 (RFPlayer) 22 3a 20 22 30 22 2c 20 20 22 71 75 61 6c 69 66 69 65 72 22 ":."0",.."qualifier" 2019-01-16 17:12:23.950 (RFPlayer) 3a 20 22 36 22 2c 20 20 22 6c 6f 77 42 61 74 74 22 3a 20 22 :."6",.."lowBatt":." 2019-01-16 17:12:23.950 (RFPlayer) 30 22 2c 20 22 6d 65 61 73 75 72 65 73 22 20 3a 20 5b 7b 22 0",."measures".:.[{" 2019-01-16 17:12:23.950 (RFPlayer) 74 79 70 65 22 20 3a 20 22 65 6e 65 72 67 79 22 2c 20 22 76 type".:."energy",."v 2019-01-16 17:12:23.950 (RFPlayer) 61 6c 75 65 22 20 3a 20 22 31 30 32 33 34 22 2c 20 22 75 6e alue".:."10234",."un 2019-01-16 17:12:23.951 (RFPlayer) 69 74 22 20 3a 20 22 57 68 22 7d 2c 20 7b 22 74 79 70 65 22 it".:."Wh"},.{"type" 2019-01-16 17:12:23.951 (RFPlayer) 20 3a 20 22 70 6f 77 65 72 22 2c 20 22 76 61 6c 75 65 22 20 .:."power",."value". 2019-01-16 17:12:23.951 (RFPlayer) 3a 20 22 30 22 2c 20 22 75 6e 69 74 22 20 3a 20 .. .. .. .. :."0",."unit".:. 2019-01-16 17:12:23.951 (RFPlayer) Pushing 'onMessageCallback' on to queue 2019-01-16 17:12:23.951 (RFPlayer) Processing 'ReadEvent' message 2019-01-16 17:12:23.951 (RFPlayer) Received 147 bytes of data 2019-01-16 17:12:23.951 (RFPlayer) 22 57 22 7d 2c 20 7b 22 74 79 70 65 22 20 3a 20 22 50 31 22 "W"},.{"type".:."P1" 2019-01-16 17:12:23.951 (RFPlayer) 2c 20 22 76 61 6c 75 65 22 20 3a 20 22 30 22 2c 20 22 75 6e ,."value".:."0",."un 2019-01-16 17:12:23.951 (RFPlayer) 69 74 22 20 3a 20 22 57 22 7d 2c 20 7b 22 74 79 70 65 22 20 it".:."W"},.{"type". 2019-01-16 17:12:23.951 (RFPlayer) 3a 20 22 50 32 22 2c 20 22 76 61 6c 75 65 22 20 3a 20 22 30 :."P2",."value".:."0 2019-01-16 17:12:23.951 (RFPlayer) 22 2c 20 22 75 6e 69 74 22 20 3a 20 22 57 22 7d 2c 20 7b 22 ",."unit".:."W"},.{" 2019-01-16 17:12:23.951 (RFPlayer) 74 79 70 65 22 20 3a 20 22 50 33 22 2c 22 76 61 6c 75 65 22 type".:."P3","value" 2019-01-16 17:12:23.951 (RFPlayer) 20 3a 20 22 30 22 2c 20 22 75 6e 69 74 22 20 3a 20 22 57 22 .:."0",."unit".:."W" 2019-01-16 17:12:23.952 (RFPlayer) 7d 5d 7d 7d 7d 0a 0d .. .. .. .. .. .. .. .. .. .. .. .. .. }]}}}.. 2019-01-16 17:12:23.952 (RFPlayer) Pushing 'onMessageCallback' on to queue 2019-01-16 17:12:23.952 (RFPlayer) Processing 'onMessageCallback' message 2019-01-16 17:12:23.952 (RFPlayer) Calling message handler 'onMessage'. 2019-01-16 17:12:23.952 (RFPlayer) Last Message was 12.276771 seconds ago, Message clear 2019-01-16 17:12:23.952 (RFPlayer) Processing 'onMessageCallback' message 2019-01-16 17:12:23.952 (RFPlayer) Calling message handler 'onMessage'. 2019-01-16 17:12:23.952 (RFPlayer) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-69", "floorNoise": "-106", "rfQuality": "9", "protocol": "7", "protocolMeaning": "OWL", "infoType": "8", "frequency": "433920"},"infos": {"subType": "0", "id_PHY": "0x0003", "id_PHYMeaning": "CM180i", "adr_channel": "1696", "adr": "106", "channel": "0", "qualifier": "6", "lowBatt": "0", "measures" : [{"type" : "energy", "value" : "10234", "unit" : "Wh"}, {"type" : "power", "value" : "0", "unit" : "W"}, {"type" : "P1", "value" : "0", "unit" : "W"}, {"type" : "P2", "value" : "0", "unit" : "W"}, {"type" : "P3","value" : "0", "unit" : "W"}]}}} 2019-01-16 17:12:23.952 2019-01-16 17:12:23.953 (RFPlayer) ReadData - ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-69", "floorNoise": "-106", "rfQuality": "9", "protocol": "7", "protocolMeaning": "OWL", "infoType": "8", "frequency": "433920"},"infos": {"subType": "0", "id_PHY": "0x0003", "id_PHYMeaning": "CM180i", "adr_channel": "1696", "adr": "106", "channel": "0", "qualifier": "6", "lowBatt": "0", "measures" : [{"type" : "energy", "value" : "10234", "unit" : "Wh"}, {"type" : "power", "value" : "0", "unit" : "W"}, {"type" : "P1", "value" : "0", "unit" : "W"}, {"type" : "P2", "value" : "0", "unit" : "W"}, {"type" : "P3","value" : "0", "unit" : "W"}]}}} 2019-01-16 17:12:23.953 2019-01-16 17:12:23.953 (RFPlayer) infoType : 8 2019-01-16 17:12:23.953 (RFPlayer) id : 0x0003 adr_channel : 1696 2019-01-16 17:12:23.953 (RFPlayer) Options to find or set : {'protocol': '7', 'infoType': '8', 'id': '1696', 'Power&Energie': '1'} 2019-01-16 17:12:23.953 (RFPlayer) Error while decoding Infotype8 frame

J'ai aussi une sonde de température que je n'arrive pas à enregistrer : 2019-01-16 17:12:52.670 (RFPlayer) Received 496 bytes of data 2019-01-16 17:12:52.670 (RFPlayer) 5a 49 41 33 33 7b 20 22 66 72 61 6d 65 22 20 3a 7b 22 68 65 ZIA33{."frame".:{"he 2019-01-16 17:12:52.670 (RFPlayer) 61 64 65 72 22 3a 20 7b 22 66 72 61 6d 65 54 79 70 65 22 3a ader":.{"frameType": 2019-01-16 17:12:52.670 (RFPlayer) 20 22 30 22 2c 20 22 63 6c 75 73 74 65 72 22 3a 20 22 30 22 ."0",."cluster":."0" 2019-01-16 17:12:52.670 (RFPlayer) 2c 20 22 64 61 74 61 46 6c 61 67 22 3a 20 22 30 22 2c 20 22 ,."dataFlag":."0",." 2019-01-16 17:12:52.671 (RFPlayer) 72 66 4c 65 76 65 6c 22 3a 20 22 2d 37 30 22 2c 20 22 66 6c rfLevel":."-70",."fl 2019-01-16 17:12:52.671 (RFPlayer) 6f 6f 72 4e 6f 69 73 65 22 3a 20 22 2d 31 30 35 22 2c 20 22 oorNoise":."-105",." 2019-01-16 17:12:52.671 (RFPlayer) 72 66 51 75 61 6c 69 74 79 22 3a 20 22 38 22 2c 20 22 70 72 rfQuality":."8",."pr 2019-01-16 17:12:52.671 (RFPlayer) 6f 74 6f 63 6f 6c 22 3a 20 22 35 22 2c 20 22 70 72 6f 74 6f otocol":."5",."proto 2019-01-16 17:12:52.671 (RFPlayer) 63 6f 6c 4d 65 61 6e 69 6e 67 22 3a 20 22 4f 52 45 47 4f 4e colMeaning":."OREGON 2019-01-16 17:12:52.671 (RFPlayer) 22 2c 20 22 69 6e 66 6f 54 79 70 65 22 3a 20 22 34 22 2c 20 ",."infoType":."4",. 2019-01-16 17:12:52.671 (RFPlayer) 22 66 72 65 71 75 65 6e 63 79 22 3a 20 22 34 33 33 39 32 30 "frequency":."433920 2019-01-16 17:12:52.671 (RFPlayer) 22 7d 2c 22 69 6e 66 6f 73 22 3a 20 7b 22 73 75 62 54 79 70 "},"infos":.{"subTyp 2019-01-16 17:12:52.671 (RFPlayer) 65 22 3a 20 22 30 22 2c 20 22 69 64 5f 50 48 59 22 3a 20 22 e":."0",."id_PHY":." 2019-01-16 17:12:52.671 (RFPlayer) 30 78 45 41 34 43 22 2c 20 22 69 64 5f 50 48 59 4d 65 61 6e 0xEA4C",."id_PHYMean 2019-01-16 17:12:52.671 (RFPlayer) 69 6e 67 22 3a 20 22 54 48 43 32 33 38 2f 32 36 38 2c 54 48 ing":."THC238/268,TH 2019-01-16 17:12:52.671 (RFPlayer) 57 52 32 38 38 2c 54 48 52 4e 31 32 32 2c 54 48 4e 31 32 32 WR288,THRN122,THN122 2019-01-16 17:12:52.672 (RFPlayer) 2f 31 33 32 2c 41 57 31 32 39 2f 31 33 31 22 2c 20 22 61 64 /132,AW129/131",."ad 2019-01-16 17:12:52.672 (RFPlayer) 72 5f 63 68 61 6e 6e 65 6c 22 3a 20 22 33 39 31 37 30 22 2c r_channel":."39170", 2019-01-16 17:12:52.672 (RFPlayer) 20 20 22 61 64 72 22 3a 20 22 31 35 33 22 2c 20 20 22 63 68 .."adr":."153",.."ch 2019-01-16 17:12:52.672 (RFPlayer) 61 6e 6e 65 6c 22 3a 20 22 32 22 2c 20 20 22 71 75 61 6c 69 annel":."2",.."quali 2019-01-16 17:12:52.672 (RFPlayer) 66 69 65 72 22 3a 20 22 33 32 22 2c 20 20 22 6c 6f 77 42 61 fier":."32",.."lowBa 2019-01-16 17:12:52.672 (RFPlayer) 74 74 22 3a 20 22 30 22 2c 20 22 6d 65 61 73 75 72 65 73 22 tt":."0",."measures" 2019-01-16 17:12:52.672 (RFPlayer) 20 3a 20 5b 7b 22 74 79 70 65 22 20 3a 20 22 74 65 6d 70 65 .:.[{"type".:."tempe 2019-01-16 17:12:52.672 (RFPlayer) 72 61 74 75 72 65 22 2c 20 22 76 61 6c 75 65 22 20 3a 20 22 rature",."value".:." 2019-01-16 17:12:52.672 (RFPlayer) 2b 31 39 2e 31 22 2c 20 22 75 6e 69 74 22 20 3a .. .. .. .. +19.1",."unit".: 2019-01-16 17:12:52.672 (RFPlayer) Pushing 'onMessageCallback' on to queue 2019-01-16 17:12:52.672 (RFPlayer) Processing 'ReadEvent' message 2019-01-16 17:12:52.672 (RFPlayer) Received 71 bytes of data 2019-01-16 17:12:52.672 (RFPlayer) 20 22 43 65 6c 73 69 75 73 22 7d 2c 20 7b 22 74 79 70 65 22 ."Celsius"},.{"type" 2019-01-16 17:12:52.672 (RFPlayer) 20 3a 20 22 68 79 67 72 6f 6d 65 74 72 79 22 2c 20 22 76 61 .:."hygrometry",."va 2019-01-16 17:12:52.673 (RFPlayer) 6c 75 65 22 20 3a 20 22 30 22 2c 20 22 75 6e 69 74 22 20 3a lue".:."0",."unit".: 2019-01-16 17:12:52.673 (RFPlayer) 20 22 25 22 7d 5d 7d 7d 7d 0a 0d .. .. .. .. .. .. .. .. .. ."%"}]}}}.. 2019-01-16 17:12:52.673 (RFPlayer) Pushing 'onMessageCallback' on to queue 2019-01-16 17:12:52.673 (RFPlayer) Processing 'onMessageCallback' message 2019-01-16 17:12:52.673 (RFPlayer) Calling message handler 'onMessage'. 2019-01-16 17:12:52.673 (RFPlayer) Last Message was 11.275369 seconds ago, Message clear 2019-01-16 17:12:52.673 (RFPlayer) Processing 'onMessageCallback' message 2019-01-16 17:12:52.674 (RFPlayer) Calling message handler 'onMessage'. 2019-01-16 17:12:52.674 (RFPlayer) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-70", "floorNoise": "-105", "rfQuality": "8", "protocol": "5", "protocolMeaning": "OREGON", "infoType": "4", "frequency": "433920"},"infos": {"subType": "0", "id_PHY": "0xEA4C", "id_PHYMeaning": "THC238/268,THWR288,THRN122,THN122/132,AW129/131", "adr_channel": "39170", "adr": "153", "channel": "2", "qualifier": "32", "lowBatt": "0", "measures" : [{"type" : "temperature", "value" : "+19.1", "unit" : "Celsius"}, {"type" : "hygrometry", "value" : "0", "unit" : "%"}]}}} 2019-01-16 17:12:52.674 2019-01-16 17:12:52.674 (RFPlayer) ReadData - ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-70", "floorNoise": "-105", "rfQuality": "8", "protocol": "5", "protocolMeaning": "OREGON", "infoType": "4", "frequency": "433920"},"infos": {"subType": "0", "id_PHY": "0xEA4C", "id_PHYMeaning": "THC238/268,THWR288,THRN122,THN122/132,AW129/131", "adr_channel": "39170", "adr": "153", "channel": "2", "qualifier": "32", "lowBatt": "0", "measures" : [{"type" : "temperature", "value" : "+19.1", "unit" : "Celsius"}, {"type" : "hygrometry", "value" : "0", "unit" : "%"}]}}} 2019-01-16 17:12:52.674 2019-01-16 17:12:52.674 (RFPlayer) infoType : 4 2019-01-16 17:12:52.674 (RFPlayer) id : 0xEA4C adr_channel : 39170 2019-01-16 17:12:52.675 (RFPlayer) Options to find or set : {'Temp': '1', 'sensorType': '80', 'id': '0xEA4C', 'adr_channel': '39170', 'protocol': '5', 'infoType': '4'} 2019-01-16 17:12:52.675 (RFPlayer) Error while decoding Infotype4 frameKeyError('protocol',)

Merci pour ton travail. Gwen

oredin commented 5 years ago

Bonjour,

J'ai eu le souci aussi de mon côté lorsque j'ai changé les piles d'une de mes sondes Oregon.

Je pense avoir corriger le problème de mon côté en ajoutant quelques tests dans le code du plugin. Je suis actuellement en déplacement mais j'essaierai de refaire quelques tests ce week-end pour m'assurer du correctif.

Si c'est OK, je pousserai le correctif pour que zaraki673 puisse l'appliquer.