Rflink receiving but not sending or not working

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
passie
Normal user
Posts: 21
Joined: 18 Mar 2017, 07:27

Rflink receiving but not sending or not working

#1 Post by passie » 20 Nov 2024, 13:33

Hi,

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'}
Though when i'm sending the following

Code: Select all

action: rflink.send_command
data:
  command: "10;Aster;ID=0000;SWITCH=01;CMD=OFF"
  device_id: aster_00000_01
i can see it's sending, but it's not controlling the device.

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
Any help would be appreciated
Regards,
Passie

bidrohini
Normal user
Posts: 132
Joined: 03 Nov 2022, 16:24

Re: Rflink receiving but not sending or not working

#2 Post by bidrohini » 30 Nov 2024, 18:40

The device ID in the logs for the received packet is aster_0000_01, but the sent command uses aster_00000_01. This mismatch may causing the target device to ignore the command.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests