[Résolu] Support rfplayer et volets roulants Visonic 868350 sous domoticz

Bonjour,

Possédant des volets roulants franciaflex de 2010 je cherche à les automatiser depuis Domoticz.

J’ai fait l’acquisition d’un rfplayer et impossible de le faire fonctionner, que ça soit avec le plugin d’origine de Domoticz ou avec celui de sasu-drooz GitHub - sasu-drooz/Domoticz-Rfplayer: Domoticz python Plugin for Ziblue RfPlayer Rfp1000

Le plugin ne semble pas complet pour le support de VISONIC, j’ai pu repéré plusieurs soucis dans le code mais je manque d’expérience coté rfplayer.

Voici ce qui est détecté par domoticz en mode LISTEN:

Bouton UP

2021-05-05 14:57:04.541 rfplayer: (rfplayer) 6f 6f 72 4e 6f 69 73 65 22 3a 20 22 2d 31 30 34 22 2c 20 22 oorNoise":."-104",." 
2021-05-05 14:57:04.541 rfplayer: (rfplayer) 72 66 51 75 61 6c 69 74 79 22 3a 20 22 35 22 2c 20 22 70 72 rfQuality":."5",."pr 
2021-05-05 14:57:04.541 rfplayer: (rfplayer) 6f 74 6f 63 6f 6c 22 3a 20 22 32 22 2c 20 22 70 72 6f 74 6f otocol":."2",."proto 
2021-05-05 14:57:04.541 rfplayer: (rfplayer) 63 6f 6c 4d 65 61 6e 69 6e 67 22 3a 20 22 56 49 53 4f 4e 49 colMeaning":."VISONI 
2021-05-05 14:57:04.541 rfplayer: (rfplayer) 43 22 2c 20 22 69 6e 66 6f 54 79 70 65 22 3a 20 22 32 22 2c C",."infoType":."2", 
2021-05-05 14:57:04.541 rfplayer: (rfplayer) 20 22 66 72 65 71 75 65 6e 63 79 22 3a 20 22 38 36 38 33 35 ."frequency":."86835 
2021-05-05 14:57:04.541 rfplayer: (rfplayer) 30 22 7d 2c 22 69 6e 66 6f 73 22 3a 20 7b 22 73 75 62 54 79 0"},"infos":.{"subTy 
2021-05-05 14:57:04.542 rfplayer: (rfplayer) 70 65 22 3a 20 22 31 22 2c 20 22 73 75 62 54 79 70 65 4d 65 pe":."1",."subTypeMe 
2021-05-05 14:57:04.542 rfplayer: (rfplayer) 61 6e 69 6e 67 22 3a 20 22 52 65 6d 6f 74 65 20 43 6f 6e 74 aning":."Remote.Cont 
2021-05-05 14:57:04.542 rfplayer: (rfplayer) 72 6f 6c 22 2c 20 22 69 64 22 3a 20 22 32 37 31 32 36 37 33 rol",."id":."2712673 
2021-05-05 14:57:04.542 rfplayer: (rfplayer) 32 38 30 22 2c 20 22 71 75 61 6c 69 66 69 65 72 22 3a 20 22 280",."qualifier":." 
2021-05-05 14:57:04.542 rfplayer: (rfplayer) 31 36 22 2c 20 22 71 75 61 6c 69 66 69 65 72 4d 65 61 6e 69 16",."qualifierMeani 
2021-05-05 14:57:04.542 rfplayer: (rfplayer) 6e 67 22 3a 20 7b 20 22 66 6c 61 67 73 22 3a 20 5b 22 62 75 ng":.{."flags":.["bu 
2021-05-05 14:57:04.542 rfplayer: (rfplayer) 74 74 6f 6e 2f 63 6f 6d 6d 61 6e 64 22 5d 7d 7d 7d 7d 0a 0d tton/command"]}}}}.. 
2021-05-05 14:57:04.542 rfplayer: (rfplayer) Pushing 'onMessageCallback' on to queue 
2021-05-05 14:57:04.542 (rfplayer) Processing 'onMessageCallback' message 
2021-05-05 14:57:04.543 rfplayer: (rfplayer) Calling message handler 'onMessage'. 
2021-05-05 14:57:04.543 rfplayer: (rfplayer) Last Message was 103.033898 seconds ago, Message clear 
2021-05-05 14:57:04.543 rfplayer: (rfplayer) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-82", "floorNoise": "-104", "rfQuality": "5", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "16", "qualifierMeaning": { "flags": ["button/command"]}}}} 
2021-05-05 14:57:04.543 
2021-05-05 14:57:04.544 rfplayer: (rfplayer) ReadData - ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-82", "floorNoise": "-104", "rfQuality": "5", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "16", "qualifierMeaning": { "flags": ["button/command"]}}}} 
2021-05-05 14:57:04.544 
2021-05-05 14:57:04.544 rfplayer: (rfplayer) infoType : 2 
2021-05-05 14:57:04.544 rfplayer: (rfplayer) Protocol : 2 
2021-05-05 14:57:04.545 rfplayer: (rfplayer) id : 2712673280 qualifier :16 
2021-05-05 14:57:04.545 rfplayer: (rfplayer) Options to find or set : {'infoType': '2', 'id': '2712673280', 'protocol': '2', 'subType': '1', 'frequency': '868350'} 
2021-05-05 14:57:04.545 rfplayer: (rfplayer) Devices already exist. Unit=1 
2021-05-05 14:57:04.545 rfplayer: (rfplayer) Options found in DB: {'frequency': '868350', 'id': '2712673280', 'infoType': '2', 'protocol': '2', 'subType': '1'} for devices unit 1 
2021-05-05 14:57:04.545 (rfplayer - Button 1 - 2712673280) Updating device from 0:'17' to have values 0:'0'.

