Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant