| MagicMirror Project on Github | Netatmo API |
A module to integrale informations from a Netatmo weather station into the MagicMirror.
Prerequisites
To use this module, just include the netatmo-module folder into the modules folder of your MagicMirror and include a netatmo.init(); in the jQuery.ready function in the main.js. You also need to add some config entries to your config.js file. After that the content will be added to your mirror.
To be able to access your data, you need to have an Netatmo Application and grant this application access to your data.
Your can register a new app here. Afterwards you will get an APP_ID and an APP_SECRET which you will need to enter in the config entries.
To allow the app to access your data, you need to send a POST request to the auth server and register the app.
You can send a POST request with Hurl.it(Git) to the Netatmo auth url: https://api.netatmo.com/oauth2/token
Also you need to provide the following data:
The POST request will return the following data:
The REFRESH_TOKEN will be needed in the config entries.
To run the module properly, you need to add the following data to your config.js file.
netatmo: {
client_id: 'APP_ID',
client_secret: 'APP_SECRET',
refresh_token: 'REFRESH_TOKEN',
moduleOrder: [
// specify a certain module order
],
dataOrder: [
// specify a certain data order
]
}
—
$ claude mcp add MMM-Netatmo \
-- python -m otcore.mcp_server <graph>