Bouton du milieu

2021-05-05 14:57:24.364 rfplayer: (rfplayer) 6f 74 6f 63 6f 6c 22 3a 20 22 32 22 2c 20 22 70 72 6f 74 6f otocol":."2",."proto 
2021-05-05 14:57:24.364 rfplayer: (rfplayer) 63 6f 6c 4d 65 61 6e 69 6e 67 22 3a 20 22 56 49 53 4f 4e 49 colMeaning":."VISONI 
2021-05-05 14:57:24.364 rfplayer: (rfplayer) 43 22 2c 20 22 69 6e 66 6f 54 79 70 65 22 3a 20 22 32 22 2c C",."infoType":."2", 
2021-05-05 14:57:24.364 rfplayer: (rfplayer) 20 22 66 72 65 71 75 65 6e 63 79 22 3a 20 22 38 36 38 33 35 ."frequency":."86835 
2021-05-05 14:57:24.364 rfplayer: (rfplayer) 30 22 7d 2c 22 69 6e 66 6f 73 22 3a 20 7b 22 73 75 62 54 79 0"},"infos":.{"subTy 
2021-05-05 14:57:24.365 rfplayer: (rfplayer) 70 65 22 3a 20 22 31 22 2c 20 22 73 75 62 54 79 70 65 4d 65 pe":."1",."subTypeMe 
2021-05-05 14:57:24.365 rfplayer: (rfplayer) 61 6e 69 6e 67 22 3a 20 22 52 65 6d 6f 74 65 20 43 6f 6e 74 aning":."Remote.Cont 
2021-05-05 14:57:24.365 rfplayer: (rfplayer) 72 6f 6c 22 2c 20 22 69 64 22 3a 20 22 32 37 31 32 36 37 33 rol",."id":."2712673 
2021-05-05 14:57:24.365 rfplayer: (rfplayer) 32 38 30 22 2c 20 22 71 75 61 6c 69 66 69 65 72 22 3a 20 22 280",."qualifier":." 
2021-05-05 14:57:24.365 rfplayer: (rfplayer) 33 32 22 2c 20 22 71 75 61 6c 69 66 69 65 72 4d 65 61 6e 69 32",."qualifierMeani 
2021-05-05 14:57:24.365 rfplayer: (rfplayer) 6e 67 22 3a 20 7b 20 22 66 6c 61 67 73 22 3a 20 5b 22 62 75 ng":.{."flags":.["bu 
2021-05-05 14:57:24.365 rfplayer: (rfplayer) 74 74 6f 6e 2f 63 6f 6d 6d 61 6e 64 22 5d 7d 7d 7d 7d 0a 0d tton/command"]}}}}.. 
2021-05-05 14:57:24.365 rfplayer: (rfplayer) Pushing 'onMessageCallback' on to queue 
2021-05-05 14:57:24.365 (rfplayer) Processing 'onMessageCallback' message 
2021-05-05 14:57:24.365 rfplayer: (rfplayer) Calling message handler 'onMessage'. 
2021-05-05 14:57:24.365 rfplayer: (rfplayer) Last Message was 19.803072 seconds ago, Message clear 
2021-05-05 14:57:24.365 rfplayer: (rfplayer) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-80", "floorNoise": "-104", "rfQuality": "6", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "32", "qualifierMeaning": { "flags": ["button/command"]}}}} 
2021-05-05 14:57:24.365 
2021-05-05 14:57:24.366 rfplayer: (rfplayer) ReadData - ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-80", "floorNoise": "-104", "rfQuality": "6", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "32", "qualifierMeaning": { "flags": ["button/command"]}}}} 
2021-05-05 14:57:24.366 
2021-05-05 14:57:24.366 rfplayer: (rfplayer) infoType : 2 
2021-05-05 14:57:24.366 rfplayer: (rfplayer) Protocol : 2 
2021-05-05 14:57:24.366 rfplayer: (rfplayer) id : 2712673280 qualifier :32 
2021-05-05 14:57:24.366 rfplayer: (rfplayer) Options to find or set : {'infoType': '2', 'id': '2712673280', 'protocol': '2', 'subType': '1', 'frequency': '868350'} 
2021-05-05 14:57:24.366 rfplayer: (rfplayer) Devices already exist. Unit=1 
2021-05-05 14:57:24.366 rfplayer: (rfplayer) Options found in DB: {'frequency': '868350', 'id': '2712673280', 'infoType': '2', 'protocol': '2', 'subType': '1'} for devices unit 1 
2021-05-05 14:57:24.366 (rfplayer - Button 1 - 2712673280) Updating device from 0:'0' to have values 0:'0'. 

