If I change something in HA it’s almost immediate the change in the Netatmo app.
If I change something in the Netatmo app I have to wait several minutes before HA gets update.
Does this mean that I have to open any port, even with duck dns?
I don’t have any open port and I always use Vpn if I want to use HA from outside home.
Hi there, i’m about to facing same problem (long update in HA even when change made in HA). Otherwise it’s working well.
I have my instance available from outside (custom LE https and ports open - everything is working well).
I’ve also setup Netatmo dev account, filled client_id and clients_secret in my instance configuration.yaml.
In Netatmo DEV i’ve set webhook URI as “https://{my_instance_public_url}/api/webhook/netatmo” which i don’t know if it’s correct.
My updates are still slow (i expect it respect polling interval). What else i need to do to make those webhook updates working?
Just you know - i only use Netatmo valves (with ralay).
Thanks a lot for your help and patience (i’m only using HA for few weeks now).
Check your logs for a message like INFO (MainThread) [homeassistant.components.netatmo.data_handler] Netatmo webhook successfully registered
after startup. If you see that you’re webhook is successfully registered. If not, we have to check why.
Hey,
i’ve set logger “homeassistant.components.netatmo” to debug and restarted my HA.
So far i’m able to see:
2021-01-06 09:45:56 INFO (MainThread) [homeassistant.components.netatmo] Register Netatmo webhook: https://{my_instance_public_uri}/api/webhook/bd0500abc19fd…
No “Netatmo webhook successfully registered” message followed. I’ve set that “generated” webhook URL to my Netatmo DEV account as “webhook URI”. I’ve set {my_instance_public_uri} in redirect URI (under Netatmo DEV account app).
Does that mean webhook not banned? Not really sure. Or how can i check?
I have my HA instance reachable via 443 (i don’t use reverse proxy, i’ve opened/port forward 443 on my router to HA, i’ve configured Let’s encrypt for my own domain and i’ve know my instance available from outside).
Configuring of webhook URI is done by Netatmo Integration itself?
If you want i can PM my instance URL / or even get any access to it. I’d like to help you with test/debug.
@cgtobi Hey it seems i probably have Netatmo integration added before i’ve setup Netatmo DEV account and put credentials to configuration.yaml (i thought adding credentials and restarting of HA is enought). I needed to remove Integration, restart HA, add Netatmo Integration again and now it’s working.
Hi @cgtobi - old thread, but still: During installation we are asked to select between NabuCasa or our own defined Netatmo Dev App (as defined in Credentials).
Will webhook events work if NabuCasa is selected (an no dev App credentials has even been defined) ?