cgtobi / netatmo_custom

This repo is a custom component from the beta version of the official HA netatmo component
MIT License
18 stars 8 forks source link

Webhook error #9

Closed gabry1609 closed 2 years ago

gabry1609 commented 2 years ago

Hello :)

Today, after upgrading the component, I've noticed this error:

Logger: custom_components.netatmo Source: custom_components/netatmo/init.py:199 Integration: Netatmo First occurred: 06:47:52 (1 occurrences) Last logged: 06:47:52

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'

At the moment I'm running the netatmo custom component without having any devices being recognized (because they're still a work in progress). Thanks in advance!

cgtobi commented 2 years ago

As the error message explains you have to expose your system via one of those mentioned ports. I strongly recommend using 443 or using Nabu Casa.