NetAtmo weather station and Welcome integration

Avatar
  • updated

I'm so happy about getting my NetAtmo integration working, that I wanted to share it with the rest of you people.


This is the device itself


All you need to do is enter the values for strings in the "Settings" section of the device, and you will immediately get the values from one indoor and one outdoor module (which is the typical starter package setup.)  If you have more stations and/or modules then you can easily access them by just duplicating the existing values under the "Weather Station" query and changing the instance number in their "Token name." 


For example: default indoor temperature value = body.devices[0].dashboard_data.Temperature

indoor temperature value for next weather station = body.devices[1].dashboard_data.Temperature


and for modules:


temperature of first module of first station = body.devices[0].modules[0].dashboard_data.Temperature

secondary module of first station = body.devices[0].modules[1].dashboard_data.Temperature


I've also included a WIP section for the NetAtmo Welcome camera. I have yet to figure out how to track persons per name, since their position in the table is always changing.


Avatar
Ricardo Pinto

Hello Rait,

Sorry to dig this old post with 2 years, but I own a Netatmo, and even though I read Netatmo API guidelines, I can't get anywhere. I can't even get the acess_token.

I was looking to integrate my Netatmo on bOS, but your example is not available for download anymore. Can you share it again? Or does someone else has any tips?

Currently Netatmo is using Oauth 2.0, and we need to create an "app" on the Netatmo account, to be able to get a client_id and a client_secret. So far so good, but then I can't get anywhere, as any attempt to post the provided example to the https://api.netatmo.com/oauth2/token url, leads me nowhere, and I keep getting an "Error connecting to device" everytime I try to send the Http Post command.


Thanks in advance

Avatar
Ricardo Pinto

Thanks for your contribution!


I'm not able to test it with a real Netatmo station yet, but thank you for sharing your implementation, I'm sure it will be useful to other users.


That's what we need, people who grab other devices API's and squeeze them to Comfortclick.


Thanks for sharing