I have setup rflink to my Home assistant and i'm able to receive RF commands like:
Code: Select all
[homeassistant.components.rflink] event of type command: {'id': 'aster_0004_01', 'command': 'off'}
[homeassistant.components.rflink] entity_ids: ['light.aster_0004_01']
[homeassistant.components.rflink] passing event to light.aster_0004_01
[rflink.protocol] received data: 20;42;Aster;ID=0000;SWITCH=01;CM
[rflink.protocol] received data: D=OFF;
[rflink.protocol] got packet: 20;42;Aster;ID=0000;SWITCH=01;CMD=OFF;
[rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'aster', 'id': '0000', 'switch': '01', 'command': 'off'}
[rflink.protocol] got event: {'id': 'aster_0000_01', 'command': 'off'}
Code: Select all
action: rflink.send_command
data:
command: "10;Aster;ID=0000;SWITCH=01;CMD=OFF"
device_id: aster_00000_01
Code: Select all
2024-11-20 13:01:32.202 DEBUG (MainThread) [homeassistant.components.rflink] Rflink command for {'command': '10;Aster;ID=0000;SWITCH=01;CMD=OFF', 'device_id': 'aster_00000_01'}
2024-11-20 13:01:32.202 DEBUG (MainThread) [rflink.protocol] sending command: {'protocol': 'aster', 'id': '00000', 'switch': '01', 'command': '10;Aster;ID=0000;SWITCH=01;CMD=OFF'}
2024-11-20 13:01:32.202 DEBUG (MainThread) [rflink.protocol] writing data: '10;aster;00000;01;10;Aster;ID=0000;SWITCH=01;CMD=OFF;\r\n'
2024-11-20 13:01:32.202 DEBUG (MainThread) [rflink.protocol] waiting for acknowledgement
2024-11-20 13:01:32.431 DEBUG (MainThread) [rflink.protocol] received data: 20;0A;OK;
2024-11-20 13:01:32.431 DEBUG (MainThread) [rflink.protocol] got packet: 20;0A;OK;
2024-11-20 13:01:32.431 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'unknown', 'ok': True}
2024-11-20 13:01:32.431 DEBUG (MainThread) [rflink.protocol] command response: {'node': 'gateway', 'protocol': 'unknown', 'ok': True}
2024-11-20 13:01:32.431 DEBUG (MainThread) [rflink.protocol] packet acknowledged
2024-11-20 13:01:32.431 DEBUG (MainThread) [homeassistant.components.rflink] event of type command: {'id': 'aster_00000_01', 'command': '10;Aster;ID=0000;SWITCH=01;CMD=OFF'}
2024-11-20 13:01:32.431 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: ['light.aster_00000_01']
2024-11-20 13:01:32.431 DEBUG (MainThread) [homeassistant.components.rflink] passing event to light.aster_00000_01
Regards,
Passie