/meteostat-grafana

Grafana plugin for accessing historical weather and climate data using the Meteostat JSON API.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Grafana Meteostat Data Source Plugin

This repository contains a grafana datasource plugin for the weather api meteostat.

Installing

Prerequesites: You need to have a valid meteostat api key. Request one here https://auth.meteostat.net/

TODO: documentation on how to install this grafana plugin

Configuring

Go to the grafana dashboard and click on Add data source. Select Meteostat as the datasource and enter your personal API key.
Test the datasource and click on Save & Test.

In order to use the data source, create a new query and select the newly created Meteostat data source.
Then either search for a weather station, or use latitude and longitude in order to query weather data.
You should be able to see weather data for the selected time frame.

Start Developing

  1. Install dependencies
yarn install
  1. Build plugin in development mode or run in watch mode
yarn dev

or

yarn watch
  1. Build plugin in production mode
yarn build

Learn more