Log Details (ERROR)
Logger: homeassistant.components.websocket_api.http.connection.140421875121424
Source: custom_components/proscenic/vacuum_proscenic.py:92
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 8:10:56 PM (3 occurrences)
Last logged: 8:11:02 PM
can not connect to the vacuum. Turn on the physical switch button.
Traceback (most recent call last):
File "/config/custom_components/proscenic/vacuum_proscenic.py", line 74, in _send_command (_, writer) = await asyncio.open_connection(self.ip, 8888, loop = self.loop)
File "/usr/local/lib/python3.7/asyncio/streams.py", line 77, in open_connection lambda: protocol, host, port, **kwds)
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 962, in create_connection raise exceptions[0]
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 949, in create_connection await self.sock_connect(sock, address)
File "/usr/local/lib/python3.7/asyncio/selector_events.py", line 473, in sock_connect return await fut
File "/usr/local/lib/python3.7/asyncio/selector_events.py", line 503, in _sock_connect_cb raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111]
Connect call failed ('192.168.178.59', 8888) During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 130, in handle_call_service connection.context(msg),
File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in async_call task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1295, in _execute_service await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 209, in handle_service self._platforms.values(), func, call, required_features
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 454, in entity_service_call future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 595, in async_request_call await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 485, in _handle_entity_call await result
File "/config/custom_components/proscenic/vacuum.py", line 183, in async_turn_on await self.device.clean()
File "/config/custom_components/proscenic/vacuum_proscenic.py", line 63, in clean await self._send_command(b'{"transitCmd":"100"}')
File "/config/custom_components/proscenic/vacuum_proscenic.py", line 92, in _send_command raise VacuumUnavailable('can not connect to the vacuum. Turn on the physical switch button.')
custom_components.proscenic.vacuum_proscenic.VacuumUnavailable: can not connect to the vacuum. Turn on the physical switch button.
These are the logs after trying to command it.
I have same mcu as you 1.8.2614 but my esp is 1.036