Skip to content

radoondas/netatmobeat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Netatmobeat

Welcome to Netatmobeat.

This beat will pull data from public Netatmo API for weather gathered from weather stations around the world. You can look at weather map provided by Netatmo.

The beat is able to pull data from public API and index them in to Elasticsearch. Once data are indexed, yuo can analyse and visualise on map.

To start working with netatmobeat you need to have an account at Netatmo DEV to be able to access API. Once you are signed in, configure new App to be able to connect to dev API.

Installation

Download and install appropriate package for your system. Check release page for latest packages.

For docker image docker pull radoondas/netatmobeat

Configuration

Configure authentication after you create application in https://dev.netatmo.com and paste values for your application.

  client_id: "abcdefghijklmn"
  client_secret: "mysecretfromapp"

Username/password to your Netatmo dev account

  username: "user@email"
  password: "password"

Public weather configuration. Define regions you want to gather data from. Regions are not exact shapes in terms of a response as they are provided from Netatmo cache.

  public_weather:
    enabled: true
    period: 10m
    regions:
      - region:
        enabled: true
        name: "EMEA"
        description: "Slovakia"
        lat_ne: 49.650266
        lon_ne: 22.780239
        lat_sw: 47.780377
        lon_sw: 16.759731
      - region:
        enabled: true
        name: "Spain"
        description: "Somewhere in EU"
        lat_ne: 43.417618
        lon_ne: 3.569562
        lat_sw: 36.867098
        lon_sw: -9.438251

Station data configuration requires at least one station ID in order to pull data from. You have to specify also Period for how often you want to pull data. I suggest 5m.

  weather_stations:
    enabled: false
    period: 5m
    ids: [ "st:at:io:ni:dd" ]

Configure your output and/or monitoring options

Run

./netatmobeat -c netatmobeat.yml -e 

Visualisations

This is an example of temperature visualisation

Map

Build

If you want to build Netatmobeat from scratch, follow build documentation.