Netatmo thermostats stopped working with HA. Getting error, is the any way to solve it ?
Error during webhook registration - 400 - Bad request - Allowed ports for webhooks are 80, 88, 443 and 9443. (21) when accessing ‘https://api.netatmo.com/api/addwebhook’
First thing would be to provide the exact error description and detailed debug log messages. The webhook alone doesn’t break functionality except the outdoor camera lights.
Logger: homeassistant.components.climate
Source: components/netatmo/data_handler.py:154
Integration: Thermostat (documentation, issues)
First occurred: 14:30:40 (1 occurrences)
Last logged: 14:30:40
Error while setting up netatmo platform for climate
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 249, in _async_setup_platform
await asyncio.shield(task)
File “/usr/src/homeassistant/homeassistant/components/netatmo/climate.py”, line 139, in async_setup_entry
await data_handler.register_data_class(
File “/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py”, line 198, in register_data_class
await self.async_fetch_data(data_class_entry)
File “/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py”, line 154, in async_fetch_data
await self.data[data_class_entry].async_update()
File “/usr/local/lib/python3.9/site-packages/pyatmo/climate.py”, line 341, in async_update
self.process(raw_data)
File “/usr/local/lib/python3.9/site-packages/pyatmo/climate.py”, line 299, in process
if self.home_id != raw_data[“home”][“id”]:
KeyError: ‘id’
I just did an upgrade to 2022.7.6 and now Netatmo is not working anmore. Logs show:
2022-07-24 10:24:25 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Home Assistant Cloud for netatmo
File "/usr/src/homeassistant/homeassistant/components/netatmo/__init__.py", line 153, in async_setup_entry
File "/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py", line 108, in async_setup
File "/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py", line 210, in register_data_class
File "/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py", line 166, in async_fetch_data
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.netatmo.com:443 ssl:default [Try again]
Doing a request to https://api.netatmo.com/ or https://api.netatmo.net/ returns a 404. So it would appear that their api endpoint is down. I just find the coincidence strange. Is anybody else seeing this?