1.0.2 • Published 4 years ago

grafana-darksky v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

DarkSky Datasource - weather and forecast data for Grafana

Donate

This plugin allows to graph historic weather conditions and forecast data as returned by the DarkSky API.

dashboard

Requirements

  1. API key

    Register for a DarkSky API key at DarkSky. The free plan will allow 1000 API calls per day.

  2. Geo location

    Weather data will be available for the location defined when creating the data source. If unsure you can always use Google Maps or IP location APIs like ipgeolocation.io.

Configuration

Example configuration:

config

Frequently asked questions

  1. I've selected a metric- why does it not appear at certain zoom levels?

    The DarkSky API offers different data nodes, e.g. hourly and daily data. Not all metrics are available on all levels. During selection, this datasource offers all metrics available on any level of DarkSky data. If in doubt which metric to choose please take a look at the raw DarkSky API response.

Development

Using Docker:

  1. Clone the repo and cd into the folder grafana-darksky
  2. make sure you have yarn installed
  3. install the project dependencies: yarn install
  4. Start the watch task with yarn: yarn watch
  5. run the docker from the docker compose file with: docker-compose -f "docker-compose.yml" up -d --build
  6. Open grafana at http://localhost:3000
  7. Login with "admin" and password "admin"
  8. Now you can get started
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

6 years ago