Weird Netatmo behavior (perhaps not HA related)

I think it is crucial to do all steps:

1.) Remove the netatmo integration via configuration->integrations->netatmo->trashbin
2.) Restart HA
3.) Add integration via configuration->integrations->"+"->netatmo
4.) Select configuration.yaml in the next question, then you will see “Netatmo:configuration.yaml” in the configured-tab, but not all entities
5.) Restart HA
6.) All entities should come back with the old names - That’s how it worked for me

1 Like

These are exactly steps I followed and all my 43 entities changed from sensor.netatmo_xxx to sensor.netatmo_pogodynka_xxx. BTW for Neatmo I created config some time back around v0.8x and was not touching it ever since then - only moving from pure yaml to Configuration ->I ntegration -> yaml mode (but actually this did not changed entities names).

I’ve installed my HA around 0.101 and had the station-name in the entity-name from the beginning.

Maybe different to your first installed version…

Maybe at some point the default of the Netatmo-integration was changed from yaml-config to the clould-linked-version? I don’t know, as I use HA not long enough.

The change of sensor names was actually introduced in 0.102. Maybe you just didn’t notice it before.

My entity names changed as well.
0.104 with yaml and 0.107.7 with config flow used the same shorter names.
After editing lovelace it works well, but to keep the long term statistics I will have to change the old names using a SQL statement.

Well, still no joy with netatmo.

Integration is deleted as shown here:

HA is configured in netatmo dev as shown:

Configuration.yaml configured

netatmo:
  client_id: 5eaxxxxxxxxxxxxxxxxxdf54f 
  client_secret: fHfoDTxxxxxxxxxxxxxxxxxxxxxxpzAmaY

Home assistant exists as third party app in netatmo.com

Upon restarting logfile seems to show proper setup:

2020-04-23 22:52:03 INFO (MainThread) [homeassistant.setup] Setting up netatmo
2020-04-23 22:52:03 INFO (MainThread) [homeassistant.setup] Setup of domain netatmo took 0.0 seconds.
2020-04-23 22:52:03 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=netatmo>

no entities are created in HA but the Station is found on the network.

Did you add the integration again with configuration.yaml selected?

Oh, I’d noticed! Now I had to rebuild my whole lovelace setup to update names, history configuration and some automations using netatmo data… Hard not to notice such change :slight_smile:

Well I thought I did. But it was hanging.
Now just redid it … and it worked!!!
Thanks a lot
ISSUE SOLVED
N

1 Like

So if I understand this right, we need to restore the old configuration.yaml config for netatmo, then also add it as a UI integration?

Not sure what you mean by ‘the old’ configuration.yaml config but in general there are two ways to set up the integration as documented.

Your line

Did you add the integration again with configuration.yaml selected?

From my beginnings with Home Assistant in 2017 it was added as a GUI integration I used configuration.yaml to set up netatmo, then when it was added as a GUI integration I altered things.

Since 109.x I’ve had to uncomment my original netatmo lines in configuration.yaml and re-add via integrations.

I only learned this from your post.

It was this clunky method to which I referred.

Sorry, I don’t understand what you mean. Nothing changed in 0.109 in regards to the Netatmo integration.

This:

Weird Netatmo behavior (perhaps not HA related) - #5 by cgtobi

The answer to my original question is ‘yes’.

Well, if you think so.

Hey guys!

I tried all the steps with no luck.
Netatmo with honeassistant cloud works fine.

But if I change to configuration.yaml with my client_id and client_secret it will not connect and I get no redirection out of the Netatmo identification webpage.

Do you have an other idea to get this working again?

Thx

Are you trying on iOS by chance?

yes on iOS

have not seen any bugs in this case

I’ve heard of such issues. You can either manipulate the url by hand or use a browser on your PC.

Ahh great.
So i will try that asap

Thank you

1 Like