Hue bridge unavailable on startup...most of the time

Hi there, 80% of the time, when starting up the server, HA doesn’t find my Hue bridge even though I have the static IP explicitly stated in my config. When this occurs, the lights obviously aren’t available in HA. If I delete the integration and re-add, it immediately sees the lights without restarting the server…but then, again on restart–most of the time–they don’t show up again. I’ve tried rearranging the order of things in my configuration.yaml but that doesn’t seem to have any effect. If I recycle reboots repeatedly, eventually they come back up and display in my dashboard. I’ve seen automations such as “Restart Home Assistant when WeMo Switch is not Detected” (https://www.home-assistant.io/cookbook/restart_ha_if_wemo_switch_is_not_detected/), but was hoping for a more permanent and reliable solution. Any ideas?

Additional info: often times ‘util/async_.py’ states that my lights are taking more than 10 seconds to respond, even though, if I’m accessing them via the Hue app, they are indeed working and immediately responsive.

1 Like

@Rasser is that the same as you experience?

Yes it is… Also in my case it’s 80% of the time where my hue devices are unavailable… :expressionless:

Logs needed.

I’ll post the log when the error occurs @nickrout.

I just did a restart on the HA this morning and subsequently all the hue devices were “Not available”.
Here’s the logs from the system after restart:

* Unable to reach bridge 192.168.1.xx ()

* Timeout on /discovery request

* Can't read discover info:

That is a very small portion of your log and particularly unhelpful. A log line has a date and time and more information than you have given. See below for an example.

I get those ‘unable to reach bridge’ messages occasionally and it seems to heal itself immediately, eg

2018-10-21 18:31:17 ERROR (MainThread) [homeassistant.components.light.hue] Unable to reach bridge 192.168.20.7 ()
2018-10-21 18:31:19 INFO (MainThread) [homeassistant.components.light.hue] Reconnected to bridge 192.168.20.7

Okay I wasn’t aware of that. Here’s some line directly from the logs which I think may have something to do with this:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 242, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp\_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadHttpMessage: 400, message='invalid constant string'
2018-10-24 09:50:48 WARNING (MainThread) [homeassistant.core] Unable to remove unknown listener <function async_track_point_in_utc_time.<locals>.point_in_time_listener at 0x756a6198>
2018-10-24 09:50:53 WARNING (MainThread) [homeassistant.components.hue] Connected to Hue at 192.168.1.11 but not registered.

yes, this is one of the bigger issues for a long time now. Ever since Hue went asyncio It has this behavior. Been over and over this and even had a private discord session with HA’s founder, but that was inconclusive, other than Hue standalone works perfect , but in a bigger setup suffers from IO from other components causing timing errors and in the end this unavailability of the Hue lights…

have a little search on unavailable and Hue ( and flapping) and you’ll find many references, here, and on the Homeassistant GitHub.

Ive had it even with all other packages disabled in my setup, and practically an empty install… 0.80 made it even worse and now my lights seldomly are connected longer than 20 minutes or so, where before max 6hours was noted…

Hope one day we will find the true reason for this…

@nickrout Here’s my most recent log. Just restarted the server and everything came up fine besides no hue lights.

2018-10-24 09:18:50 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=241 from 2018-10-24 13:14:57.663320)
2018-10-24 09:18:57 WARNING (MainThread) [homeassistant.loader] You are using a custom component for media_player.alexa which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-10-24 09:19:02 WARNING (MainThread) [homeassistant.setup] Setup of zwave is taking over 10 seconds.
2018-10-24 09:19:06 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.7.37
2018-10-24 09:19:06 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.7.37. Retrying in 2 seconds
2018-10-24 09:19:13 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds.
2018-10-24 09:19:13 WARNING (MainThread) [homeassistant.setup] Setup of homekit is taking over 10 seconds.
2018-10-24 09:19:13 WARNING (MainThread) [homeassistant.components.weather] Setup of platform darksky is taking over 10 seconds.
2018-10-24 09:19:18 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 204, in async_update
    new_value = await self._async_fetch_value()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 260, in _async_fetch_value
    return await self._device.async_get_total_packets_sent()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 131, in async_get_total_packets_sent
    return await self._igd_device.async_get_total_packets_sent()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 92, in async_get_total_packets_sent
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:19:18 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 147, in async_update
    self._state = await self._device.async_get_total_packets_received()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 127, in async_get_total_packets_received
    return await self._igd_device.async_get_total_packets_received()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 86, in async_get_total_packets_received
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:19:18 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 204, in async_update
    new_value = await self._async_fetch_value()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 258, in _async_fetch_value
    return await self._device.async_get_total_packets_received()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 127, in async_get_total_packets_received
    return await self._igd_device.async_get_total_packets_received()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 86, in async_get_total_packets_received
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:19:18 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 149, in async_update
    self._state = await self._device.async_get_total_packets_sent()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 131, in async_get_total_packets_sent
    return await self._igd_device.async_get_total_packets_sent()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 92, in async_get_total_packets_sent
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:19:18 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 204, in async_update
    new_value = await self._async_fetch_value()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 236, in _async_fetch_value
    return await self._device.async_get_total_bytes_sent()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 122, in async_get_total_bytes_sent
    return await self._igd_device.async_get_total_bytes_sent()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 79, in async_get_total_bytes_sent
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:19:18 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 204, in async_update
    new_value = await self._async_fetch_value()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 234, in _async_fetch_value
    return await self._device.async_get_total_bytes_received()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 118, in async_get_total_bytes_received
    return await self._igd_device.async_get_total_bytes_received()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 73, in async_get_total_bytes_received
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:19:18 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 143, in async_update
    self._state = await self._device.async_get_total_bytes_received()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 118, in async_get_total_bytes_received
    return await self._igd_device.async_get_total_bytes_received()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 73, in async_get_total_bytes_received
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:19:18 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 145, in async_update
    self._state = await self._device.async_get_total_bytes_sent()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 122, in async_get_total_bytes_sent
    return await self._igd_device.async_get_total_bytes_sent()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 79, in async_get_total_bytes_sent
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:19:20 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/automatic.py", line 315, in load_vehicle
    yield from self.async_see(**kwargs)
TypeError: async_see() argument after ** must be a mapping, not NoneType
2018-10-24 09:19:25 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:19:32 ERROR (MainThread) [homeassistant.components.light.hue] Unable to reach bridge 192.168.7.37 ()
2018-10-24 09:19:34 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:19:36 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:19:37 WARNING (MainThread) [homeassistant.components.light] Setup of platform hue is taking over 10 seconds.
2018-10-24 09:19:37 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:19:39 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:19:42 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:19:43 WARNING (MainThread) [homeassistant.components.light] Setup of platform zwave is taking over 10 seconds.
2018-10-24 09:19:50 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:19:50 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.bathroom_echo_dot is taking over 10 seconds
2018-10-24 09:19:51 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:19:52 WARNING (MainThread) [homeassistant.components.media_player] Updating sonos media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:19:53 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:19:56 WARNING (MainThread) [homeassistant.components.light] Setup of platform zwave is taking over 10 seconds.
2018-10-24 09:19:58 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:20:01 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:20:03 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:20:05 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:20:05 WARNING (MainThread) [homeassistant.components.light] Setup of platform zwave is taking over 10 seconds.
2018-10-24 09:20:07 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2018-10-24 09:20:09 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:20:09 WARNING (MainThread) [homeassistant.components.media_player] Updating sonos media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:20:10 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:20:20 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:20:20 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.haleys_alexa_apps is taking over 10 seconds
2018-10-24 09:20:20 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.entryway_camera_motion_detected is taking over 10 seconds
2018-10-24 09:20:20 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.energy_production is taking over 10 seconds
2018-10-24 09:20:21 WARNING (MainThread) [homeassistant.components.sensor] Updating sense sensor took longer than the scheduled update interval 0:00:30
2018-10-24 09:20:22 WARNING (MainThread) [homeassistant.components.switch] Setup of platform zwave is taking over 10 seconds.
2018-10-24 09:20:22 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.grass_automatic_watering is taking over 10 seconds
2018-10-24 09:20:22 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.living_room is taking over 10 seconds
2018-10-24 09:20:22 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:20:23 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:20:25 WARNING (MainThread) [homeassistant.components.camera] Updating nest camera took longer than the scheduled update interval 0:00:30
2018-10-24 09:20:33 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:20:34 WARNING (MainThread) [homeassistant.components.remote] Setup of platform harmony is taking over 10 seconds.
2018-10-24 09:20:43 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:20:53 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:20:55 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:21:39 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 35 not ready after 30 seconds, continuing anyway
2018-10-24 09:22:08 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10

Yes, I’ve combed the forums and github in search of a solution with no luck. Hopefully this thread can help provide some additional info. Unlike your situation, when my lights are found on startup they stay connected and don’t become unavailable, but if they’re not found, I’m just forced to reboot until they do come up.

UPDATE: @nickrout I just rebooted and everything including my Hue lights came up. To provide you an example of my log when the lights actually do come up on start, here is what that log looks like as well. You’ll see it complains about error connecting to Hue bridge and that lights are taking longer than 10 seconds to respond, but right now everything appears to be working responsively.

2018-10-24 09:31:41 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=242 from 2018-10-24 13:18:41.596429)
2018-10-24 09:31:44 WARNING (MainThread) [homeassistant.loader] You are using a custom component for media_player.alexa which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-10-24 09:32:02 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds.
2018-10-24 09:32:02 WARNING (MainThread) [homeassistant.setup] Setup of updater is taking over 10 seconds.
2018-10-24 09:32:02 WARNING (MainThread) [homeassistant.setup] Setup of homekit is taking over 10 seconds.
2018-10-24 09:32:02 WARNING (MainThread) [homeassistant.setup] Setup of hydrawise is taking over 10 seconds.
2018-10-24 09:32:02 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.7.37
2018-10-24 09:32:02 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.7.37. Retrying in 2 seconds
2018-10-24 09:32:05 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 147, in async_update
    self._state = await self._device.async_get_total_packets_received()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 127, in async_get_total_packets_received
    return await self._igd_device.async_get_total_packets_received()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 86, in async_get_total_packets_received
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:32:05 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 143, in async_update
    self._state = await self._device.async_get_total_bytes_received()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 118, in async_get_total_bytes_received
    return await self._igd_device.async_get_total_bytes_received()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 73, in async_get_total_bytes_received
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:32:05 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 204, in async_update
    new_value = await self._async_fetch_value()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 258, in _async_fetch_value
    return await self._device.async_get_total_packets_received()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 127, in async_get_total_packets_received
    return await self._igd_device.async_get_total_packets_received()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 86, in async_get_total_packets_received
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:32:05 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 204, in async_update
    new_value = await self._async_fetch_value()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 260, in _async_fetch_value
    return await self._device.async_get_total_packets_sent()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 131, in async_get_total_packets_sent
    return await self._igd_device.async_get_total_packets_sent()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 92, in async_get_total_packets_sent
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:32:05 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 149, in async_update
    self._state = await self._device.async_get_total_packets_sent()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 131, in async_get_total_packets_sent
    return await self._igd_device.async_get_total_packets_sent()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 92, in async_get_total_packets_sent
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:32:05 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 145, in async_update
    self._state = await self._device.async_get_total_bytes_sent()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 122, in async_get_total_bytes_sent
    return await self._igd_device.async_get_total_bytes_sent()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 79, in async_get_total_bytes_sent
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:32:05 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 204, in async_update
    new_value = await self._async_fetch_value()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 234, in _async_fetch_value
    return await self._device.async_get_total_bytes_received()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 118, in async_get_total_bytes_received
    return await self._igd_device.async_get_total_bytes_received()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 73, in async_get_total_bytes_received
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:32:05 ERROR (MainThread) [homeassistant.components.sensor] upnp: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 204, in async_update
    new_value = await self._async_fetch_value()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/upnp.py", line 236, in _async_fetch_value
    return await self._device.async_get_total_bytes_sent()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/upnp/device.py", line 122, in async_get_total_bytes_sent
    return await self._igd_device.async_get_total_bytes_sent()
  File "/usr/local/lib/python3.6/site-packages/async_upnp_client/igd.py", line 79, in async_get_total_bytes_sent
    result = await action.async_call()
AttributeError: 'NoneType' object has no attribute 'async_call'
2018-10-24 09:32:10 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/automatic.py", line 315, in load_vehicle
    yield from self.async_see(**kwargs)
TypeError: async_see() argument after ** must be a mapping, not NoneType
2018-10-24 09:32:22 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:32:28 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:32:30 ERROR (MainThread) [homeassistant.components.light.hue] Unable to reach bridge 192.168.7.37 ()
2018-10-24 09:32:30 WARNING (MainThread) [homeassistant.components.light] Updating hue light took longer than the scheduled update interval 0:00:05
2018-10-24 09:32:31 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:32:34 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:32:34 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.matthews_3rd_echo_dot is taking over 10 seconds
2018-10-24 09:32:34 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.entryway_lamp is taking over 10 seconds
2018-10-24 09:32:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_accents is taking over 10 seconds
2018-10-24 09:32:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.dining_room_lamp_left_2 is taking over 10 seconds
2018-10-24 09:32:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_ceiling is taking over 10 seconds
2018-10-24 09:32:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.dining_room_lamp_right_2 is taking over 10 seconds
2018-10-24 09:32:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.guest_bedroom is taking over 10 seconds
2018-10-24 09:32:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.hue_lightstrip_1 is taking over 10 seconds
2018-10-24 09:32:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.hue_color_lamp_1 is taking over 10 seconds
2018-10-24 09:32:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.hue_color_lamp_2 is taking over 10 seconds
2018-10-24 09:32:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_downlight_3 is taking over 10 seconds
2018-10-24 09:32:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_sink is taking over 10 seconds
2018-10-24 09:32:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_downlight_5 is taking over 10 seconds
2018-10-24 09:32:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_downlight_1 is taking over 10 seconds
2018-10-24 09:32:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lamp_left is taking over 10 seconds
2018-10-24 09:32:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_downlight_1 is taking over 10 seconds
2018-10-24 09:32:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_downlight_2 is taking over 10 seconds
2018-10-24 09:32:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.living_room_lamp_left is taking over 10 seconds
2018-10-24 09:32:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_downlight_6 is taking over 10 seconds
2018-10-24 09:32:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_downlight_2 is taking over 10 seconds
2018-10-24 09:32:39 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.entertainment_area is taking over 10 seconds
2018-10-24 09:32:39 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bar_counter is taking over 10 seconds
2018-10-24 09:32:39 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.entertainment_area_2 is taking over 10 seconds
2018-10-24 09:32:39 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_counter is taking over 10 seconds
2018-10-24 09:32:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lamps is taking over 10 seconds
2018-10-24 09:32:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_downlight_4 is taking over 10 seconds
2018-10-24 09:32:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.living_room_lamps is taking over 10 seconds
2018-10-24 09:32:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_downlight_4 is taking over 10 seconds
2018-10-24 09:32:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.entryway_table is taking over 10 seconds
2018-10-24 09:32:41 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.living_room_lamp_right is taking over 10 seconds
2018-10-24 09:32:41 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.dining_room_lamps is taking over 10 seconds
2018-10-24 09:32:41 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lamp_right is taking over 10 seconds
2018-10-24 09:32:41 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_ceiling is taking over 10 seconds
2018-10-24 09:32:42 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_downlight_3 is taking over 10 seconds
2018-10-24 09:32:42 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.ds_hue is taking over 10 seconds
2018-10-24 09:32:42 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.hue_bloom_1 is taking over 10 seconds
2018-10-24 09:32:44 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:32:44 WARNING (MainThread) [homeassistant.components.light] Setup of platform zwave is taking over 10 seconds.
2018-10-24 09:32:46 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.bedroom_sonos is taking over 10 seconds
2018-10-24 09:32:46 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:32:47 WARNING (MainThread) [homeassistant.components.media_player] Updating sonos media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:32:47 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:32:56 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:32:57 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.downstairs_thermostat_fan is taking over 10 seconds
2018-10-24 09:32:57 WARNING (MainThread) [homeassistant.components.switch] Setup of platform zwave is taking over 10 seconds.
2018-10-24 09:33:00 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:33:04 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:33:04 WARNING (MainThread) [homeassistant.components.light] Updating hue light took longer than the scheduled update interval 0:00:05
2018-10-24 09:33:05 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:33:05 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.matthews_2nd_echo_dot is taking over 10 seconds
2018-10-24 09:33:05 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.energy_usage is taking over 10 seconds
2018-10-24 09:33:11 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:33:11 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.entryway_lamp is taking over 10 seconds
2018-10-24 09:33:11 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.ds_hue is taking over 10 seconds
2018-10-24 09:33:11 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_ceiling is taking over 10 seconds
2018-10-24 09:33:12 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_accents is taking over 10 seconds
2018-10-24 09:33:12 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_downlight_3 is taking over 10 seconds
2018-10-24 09:33:12 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lamp_right is taking over 10 seconds
2018-10-24 09:33:12 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.living_room_lamp_right is taking over 10 seconds
2018-10-24 09:33:12 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_downlight_4 is taking over 10 seconds
2018-10-24 09:33:12 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_downlight_2 is taking over 10 seconds
2018-10-24 09:33:12 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_downlight_6 is taking over 10 seconds
2018-10-24 09:33:13 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bar_counter is taking over 10 seconds
2018-10-24 09:33:13 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.dining_room_lamps is taking over 10 seconds
2018-10-24 09:33:13 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.hue_bloom_1 is taking over 10 seconds
2018-10-24 09:33:13 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.living_room_lamp_left is taking over 10 seconds
2018-10-24 09:33:13 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_counter is taking over 10 seconds
2018-10-24 09:33:13 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_downlight_2 is taking over 10 seconds
2018-10-24 09:33:13 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_downlight_1 is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lamp_left is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.entryway_table is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_downlight_1 is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_downlight_5 is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lamps is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.kitchen_sink is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.living_room_lamps is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_downlight_3 is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.hue_color_lamp_2 is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.entertainment_area_2 is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.guest_bedroom is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_downlight_4 is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.hue_color_lamp_1 is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.entertainment_area is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_ceiling is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.hue_lightstrip_1 is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.dining_room_lamp_right_2 is taking over 10 seconds
2018-10-24 09:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.dining_room_lamp_left_2 is taking over 10 seconds
2018-10-24 09:33:15 WARNING (MainThread) [homeassistant.components.weather] Updating darksky weather took longer than the scheduled update interval 0:00:15
2018-10-24 09:33:15 WARNING (MainThread) [homeassistant.components.cover] Updating myq cover took longer than the scheduled update interval 0:00:15
2018-10-24 09:33:15 WARNING (MainThread) [homeassistant.components.light] Updating hue light took longer than the scheduled update interval 0:00:05
2018-10-24 09:33:15 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-24 09:33:15 WARNING (MainThread) [homeassistant.components.media_player] Updating sonos media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:33:15 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:33:16 WARNING (MainThread) [homeassistant.components.sensor] Updating sense sensor took longer than the scheduled update interval 0:00:30
2018-10-24 09:33:16 WARNING (MainThread) [homeassistant.components.sensor] Updating hydrawise sensor took longer than the scheduled update interval 0:00:30
2018-10-24 09:33:16 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating hydrawise binary_sensor took longer than the scheduled update interval 0:00:30
2018-10-24 09:33:17 WARNING (MainThread) [homeassistant.components.light] Updating hue light took longer than the scheduled update interval 0:00:05
2018-10-24 09:33:18 WARNING (MainThread) [homeassistant.components.camera] Updating nest camera took longer than the scheduled update interval 0:00:30
2018-10-24 09:33:23 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2018-10-24 09:33:36 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10
2018-10-24 09:33:47 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10

ok, as always ymmv…
fyi, this might be of interest too, just to eliminate all possible hardware issues regarding unavailable/unresponsive Hue bulbs: https://developers.meethue.com/content/hue-bulbs-not-always-responsive and https://support.metageek.com/hc/en-us/articles/203845040-ZigBee-and-WiFi-Coexistence

1 Like