Neato platform is throwing errors in the log when robot is offline · Issue #6691 · home-assistant/core · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure you are running the latest version of Home Assistant before reporting an issue.
Home Assistant release (hass --version):
0.40.1
Python release (python3 --version):
3.4.2
Component/platform:
Sensor/Neato
Description of problem:
Neato platform is throwing errors if the robot is offline.
Expected:
Status should change to offline and not flood the log with errors.
Log:
17-03-19 10:42:55 ERROR (MainThread) [homeassistant.components.sensor] Error while update entity from neato in sensor
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 428, in _update_entity_states
yield from update_coro
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 207, in async_update_ha_state
yield from self.hass.loop.run_in_executor(None, self.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in iter
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/sensor/neato.py", line 55, in update
self._state = self.robot.state
File "/home/homeassistant/.homeassistant/deps/pybotvac/robot.py", line 94, in state
return self.get_robot_state().json()
File "/home/homeassistant/.homeassistant/deps/pybotvac/robot.py", line 70, in get_robot_state
return self._message({'reqId': "1", 'cmd': "getRobotState"})
File "/home/homeassistant/.homeassistant/deps/pybotvac/robot.py", line 44, in _message
response.raise_for_status()
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/models.py", line 909, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://nucleo.neatocloud.com/vendors/neato/robots/OPS23516-***********/messages
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Make sure you are running the latest version of Home Assistant before reporting an issue.
Home Assistant release (
hass --version
):0.40.1
Python release (
python3 --version
):3.4.2
Component/platform:
Sensor/Neato
Description of problem:
Neato platform is throwing errors if the robot is offline.
Expected:
Status should change to offline and not flood the log with errors.
Log:
17-03-19 10:42:55 ERROR (MainThread) [homeassistant.components.sensor] Error while update entity from neato in sensor
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 428, in _update_entity_states
yield from update_coro
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 207, in async_update_ha_state
yield from self.hass.loop.run_in_executor(None, self.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in iter
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/sensor/neato.py", line 55, in update
self._state = self.robot.state
File "/home/homeassistant/.homeassistant/deps/pybotvac/robot.py", line 94, in state
return self.get_robot_state().json()
File "/home/homeassistant/.homeassistant/deps/pybotvac/robot.py", line 70, in get_robot_state
return self._message({'reqId': "1", 'cmd': "getRobotState"})
File "/home/homeassistant/.homeassistant/deps/pybotvac/robot.py", line 44, in _message
response.raise_for_status()
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/models.py", line 909, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://nucleo.neatocloud.com/vendors/neato/robots/OPS23516-***********/messages
The text was updated successfully, but these errors were encountered: