RFLink cover controller

Hi,

I have an RFLink device is designed for controlling covers. It has 3 buttons (up, down, stop) and generates different events. The question, how could I use this in my automation to control some devices with it depending on which button is pressed.

I can see these log entries when a button is pressed:

2019-04-15 00:11:24 DEBUG (MainThread) [rflink.protocol] received data: 20;0C;Dooya;ID=36029400;SWITCH=01;CMD=UP;
2019-04-15 00:11:24 DEBUG (MainThread) [rflink.protocol] got packet: 20;0C;Dooya;ID=36029400;SWITCH=01;CMD=UP;
2019-04-15 00:11:24 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'dooya', 'id': '36029400', 'switch': '01', 'command': 'up'}
2019-04-15 00:11:24 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'dooya_36029400_01', 'command': 'up'}
2019-04-15 00:11:24 DEBUG (MainThread) [homeassistant.components.rflink] event of type command: {'id': 'dooya_36029400_01', 'command': 'up'}
2019-04-15 00:11:24 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: ['switch.haloszoba_redony_1']
2019-04-15 00:11:24 DEBUG (MainThread) [homeassistant.components.rflink] passing event to switch.haloszoba_redony_1

I don’t have too much experience with HA and it’s not clear if I should use it as what kind of device? (switch/light/?)

Thanks,
MCS

Hi do you find a solution, I m a novice.
I have a RTS Somfy too and it’s work fine, but with my cover in 433,92 mhz, i don’t know how configure ?
someone can help me ? i have this in logs :slight_smile:

Aug 08 21:51:30 hassbian hass[529]: 2019-08-08 21:51:30 DEBUG (MainThread) [rflink.protocol] received data: 20
Aug 08 21:51:30 hassbian hass[529]: 2019-08-08 21:51:30 DEBUG (MainThread) [rflink.protocol] received data: ;76;Keeloq;ID=dc32;SWITC
Aug 08 21:51:30 hassbian hass[529]: 2019-08-08 21:51:30 DEBUG (MainThread) [rflink.protocol] received data: H=02;CMD=ON;BAT=OK;
Aug 08 21:51:30 hassbian hass[529]: 2019-08-08 21:51:30 DEBUG (MainThread) [rflink.protocol] got packet: 20;76;Keeloq;ID=dc32;SWITCH=02;CMD=ON;BAT=OK;
Aug 08 21:51:30 hassbian hass[529]: 2019-08-08 21:51:30 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'keeloq', 'id': 'dc32', 'switch': '02', 'command': 'on', 'battery': 'ok'}
Aug 08 21:51:30 hassbian hass[529]: 2019-08-08 21:51:30 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'keeloq_dc32_02', 'command': 'on', 'battery': 'ok'}
Aug 08 21:51:30 hassbian hass[529]: 2019-08-08 21:51:30 DEBUG (MainThread) [homeassistant.components.rflink] event of type command: {'id': 'keeloq_dc32_02', 'command': 'on', 'battery': 'ok'}
Aug 08 21:51:30 hassbian hass[529]: 2019-08-08 21:51:30 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: []
Aug 08 21:51:30 hassbian hass[529]: 2019-08-08 21:51:30 DEBUG (MainThread) [homeassistant.components.rflink] device_id not known and automatic add disabled

Thanks

Hi @ninjax95 : this is what I did : Somfy sunscreen automated and Alexa control