RFLink stopped working

Dear all,

unfortunately my RFLink stopped working (iam not really sure when but it worked a few days back).

I connected the RFLink device on a Windows PC with the RFLinkloader.exe and it works fine (i can trigger the up and down of my Somify covers). When connecting to Homeassistant and pressing the button to lower my covers nothing happens and i can see the following error in Homeassistant:

2021-08-03 16:58:31 DEBUG (MainThread) [homeassistant.components.rflink] Sending command: DOWN to Rflink device: RTS_05FFFF_0
2021-08-03 16:58:36 DEBUG (MainThread) [rflink.protocol] sending command: {'protocol': 'RTS', 'id': '05FFFF', 'switch': '0', 'command': 'DOWN'}
2021-08-03 16:58:36 DEBUG (MainThread) [rflink.protocol] writing data: '10;RTS;05FFFF;0;DOWN;\r\n'
2021-08-03 16:58:36 DEBUG (MainThread) [rflink.protocol] waiting for acknowledgement
2021-08-03 16:58:36 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140652004366752] 
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1491, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1526, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 760, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/rflink/cover.py", line 152, in async_close_cover
    await self._async_handle_command("close_cover")
  File "/usr/src/homeassistant/homeassistant/components/rflink/__init__.py", line 539, in _async_handle_command
    await self._async_send_command(cmd, self._signal_repetitions)
  File "/usr/src/homeassistant/homeassistant/components/rflink/__init__.py", line 565, in _async_send_command
    await self._protocol.send_command_ack(self._device_id, cmd)
  File "/usr/local/lib/python3.8/site-packages/rflink/protocol.py", line 257, in send_command_ack
    yield from asyncio.wait_for(
  File "/usr/local/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
    raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError

Configuration:

rflink:
  port: /dev/ttyACM0
  
cover:
  - platform: rflink
    devices:
      RTS_01FFFF_0: {}
      RTS_05FFFF_0: {}
      
logger:
  default: error
  logs:
    rflink: debug
    homeassistant.components.rflink: debug

Any ideas what the issue could be ?

Thanks

Not sure if related, but some time ago, I migrated this kind of port address (/dev/ttyACM0) to the ‘serial/by-id’ type (/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0)

This way you don’t have to worry about the USB port where you plug devices.

The USB port can be found in: Supervisor → System → Host → (three dots) Hardware

Thanks, i solved it. The issue was with the USB Cable on the Server. Somehow it did stop working with it.