Core: Detected I/O inside the event loop for Nest

Created on 2 Jul 2020  路  8Comments  路  Source: home-assistant/core

The problem


Detected I/O inside the event loop. This prevented many other entities from updating. Instance recovered after around 3 minutes.

Environment

  • Home Assistant Core release with the issue: 0.111.3
  • Last working Home Assistant Core release (if known): Unknown
  • Operating environment (OS/Container/Supervised/Core): armv7l / Debian GNU/Linux 10 (buster) / Docker / Home Assistant Supervised
  • Integration causing this issue: Nest
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/nest

Problem-relevant configuration.yaml


Traceback/Error logs

Logger: homeassistant.util.async_
Source: util/async_.py:120
First occurred: June 29, 2020, 8:04:04 AM (8 occurrences)
Last logged: June 29, 2020, 8:07:38 AM

Detected I/O inside the event loop. This is causing stability issues. Please report issue for nest doing I/O at homeassistant/components/nest/climate.py, line 198: if self.device.previous_mode in MODE_NEST_TO_HASS:

This was logged prior to the above log. There are no errors immediately before the following:

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:284
First occurred: June 29, 2020, 8:04:21 AM (1 occurrences)
Last logged: June 29, 2020, 8:04:21 AM

Updating state for climate.upstairs (<class 'homeassistant.components.nest.climate.NestThermostat'>) took 77.190 seconds. Please create a bug report at https://github.com/home-assistant/home-assistant/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+nest%22

Additional information

nest

Most helpful comment

Just had this start popping up on my system 0.117.6

Detected I/O inside the event loop. This is causing stability issues. Please report issue for nest doing I/O at homeassistant/components/nest/__init__.py, line 480: for structure in self.nest.structures:

Completely took HA offline.

All Nest features unavailable.
image

All 8 comments

Also got this - Home Assistant 0.111.4

Hey there @awarecan, mind taking a look at this issue as its been labeled with an integration (nest) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

Probably happening here:
https://github.com/jkoelker/python-nest/blob/master/nest/nest.py#L1883

Locks used in thread in the status property.

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 馃憤
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Got this on Home Assistant 0.115.6

Just had this start popping up on my system 0.117.6

Detected I/O inside the event loop. This is causing stability issues. Please report issue for nest doing I/O at homeassistant/components/nest/__init__.py, line 480: for structure in self.nest.structures:

Completely took HA offline.

All Nest features unavailable.
image

Same here.

Same here.

But if we're all completely honest: It's a badly supported device, which doesn't even succeed in it's main function: to properly read out the room temperature. Always 1/2 degrees to high (because the wifi chip heats the internals)

It's time to take this beautiful looking failure from the wall.

Nice hardware, deplorable software.

edit: Nest service seems to be down.

The only thing I can blame on home-assistant, is that this seems to mean that a failing nest-service can completely kill home-assistant as well.

Was this page helpful?
0 / 5 - 0 ratings