Not yet - only Sonoffs Mini for now.
Though I’m already thinking of going for ESPHome with them - to have more control over them.
Just update to 0.110 and go this in log :
SwitchDevice is deprecated, modify SonoffSwitch to extend SwitchEntity
SwitchDevice is deprecated, modify SonoffDebugSwitch to extend SwitchEntity
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 176: headers=self._headers, json=app_details)
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 374: ), headers=self._headers)
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)
Getting the same thing here for a few custom components; looks like it’s just a case of needing to rename a few things in the component.
hi,
Hassio hangs and the lovelace UI stops working, while other services (e.g. SSH, Samba, etc.) continue to operate.
i am using your last version and getting the following error messages:
ERROR (Thread-2) [custom_components.sonoff] websocket error: [Errno 104] Connection reset by peer
The same here
Same thing with me too, but everything seems to work anyway.
Same issue here. Have you got yours fixed?
Same issue
I was having this issue and I don’t get it anymore. I’ve switched to a different HA component to deal with sonoff devices.
If anyone reading this is having this issue, I strongly recommend you remove the component from this thread and install the following instead:
It can be installed via copying component files or via HACS.
at home integration doesn’t want to settle down since hacs
hi , can you send a link about the sonoffintegration you use ?
It’s in the post you’re replying to
Here’s the direct link to Github:
hi,
thanks,
when i try to call it from a service i am getting the following error:
2020-05-27 20:37:11 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/config/custom_components/sonoff/sonoff_cloud.py”, line 157, in _connect
resp = await self._send(‘post’, ‘dispatch/app’, {‘accept’: ‘ws’})
File “/config/custom_components/sonoff/sonoff_cloud.py”, line 89, in _send
headers=headers)
File “/usr/local/lib/python3.7/site-packages/aiohttp/client.py”, line 504, in _request
await resp.start(conn)
File “/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py”, line 860, in start
self._continue = None
File “/usr/local/lib/python3.7/site-packages/aiohttp/helpers.py”, line 586, in exit
raise asyncio.TimeoutError from None
concurrent.futures._base.TimeoutError
Hi, I getting this error message in my logs.
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…
Any idea to fix it??
I’m also geting a simiar error on the logs, can you advise if this something I need to worried about?
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),
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(
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)
Last update broke sonoff integration
2020-09-17 21:08:20 ERROR (SyncWorker_10) [homeassistant.util.package] Unable to install package uuid: ERROR: Could not find a version that satisfies the requirement uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51)) (from versions: 1.30)
ERROR: No matching distribution found for uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51))
2020-09-17 21:08:20 ERROR (MainThread) [homeassistant.setup] Setup failed for sonoff: Requirements for sonoff not found: [‘uuid’].
2020-09-17 21:08:20 ERROR (SyncWorker_10) [homeassistant.util.package] Unable to install package uuid: ERROR: Could not find a version that satisfies the requirement uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51)) (from versions: 1.30)
ERROR: No matching distribution found for uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51))
2020-09-17 21:08:20 ERROR (MainThread) [homeassistant.setup] Setup failed for sonoff: Requirements for sonoff not found: [‘uuid’].
Temporary workaround:
pip3 install uuid
not familiar with this, running my HA on pi3b+. how do i temp fix this?
Yeah latest 0.115.0 kills the integration. Any workaround?