sasu-drooz / Domoticz-Rfplayer

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

Motion sensors VISONIC 868 MHz #98

Open Beastie971 opened 3 years ago

Beastie971 commented 3 years ago

Bonjour

J'essaye d'intégrer un capteur de mouvement. Il est vu par le Rfplayer mais j'ai des erreurs avec le plugin Je suis dispo pour aider à débuger/corriger.

2021-04-29 19:28:07.020 (RFPlayer) Processing 'onMessageCallback' message 2021-04-29 19:28:07.021 RFPlayer: (RFPlayer) Calling message handler 'onMessage'. 2021-04-29 19:28:07.021 RFPlayer: (RFPlayer) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-77", "floorNoise": "-106", "rfQuality": "7", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868950"},"infos": {"subType": "0", "subTypeMeaning": "Detector/Sensor", "id": "1800233760", "qualifier": "2", "qualifierMeaning": { "flags": ["Alarm"]}}}} 2021-04-29 19:28:07.021 2021-04-29 19:28:07.021 RFPlayer: (RFPlayer) ReadData - ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-77", "floorNoise": "-106", "rfQuality": "7", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868950"},"infos": {"subType": "0", "subTypeMeaning": "Detector/Sensor", "id": "1800233760", "qualifier": "2", "qualifierMeaning": { "flags": ["Alarm"]}}}} 2021-04-29 19:28:07.021 2021-04-29 19:28:07.021 RFPlayer: (RFPlayer) infoType : 2 2021-04-29 19:28:07.021 RFPlayer: (RFPlayer) Protocol : 2 2021-04-29 19:28:07.021 RFPlayer: (RFPlayer) id : 1800233760 qualifier :2 2021-04-29 19:28:07.021 RFPlayer: (RFPlayer) Options to find or set : {'infoType': '2', 'id': '1800233760', 'protocol': '2', 'subType': '0', 'LevelActions': '||||', 'LevelNames': 'Off|Tamper|Alarm|Tamper+Alarm', 'LevelOffHidden': 'False', 'SelectorStyle': '0'} 2021-04-29 19:28:07.021 RFPlayer: (RFPlayer) Error while reading JSON Infotype