Salut,
J’ai récupéré un RFPlayer 1000 que j’ai installé dans home assistant.
L’intégration semble fonctionner correctement sauf que je n’arrive pas à enregistrer le code d’une télécommande qui m’active un switch sonoff RF.
Voici également un extrait du log de mes différents essais:
Log
2024-02-04 18:23:56.591 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-84", "floorNoise": "-100", "rfQuality": "4", "protocol": "15", "protocolMeaning": "JAMMING", "infoType": "1", "frequency": "433920"},"infos": {"subType": "0", "id": "0", "subTypeMeaning": "OFF"}}}
2024-02-04 18:23:56.592 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'protocol': 'JAMMING', 'id': '0', 'command': '0', 'state': 'OFF'}
2024-02-04 18:23:56.592 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2024-02-04 18:23:56.592 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:protocol,v:JAMMING
2024-02-04 18:23:56.592 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:id,v:0
2024-02-04 18:23:56.592 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:command,v:0
2024-02-04 18:23:56.592 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:state,v:OFF
2024-02-04 18:23:56.592 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] event: command -> 0
2024-02-04 18:23:56.592 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] packet_events, sensor:command,value:0
2024-02-04 18:23:56.592 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] ignore_event
2024-02-04 18:23:56.592 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'JAMMING_0_cmd', 'sensor': 'command', 'value': '0', 'unit': None}
2024-02-04 18:23:56.592 DEBUG (MainThread) [custom_components.rfplayer] event of type sensor: {'id': 'JAMMING_0_cmd', 'sensor': 'command', 'value': '0', 'unit': None}
2024-02-04 18:23:56.592 DEBUG (MainThread) [custom_components.rfplayer] passing event to sensor.jamming_0
2024-02-04 18:24:00.533 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++ON PARROT A2\n\r'
2024-02-04 18:24:02.541 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++OFF PARROT A2\n\r'
2024-02-04 18:24:03.701 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++ON PARROT A3\n\r'
2024-02-04 18:24:04.550 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++OFF PARROT A3\n\r'
2024-02-04 18:24:05.277 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++ON PARROT A4\n\r'
2024-02-04 18:24:05.845 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++OFF PARROT A4\n\r'
2024-02-04 18:24:06.742 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++ON PARROT XML\n\r'
2024-02-04 18:24:06.760 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
error request number=0
Syntax error: ON PARROT XML
2024-02-04 18:24:06.760 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nerror request number=0\nSyntax error: ON PARROT XML\n\n'}
2024-02-04 18:24:06.760 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2024-02-04 18:24:06.760 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
error request number=0
Syntax error: ON PARROT XML
2024-02-04 18:24:07.557 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++OFF PARROT XML\n\r'
2024-02-04 18:24:07.576 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
error request number=0
Syntax error: OFF PARROT XML
2024-02-04 18:24:07.576 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nerror request number=0\nSyntax error: OFF PARROT XML\n\n'}
2024-02-04 18:24:07.576 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2024-02-04 18:24:07.576 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
error request number=0
Syntax error: OFF PARROT XML
2024-02-04 18:25:06.270 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++ON PARROT A2\n\r'
2024-02-04 18:25:07.421 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++OFF PARROT A2\n\r'
2024-02-04 18:26:16.526 DEBUG (MainThread) [custom_components.rfplayer] Rfplayer send command for {'automatic_add': False, 'command': 'OFF', 'protocol': 'PARROT', 'device_address': 'A4'}
2024-02-04 18:26:16.526 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++OFF PARROT A4\n\r'
2024-02-04 18:29:10.684 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++JAMMING 10\n\r'
2024-02-04 18:29:19.587 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++JAMMING 0\n\r'
2024-02-04 18:29:23.901 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++JAMMING 4\n\r'
2024-02-04 18:29:25.116 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++JAMMING 5\n\r'
Je dois également constaté que les capteurs découverts se font rares
J’arrive à enregistrer le commutateur (switch.parrot_a2) mais il n’a aucune action sur mon switch sonoff.
Je dois être passé à coté de quelque chose…pourriez vous me venir en aide, parce qu’après avoir lu les différents posts je n’ai trouvé solution à mon problème.
Merci d’avance,