bmccluskey / robovac

Add a Eufy RoboVac easily to Home Assistant
Other
115 stars 24 forks source link

Status: Error: None / error service call turn_on #26

Open danielscheidler opened 1 year ago

danielscheidler commented 1 year ago

I can not get the new X9 Pro working.

Integration shows the model name, I can set the IP, but then the Status-Attribute of the entity is "Error: None".

State is "off" and this are the attributes:

fan_speed_list: Standard
ip_address:  192.168.xxx.xxx
model_code: T2320
friendly_name: Eufy Clean X9 Pro
supported_features: 4084
battery_level: 0
battery_icon: mdi:battery-alert
status: Error: None

The Log shows following error message:

Logger: homeassistant.helpers.entity
Source: custom_components/robovac/tuyalocalapi.py:679
Integration: Eufy Robovac
First occurred: 21:14:16 (5 occurrences)
Last logged: 21:15:59

Update for vacuum.eufy_robovac fails
Traceback (most recent call last):
  File "/config/custom_components/robovac/tuyalocalapi.py", line 763, in _async_send
    await self.async_connect()
  File "/config/custom_components/robovac/tuyalocalapi.py", line 679, in async_connect
    sock.connect((self.host, self.port))
socket.gaierror: [Errno -2] Name does not resolve

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 559, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 784, in async_device_update
    await self.async_update()
  File "/config/custom_components/robovac/vacuum.py", line 319, 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 769, in _async_send
    await self.async_connect()
  File "/config/custom_components/robovac/tuyalocalapi.py", line 679, in async_connect
    sock.connect((self.host, self.port))
socket.gaierror: [Errno -2] Name does not resolve