core: Ambient Weather does not resume after internet re-connect.
Home Assistant release with the issue:
.94.2
Last working Home Assistant release (if known):
Unknown
Operating environment (Hass.io/Docker/Windows/etc.):
Ubuntu (Hassio Docker)
Component/platform:
Ambient Weather Station
Description of problem:
It seems when my home internet dies and comes back that I am no longer able to pull information from the component. If I restart the hassio server then everything either restarts or resumes but everything comes back. I am able to determine the timing based on the graphs and when I receive internet disconnection emails on my phone. @bachya can you help me with this? I’m happy to provide more info if needed.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Traceback (if applicable):
Additional information:
This was the only thing I was able to find… may or may not help.
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/ambient_station/__init__.py", line 324, in _ws_reconnect
await self._attempt_connect()
File "/usr/src/homeassistant/homeassistant/components/ambient_station/__init__.py", line 310, in _attempt_connect
await self.client.websocket.connect()
File "/usr/local/lib/python3.7/site-packages/aioambient/websocket.py", line 78, in connect
transports=['websocket'])
File "/usr/local/lib/python3.7/site-packages/socketio/asyncio_client.py", line 102, in connect
engineio_path=socketio_path)
File "/usr/local/lib/python3.7/site-packages/engineio/asyncio_client.py", line 73, in connect
url, headers, engineio_path)
File "/usr/local/lib/python3.7/site-packages/engineio/asyncio_client.py", line 250, in _connect_websocket
extra_headers=headers)
File "/usr/local/lib/python3.7/site-packages/websockets/py35/client.py", line 12, in __await_impl__
transport, protocol = await self._creating_connection
File "uvloop/loop.pyx", line 1846, in create_connection
socket.gaierror: [Errno -3] Try again
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 35 (14 by maintainers)
Sweet!! Thank you @bachya for all your work on this! It is much appreciated! 😃