I am getting an occasional Error doing job: Task exception was never retrieved
when using this integration. I had it using the old version, and I am also still getting it with the updated version that @bmccluskey has been working on. Everything seems to still function just fine - but there must be a hiccup somewhere, hence the error messages. The vacuum I have is the 30C Max.
I enabled debug logging and grabbed a few lines of the logs. Please let me know if I can provide any more details to narrow this down. I don’t see an Issues
section on this particular Github repo.
2022-09-09 08:57:39.979 DEBUG (MainThread) [custom_components.eufy_vacuum.tuya] Disconnected from 747redacted855 (192.168.1.2:6668)
2022-09-09 08:57:39.980 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/eufy_vacuum/tuya.py", line 551, in _async_handle_message
response_data = await self.reader.readuntil(MAGIC_SUFFIX_BYTES)
File "/usr/local/lib/python3.10/asyncio/streams.py", line 614, in readuntil
raise exceptions.IncompleteReadError(chunk, None)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of undefined expected bytes
2022-09-09 08:57:49.824 DEBUG (MainThread) [custom_components.eufy_vacuum.tuya] Connecting to 747redacted855 (192.168.1.2:6668)
2022-09-09 08:57:49.973 DEBUG (MainThread) [custom_components.eufy_vacuum.tuya] Sending to 747redacted855 (192.168.1.2:6668): Message(0xa, {'gwId': '747redacted855', 'devId': '747redacted855'}, 221574222, <Device 747redacted855 (192.168.1.2:6668)>)
2022-09-09 08:57:49.975 DEBUG (MainThread) [custom_components.eufy_vacuum.vacuum] Status Update Workstatus: completed - Error Code: no_error
2022-09-09 08:57:49.975 DEBUG (MainThread) [custom_components.eufy_vacuum.vacuum] Update Status - Fan: Off - Battery: 100 - IsOn: False - Workstatus: completed - Status: docked - State: off - Error: no_error - Mode: Nosweep - Find: False - Time: None - Area None - Auto Return: None - Do not Disturb: None
2022-09-09 08:57:49.975 DEBUG (MainThread) [custom_components.eufy_vacuum.tuya] Disconnected from 747redacted855 (192.168.1.2:6668)
2022-09-09 08:57:49.976 DEBUG (MainThread) [custom_components.eufy_vacuum.tuya] Connecting to 747redacted855 (192.168.1.2:6668)
2022-09-09 08:57:49.985 DEBUG (MainThread) [custom_components.eufy_vacuum.tuya] Connecting to 747redacted855 (192.168.1.2:6668)
2022-09-09 08:57:51.208 DEBUG (MainThread) [custom_components.eufy_vacuum.vacuum] Status Update Workstatus: completed - Error Code: no_error
2022-09-09 08:57:51.208 DEBUG (MainThread) [custom_components.eufy_vacuum.vacuum] Status Update Workstatus: completed - Error Code: no_error
2022-09-09 08:57:51.208 DEBUG (MainThread) [custom_components.eufy_vacuum.vacuum] Status Update Workstatus: completed - Error Code: no_error
2022-09-09 08:57:51.208 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/eufy_vacuum/tuya.py", line 551, in _async_handle_message
response_data = await self.reader.readuntil(MAGIC_SUFFIX_BYTES)
File "/usr/local/lib/python3.10/asyncio/streams.py", line 614, in readuntil
raise exceptions.IncompleteReadError(chunk, None)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of undefined expected bytes
2022-09-09 08:57:51.213 DEBUG (MainThread) [custom_components.eufy_vacuum.tuya] Sending to 747redacted855 (192.168.1.2:6668): Message(0x9, b'', 0, <Device 747redacted855 (192.168.1.2:6668)>)
2022-09-09 08:57:51.213 DEBUG (MainThread) [custom_components.eufy_vacuum.tuya] Sending to 747redacted855 (192.168.1.2:6668): Message(0xa, {'gwId': '747redacted855', 'devId': '747redacted855'}, 221574383, <Device 747redacted855 (192.168.1.2:6668)>)
2022-09-09 08:57:51.222 DEBUG (MainThread) [custom_components.eufy_vacuum.tuya] Sending to 747redacted855 (192.168.1.2:6668): Message(0x9, b'', 0, <Device 747redacted855 (192.168.1.2:6668)>)
2022-09-09 08:57:51.222 DEBUG (MainThread) [custom_components.eufy_vacuum.tuya] Sending to 747redacted855 (192.168.1.2:6668): Message(0xa, {'gwId': '747redacted855', 'devId': '747redacted855'}, 221575621, <Device 747redacted855 (192.168.1.2:6668)>)
2022-09-09 08:57:51.223 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/eufy_vacuum/tuya.py", line 551, in _async_handle_message
response_data = await self.reader.readuntil(MAGIC_SUFFIX_BYTES)
File "/usr/local/lib/python3.10/asyncio/streams.py", line 617, in readuntil
await self._wait_for_data('readuntil')
File "/usr/local/lib/python3.10/asyncio/streams.py", line 488, in _wait_for_data
raise RuntimeError(
RuntimeError: readuntil() called while another coroutine is already waiting for incoming data
2022-09-09 08:57:51.228 DEBUG (MainThread) [custom_components.eufy_vacuum.tuya] Sending to 747redacted855 (192.168.1.2:6668): Message(0x9, b'', 0, <Device 747redacted855 (192.168.1.2:6668)>)