RFLink Temperature Sensor

Getting ‘Unknown’ in HA for the following config, can anyone help? Temp is reported in hex so assume I’ll need to convert to decimal somehow (?) but humidity is already decimal so surely should show?

RFLink Loader works great in same location so I know signal is no issue.

Not sure on how to check the logs for this, any help would be greatly appreciated!

Thanks!

rflink:
  port: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_55731323436351113051-if00
  
sensor:
  - platform: rflink
    automatic_add: false
    devices:
      AcuriteV2_ebdf_TEMP:
        sensor_type: temperature
      AcuriteV2_ebdf_BAT:
        sensor_type: battery
      AcuriteV2_ebdf_HUM:
        sensor_type: humidity

Did you try to enable debug for rflink?
If yes, please copy past log here

2020-01-26 08:26:40 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'acuritev2_ebdf_temp', 'sensor': 'temperature', 'value': 6.3, 'unit': '°C'}
2020-01-26 08:26:40 DEBUG (MainThread) [homeassistant.components.rflink] event of type sensor: {'id': 'acuritev2_ebdf_temp', 'sensor': 'temperature', 'value': 6.3, 'unit': '°C'}
2020-01-26 08:26:40 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: []
2020-01-26 08:26:40 DEBUG (MainThread) [homeassistant.components.rflink] device_id not known and automatic add disabled

Seems to do this every time a signal comes in from it. It’s ignoring it because I’ve turned off automatic add but not seeing what I’ve got in the config.

Funny as well, if I go into HA settings and look at the entity list my manual RFLink sensors aren’t in the list but I can select them for use on cards on the dashboard.

Did you try with ‘acuritev2_ebdf_temp’ instead of ‘acuritev2_ebdf_TEMP’? (Everything in lowercase)

Sure did; had that in the config first.

Changed config to the below (removed the manual sensors) and turned on automatic add:

rflink:
  port: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_55731323436351113051-if00
  
sensor:
  - platform: rflink
    automatic_add: true

Now the device shows on the dash and the values are coming through. I don’t like this, I didn’t want to use automatic add. The sensors still don’t show in the entity list though and the names are identical to my manual config so I don’t get why it wouldn’t work. Is this a bug?

Check in “Developer Tools” then “States”. The Rflink integration does not currently support entity registry.

OK thanks. Have some more logs:

