mitchellrj / eufy_robovac

Other
105 stars 52 forks source link

Trouble setting up #5

Open jimmyeao opened 4 years ago

jimmyeao commented 4 years ago

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 commented 4 years ago

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

mitchellrj commented 4 years ago

Hopefully resolved with the latest code from master...

jimmyeao commented 4 years ago
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 commented 4 years ago

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 commented 4 years ago

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

Jimmy White


From: Richard Mitchell notifications@github.com Sent: Sunday, September 8, 2019 8:58:13 PM To: mitchellrj/eufy_robovac eufy_robovac@noreply.github.com Cc: Jimmy White jimmy@deviousweb.com; Author author@noreply.github.com 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 commented 4 years ago

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 commented 2 years ago

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.