Hello,
I’m new with the Home Assistant setup.
I used to have a Domoticz setup running on a Gigabyte NUC and RFLink.
This was using a lot of KlikAanKlikUit and other 433mhz stuf.
I managed to get a nice setup running with Zwave equipment (Mostly Ikea Tradfri lights)
This is build on a Rasberry Pi4 and a CC2351 Zigbee stick with HAssbian installed on a SSD
I also managed to get the RFLink up and running, so i could use my “old” switches.
This worked really nice for a couple of days.
Now my problem
Since yesterday the RFLink integration is broken.
I get the following errors in HomeAssistant.log
2019-07-21 18:46:23 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: ���~ ��~�f���f���~
2019-07-21 18:46:23 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: f�f���~��`f����f�`�~�ff��`f��������~�f
2019-07-21 18:46:23 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: �`f������������ff����~怘�
I spend a lot of time to search the internet for a solution.
Found a solution for Hass.io (uninstall the modemmanager) this didn’t work for me (No Hass.io or modemmanager in use)
Found that most user with this problem managed to get RFLink to work when used on TCP/IP from another computer.
Managed to get it setup with “socat” on a spare linux based laptop.
I manage to use installed swicthes and they seem to work fine
2019-10-08 18:17:54 DEBUG (MainThread) [homeassistant.components.rflink] Sending command: off to Rflink device: newkaku_00b8876e_c
2019-10-08 18:17:54 DEBUG (MainThread) [rflink.protocol] sending command: {'protocol': 'newkaku', 'id': '00b8876e', 'switch': 'c', 'command': 'off'}
2019-10-08 18:17:54 DEBUG (MainThread) [rflink.protocol] writing data: '10;newkaku;00b8876e;c;off;\r\n'
2019-10-08 18:17:55 DEBUG (MainThread) [rflink.protocol] received data: 20;79;OK;
2019-10-08 18:17:55 DEBUG (MainThread) [rflink.protocol] received data:
2019-10-08 18:17:55 DEBUG (MainThread) [homeassistant.components.rflink] Sending command: on to Rflink device: newkaku_00b8876e_c
2019-10-08 18:17:55 DEBUG (MainThread) [rflink.protocol] sending command: {'protocol': 'newkaku', 'id': '00b8876e', 'switch': 'c', 'command': 'on'}
2019-10-08 18:17:55 DEBUG (MainThread) [rflink.protocol] writing data: '10;newkaku;00b8876e;c;on;\r\n'
2019-10-08 18:17:56 DEBUG (MainThread) [rflink.protocol] received data: 20;7A;OK;
2019-10-08 18:17:56 DEBUG (MainThread) [rflink.protocol] received data:
2019-10-08 18:17:57 DEBUG (MainThread) [rflink.protocol] received data: 20;7B;Alecto V4;ID=5788;TEMP=009e;HUM=76;
When i use the physical switch this doen’t work.
I do see the information being passed on from the RFlink to my Pi system, but it is in a different format.
2019-10-08 17:38:15 DEBUG (MainThread) [rflink.protocol] received data: 20;25;NewKaku;ID=00b8876e;SWITCH=b;CMD=ON;
2019-10-08 17:38:17 DEBUG (MainThread) [rflink.protocol] received data: 20;26;NewKaku;ID=00b8876e;SWITCH=c;CMD=ON;
2019-10-08 17:38:36 DEBUG (MainThread) [rflink.protocol] received data: 20;28;NewKaku;ID=012c558a;SWITCH=b;CMD=ON;
2019-10-08 17:38:37 DEBUG (MainThread) [rflink.protocol] received data: 20;29;NewKaku;ID=012c558a;SWITCH=c;CMD=ON;
It looks like this is not recognized by Home Assistant.
When the direct USB connected RFLink setup worked, this worked fine.
In my Configuration.yaml, I’ve the following entry for RFLink
rflink:
host: 192.168.2.6
port: 1234
wait_for_ack: false
switch:
- platform: rflink
devices:
newkaku_012c558a_b:
name: Eettafel
newkaku_00b8876e_b:
name: Keuken_Plafond
newkaku_00b8876e_c:
name: Keuken_Kastjes
newkaku_012c558a_c:
name: Woonkamer_Plafond
newkaku_00e29fe6_a:
name: schakelaar_stalampen
# RFLink auto add sensor
- platform: rflink
automatic_add: true
# Light
light:
- platform: rflink
automatic_add: true
One more detail: in both the direct connected setup and the current TCP/IP setup, automatic _add doesn’t work. in Home Assistant i can not find any reference to RFLink. (Like in “integrations” i see the MQTT broker and others)
Any help is highly appreciated
Erwin