2020-01-26 08:51:35 DEBUG (MainThread) [rflink.protocol] received data: 20;01;AcuriteV2;ID=ebdf;
2020-01-26 08:51:35 DEBUG (MainThread) [rflink.protocol] received data: TEMP=003f;HUM=88;BAT=OK;
2020-01-26 08:51:35 DEBUG (MainThread) [rflink.protocol] received data: 
2020-01-26 08:51:35 DEBUG (MainThread) [rflink.protocol] got packet: 20;01;AcuriteV2;ID=ebdf;TEMP=003f;HUM=88;BAT=OK;
2020-01-26 08:51:35 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'acuritev2', 'id': 'ebdf', 'temperature': 6.3, 'temperature_unit': '°C', 'humidity': 88, 'humidity_unit': '%', 'battery': 'ok'}
2020-01-26 08:51:35 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'acuritev2_ebdf_temp', 'sensor': 'temperature', 'value': 6.3, 'unit': '°C'}
2020-01-26 08:51:35 DEBUG (MainThread) [homeassistant.components.rflink] event of type sensor: {'id': 'acuritev2_ebdf_temp', 'sensor': 'temperature', 'value': 6.3, 'unit': '°C'}
2020-01-26 08:51:35 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: []
2020-01-26 08:51:35 DEBUG (MainThread) [homeassistant.components.rflink] device_id not known and automatic add disabled
2020-01-26 08:51:35 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'acuritev2_ebdf_hum', 'sensor': 'humidity', 'value': 88, 'unit': '%'}
2020-01-26 08:51:35 DEBUG (MainThread) [homeassistant.components.rflink] event of type sensor: {'id': 'acuritev2_ebdf_hum', 'sensor': 'humidity', 'value': 88, 'unit': '%'}
2020-01-26 08:51:35 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: []
2020-01-26 08:51:35 DEBUG (MainThread) [homeassistant.components.rflink] device_id not known and automatic add disabled
2020-01-26 08:51:35 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'acuritev2_ebdf_bat', 'sensor': 'battery', 'value': 'ok', 'unit': None}
2020-01-26 08:51:35 DEBUG (MainThread) [homeassistant.components.rflink] event of type sensor: {'id': 'acuritev2_ebdf_bat', 'sensor': 'battery', 'value': 'ok', 'unit': None}
2020-01-26 08:51:35 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: []
2020-01-26 08:51:35 DEBUG (MainThread) [homeassistant.components.rflink] device_id not known and automatic add disabled
2020-01-26 08:51:35 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'acuritev2_ebdf_update_time', 'sensor': 'update_time', 'value': 1580028696, 'unit': 's'}
2020-01-26 08:51:35 DEBUG (MainThread) [homeassistant.components.rflink] event of type sensor: {'id': 'acuritev2_ebdf_update_time', 'sensor': 'update_time', 'value': 1580028696, 'unit': 's'}
2020-01-26 08:51:35 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: []
2020-01-26 08:51:35 DEBUG (MainThread) [homeassistant.components.rflink] device_id not known and automatic add disabled
2020-01-26 08:52:24 DEBUG (MainThread) [rflink.protocol] received data: 20;02;AcuriteV2;ID=ebd
2020-01-26 08:52:24 DEBUG (MainThread) [rflink.protocol] received data: f;TEMP=003f;HUM=88;BAT=O
2020-01-26 08:52:24 DEBUG (MainThread) [rflink.protocol] received data: K;
2020-01-26 08:52:24 DEBUG (MainThread) [rflink.protocol] got packet: 20;02;AcuriteV2;ID=ebdf;TEMP=003f;HUM=88;BAT=OK;
2020-01-26 08:52:24 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'acuritev2', 'id': 'ebdf', 'temperature': 6.3, 'temperature_unit': '°C', 'humidity': 88, 'humidity_unit': '%', 'battery': 'ok'}
2020-01-26 08:52:24 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'acuritev2_ebdf_temp', 'sensor': 'temperature', 'value': 6.3, 'unit': '°C'}
2020-01-26 08:52:24 DEBUG (MainThread) [homeassistant.components.rflink] event of type sensor: {'id': 'acuritev2_ebdf_temp', 'sensor': 'temperature', 'value': 6.3, 'unit': '°C'}
2020-01-26 08:52:24 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: []
2020-01-26 08:52:24 DEBUG (MainThread) [homeassistant.components.rflink] device_id not known and automatic add disabled
2020-01-26 08:52:24 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'acuritev2_ebdf_hum', 'sensor': 'humidity', 'value': 88, 'unit': '%'}
2020-01-26 08:52:24 DEBUG (MainThread) [homeassistant.components.rflink] event of type sensor: {'id': 'acuritev2_ebdf_hum', 'sensor': 'humidity', 'value': 88, 'unit': '%'}
2020-01-26 08:52:24 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: []
2020-01-26 08:52:24 DEBUG (MainThread) [homeassistant.components.rflink] device_id not known and automatic add disabled
2020-01-26 08:52:24 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'acuritev2_ebdf_bat', 'sensor': 'battery', 'value': 'ok', 'unit': None}
2020-01-26 08:52:24 DEBUG (MainThread) [homeassistant.components.rflink] event of type sensor: {'id': 'acuritev2_ebdf_bat', 'sensor': 'battery', 'value': 'ok', 'unit': None}
2020-01-26 08:52:24 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: []
2020-01-26 08:52:24 DEBUG (MainThread) [homeassistant.components.rflink] device_id not known and automatic add disabled
2020-01-26 08:52:24 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'acuritev2_ebdf_update_time', 'sensor': 'update_time', 'value': 1580028744, 'unit': 's'}
2020-01-26 08:52:24 DEBUG (MainThread) [homeassistant.components.rflink] event of type sensor: {'id': 'acuritev2_ebdf_update_time', 'sensor': 'update_time', 'value': 1580028744, 'unit': 's'}
2020-01-26 08:52:24 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: []
2020-01-26 08:52:24 DEBUG (MainThread) [homeassistant.components.rflink] device_id not known and automatic add disabled
2020-01-26 08:52:24 ERROR (MainThread) [homeassistant.components.switch] Setup of platform tplink is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2020-01-26 08:52:55 DEBUG (MainThread) [rflink.protocol] received data: 20
2020-01-26 08:52:55 DEBUG (MainThread) [rflink.protocol] received data: ;03;Eurodomest;ID=8a5202;SWITCH=00;CMD=ON;
2020-01-26 08:52:55 DEBUG (MainThread) [rflink.protocol] got packet: 20;03;Eurodomest;ID=8a5202;SWITCH=00;CMD=ON;
2020-01-26 08:52:55 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'eurodomest', 'id': '8a5202', 'switch': '00', 'command': 'on'}
2020-01-26 08:52:55 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'eurodomest_8a5202_00', 'command': 'on'}
2020-01-26 08:52:55 DEBUG (MainThread) [homeassistant.components.rflink] event of type command: {'id': 'eurodomest_8a5202_00', 'command': 'on'}

Got it! You were close; it wanted the protocol in lower case; I’d tried TEMP/temp but all along had AcuriteV2, not acuritev2. Spotted it under states when looking at the entities; the automatic added one that worked was lower case. Thanks so much!

Nice! Glad to know it’s working now

It converts ALL to lowercase and @mrrodge’s advice was actually exactly that so I’d suggest to mark his post as a solution :wink:
I believe the configuration process is described well in docs, you just didn’t follow it carefully enough.

1 Like