Problem with electric awning remote control

About receivers, transmitters, transceivers, connections, antennas etc.

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
Damian
New user
Posts: 2
Joined: 11 Jul 2024, 16:04

Problem with electric awning remote control

#1 Post by Damian » 11 Jul 2024, 16:06

I managed to install RFLink on Sonoff 2.2 by using Ser2net and capture a remote controller for my electric awning.

Here are the logs for each one of the three buttons it has:

Code: Select all

2024-05-21 10:19:43.368 DEBUG (MainThread) [rflink.protocol] packet acknowledged
2024-05-21 10:21:15.012 DEBUG (MainThread) [rflink.protocol] received data: 20;36;RTS;ID=9cf52b;ID=0364;CMD=UP;
2024-05-21 10:21:15.012 DEBUG (MainThread) [rflink.protocol] got packet: 20;36;RTS;ID=9cf52b;ID=0364;CMD=UP;
2024-05-21 10:21:15.012 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'rts', 'id': '0364', 'command': 'up'}
2024-05-21 10:21:15.013 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'rts_0364', 'command': 'up'}


2024-05-21 10:21:15.013 DEBUG (MainThread) [homeassistant.components.rflink] device_id not known, adding new device
2024-05-21 10:22:29.563 DEBUG (MainThread) [rflink.protocol] received data: 20;37;RTS;ID=9cf52b;ID=0366;CMD=STOP;
2024-05-21 10:22:29.563 DEBUG (MainThread) [rflink.protocol] got packet: 20;37;RTS;ID=9cf52b;ID=0366;CMD=STOP;
2024-05-21 10:22:29.563 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'rts', 'id': '0366', 'command': 'stop'}
2024-05-21 10:22:29.564 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'rts_0366', 'command': 'stop'}
2024-05-21 10:22:29.564 DEBUG (MainThread) [homeassistant.components.rflink] event of type command: {'id': 'rts_0366', 'command': 'stop'}


2024-05-21 10:22:29.564 DEBUG (MainThread) [homeassistant.components.rflink] device_id not known, adding new device
2024-05-21 10:23:52.208 DEBUG (MainThread) [rflink.protocol] received data: 20;38;RTS;ID=9cf52b;ID=0368;CMD=DOWN;
2024-05-21 10:23:52.208 DEBUG (MainThread) [rflink.protocol] got packet: 20;38;RTS;ID=9cf52b;ID=0368;CMD=DOWN;
2024-05-21 10:23:52.209 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'rts', 'id': '0368', 'command': 'down'}
2024-05-21 10:23:52.209 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'rts_0368', 'command': 'down'}
2024-05-21 10:23:52.209 DEBUG (MainThread) [homeassistant.components.rflink] event of type command: {'id': 'rts_0368', 'command': 'down'}
My problem is when I try to send the command to RFLink with Home assistant and open or close the awning, it just answer this:

Code: Select all

2024-05-21 11:50:49.743 DEBUG (MainThread) [homeassistant.components.rflink] Rflink command for {'device_id': 'rts_0368_1', 'command': 'down'}
2024-05-21 11:50:49.743 DEBUG (MainThread) [rflink.protocol] sending command: {'protocol': 'rts', 'id': '0368', 'switch': '1', 'command': 'down'}
2024-05-21 11:50:49.743 DEBUG (MainThread) [rflink.protocol] writing data: '10;rts;0368;1;down;\r\n'
2024-05-21 11:50:49.744 DEBUG (MainThread) [rflink.protocol] waiting for acknowledgement
2024-05-21 11:50:49.811 DEBUG (MainThread) [rflink.protocol] received data: e[2K
2024-05-21 11:50:49.817 DEBUG (MainThread) [rflink.protocol] received data: Message arrived [Ser2Net]:10;rts;0368;1;down;
2024-05-21 11:50:49.819 DEBUG (MainThread) [rflink.protocol] received data: 20;52;CMD UNKNOWN;
2024-05-21 11:50:49.819 WARNING (MainThread) [rflink.protocol] dropping invalid data: e[2K
Message arrived [Ser2Net]:10;rts;0368;1;down;
2024-05-21 11:50:49.819 DEBUG (MainThread) [rflink.protocol] got packet: 20;52;CMD UNKNOWN;
2024-05-21 11:50:49.819 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'unknown', 'response': 'command_unknown', 'ok': False}
2024-05-21 11:50:49.819 DEBUG (MainThread) [rflink.protocol] command response: {'node': 'gateway', 'protocol': 'unknown', 'response': 'command_unknown', 'ok': False}
I think it’s the duplicated ID values on the original calls. ID=9cf52b;ID=0368; Which one should I use for the call?
I’ve tried to make direct yaml calls to the RFLink: Send command

service: rflink.send_command
data:
device_id: rts_9cf52b_1
command: down
and

service: rflink.send_command
data:
device_id: rts_9cf52b_0368
command: down
But I only get wrong messages back

Can anyone help me?

Damian
New user
Posts: 2
Joined: 11 Jul 2024, 16:04

Re: Problem with electric awning remote control

#2 Post by Damian » 31 Jul 2024, 16:54

Can anyone help me?

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests