The sync between Ha and Net is slow, can take 5/10 mins.
Issuing commands (off, frost guard etc) is pretty much instant with me when things are back to normal, Just tried it.
The feedback after adjustments from Netatmo to HA can take a while.
I’ve come from SmartThings a year ago and the Netatmo integration there was a pain! It did work so much better on HA…a month or two ago that is.
The reason for the slow sync is because the webhook gets blocked by Netatmo almost instantly. We’ve discussed possible solutions with them but none has been put into place yet. That’s why I recommend using individual Netatmo dev accounts. Webhook events improve the responsiveness dramatically.
Interesting…
I’ve been toying with SmartThings and Netatmo to check things and to rule out any restrictions my end.
I know this is a cloud to cloud service but it is working perfectly on ST now and the account link service is the same as HA.
Amendment in ST are shown within 5 seconds, but amendments on local devices to show in ST app is the same 5/10 mins. Data retrieved and what can be managed in ST are very limited compared to HA.
Well, probably because SmartThings provide a singular endpoint for the webhook contrary to how things are handled with HA. With HA you roll your own endpoint for the webhook. But since all use the same Netatmo API account when using the cloud linking a single erroneous endpoint will cause the webhook being banned. Hopefully Netatmo will eventually end up banning only individual IPs rather than banning it for all.
Thought I’d give an update here regarding this. Updated my hardware to use the X86 platform - more reliable/faster then the PI and Netatmo loads every time now after a reboot of HA.
However if Internet/wifi drops off, the Netatmo integration will NOT recover unless a reboot is done.
On my system I tried to use a Netatmo developer account as mentioned earlier by @cgtobi and now the Netatmo cloud, the devices and HA all sync almost instantly. Since I did it, I never faced any unavailability issue of the Netatmo entities in HA.
I followed the tutorial in the integration documentation :
I have done like you said again - still no recovery.
Have you tried disconnecting relay from network or wifi disconnect until HA entities are unavailable and then restore to see if things come back to life?
What works best for me is using the Configuration.yaml setup via ‘add integration’, then ‘Reload’ works fine without the restart HA prompt.
My work around for entity revival is to make an automation when devices become ‘unavailable’ for over 5 mins, then reload automatically. :))
That’s a good idea…I tend to just reload the integration manually if Climate not there after a restart…any chance you would share the code for your automation?
Cheers Stephen, that’s great.
Out of curiosity (and to stop me digging where I don’t have to ) why are you using the REST command in your automation and not an action like this in your setup…
Your welcome.
Its a setup I have from way back and it works for lovelace and automations.
Reload of config entry doesn’t do a full Reload like when hitting the reload option. Just double checked via Developer tools.
Does it with you?
Yeah it works that way…that’s how I’ve been reloading manually…well that and sometimes via the Integrations page.
Just curious as why you use one way vs the other…the age thing makes sense. As HA gets more mature there’s always a quicker way to do something
Thanks again
Cool.
Yes, great HA is evolving so quick. One reason I had to come away from the RaspPI…so much going on now regarding IO.
And I like to over complicate things.
edit: just made devices go unavailable. Built in reload does work. Thanks Gav_in.
My Netatmo system became unavailable 3 hours ago. Saw that once back at home. Tried your automation, but it didn’t work, maybe because the integration has no “Reload” option in the menu. I think it’s linked to the fact I’m using a developer account and the integration is set by the configuration.yaml providing the client I’d and keys.
Funny.
All my Netatmo devices went unavailable at about 13:00 UK time and for some reason my auto reload didn’t work (reload function wasn’t in menu).
Restart of HA solved. Could of been a Netatmo outage.
I’m using the config.yaml install and normally it would work fine.
Do a test by disabling/enable relay to make entities unavailable, then reload after connection - it should work.
Hi, Firstly, thank you to whoever built this integration.
I am using Netatmo cloud on 50 devices. I have the status of the lights on a dashboard, but it often (nearly always) needs the integration to be reloaded to reflect accurately. Though strangely the automation still work, without reloading.
Anyone else experience the same thing and know how to keep the cards current?