Bouton DOWN

2021-05-05 14:57:40.072 (rfplayer) Processing 'onMessageCallback' message 
2021-05-05 14:57:40.073 rfplayer: (rfplayer) Calling message handler 'onMessage'. 
2021-05-05 14:57:40.073 rfplayer: (rfplayer) Last Message was 15.695885 seconds ago, Message clear 
2021-05-05 14:57:40.102 rfplayer: (rfplayer) Pushing 'ReadEvent' on to queue 
2021-05-05 14:57:40.123 (rfplayer) Processing 'ReadEvent' message 
2021-05-05 14:57:40.124 rfplayer: (rfplayer) Received 350 bytes of data 
2021-05-05 14:57:40.124 rfplayer: (rfplayer) 72 61 6d 65 54 79 70 65 22 3a 20 22 30 22 2c 20 22 63 6c 75 rameType":."0",."clu 
2021-05-05 14:57:40.124 rfplayer: (rfplayer) 73 74 65 72 22 3a 20 22 30 22 2c 20 22 64 61 74 61 46 6c 61 ster":."0",."dataFla 
2021-05-05 14:57:40.124 rfplayer: (rfplayer) 67 22 3a 20 22 31 22 2c 20 22 72 66 4c 65 76 65 6c 22 3a 20 g":."1",."rfLevel":. 
2021-05-05 14:57:40.124 rfplayer: (rfplayer) 22 2d 38 39 22 2c 20 22 66 6c 6f 6f 72 4e 6f 69 73 65 22 3a "-89",."floorNoise": 
2021-05-05 14:57:40.124 rfplayer: (rfplayer) 20 22 2d 31 30 34 22 2c 20 22 72 66 51 75 61 6c 69 74 79 22 ."-104",."rfQuality" 
2021-05-05 14:57:40.124 rfplayer: (rfplayer) 3a 20 22 33 22 2c 20 22 70 72 6f 74 6f 63 6f 6c 22 3a 20 22 :."3",."protocol":." 
2021-05-05 14:57:40.124 rfplayer: (rfplayer) 32 22 2c 20 22 70 72 6f 74 6f 63 6f 6c 4d 65 61 6e 69 6e 67 2",."protocolMeaning 
2021-05-05 14:57:40.124 rfplayer: (rfplayer) 22 3a 20 22 56 49 53 4f 4e 49 43 22 2c 20 22 69 6e 66 6f 54 ":."VISONIC",."infoT 
2021-05-05 14:57:40.124 rfplayer: (rfplayer) 79 70 65 22 3a 20 22 32 22 2c 20 22 66 72 65 71 75 65 6e 63 ype":."2",."frequenc 
2021-05-05 14:57:40.125 rfplayer: (rfplayer) 79 22 3a 20 22 38 36 38 33 35 30 22 7d 2c 22 69 6e 66 6f 73 y":."868350"},"infos 
2021-05-05 14:57:40.125 rfplayer: (rfplayer) 22 3a 20 7b 22 73 75 62 54 79 70 65 22 3a 20 22 31 22 2c 20 ":.{"subType":."1",. 
2021-05-05 14:57:40.125 rfplayer: (rfplayer) 22 73 75 62 54 79 70 65 4d 65 61 6e 69 6e 67 22 3a 20 22 52 "subTypeMeaning":."R 
2021-05-05 14:57:40.125 rfplayer: (rfplayer) 65 6d 6f 74 65 20 43 6f 6e 74 72 6f 6c 22 2c 20 22 69 64 22 emote.Control",."id" 
2021-05-05 14:57:40.125 rfplayer: (rfplayer) 3a 20 22 32 37 31 32 36 37 33 32 38 30 22 2c 20 22 71 75 61 :."2712673280",."qua 
2021-05-05 14:57:40.125 rfplayer: (rfplayer) 6c 69 66 69 65 72 22 3a 20 22 36 34 22 2c 20 22 71 75 61 6c lifier":."64",."qual 
2021-05-05 14:57:40.125 rfplayer: (rfplayer) 69 66 69 65 72 4d 65 61 6e 69 6e 67 22 3a 20 7b 20 22 66 6c ifierMeaning":.{."fl 
2021-05-05 14:57:40.125 rfplayer: (rfplayer) 61 67 73 22 3a 20 5b 22 62 75 74 74 6f 6e 2f 63 6f 6d 6d 61 ags":.["button/comma 
2021-05-05 14:57:40.125 rfplayer: (rfplayer) 6e 64 22 5d 7d 7d 7d 7d 0a 0d .. .. .. .. .. .. .. .. .. .. nd"]}}}}.. 
2021-05-05 14:57:40.125 rfplayer: (rfplayer) Pushing 'onMessageCallback' on to queue 
2021-05-05 14:57:40.126 (rfplayer) Processing 'onMessageCallback' message 
2021-05-05 14:57:40.126 rfplayer: (rfplayer) Calling message handler 'onMessage'. 
2021-05-05 14:57:40.126 rfplayer: (rfplayer) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-89", "floorNoise": "-104", "rfQuality": "3", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "64", "qualifierMeaning": { "flags": ["button/command"]}}}} 
2021-05-05 14:57:40.126 
2021-05-05 14:57:40.126 rfplayer: (rfplayer) ReadData - ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-89", "floorNoise": "-104", "rfQuality": "3", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "64", "qualifierMeaning": { "flags": ["button/command"]}}}} 
2021-05-05 14:57:40.126 
2021-05-05 14:57:40.127 rfplayer: (rfplayer) infoType : 2 
2021-05-05 14:57:40.127 rfplayer: (rfplayer) Protocol : 2 
2021-05-05 14:57:40.127 rfplayer: (rfplayer) id : 2712673280 qualifier :64 
2021-05-05 14:57:40.127 rfplayer: (rfplayer) Options to find or set : {'infoType': '2', 'id': '2712673280', 'protocol': '2', 'subType': '1', 'frequency': '868350'} 
2021-05-05 14:57:40.127 rfplayer: (rfplayer) Devices already exist. Unit=1 
2021-05-05 14:57:40.127 rfplayer: (rfplayer) Options found in DB: {'frequency': '868350', 'id': '2712673280', 'infoType': '2', 'protocol': '2', 'subType': '1'} for devices unit 1 
2021-05-05 14:57:40.128 (rfplayer - Button 1 - 2712673280) Updating device from 0:'0' to have values 0:'0'. 

