Hi,
I’m trying to use a somfy Keygo RTS remote with Rflink.
At this point, I think I’m not that far. Here is a part of the log when I push a button:
2023-06-14 22:45:43.017 DEBUG (MainThread) [rflink.protocol] received data: 1935;SWITCH=01;CMD=STOP;
2023-06-14 22:45:43.021 DEBUG (MainThread) [rflink.protocol] received data:
2023-06-14 22:45:43.022 DEBUG (MainThread) [rflink.protocol] got packet: 20;12;RTS;ID=27e1935;SWITCH=01;CMD=STOP;
2023-06-14 22:45:43.022 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'rts', 'id': '27e1935', 'switch': '01', 'command': 'stop'}
2023-06-14 22:45:43.023 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'rts_27e1935_01', 'command': 'stop'}
2023-06-14 22:45:43.023 DEBUG (MainThread) [homeassistant.components.rflink] event of type command: {'id': 'rts_27e1935_01', 'command': 'stop'}
2023-06-14 22:45:43.023 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: ['switch.rts_27e1935_01']
2023-06-14 22:45:43.023 DEBUG (MainThread) [homeassistant.components.rflink] passing event to switch.rts_27e1935_01
my configuration is the following :
rflink:
port: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_5573932323735170C0B2-if00
sensor:
- platform: rflink
automatic_add: true
light:
- platform: rflink
automatic_add: true
switch:
- platform: rflink
automatic_add: true
devices:
rts_27e1935_01: {}
my entity switch.rts_27e1935_01
seems to be recognized.
Which event (or anything else) must I use to catch the event ?
Thanks for help