DarkSky

Data Source

DarkSky weather datasource

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
Sign up Now

Version

Dependencies:
  • Grafana 5.x 6.x