Bouton milieu 5 secondes (mode ASSOC)

2021-05-05 14:57:57.569 Linky: General/Percentage (Teleinfo Pourcentage de Charge) 
2021-05-05 14:57:59.122 rfplayer: (rfplayer) Pushing 'ReadEvent' on to queue 
2021-05-05 14:57:59.161 (rfplayer) Processing 'ReadEvent' message 
2021-05-05 14:57:59.161 rfplayer: (rfplayer) Received 380 bytes of data 
2021-05-05 14:57:59.161 rfplayer: (rfplayer) 5a 49 41 33 33 7b 20 22 66 72 61 6d 65 22 20 3a 7b 22 68 65 ZIA33{."frame".:{"he 
2021-05-05 14:57:59.161 rfplayer: (rfplayer) 61 64 65 72 22 3a 20 7b 22 66 72 61 6d 65 54 79 70 65 22 3a ader":.{"frameType": 
2021-05-05 14:57:59.162 rfplayer: (rfplayer) 20 22 30 22 2c 20 22 63 6c 75 73 74 65 72 22 3a 20 22 30 22 ."0",."cluster":."0" 
2021-05-05 14:57:59.162 rfplayer: (rfplayer) 2c 20 22 64 61 74 61 46 6c 61 67 22 3a 20 22 31 22 2c 20 22 ,."dataFlag":."1",." 
2021-05-05 14:57:59.162 rfplayer: (rfplayer) 72 66 4c 65 76 65 6c 22 3a 20 22 2d 38 38 22 2c 20 22 66 6c rfLevel":."-88",."fl 
2021-05-05 14:57:59.162 rfplayer: (rfplayer) 6f 6f 72 4e 6f 69 73 65 22 3a 20 22 2d 31 30 34 22 2c 20 22 oorNoise":."-104",." 
2021-05-05 14:57:59.162 rfplayer: (rfplayer) 72 66 51 75 61 6c 69 74 79 22 3a 20 22 34 22 2c 20 22 70 72 rfQuality":."4",."pr 
2021-05-05 14:57:59.162 rfplayer: (rfplayer) 6f 74 6f 63 6f 6c 22 3a 20 22 32 22 2c 20 22 70 72 6f 74 6f otocol":."2",."proto 
2021-05-05 14:57:59.162 rfplayer: (rfplayer) 63 6f 6c 4d 65 61 6e 69 6e 67 22 3a 20 22 56 49 53 4f 4e 49 colMeaning":."VISONI 
2021-05-05 14:57:59.162 rfplayer: (rfplayer) 43 22 2c 20 22 69 6e 66 6f 54 79 70 65 22 3a 20 22 32 22 2c C",."infoType":."2", 
2021-05-05 14:57:59.162 rfplayer: (rfplayer) 20 22 66 72 65 71 75 65 6e 63 79 22 3a 20 22 38 36 38 33 35 ."frequency":."86835 
2021-05-05 14:57:59.162 rfplayer: (rfplayer) 30 22 7d 2c 22 69 6e 66 6f 73 22 3a 20 7b 22 73 75 62 54 79 0"},"infos":.{"subTy 
2021-05-05 14:57:59.162 rfplayer: (rfplayer) 70 65 22 3a 20 22 31 22 2c 20 22 73 75 62 54 79 70 65 4d 65 pe":."1",."subTypeMe 
2021-05-05 14:57:59.163 rfplayer: (rfplayer) 61 6e 69 6e 67 22 3a 20 22 52 65 6d 6f 74 65 20 43 6f 6e 74 aning":."Remote.Cont 
2021-05-05 14:57:59.163 rfplayer: (rfplayer) 72 6f 6c 22 2c 20 22 69 64 22 3a 20 22 32 37 31 32 36 37 33 rol",."id":."2712673 
2021-05-05 14:57:59.163 rfplayer: (rfplayer) 32 38 30 22 2c 20 22 71 75 61 6c 69 66 69 65 72 22 3a 20 22 280",."qualifier":." 
2021-05-05 14:57:59.163 rfplayer: (rfplayer) 33 32 22 2c 20 22 71 75 61 6c 69 66 69 65 72 4d 65 61 6e 69 32",."qualifierMeani 
2021-05-05 14:57:59.163 rfplayer: (rfplayer) 6e 67 22 3a 20 7b 20 22 66 6c 61 67 73 22 3a 20 5b 22 62 75 ng":.{."flags":.["bu 
2021-05-05 14:57:59.163 rfplayer: (rfplayer) 74 74 6f 6e 2f 63 6f 6d 6d 61 6e 64 22 5d 7d 7d 7d 7d 0a 0d tton/command"]}}}}.. 
2021-05-05 14:57:59.163 rfplayer: (rfplayer) Pushing 'onMessageCallback' on to queue 
2021-05-05 14:57:59.163 (rfplayer) Processing 'onMessageCallback' message 
2021-05-05 14:57:59.163 rfplayer: (rfplayer) Calling message handler 'onMessage'. 
2021-05-05 14:57:59.164 rfplayer: (rfplayer) Last Message was 9.626689 seconds ago, Message clear 
2021-05-05 14:57:59.164 rfplayer: (rfplayer) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-88", "floorNoise": "-104", "rfQuality": "4", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "32", "qualifierMeaning": { "flags": ["button/command"]}}}} 
2021-05-05 14:57:59.164 
2021-05-05 14:57:59.164 rfplayer: (rfplayer) ReadData - ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-88", "floorNoise": "-104", "rfQuality": "4", "protocol": "2", "protocolMeaning": "VISONIC", "infoType": "2", "frequency": "868350"},"infos": {"subType": "1", "subTypeMeaning": "Remote Control", "id": "2712673280", "qualifier": "32", "qualifierMeaning": { "flags": ["button/command"]}}}} 
2021-05-05 14:57:59.164 
2021-05-05 14:57:59.164 rfplayer: (rfplayer) infoType : 2 
2021-05-05 14:57:59.164 rfplayer: (rfplayer) Protocol : 2 
2021-05-05 14:57:59.164 rfplayer: (rfplayer) id : 2712673280 qualifier :32 
2021-05-05 14:57:59.165 rfplayer: (rfplayer) Options to find or set : {'infoType': '2', 'id': '2712673280', 'protocol': '2', 'subType': '1', 'frequency': '868350'} 
2021-05-05 14:57:59.165 rfplayer: (rfplayer) Devices already exist. Unit=1 
2021-05-05 14:57:59.165 rfplayer: (rfplayer) Options found in DB: {'frequency': '868350', 'id': '2712673280', 'infoType': '2', 'protocol': '2', 'subType': '1'} for devices unit 1 
2021-05-05 14:57:59.165 (rfplayer - Button 1 - 2712673280) Updating device from 0:'0' to have values 0:'0'. 

En essayant de rajouter le support VISONIC dans le plugin (en modifiant la fréquence qui n’est pas la bonne ligne 481 (868950 au lieu de 868350)) j’ai pu faire envoyer des infos mais ça ne semble pas complet et aucune reaction du volet, voici ce que j’ai quand je presse le bouton virtuel sur domoticz

021-05-05 15:01:09.676 rfplayer: (rfplayer) Pushing 'onCommandCallback' on to queue 
2021-05-05 15:01:09.714 (rfplayer) Processing 'onCommandCallback' message 
2021-05-05 15:01:09.714 rfplayer: (rfplayer) Calling message handler 'onCommand'. 
2021-05-05 15:01:09.714 rfplayer: (rfplayer) DA debug clicked level: 0 
2021-05-05 15:01:09.715 rfplayer: (rfplayer) DA debug clicked command: On 
2021-05-05 15:01:09.715 rfplayer: (rfplayer) SendtoRfplayer - Options found in DB: {'frequency': '868350', 'id': '2712673280', 'infoType': '2', 'protocol': '2', 'subType': '1'} for devices unit 1 
2021-05-05 15:01:09.715 rfplayer: (rfplayer) Pushing 'WriteDirective' on to queue 
2021-05-05 15:01:09.715 (rfplayer - Button 1 - 2712673280) Updating device from 0:'49' to have values 1:'on'. 
2021-05-05 15:01:09.731 (rfplayer) Processing 'WriteDirective' message 
2021-05-05 15:01:09.731 rfplayer: (rfplayer) Sending 25 bytes of data 
2021-05-05 15:01:09.731 rfplayer: (rfplayer) 5a 49 41 2b 2b 4f 4e 20 32 20 49 44 20 32 37 31 32 36 37 33 ZIA++ON.2.ID.2712673 
2021-05-05 15:01:09.731 rfplayer: (rfplayer) 32 38 30 0a 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 280.. 
2021-05-05 15:01:09.807 rfplayer: (rfplayer) Pushing 'ReadEvent' on to queue 
2021-05-05 15:01:09.831 (rfplayer) Processing 'ReadEvent' message 
2021-05-05 15:01:09.831 rfplayer: (rfplayer) Received 65 bytes of data 
2021-05-05 15:01:09.832 rfplayer: (rfplayer) 5a 49 41 2d 2d 0a 65 72 72 6f 72 20 72 65 71 75 65 73 74 20 ZIA--.error.request. 
2021-05-05 15:01:09.832 rfplayer: (rfplayer) 6e 75 6d 62 65 72 3d 30 0a 53 79 6e 74 61 78 20 65 72 72 6f number=0.Syntax.erro 
2021-05-05 15:01:09.832 rfplayer: (rfplayer) 72 3a 20 4f 4e 20 32 20 49 44 20 32 37 31 32 36 37 33 32 38 r:.ON.2.ID.271267328 
2021-05-05 15:01:09.832 rfplayer: (rfplayer) 30 0a 0a 0a 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 0.... 
2021-05-05 15:01:09.832 rfplayer: (rfplayer) Pushing 'onMessageCallback' on to queue 
2021-05-05 15:01:09.832 (rfplayer) Processing 'onMessageCallback' message 
2021-05-05 15:01:09.832 rfplayer: (rfplayer) Calling message handler 'onMessage'. 
2021-05-05 15:01:09.832 rfplayer: (rfplayer) Last Message was 190.652182 seconds ago, Message clear 

Je sais developper en python mais je connais peu le rfplayer, il faudrait envoyer quoi exactement comme data? Il y a des devs en cours ou des gens qui ont pu avancer sur le sujet?

Raphaël

Je viens de voir que normalement la frequence 868350 est pour le Deltadore X2D pourtant c’est identifié comme VISONIC dans la trame, je ne l’explique pas.

J’ai bricolé le plugin et ça envoi ça maintenant, je suis bien en mode assoc mais rien ne se passe

2021-05-05 15:17:34.182 rfplayer: (rfplayer) SendtoRfplayer - Options found in DB: {'frequency': '868350', 'id': 'A2', 'infoType': '2', 'protocol': '2'} for devices unit 1

2021-05-05 15:17:34.183 rfplayer: (rfplayer) Pushing 'WriteDirective' on to queue

2021-05-05 15:17:34.183 (rfplayer - Manual Switch - A2) Updating device from 1:'on' to have values 0:'off'.

2021-05-05 15:17:34.196 (rfplayer) Processing 'WriteDirective' message

2021-05-05 15:17:34.196 rfplayer: (rfplayer) Sending 24 bytes of data

2021-05-05 15:17:34.196 rfplayer: (rfplayer) 5a 49 41 2b 2b 4f 46 46 20 56 49 53 4f 4e 49 43 38 36 38 20 ZIA++OFF.VISONIC868.

2021-05-05 15:17:34.196 rfplayer: (rfplayer) 41 32 0a 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. A2..

Avec l’utilitaire RFplayer configurator j’ai pu associer mes volets avec le protocol X2DSHUTTER et définir un ID pour chaque volet (je ne comprends pas pourquoi ça parle de VISONIC coté Plugin rfplayer Domoticz)
Ensuite en création un bouton X2DSHUTTER avec le bon ID ça fonctionne niquel sur Domoticz c’est super!! :smiley:

2 J'aime