Hello everyone,
I have an H801 module to control led strips, with the EspHome firmware.
It always worked good until recently, when the Home Assistant stopped being able to control it, always giving the error “Failed to call the service light/turn_on. Connection not done for h801-sala-estar @ 192.168.1.44” with the Log I indicate below.
However, via the EspHome webpage the module is fully functional, in the EspHome manager it always appears as available. All other EspHome Modules keep working without any errors.
I have already removed the device and added it again, changed its fixed IP, “flashed” several times and nothing! Sometimes when restarting the module it works in HA for a few seconds, then it returns to the same error. Every X minutes the module restarts by itself, I don’t know if it’s because of the lack of connection to the HA…
Searching on Google I can’t find anything similar.
Any tips?
Error in Log:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/esphome/light.py:252
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 22:25:05 (2 occurrences)
Last logged: 22:25:08
[2803389632] Connection not done for h801-sala-estar @ 192.168.1.44!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1744, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1781, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 208, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 678, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 943, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 715, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 570, in async_handle_light_on_service
await light.async_turn_on(**filter_turn_on_params(light, params))
File "/usr/src/homeassistant/homeassistant/components/esphome/light.py", line 252, in async_turn_on
await self._client.light_command(**data)
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/client.py", line 820, in light_command
self._check_authenticated()
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/client.py", line 276, in _check_authenticated
self._check_connected()
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/client.py", line 273, in _check_connected
raise APIConnectionError(f"Connection not done for {self._log_name}!")
aioesphomeapi.core.APIConnectionError: Connection not done for h801-sala-estar @ 192.168.1.44!