Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble setting up #5

Open
jimmyeao opened this issue Aug 24, 2019 · 7 comments
Open

Trouble setting up #5

jimmyeao opened this issue Aug 24, 2019 · 7 comments

Comments

@jimmyeao
Copy link

Hi, I have my device ID and local key, and have followed the set up steps, however I get this in the logs:

Sat Aug 24 2019 17:59:07 GMT+0100 (British Summer Time)
eufy_vacuum: Error on device update!
Traceback (most recent call last):
File "/config/custom_components/eufy_vacuum/tuya.py", line 466, in async_connect
sock.connect((self.host, self.port))
socket.timeout: 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_platform.py", line 291, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 417, in async_device_update
await self.async_update()
File "/config/custom_components/eufy_vacuum/vacuum.py", line 75, in async_update
await self.robovac.async_get()
File "/config/custom_components/eufy_vacuum/tuya.py", line 489, in async_get
return await message.async_send(self, callback)
File "/config/custom_components/eufy_vacuum/tuya.py", line 327, in async_send
await device._async_send(self)
File "/config/custom_components/eufy_vacuum/tuya.py", line 553, in _async_send
await self.async_connect()
File "/config/custom_components/eufy_vacuum/tuya.py", line 468, in async_connect
raise ConnectionTimeoutException("Connection timed out") from e
custom_components.eufy_vacuum.tuya.ConnectionTimeoutException: Connection timed out

@Joeboyc2
Copy link

see #3

@mitchellrj
Copy link
Owner

Hopefully resolved with the latest code from master...

@jimmyeao
Copy link
Author

jimmyeao commented Sep 8, 2019

eufy_vacuum: Error on device update!
Traceback (most recent call last):
  File "/config/custom_components/eufy_vacuum/tuya.py", line 482, in async_connect
    sock.connect((self.host, self.port))
socket.timeout: 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_platform.py", line 292, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 439, in async_device_update
    await self.async_update()
  File "/config/custom_components/eufy_vacuum/vacuum.py", line 75, in async_update
    await self.robovac.async_get()
  File "/config/custom_components/eufy_vacuum/tuya.py", line 506, in async_get
    return await message.async_send(self, callback)
  File "/config/custom_components/eufy_vacuum/tuya.py", line 352, in async_send
    await device._async_send(self)
  File "/config/custom_components/eufy_vacuum/tuya.py", line 571, in _async_send
    await self.async_connect()
  File "/config/custom_components/eufy_vacuum/tuya.py", line 484, in async_connect
    raise ConnectionTimeoutException("Connection timed out") from e
custom_components.eufy_vacuum.tuya.ConnectionTimeoutException: Connection timed out

@mitchellrj
Copy link
Owner

This is a network error rather than a coding error.

What Robovac device are you using? What firmware version is it on? Are your home assistant host and the robovac on the same subnet?

@jimmyeao
Copy link
Author

jimmyeao commented Sep 8, 2019 via email

@jimmyeao
Copy link
Author

Just did a full rebuild of HASS and retried this - still the same result. Im am using HTTPS for HASS if that has any bearing on it

@jlockham
Copy link

jlockham commented Jul 8, 2021

did you get a solution for the error above

Traceback (most recent call last):
File "/config/custom_components/eufy_vacuum/tuya.py", line 482, in async_connect
sock.connect((self.host, self.port))

As i have a 30C on firmware 1.1.6 and gettin gthe same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants