Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

HA is reporting - Detected I/O inside the event loop #267

Open
montyha66 opened this issue Oct 20, 2020 · 1 comment
Open

HA is reporting - Detected I/O inside the event loop #267

montyha66 opened this issue Oct 20, 2020 · 1 comment

Comments

@montyha66
Copy link

IM getting follow in my HA logs. Point is that my HA started to freeze every day the same time.
Can anyone help me pls?
My setup:
HassOS 4.14
Home Assistant Core 0.114.4 as with 115 I faced the issue so I return back to 114

2020-10-20 13:58:44 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for sonoff doing I/O at custom_components/sonoff/init.py, line 175: r = requests.post('https://{}-api.coolkit.cc:8080/api/user/login'.format(self.api_region),
2020-10-20 13:58:45 WARNING (MainThread) [homeassistant.util.async
] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for sonoff doing I/O at custom_components/sonoff/init.py, line 372: r = requests.get('https://{}-api.coolkit.cc:8080/api/user/device?lang=en&apiKey={}&getTags=1&version=6&ts=%s&nonce=%s&appid=oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq&imei=%s&os=iOS&model=%s&romVersion=%s&appVersion=%s'.format(
2020-10-20 13:58:47 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for sonoff doing I/O at custom_components/sonoff/init.py, line 221: r = requests.post('https://%s-disp.coolkit.cc:8080/dispatch/app' % self._api_region, headers=self._headers)
2

@montyha66
Copy link
Author

I did install the async branch https://github.com/peterbuga/HASS-sonoff-ewelink/tree/async-patch/sonoff and so far looks good! Errors disappeared.

This was referenced Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant