Giter Club home page Giter Club logo

Comments (2)

IGwenI avatar IGwenI commented on August 18, 2024

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

from domoticz-rfplayer.

oredin avatar oredin commented on August 18, 2024

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.

from domoticz-rfplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.