Grafana dashboard: take temp
Description: Temperatur und Wetterwarnungen für Göttingen


{
  "__inputs": [
    {
      "name": "DS_GOETEMP",
      "label": "Goetemp",
      "description": "temp from python",
      "type": "datasource",
      "pluginId": "grafana-simple-json-datasource",
      "pluginName": "SimpleJson"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "panel",
      "id": "singlestat",
      "name": "Singlestat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "4.0.2"
    },
    {
      "type": "datasource",
      "id": "grafana-simple-json-datasource",
      "name": "SimpleJson",
      "version": "1.2.4"
    }
  ],
  "id": null,
  "title": "take temp",
  "description": "Temperatur und Wetterwarnungen für Göttingen",
  "tags": [
    "temperature",
    "weather",
    "göttingen"
  ],
  "style": "dark",
  "timezone": "browser",
  "editable": true,
  "sharedCrosshair": true,
  "hideControls": false,
  "time": {
    "from": "now-30d",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "templating": {
    "list": []
  },
  "annotations": {
    "list": [
      {
        "datasource": "${DS_GOETEMP}",
        "enable": false,
        "iconColor": "rgb(253, 200, 0)",
        "limit": 100,
        "name": "allgemeine Wetterwarnungen",
        "query": "#warning",
        "type": "alert"
      },
      {
        "name": "Vorabinformationen",
        "datasource": "${DS_GOETEMP}",
        "iconColor": "rgb(96, 102, 255)",
        "enable": true,
        "type": "alert",
        "limit": 100,
        "query": "#vorabinformation"
      },
      {
        "name": "Unwetterwarnungen",
        "datasource": "${DS_GOETEMP}",
        "iconColor": "rgba(255, 96, 96, 1)",
        "enable": true,
        "type": "alert",
        "limit": 100,
        "query": "#unwetter"
      }
    ]
  },
  "schemaVersion": 13,
  "version": 70,
  "links": [
    {
      "icon": "external link",
      "tags": [],
      "targetBlank": true,
      "title": "Goetemp",
      "tooltip": "Besuche die Goetemp Webseite",
      "type": "link",
      "url": "https://www.goetemp.de"
    }
  ],
  "gnetId": 4623,
  "rows": [
    {
      "title": "Graphen",
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_GOETEMP}",
          "decimals": 1,
          "editable": true,
          "error": false,
          "fill": 1,
          "height": "270px",
          "id": 1,
          "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": true,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "minSpan": 10,
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "hide": false,
              "rawQuery": false,
              "refId": "A",
              "target": "Temperatur",
              "type": "timeserie"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Temperatur (°C)",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "celsius",
              "label": "",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ]
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "datasource": "${DS_GOETEMP}",
          "decimals": 1,
          "editable": true,
          "error": false,
          "format": "celsius",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "hideTimeOverride": true,
          "id": 7,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "minSpan": 1,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 1,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "targets": [
            {
              "refId": "A",
              "target": "Temperatur",
              "type": "timeserie"
            }
          ],
          "thresholds": "",
          "timeFrom": "24h",
          "title": "Aktuell",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "current"
        },
        {
          "content": "<div style=\"text-align:center\"><img src=\"https://goetemp.de/img/thermometer_static3.png\" /> </div>",
          "editable": true,
          "error": false,
          "height": "",
          "id": 6,
          "links": [],
          "minSpan": 1,
          "mode": "html",
          "span": 1,
          "title": "",
          "type": "text"
        },
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_GOETEMP}",
          "editable": true,
          "error": false,
          "fill": 1,
          "id": 2,
          "legend": {
            "avg": false,
            "current": true,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "minSpan": 4,
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "Luftfeuchtigkeit",
              "color": "#6ED0E0"
            }
          ],
          "span": 4,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "Luftfeuchtigkeit"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Luftfeuchtigkeit (%)",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": "100",
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_GOETEMP}",
          "editable": true,
          "error": false,
          "fill": 1,
          "id": 3,
          "legend": {
            "avg": false,
            "current": true,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "minSpan": 4,
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "Ozon",
              "color": "#EF843C"
            }
          ],
          "span": 4,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "Ozon"
            }
          ],
          "thresholds": [
            {
              "colorMode": "warning",
              "fill": true,
              "line": true,
              "op": "gt",
              "value": 180
            },
            {
              "colorMode": "critical",
              "fill": true,
              "line": true,
              "op": "gt",
              "value": 240
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Ozon (μg/m³)",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "none",
              "label": "μg/m³",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_GOETEMP}",
          "decimals": 1,
          "editable": true,
          "error": false,
          "fill": 1,
          "id": 4,
          "legend": {
            "avg": false,
            "current": true,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "Luftdruck",
              "color": "#E24D42"
            }
          ],
          "span": 4,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "Luftdruck"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Luftdruck (hPa)",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "pressurehpa",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ]
        }
      ],
      "showTitle": true,
      "titleSize": "h6",
      "height": "270px",
      "repeat": null,
      "repeatRowId": null,
      "repeatIteration": null,
      "collapse": false
    },
    {
      "title": "Tabelle",
      "panels": [
        {
          "columns": [],
          "datasource": "${DS_GOETEMP}",
          "editable": true,
          "error": false,
          "fontSize": "100%",
          "id": 5,
          "links": [],
          "minSpan": 9,
          "pageSize": null,
          "scroll": true,
          "showHeader": true,
          "sort": {
            "col": 0,
            "desc": true
          },
          "span": 9,
          "styles": [
            {
              "dateFormat": "DD.MM.YYYY HH:mm",
              "pattern": "Zeit",
              "type": "date"
            },
            {
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 1,
              "pattern": "Temperatur",
              "thresholds": [],
              "type": "number",
              "unit": "celsius"
            },
            {
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 0,
              "pattern": "Luftfeuchtigkeit",
              "thresholds": [],
              "type": "number",
              "unit": "percent"
            },
            {
              "colorMode": "value",
              "colors": [
                "rgba(50, 172, 45, 0.97)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(245, 54, 54, 0.9)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 0,
              "pattern": "Ozon",
              "thresholds": [
                "180",
                "240"
              ],
              "type": "number",
              "unit": "none"
            },
            {
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 2,
              "pattern": "Luftdruck",
              "thresholds": [],
              "type": "number",
              "unit": "pressurehpa"
            }
          ],
          "targets": [
            {
              "refId": "A",
              "target": "Tabelle",
              "type": "timeserie"
            }
          ],
          "title": "Tabellarische Werte",
          "transform": "table",
          "type": "table"
        },
        {
          "columns": [],
          "datasource": "${DS_GOETEMP}",
          "editable": true,
          "error": false,
          "fontSize": "100%",
          "id": 8,
          "links": [],
          "minSpan": 3,
          "pageSize": null,
          "scroll": true,
          "showHeader": true,
          "sort": {
            "col": null,
            "desc": false
          },
          "span": 3,
          "styles": [
            {
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "dateFormat": "DD.MM - HH.mm",
              "decimals": 2,
              "pattern": "gültig bis",
              "thresholds": [],
              "type": "date",
              "unit": "short"
            }
          ],
          "targets": [
            {
              "refId": "A",
              "target": "activeWarnings",
              "type": "table"
            }
          ],
          "title": "aktive Wetterwarnungen",
          "transform": "table",
          "type": "table"
        }
      ],
      "showTitle": true,
      "titleSize": "h6",
      "height": 250,
      "repeat": null,
      "repeatRowId": null,
      "repeatIteration": null,
      "collapse": false
    }
  ]
}