I have RFkink installed on a arduino mega.
When I test everyting in the serial monitor of arduinoIDE every thng works fine.I can control my sunscreen.
When I connect the arduini to home assistant it is not worling. I can see in the log that Rflink is reconized and that the commnands are send but nothing happens.
This is my configuration.yaml
rflink:
port: /dev/ttyACM1
wait_for_ack: false
logger:
default: error
logs:
rflink: debug
homeassistant.components.rflink: debug
cover:
- platform: rflink
devices:
RTS_0F0F0F_01:
name: zonnescherm
aliases:
- RTS_0F0F0F_01
And this is the output of my log:
2021-03-06 13:06:46 INFO (MainThread) [homeassistant.components.rflink] Initiating Rflink connection
2021-03-06 13:06:46 INFO (MainThread) [homeassistant.components.rflink] Connected to Rflink
2021-03-06 13:06:46 DEBUG (MainThread) [rflink.protocol] connected
2021-03-06 13:37:13 DEBUG (MainThread) [homeassistant.components.rflink] Sending command: DOWN to Rflink device: RTS_0F0F0F_01
2021-03-06 13:37:13 DEBUG (MainThread) [rflink.protocol] sending command: {'protocol': 'RTS', 'id': '0F0F0F', 'switch': '01', 'command': 'DOWN'}
2021-03-06 13:37:13 DEBUG (MainThread) [rflink.protocol] writing data: '10;RTS;0F0F0F;01;DOWN;\r\n'
2021-03-06 13:37:18 DEBUG (MainThread) [homeassistant.components.rflink] Sending command: UP to Rflink device: RTS_0F0F0F_01
2021-03-06 13:37:18 DEBUG (MainThread) [rflink.protocol] sending command: {'protocol': 'RTS', 'id': '0F0F0F', 'switch': '01', 'command': 'UP'}
2021-03-06 13:37:18 DEBUG (MainThread) [rflink.protocol] writing data: '10;RTS;0F0F0F;01;UP;\r\n'
When I give the command “10;RTSSHOW;” in the arduino serialmonitor I get the following results:
RTS Record: 0 Address: FFFFFF RC: FFFF
RTS Record: 1 Address: 0F0F0F RC: 041A
RTS Record: 2 Address: FFFFFF RC: FFFF
RTS Record: 3 Address: FFFFFF RC: FFFF
RTS Record: 4 Address: FFFFFF RC: FFFF
RTS Record: 5 Address: FFFFFF RC: FFFF
RTS Record: 6 Address: FFFFFF RC: FFFF
RTS Record: 7 Address: FFFFFF RC: FFFF
RTS Record: 8 Address: FFFFFF RC: FFFF
RTS Record: 9 Address: FFFFFF RC: FFFF
RTS Record: 10 Address: FFFFFF RC: FFFF
RTS Record: 11 Address: FFFFFF RC: FFFF
RTS Record: 12 Address: FFFFFF RC: FFFF
RTS Record: 13 Address: FFFFFF RC: FFFF
RTS Record: 14 Address: FFFFFF RC: FFFF
RTS Record: 15 Address: FFFFFF RC: FFFF
Any ideas?