Library

We have an extensive library of various bOS configuration examples. Select your heating pump, AC, TV or almost any other device and import it to your smart building configuration. We also encourage all system integrators and DIYs to add their own examples to ComfortClick library.

NetAtmo icon

NetAtmo

Integration of NetAtmo weather station

Author: NEON Multimedia

DOWNLOAD

With the NetAtmo Smart Home Weather Station and its accessories, measure, analyze, and understand your indoor and outdoor environment to adapt to your daily life and optimize your comfort at home. The example provides the Integration of NetAtmo weather station into bOS using HTTP driver.

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

In this bOS file, there is no graphical element, so you have to create a panel and drag-and-drop the values into it. Client ID and Client Secret are required and you can create them on: https://dev.netatmo.com/

Comments

Geir

January 14, 2024


To make the Netamo driver work with the Oauth2 authentication, you need to change the Netatmo Auth command in your library.
You also need to register an application on your Neatmo pages. The registration process for the new "App" (e.g. your bOS installation) will give you the Client ID, Client Secret, Access token and Refresh token.

You should change the Auth command according to the Netatmo refresh token API call. (https://dev.netatmo.com/apidocumentation/oauth)
Change the content of the Auth call to: grant_type=refresh_token&refresh_token=%0&client_id=%1&client_secret=%2
Add the refresh token, client Id and client secret as variables you got from the registration process and the integration works.

The timestamp to date converter api (https://showcase.api.linx.twenty57.net/UnixTime/fromunix?timestamp=%0) is no longer available. .
I use a log in bOS to store values. Here you will get day, week and month Max,Min and average.

If you need the max and min time you may solve this by creating a program that triggers on temperature change and test towards current max/min values. The max min values may reset every day, week, month or manually based on your needs, using a reset program that trigger manually or on time.

Joachim

August 23, 2023

Is this integration still working for anyone?

guillermo@indutec.es

December 29, 2022

First, thank you for the contribution.
On the web: https://dev.netatmo.com/ I have not seen the way to get the token, Client ID and Client Secret.
Could you please explain how to proceed?

Thank you

antoniojosezaragozagarcia

March 18, 2022

I can't connect my netatmo weather station to my jigsaw, can someone help me??

Please login to post a comment.

This website uses cookies

We use cookies to personalize content, use live chat, provide social media features and to analyze our traffic. We also share information about your use of our site with analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.