Hello,
First day on HA :). I have two houses on my Netatmo account.
When I set up Home Assistant which is in my primary house, only two cameras of the secondary house are accessible with streaming. On the primary house, I have the cameras and thermostats listed but no connection is done.
I tried to create my own credentials in the developer space of Netatmo but same thing.
Please note the camera of the primary house has uploaded one image after I did a reload of the add-on. But that’s it. Nothing else after. I see it listed on the dashboard but no streaming.
The webhooks in the developper space are displayed as working. I set the public URL in Home Assistant Cloud.
Thank you so much for your help.
Ad
See screenshot:
See logs
2024-11-25 22:27:35.634 ERROR (MainThread) [homeassistant.components.camera] Error adding entity camera.camera_devant for domain camera with platform netatmo
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 663, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 538, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1050, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1353, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1109, in _wrap_create_connection
sock = await aiohappyeyeballs.start_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 82, in start_connection
sock = await _connect_sock(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 174, in _connect_sock
await loop.sock_connect(sock, address)
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 641, in sock_connect
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 599, in _async_add_entities
await coro
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 918, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1366, in add_to_platform_finish
await self.async_internal_added_to_hass()
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 791, in async_internal_added_to_hass
await self.async_refresh_providers(write_state=False)
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 809, in async_refresh_providers
new_provider = await self._async_get_supported_webrtc_provider(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 833, in _async_get_supported_webrtc_provider
return await fn(self.hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/webrtc.py", line 351, in async_get_supported_provider
if not providers or not (stream_source := await camera.stream_source()):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/netatmo/camera.py", line 200, in stream_source
await self.device.async_update_camera_urls()
File "/usr/local/lib/python3.12/site-packages/pyatmo/modules/module.py", line 502, in async_update_camera_urls
self.local_url = await self._async_check_url(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyatmo/modules/module.py", line 514, in _async_check_url
resp = await self.home.auth.async_post_api_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyatmo/auth.py", line 86, in async_post_api_request
return await self.async_post_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyatmo/auth.py", line 105, in async_post_request
async with self.websession.post(
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 1360, in __aenter__
self._resp: _RetType = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 578, in _request
with timer:
File "/usr/local/lib/python3.12/site-packages/aiohttp/helpers.py", line 749, in __exit__
raise asyncio.TimeoutError from exc_val
TimeoutError
2024-11-25 22:36:16.298 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546721934800] Error handling message: Camera is off (home_assistant_error) Ad from fe80::34:c19b:8639:c4c8 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1.1 Safari/605.1.15)
2024-11-25 22:36:17.634 ERROR (MainThread) [homeassistant.components.camera] Timeout getting stream source