Grafana dashboard: Weather - Forecast
Description: Build your individual personal weather chart, to predict when it will rain or snow, down to the minute, at your exact location.

A little project to visualise weather forecast data in grafana.
It showes: 
- appearent temperature
- temperature
- wind speed
- precip intensity
- sun/cloud cover
- day/night times

This Blogpost describes the installation step by step:

http://www.robstechlog.com/2017/06/30/personal-weather-chart-module/


Code for data storing into a influxdb is available here:
https://github.com/SvenSommer/darksky2influxdb

Have fun with it!

{
  "__inputs": [
    {
      "name": "DS_WEATHER",
      "label": "weather",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "4.2.0"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    }
  ],
  "annotations": {
    "list": []
  },
  "editable": true,
  "gnetId": 2315,
  "graphTooltip": 0,
  "hideControls": false,
  "id": null,
  "links": [],
  "refresh": false,
  "rows": [
    {
      "collapse": false,
      "height": 245,
      "panels": [
        {
          "aliasColors": {
            "Bewölkung": "#2F575E",
            "Nacht": "#052B51",
            "Regen": "#1F78C1",
            "Regenmenge": "#1F78C1",
            "Sonne": "#CCA300",
            "Tag": "#DEDAF7",
            "Tag_Nacht": "#511749",
            "Temperatur": "#7EB26D",
            "Wind": "#2F575E",
            "gefühlte Temperatur": "#C15C17"
          },
          "bars": false,
          "datasource": "${DS_WEATHER}",
          "fill": 0,
          "height": "",
          "id": 2,
          "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "rightSide": false,
            "show": false,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "Temperatur",
              "fill": 0,
              "fillBelowTo": "gefühlte Temperatur",
              "zindex": 2
            },
            {
              "alias": "Wind",
              "lines": false,
              "pointradius": 1,
              "points": true,
              "zindex": 2
            },
            {
              "alias": "Sonne",
              "bars": true,
              "legend": false,
              "lines": false,
              "stack": true,
              "transform": "negative-Y",
              "yaxis": 2,
              "zindex": -2
            },
            {
              "alias": "Bewölkung",
              "bars": true,
              "lines": false,
              "stack": true,
              "transform": "negative-Y",
              "yaxis": 2,
              "zindex": -2
            },
            {
              "alias": "Regen",
              "bars": true,
              "lines": false,
              "stack": true,
              "transform": "negative-Y",
              "yaxis": 2,
              "zindex": -1
            },
            {
              "alias": "Tag",
              "fill": 3,
              "linewidth": 0,
              "yaxis": 2,
              "zindex": -3
            },
            {
              "alias": "Nacht",
              "fill": 5,
              "linewidth": 0,
              "yaxis": 2,
              "zindex": -3
            }
          ],
          "span": 8,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "gefühlte Temperatur",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "forecast",
              "policy": "default",
              "refId": "F",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "apparent_temperature"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Temperatur",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "forecast",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "temperature"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Wind",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "forecast",
              "policy": "default",
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "wind_speed"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Regenwahrscheinlichkeit",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "forecast",
              "policy": "default",
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "precipProbability"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Regen",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "forecast",
              "policy": "default",
              "refId": "D",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "precipIntensity"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Feuchtigkeit",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "forecast",
              "policy": "default",
              "refId": "E",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "humidity"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Sonne",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "forecast",
              "policy": "default",
              "query": "SELECT mean(\"cloud_cover\") FROM \"forecast\" WHERE $timeFilter GROUP BY time(1h) fill(null)",
              "rawQuery": false,
              "refId": "G",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "sun_cover"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Bewölkung",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "forecast",
              "policy": "default",
              "refId": "H",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "cloud_cover"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Tag",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "forecast",
              "policy": "default",
              "refId": "I",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "daytime_show"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Nacht",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "forecast",
              "policy": "default",
              "refId": "J",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "nightime_show"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [
            {
              "colorMode": "custom",
              "fill": true,
              "fillColor": "rgb(255, 0, 0)",
              "line": true,
              "lineColor": "rgb(65, 0, 0)",
              "op": "lt",
              "value": 0
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "",
          "tooltip": {
            "shared": false,
            "sort": 0,
            "value_type": "individual"
          },
          "transparent": true,
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": [
              "total"
            ]
          },
          "yaxes": [
            {
              "format": "celsius",
              "label": "",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": "",
              "logBase": 1,
              "max": "0",
              "min": "-3",
              "show": false
            }
          ]
        },
        {
          "aliasColors": {
            "Bewölkung": "#2F575E",
            "Daytime": "#DEDAF7",
            "Intensity of precipitation": "#447EBC",
            "Nacht": "#052B51",
            "Nighttime": "#052B51",
            "Percentage of sky with sun": "#EAB839",
            "Regen": "#1F78C1",
            "Regenmenge": "#1F78C1",
            "Sonne": "#CCA300",
            "Tag": "#DEDAF7",
            "Tag_Nacht": "#511749",
            "Temperatur": "#7EB26D",
            "Temperature": "#7EB26D",
            "The percentage of sky occluded by clouds": "#2F575E",
            "Wind": "#2F575E",
            "apparent Temperature": "#EF843C",
            "gefühlte Temperatur": "#C15C17"
          },
          "bars": false,
          "datasource": "${DS_WEATHER}",
          "description": "http://robstechlog.com/2017/06/30/personal-weather-chart-module/",
          "fill": 0,
          "height": "",
          "id": 4,
          "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "Temperature",
              "fillBelowTo": "apparent Temperature",
              "zindex": 2
            },
            {
              "alias": "Wind Speed",
              "lines": false,
              "pointradius": 1,
              "points": true,
              "zindex": 2
            },
            {
              "alias": "Percentage of sky with sun",
              "bars": true,
              "lines": false,
              "stack": true,
              "transform": "negative-Y",
              "yaxis": 2,
              "zindex": -2
            },
            {
              "alias": "The percentage of sky occluded by clouds",
              "bars": true,
              "lines": false,
              "stack": true,
              "transform": "negative-Y",
              "yaxis": 2,
              "zindex": -2
            },
            {
              "alias": "Intensity of precipitation",
              "bars": true,
              "lines": false,
              "stack": true,
              "transform": "negative-Y",
              "yaxis": 2,
              "zindex": -1
            },
            {
              "alias": "Daytime",
              "fill": 3,
              "linewidth": 0,
              "yaxis": 2,
              "zindex": -3
            },
            {
              "alias": "Nighttime",
              "fill": 5,
              "linewidth": 0,
              "yaxis": 2,
              "zindex": -3
            }
          ],
          "span": 4,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "apparent Temperature",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "forecast",
              "policy": "default",
              "refId": "F",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "apparent_temperature"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Temperature",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "forecast",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "temperature"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Wind Speed",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "forecast",
              "policy": "default",
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "wind_speed"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Probability of precipitation",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "forecast",
              "policy": "default",
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "precipProbability"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Intensity of precipitation",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "forecast",
              "policy": "default",
              "refId": "D",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "precipIntensity"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Relative humidity",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "forecast",
              "policy": "default",
              "refId": "E",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "humidity"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Percentage of sky with sun",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "forecast",
              "policy": "default",
              "query": "SELECT mean(\"cloud_cover\") FROM \"forecast\" WHERE $timeFilter GROUP BY time(1h) fill(null)",
              "rawQuery": false,
              "refId": "G",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "sun_cover"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "The percentage of sky occluded by clouds",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "forecast",
              "policy": "default",
              "refId": "H",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "cloud_cover"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Daytime",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "forecast",
              "policy": "default",
              "refId": "I",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "daytime_show"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "Nighttime",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "forecast",
              "policy": "default",
              "refId": "J",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "nightime_show"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [
            {
              "colorMode": "custom",
              "fill": true,
              "fillColor": "rgb(255, 0, 0)",
              "line": true,
              "lineColor": "rgb(65, 0, 0)",
              "op": "lt",
              "value": 0
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Weather Chart",
          "tooltip": {
            "shared": false,
            "sort": 0,
            "value_type": "individual"
          },
          "transparent": true,
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": [
              "total"
            ]
          },
          "yaxes": [
            {
              "format": "celsius",
              "label": "",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": "",
              "logBase": 1,
              "max": "0",
              "min": "-3",
              "show": false
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 250,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_WEATHER}",
          "fill": 1,
          "id": 3,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": false,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 1,
          "points": true,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 12,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "Windrichtung",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "1h"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "forecast",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "wind_bearing"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Wind",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": "360",
              "min": "0",
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    }
  ],
  "schemaVersion": 14,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-30m",
    "to": "now+2d"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "browser",
  "title": "Weather - Forecast",
  "version": 0,
  "description": "Build your individual personal weather chart, to predict when it will rain or snow, down to the minute, at your exact location."
}