You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm reading the real time data from Tibber Pulse with the example real time from the README. After a while (I haven't detected a set interval, usually a few days) the connection dies and the Watchdog isn't in a position to recover from it.
Watchdog: Connection is down, 2024-12-03 09:50:55.895295+00:00
Error in watchdog connect, retrying in 20 seconds, 1:
Watchdog: Connection is down, 2024-12-03 09:51:41.377171+00:00
Error in watchdog connect, retrying in 19 seconds, 2: Event loop is closed
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/tibber/realtime.py", line 155, in _watchdog
await self._resubscribe_homes()
File "/usr/local/lib/python3.13/site-packages/tibber/realtime.py", line 177, in _resubscribe_homes
await asyncio.gather(*[home.rt_resubscribe() for home in self._homes])
File "/usr/local/lib/python3.13/site-packages/tibber/home.py", line 508, in rt_resubscribe
await asyncio.gather(
...<4 lines>...
)
File "/usr/local/lib/python3.13/site-packages/tibber/home.py", line 203, in update_info
if data := await self._tibber_control.execute(UPDATE_INFO % self._home_id):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/tibber/__init__.py", line 98, in execute
resp = await self.websession.post(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 579, in _request
handle = tm.start()
File "/usr/local/lib/python3.13/site-packages/aiohttp/helpers.py", line 573, in start
return self._loop.call_at(when, self.__call__)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/asyncio/base_events.py", line 808, in call_at
self._check_closed()
~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/asyncio/base_events.py", line 552, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
It stays in this loop until I restart the script.
The text was updated successfully, but these errors were encountered:
I'm reading the real time data from Tibber Pulse with the example real time from the README. After a while (I haven't detected a set interval, usually a few days) the connection dies and the Watchdog isn't in a position to recover from it.
It stays in this loop until I restart the script.
The text was updated successfully, but these errors were encountered: