Skip to content

Netatmo Weather Station integration - different sensors with single codebase

License

Notifications You must be signed in to change notification settings

ikubicki/fibaro-netatmo-unified-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netatmo unified sensor

This quick application creates single climate sensor from Netatmo Weather Station or its modules.

Quick application detects all sensors for specified type and lists all detected sensors into logs when using Search devices button.

Data updates every 5 minutes by default.

Configuration

ClientID - Netatmo client ID

ClientSecret - Netatmo client secret

RefreshToken - Refresh token

Optional values

Type - Allows to change the type of the module. Changing type requires to change the DeviceID. This is not applicable for Temperature, Humidity sensors. Rain sensor allows to set only Rain (default), Rain1 or Rain24. Wind sensor allow to set only Wind (default) or Gusts. Other sensors (because they are using generic type - Multilevel sensor type) allow to specify all of following types: Temperature, Humidity, Rain, Rain1, Rain24, Wind, Gusts, Pressure, Noise and CO2.

DeviceID - identifier of Netatmo Weather Station from which values should be taken. This value will be automatically populated on first successful connection to weather station.

ModuleID - Identifier of Netatmo Weather Station module for given DeviceID. This value will be automatically populated from first module listed for the device.

Interval - number of minutes defining how often data should be refreshed. This value will be automatically populated on initialization of quick application.

AccessToken - Allows to set own access token and bypass credentials authentication.

Installation

To acquire required parameters, you need to go to Netatmo Connect site and create new application. Once that's done, you will be able to get client ID and client secret. To get refresh token, you need to use a Token generator (section below you get client id and client secret). From generated token you need to use a Refresh Token value. This should allow you to run quick application in your Fibaro Home Center device.

You may use a dedicated tool to get the refresh token for you: https://codebuilders.pl/netatmo/

Integration

This quick application integrates with other Netatmo dedicated quick apps for devices. It will automatically populate configuration to new virtual Netatmo devices.

Support

Due to horrible user experience with Fibaro Marketplace, for better communication I recommend to contact with me through GitHub or create an issue in the repository.