eufy_robovac icon indicating copy to clipboard operation
eufy_robovac copied to clipboard

Trouble setting up

Open jimmyeao opened this issue 4 years ago • 7 comments

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

jimmyeao avatar Aug 24 '19 17:08 jimmyeao

see https://github.com/mitchellrj/eufy_robovac/issues/3

Joeboyc2 avatar Aug 30 '19 21:08 Joeboyc2

Hopefully resolved with the latest code from master...

mitchellrj avatar Sep 07 '19 19:09 mitchellrj

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

jimmyeao avatar Sep 08 '19 12:09 jimmyeao

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?

mitchellrj avatar Sep 08 '19 19:09 mitchellrj

Yes, robovac 30c firmware is 1.1.4 everything on the same subnet.

Jimmy White


From: Richard Mitchell [email protected] Sent: Sunday, September 8, 2019 8:58:13 PM To: mitchellrj/eufy_robovac [email protected] Cc: Jimmy White [email protected]; Author [email protected] Subject: Re: [mitchellrj/eufy_robovac] Trouble setting up (#5)

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?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mitchellrj/eufy_robovac/issues/5?email_source=notifications&email_token=ABHVAB7JGWYNIH643NW2X4LQIVKNLA5CNFSM4IPGWMW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6FYBOQ#issuecomment-529236154, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABHVAB32VDKAQM2JBBX4DZTQIVKNLANCNFSM4IPGWMWQ.

jimmyeao avatar Sep 08 '19 20:09 jimmyeao

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

jimmyeao avatar Sep 18 '19 09:09 jimmyeao

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.

jlockham avatar Jul 08 '21 12:07 jlockham