I have the wifi version of the RFXTRX to control my somfy blinds. It has worked with HA in the past using the RFXCOM integration (I only installed it two weeks ago) but now I can’t get HA to connect to the device. I get this error:
Logger: homeassistant.config_entries
Source: components/rfxtrx/__init__.py:131
First occurred: 10:01:52 AM (3 occurrences)
Last logged: 10:10:05 AM
Error setting up entry RFXTRX for rfxtrx
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/RFXtrx/__init__.py", line 860, in connect
self.sock.connect(self.hostport)
OSError: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/rfxtrx/__init__.py", line 91, in async_setup_entry
await async_setup_internal(hass, entry)
File "/usr/src/homeassistant/homeassistant/components/rfxtrx/__init__.py", line 168, in async_setup_internal
rfx_object = await hass.async_add_executor_job(_create_rfx, config)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/rfxtrx/__init__.py", line 131, in _create_rfx
rfx = rfxtrxmod.Connect(
File "/usr/local/lib/python3.10/site-packages/RFXtrx/__init__.py", line 977, in __init__
self.transport = transport_protocol(device)
File "/usr/local/lib/python3.10/site-packages/RFXtrx/__init__.py", line 855, in __init__
self.connect()
File "/usr/local/lib/python3.10/site-packages/RFXtrx/__init__.py", line 865, in connect
self.sock.connect(self.hostport)
OSError: [Errno 113] Host is unreachable
Logger: RFXtrx
Source: components/rfxtrx/__init__.py:131
First occurred: 10:01:49 AM (3 occurrences)
Last logged: 10:10:02 AM
Failed to create socket, check host port config
I’m sure that I put the correct IP address in during set up (192.168.1.42, port 10001) although I can’t find anywhere to check that in HA. I am able to connect to the RFXTRX device at that IP address using the RFXmngr on my windows computer.
Any idea how to fix this?