home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.11k stars 29.79k forks source link

HASS does not start when it can not contact my roomba #12019

Closed jurgenweber closed 6 years ago

jurgenweber commented 6 years ago

Make sure you are running the latest version of Home Assistant before reporting an issue.

I have had this for a few versions, I first noticed it before Christmas.

Home Assistant release (hass --version):

hass --version 0.61.1

Python release (python3 --version):

python --version Python 3.6.0

Component/platform: irobot roomba

Description of problem:

When the roomba is not on the network, it can not find it.. HASS does not start.... it just does this:

2018-01-29 09:33:34 ERROR (SyncWorker_9) [roomba.roomba.Roomba] Error: [Errno 113] No route to host
2018-01-29 09:33:34 ERROR (SyncWorker_9) [roomba.roomba.Roomba] Attempting new Connection# 1
2018-01-29 09:33:37 ERROR (SyncWorker_9) [roomba.roomba.Roomba] Error: [Errno 113] No route to host
2018-01-29 09:33:37 ERROR (SyncWorker_9) [roomba.roomba.Roomba] Attempting new Connection# 2
2018-01-29 09:33:40 ERROR (SyncWorker_9) [roomba.roomba.Roomba] Error: [Errno 113] No route to host
2018-01-29 09:33:40 ERROR (SyncWorker_9) [roomba.roomba.Roomba] Attempting new Connection# 3
2018-01-29 09:33:41 WARNING (MainThread) [homeassistant.components.vacuum] Setup of platform roomba is taking over 10 seconds.
2018-01-29 09:33:44 ERROR (SyncWorker_9) [roomba.roomba.Roomba] Error: [Errno 113] No route to host
2018-01-29 09:33:44 ERROR (SyncWorker_9) [roomba.roomba.Roomba] Unable to connect

Expected: Just because the vacuum cleaner is offline, it does not mean HASS should completely stop. I expect it to carry on and start (but give me an error somewhere).

Additional info:

mphp commented 6 years ago

I confirm. I have the exact same issue. Thought it was a nginx config issue , but after viewing your issue, I have removed Roomba from my configuration and Hass is now starting up normally.

333ryan18 commented 6 years ago

Can confirm that I am experiencing the same issue. Disabled the component and hassio started normally.