CodeFoodPixels / robovac

Add a Eufy RoboVac easily to Home Assistant
Other
110 stars 26 forks source link

Incomplete read from: xxxxxxxxxxxxxxxxxxxx (xx.xxx.xxx.xx:6668) : 0 bytes read on a total of undefined expected bytes #12

Closed dinan5 closed 10 months ago

dinan5 commented 10 months ago

I get the following two errors throughout the day. The device is connected and functions.

Logger: custom_components.robovac.tuyalocalapi Source: custom_components/robovac/tuyalocalapi.py:744 Integration: Eufy Robovac (documentation, issues) First occurred: August 17, 2023 at 10:53:29 PM (26 occurrences) Last logged: 7:23:55 AM Incomplete read from: xxxxxxxxxxxxxxxxxxxx (xx.xxx.xxx.xx:6668) : 0 bytes read on a total of undefined expected bytes


Logger: homeassistant.helpers.entity Source: custom_components/robovac/tuyalocalapi.py:681 Integration: Eufy Robovac (documentation, issues) First occurred: August 17, 2023 at 10:57:01 PM (6 occurrences) Last logged: 5:03:02 AM

Update for vacuum.eufy_robovac_g30 fails Traceback (most recent call last): File "/config/custom_components/robovac/tuyalocalapi.py", line 679, in async_connect sock.connect((self.host, self.port)) TimeoutError: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 699, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 938, in async_device_update await self.async_update() File "/config/custom_components/robovac/vacuum.py", line 267, in async_update await self.vacuum.async_get() File "/config/custom_components/robovac/tuyalocalapi.py", line 699, in async_get return await message.async_send(self, callback) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/robovac/tuyalocalapi.py", line 529, in async_send await device._async_send(self) File "/config/custom_components/robovac/tuyalocalapi.py", line 762, in _async_send await self.async_connect() File "/config/custom_components/robovac/tuyalocalapi.py", line 681, in async_connect raise ConnectionTimeoutException("Connection timed out") from e custom_components.robovac.tuyalocalapi.ConnectionTimeoutException: Connection timed out

CodeFoodPixels commented 10 months ago

This is it struggling to connect to the vacuum. I may look at only reporting this after a few instances