I’ve set up rflink in HA. It works. I can control KAKU switches. And all rf devices show up in HA.
However, my roller shutter switch isn’t working.
I’ve received all the codes via rflink and the device is showing up in HA as light.rts_2157629_01. However when I create a switch, or call the service to switch on or off, the shutters are not going up or down.
The brand is ‘ASA’ and is supported bij rflink.
What am I doing wrong?
I call the service turn_off and turn_on for identity light.rts_2157629_01 , but that doesn’t work. I’ve placed the rflink next to the shutters.
This is my full log:
Received data when pressing buttons on the remote:
20;2D;RTS;ID=2157629;SWITCH=
2020-09-20 17:27:25 DEBUG (MainThread) [rflink.protocol] got packet: 20;2C;Debug;RTS P1;88f302cc157629;
2020-09-20 17:27:25 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'debug', 'rts_p1': '88f302cc157629'}
2020-09-20 17:27:25 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'raw', 'value': None, 'tm': None, 'pulses': None}
2020-09-20 17:27:25 DEBUG (MainThread) [homeassistant.components.rflink] event of type unknown: {'id': 'raw', 'value': None, 'tm': None, 'pulses': None}
2020-09-20 17:27:25 DEBUG (MainThread) [homeassistant.components.rflink] unhandled event of type: unknown
2020-09-20 17:27:25 DEBUG (MainThread) [rflink.protocol] received data: 01;CMD=DOWN;
2020-09-20 17:27:25 DEBUG (MainThread) [rflink.protocol] got packet: 20;2D;RTS;ID=2157629;SWITCH=01;CMD=DOWN;
2020-09-20 17:27:25 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'rts', 'id': '2157629', 'switch': '01', 'command': 'down'}
2020-09-20 17:27:25 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'rts_2157629_01', 'command': 'down'}
2020-09-20 17:27:25 DEBUG (MainThread) [homeassistant.components.rflink] event of type command: {'id': 'rts_2157629_01', 'command': 'down'}
2020-09-20 17:27:25 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: ['light.rts_2157629_01']
2020-09-20 17:27:25 DEBUG (MainThread) [homeassistant.components.rflink] passing event to light.rts_2157629_01
2020-09-20 17:27:41 DEBUG (MainThread) [rflink.protocol] received data: 20;2E;Debug;RTS P1;86fc02cd15762
2020-09-20 17:27:41 DEBUG (MainThread) [rflink.protocol] received data: 9;
20;2F;RTS;ID=2157629;SWITCH=
2020-09-20 17:27:41 DEBUG (MainThread) [rflink.protocol] got packet: 20;2E;Debug;RTS P1;86fc02cd157629;
2020-09-20 17:27:41 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'debug', 'rts_p1': '86fc02cd157629'}
2020-09-20 17:27:41 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'raw', 'value': None, 'tm': None, 'pulses': None}
2020-09-20 17:27:41 DEBUG (MainThread) [homeassistant.components.rflink] event of type unknown: {'id': 'raw', 'value': None, 'tm': None, 'pulses': None}
2020-09-20 17:27:41 DEBUG (MainThread) [homeassistant.components.rflink] unhandled event of type: unknown
2020-09-20 17:27:41 DEBUG (MainThread) [rflink.protocol] received data: 01;CMD=UP;
2020-09-20 17:27:41 DEBUG (MainThread) [rflink.protocol] got packet: 20;2F;RTS;ID=2157629;SWITCH=01;CMD=UP;
2020-09-20 17:27:41 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'rts', 'id': '2157629', 'switch': '01', 'command': 'up'}
2020-09-20 17:27:41 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'rts_2157629_01', 'command': 'up'}
2020-09-20 17:27:41 DEBUG (MainThread) [homeassistant.components.rflink] event of type command: {'id': 'rts_2157629_01', 'command': 'up'}
2020-09-20 17:27:41 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: ['light.rts_2157629_01']
2020-09-20 17:27:41 DEBUG (MainThread) [homeassistant.components.rflink] passing event to light.rts_2157629_01```
Log when trying to control the shutters via a switch in home assistant:
2020-09-20 17:26:56 DEBUG (MainThread) [rflink.protocol] sending command: {'protocol': 'rts', 'id': '2157629', 'switch': '01', 'command': 'off'}
2020-09-20 17:26:56 DEBUG (MainThread) [rflink.protocol] writing data: '10;rts;2157629;01;off;\r\n'
2020-09-20 17:26:56 DEBUG (MainThread) [rflink.protocol] waiting for acknowledgement
2020-09-20 17:27:00 DEBUG (MainThread) [rflink.protocol] received data: 20;2B;OK;
2020-09-20 17:27:00 DEBUG (MainThread) [rflink.protocol] got packet: 20;2B;OK;
2020-09-20 17:27:00 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'unknown', 'ok': True}
2020-09-20 17:27:00 DEBUG (MainThread) [rflink.protocol] command response: {'node': 'gateway', 'protocol': 'unknown', 'ok': True}
2020-09-20 17:27:00 DEBUG (MainThread) [rflink.protocol] packet acknowledged
2020-09-20 17:27:25 DEBUG (MainThread) [rflink.protocol] received data: 20;2C;Debug;RTS P1;88f302cc15762
2020-09-20 17:27:25 DEBUG (MainThread) [rflink.protocol] received data: 9;```
The only thing I’ve noticed which is different is that the remote has the command ‘down’ and ‘up’. But HA uses ‘on’ and ‘off’. But should that work?