Netatmo in HA 0.105

The fix in 0.105.2 should only affect the the cloud linking service. So as long as you don’t have a camera that you wanna use in HA that should be fine now.

@PeterTje It was wrong in the sense that we are not “certified” by Netatmo and therefore not allowed to use a certain scope for security reasons.

Did you double check your yaml config? Did you run the config checks?

I will later today upgrade to 0.105.2 and try again. :grinning:

@cgtobi after upgrading to 105.2 my setup worked again . Thx!

1 Like

Any info on when public sensors will be available again? What is PR?

As soon as it has been reimplemented. PR stands for Pull Request. I can’t give a timeline.

Glad to hear that.

Hi Tobi, I did, this morning it turned out, for some reason this is not working for me using my iPad. I tried again using my Windows 10 / Chrome machine and it worked fine!

1 Like

Ok, good to know. Glad you got it working.

@cgtobi Okido :slight_smile:

Still not working in 0.105.2, still getting the 500 server error, server got itself into trouble.

I have an instance only accessible locally, no ssl, and tried with and without base_url set. I never get any options upon adding the integration, always just asks to open the website. The website open fine, I can grant rights, then it closes and reopens and pressing the button again gives the 500 error.

I also tried it from different browser, from mac osx and win10, and from an iphone. Always the same error. Does anyone have an idea what it is I’m overlooking?

After some more tries it suddenly connected!

1 Like

Did you restart HA in between? I think HA remembers which option you choose therefor you have to restart HA as far as I know to get to choose either configuration.yaml or cloud.

When you reimplement the public sensor, can you please add Mode = avg, max and min? (minimum has been missing!) :slight_smile:

1 Like

Hi, I have an issue with the new Netatmo-integration (0.105.2).

When I press the open website button I get to a web page displaying only:

{"error":"invalid_client"}

Relevant parts of configuration.yaml:


http:
  ssl_certificate: /config/cert.pem
  ssl_key: /config/key.pem
  base_url: https://[masked addr]:27544

netatmo:
  client_id: [from Netatmo connect]
  client_secret: [from Netatmo connect]
#   username: [old cfg]
#   password: [old cfg]

I see no relevant updates in the log.
I have also tried to regenerate the keys in netatmo connect, and have restarted home assistant many times.

Any ideas what to try next?

Thanks!

Did you remove the integration completely by commenting out the code and restarting HA?

It’s actually a “clean” install, with files from config/ copied from an older pi. On the older pi, netatmo worked pre 0.105.x.

But to be certain, I have now

  1. commented out netatmo in configuration.yaml and also the old sensor groups.
  2. Restart home assistant core (not the full pi)
  3. uncommented the “netatmo:” part in configuration.yaml
  4. Restart home assistant core
  5. Add netatmo integration

Same result (invalid client)

Maybe next step is creating new app in netatmo connect? Will try and report back.

Thanks

Created new app in netatmo connect and repeated steps 1-5, still same results.

The link I’m sent to is

https://api.netatmo.com/oauth2/authorize?response_type=code

Shouldn’t it include client id & secret?

Do you use the configuration.yaml option or cloud when adding the integration?