Bonjour,
Depuis la dernière mise à jour du plugin rfPlayer2 j’ai un pb de répétition de messages et d’appel à l’API Jeedom par le plugin.
J’utilise une télécommande DIO porté clé
Dans le log ci-dessous j’ai bien double cliqué sur le bouton à 08:53:08 et on voit bien 2 répétitions alors que je n’ai pas touché à la télécommande.
[2020-06-15 08:53:08][DEBUG] : ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-86", "floorNoise": "-96", "rfQuality": "2", "protocol": "4", "protocolMeaning": "CHACON", "infoType": "1", "frequency": "433920"},"infos": {"subType": "0", "id": "2175969167", "subTypeMeaning": "OFF"}}}
[2020-06-15 08:53:08][DEBUG] : Received a Chacon frame
[2020-06-15 08:53:08][DEBUG] : type1
[2020-06-15 08:53:08][DEBUG] : Send to jeedom : {'devices': {'81b2a78fL': {'protocol': 'CHACON', 'subid': 'a78fL', 'raw': {'frame': {'header': {'rfQuality': '2', 'protocol': '4', 'frameType': '0', 'floorNoise': '-96', 'cluster': '0', 'frequency': '433920', 'rfLevel': '-86', 'dataFlag': '0', 'infoType': '1', 'protocolMeaning': 'CHACON'}, 'infos': {'subType': '0', 'id': '2175969167', 'subTypeMeaning': 'OFF'}}}, 'learn': False, 'data': {'subType': '0', 'dBm': '-86', 'subTypeMeaning': 'OFF', 'info_a78fL': '0'}, 'id': '81b2'}}}
[2020-06-15 08:53:08][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-06-15 08:53:08][INFO] : API RfPlayer solicité
[2020-06-15 08:53:08][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfplayer2/core/php/jeeRfplayer2.php?apikey=S9fRKbnG1NTZjUDFGrUZhcMTnbayvROt HTTP/1.1" 200 0
[2020-06-15 08:57:33][DEBUG] : ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-89", "floorNoise": "-95", "rfQuality": "2", "protocol": "4", "protocolMeaning": "CHACON", "infoType": "1", "frequency": "433920"},"infos": {"subType": "0", "id": "2175969167", "subTypeMeaning": "OFF"}}}
[2020-06-15 08:57:33][DEBUG] : Received a Chacon frame
[2020-06-15 08:57:33][DEBUG] : type1
[2020-06-15 08:57:33][DEBUG] : Send to jeedom : {'devices': {'81b2a78fL': {'protocol': 'CHACON', 'subid': 'a78fL', 'raw': {'frame': {'header': {'rfQuality': '2', 'protocol': '4', 'frameType': '0', 'floorNoise': '-95', 'cluster': '0', 'frequency': '433920', 'rfLevel': '-89', 'dataFlag': '0', 'infoType': '1', 'protocolMeaning': 'CHACON'}, 'infos': {'subType': '0', 'id': '2175969167', 'subTypeMeaning': 'OFF'}}}, 'learn': False, 'data': {'subType': '0', 'dBm': '-89', 'subTypeMeaning': 'OFF', 'info_a78fL': '0'}, 'id': '81b2'}}}
[2020-06-15 08:57:33][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-06-15 08:57:33][INFO] : API RfPlayer solicité
[2020-06-15 08:57:33][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfplayer2/core/php/jeeRfplayer2.php?apikey=S9fRKbnG1NTZjUDFGrUZhcMTnbayvROt HTTP/1.1" 200 0
[2020-06-15 08:58:51][DEBUG] : Received a Chacon frame
[2020-06-15 08:58:51][DEBUG] : type1
[2020-06-15 08:58:51][DEBUG] : Send to jeedom : {'devices': {'81b2a78fL': {'protocol': 'CHACON', 'subid': 'a78fL', 'raw': {'frame': {'header': {'rfQuality': '2', 'protocol': '4', 'frameType': '0', 'floorNoise': '-94', 'cluster': '0', 'frequency': '433920', 'rfLevel': '-87', 'dataFlag': '0', 'infoType': '1', 'protocolMeaning': 'CHACON'}, 'infos': {'subType': '0', 'id': '2175969167', 'subTypeMeaning': 'OFF'}}}, 'learn': False, 'data': {'subType': '0', 'dBm': '-87', 'subTypeMeaning': 'OFF', 'info_a78fL': '0'}, 'id': '81b2'}}}
[2020-06-15 08:58:51][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-06-15 08:58:51][INFO] : API RfPlayer solicité
[2020-06-15 08:58:51][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfplayer2/core/php/jeeRfplayer2.php?apikey=S9fRKbnG1NTZjUDFGrUZhcMTnbayvROt HTTP/1.1" 200 0
Avez vous une idée du problème?