Grafana dashboard: hiveeyes-open-hive-clemens-default-2 edit for demo
Description: Beekeeper cockpit derived from silver master derived from weef's version of MUC-MH-B99


{
  "__inputs": [
    {
      "name": "DS_HIVEEYES_OPEN_HIVE_CLEMENS",
      "label": "hiveeyes_open_hive_clemens",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    },
    {
      "name": "DS_WETTERDATEN",
      "label": "WETTERDATEN",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    },
    {
      "name": "DS_SUNMOON",
      "label": "sunmoon",
      "description": "",
      "type": "datasource",
      "pluginId": "fetzerch-sunandmoon-datasource",
      "pluginName": "Sun and Moon"
    }
  ],
  "__requires": [
    {
      "type": "datasource",
      "id": "fetzerch-sunandmoon-datasource",
      "name": "Sun and Moon",
      "version": "0.1.2"
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "5.1.3"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": "5.0.0"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "5.0.0"
    },
    {
      "type": "panel",
      "id": "singlestat",
      "name": "Singlestat",
      "version": "5.0.0"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": "5.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      },
      {
        "datasource": "${DS_HIVEEYES_OPEN_HIVE_CLEMENS}",
        "enable": true,
        "hide": false,
        "iconColor": "rgba(255, 96, 96, 1)",
        "limit": 100,
        "name": "Beobachtungen und Eingriffe anzeigen",
        "query": "SELECT * FROM \"default_2_events\" WHERE $timeFilter",
        "showIn": 0,
        "tags": [],
        "tagsColumn": "tags",
        "textColumn": "text",
        "type": "tags"
      },
      {
        "datasource": "${DS_SUNMOON}",
        "enable": false,
        "hide": false,
        "iconColor": "rgba(255, 96, 96, 1)",
        "limit": 100,
        "name": "Sonnenhöchststände anzeigen",
        "query": "solarNoon",
        "showIn": 0,
        "tags": [],
        "type": "tags"
      }
    ]
  },
  "description": "Beekeeper cockpit derived from silver master derived from weef's version of MUC-MH-B99",
  "editable": true,
  "gnetId": 8273,
  "graphTooltip": 1,
  "id": null,
  "iteration": 1536263050690,
  "links": [],
  "panels": [
    {
      "aliasColors": {
        "Tägliche Gewichtsdifferenz": "#511749",
        "default_2_sensors.mean": "#70DBED",
        "weight total": "#E5AC0E"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_HIVEEYES_OPEN_HIVE_CLEMENS}",
      "decimals": 3,
      "fill": 1,
      "gridPos": {
        "h": 12,
        "w": 12,
        "x": 0,
        "y": 0
      },
      "id": 5,
      "interval": "10m",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": true,
        "show": true,
        "sort": "current",
        "sortDesc": false,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "connected",
      "percentage": false,
      "pointradius": 1,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "Tägliche Gewichtsdifferenz",
          "bars": true,
          "lines": false,
          "yaxis": 1
        },
        {
          "alias": "Tägliche Gewichtsdifferenz",
          "yaxis": 2,
          "zindex": -1
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Gewicht",
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "default_2_sensors",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(\"Gewicht\") FROM \"default_2_sensors\" WHERE $timeFilter GROUP BY time($__interval)",
          "rawQuery": false,
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Gewicht"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Tägliche Gewichtsdifferenz",
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT derivative(last(\"Gewicht\"), 1d) FROM \"default_2_sensors\" WHERE $timeFilter GROUP BY time(1d) fill(null)",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Gewicht"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Gewicht und Gewichtsdifferenz",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "cumulative"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": [
          "count"
        ]
      },
      "yaxes": [
        {
          "format": "masskg",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "masskg",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "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_HIVEEYES_OPEN_HIVE_CLEMENS}",
      "decimals": 1,
      "format": "none",
      "gauge": {
        "maxValue": 20,
        "minValue": -20,
        "show": true,
        "thresholdLabels": true,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 12,
        "w": 6,
        "x": 12,
        "y": 0
      },
      "id": 3,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "kg",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": false,
        "lineColor": "rgb(31, 120, 193)",
        "show": true
      },
      "tableColumn": "",
      "targets": [
        {
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT difference(mean(\"Gewicht\")) FROM \"default_2_sensors\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": "-1,  2",
      "title": "Gewichtsänderung im ausgewählten Zeitraum",
      "transparent": true,
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "total"
    },
    {
      "columns": [],
      "datasource": "${DS_HIVEEYES_OPEN_HIVE_CLEMENS}",
      "filterNull": false,
      "fontSize": "100%",
      "gridPos": {
        "h": 12,
        "w": 6,
        "x": 18,
        "y": 0
      },
      "id": 4,
      "links": [],
      "pageSize": null,
      "scroll": true,
      "showHeader": true,
      "sort": {
        "col": 0,
        "desc": true
      },
      "styles": [
        {
          "alias": "Datum",
          "dateFormat": "YYYY-MM-DD",
          "pattern": "Time",
          "type": "date"
        },
        {
          "alias": "",
          "colorMode": "row",
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 2,
          "link": false,
          "pattern": "/.*/",
          "thresholds": [
            "-1",
            " 0"
          ],
          "type": "number",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "alias": "Gewicht (kg)",
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT derivative(last(\"Gewicht\"), 1d) FROM \"default_2_sensors\" WHERE $timeFilter GROUP BY time(1d) fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "title": "Gewichtsänderungen, sequentiell",
      "transform": "timeseries_to_columns",
      "transparent": true,
      "type": "table"
    },
    {
      "aliasColors": {
        "Gewicht Total": "#890f02",
        "default_2_sensors.mean": "#70DBED",
        "weight total": "#E5AC0E"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "-- Mixed --",
      "decimals": 2,
      "fill": 0,
      "gridPos": {
        "h": 12,
        "w": 12,
        "x": 0,
        "y": 12
      },
      "height": "",
      "id": 7,
      "interval": "10m",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": true,
        "show": true,
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "connected",
      "percentage": false,
      "pointradius": 1,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/(weight.*total|Gewicht.*Total)/i",
          "color": "#e5ac0e",
          "yaxis": 1
        },
        {
          "alias": "/temp/i",
          "color": "#82b5d8",
          "yaxis": 2
        },
        {
          "alias": "/(temp.*dwd|dwd.*temp)/i",
          "color": "#1f78c1",
          "yaxis": 2
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Gewicht Total",
          "datasource": "${DS_HIVEEYES_OPEN_HIVE_CLEMENS}",
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "default_2_sensors",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(\"Gewicht\") FROM \"default_2_sensors\" WHERE $timeFilter GROUP BY time($__interval) fill(null)",
          "rawQuery": false,
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Gewicht"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Temperatur am Stock, außen",
          "datasource": "${DS_HIVEEYES_OPEN_HIVE_CLEMENS}",
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "default_2_sensors",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(\"Aussen-Temperatur\") FROM \"default_2_sensors\" WHERE $timeFilter GROUP BY time($__interval) fill(null)",
          "rawQuery": false,
          "refId": "I",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Aussen-Temperatur"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Temperatur in $STATION, DWD",
          "datasource": "${DS_WETTERDATEN}",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "dwd_cdc_temp_2m_c",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"value\") FROM \"dwd_cdc_temp_2m_c\" WHERE (\"sta_name\" = '$STATION') AND $timeFilter GROUP BY time($__interval) fill(null)",
          "rawQuery": false,
          "refId": "J",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "sta_name",
              "operator": "=",
              "value": "München-Stadt"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Gewicht vs. Temperatur (lokal und DWD)",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "cumulative"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": [
          "count"
        ]
      },
      "yaxes": [
        {
          "format": "masskg",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "celsius",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "-- Mixed --",
      "decimals": 1,
      "fill": 1,
      "gridPos": {
        "h": 12,
        "w": 12,
        "x": 12,
        "y": 12
      },
      "id": 9,
      "interval": "10m",
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "connected",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "Sun altitude",
          "yaxis": 2
        },
        {}
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "datasource": "${DS_SUNMOON}",
          "hide": true,
          "refId": "A",
          "target": "sun_altitude"
        },
        {
          "alias": "Spannung",
          "datasource": "${DS_HIVEEYES_OPEN_HIVE_CLEMENS}",
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "default_2_sensors",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT stddev(\"Gewicht\") FROM \"default_2_sensors\" WHERE $timeFilter GROUP BY time($__interval) fill(null)",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Spannung"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Sonnenstand vs. Spannung",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "decimals": 2,
          "format": "volt",
          "label": "Spannung",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "degree",
          "label": "Sonnenstand",
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": false,
  "schemaVersion": 16,
  "style": "light",
  "tags": [
    "hiveeyes",
    "instant"
  ],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_WETTERDATEN}",
        "hide": 0,
        "includeAll": false,
        "label": "Auswahl der nächstgelegenen DWD Wetterstation",
        "multi": false,
        "name": "STATION",
        "options": [],
        "query": "SHOW TAG VALUES WITH KEY = \"sta_name\"",
        "refresh": 1,
        "regex": "",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-30d",
    "to": "now"
  },
  "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": "hiveeyes-open-hive-clemens-default-2 edit for demo",
  "uid": "2_HRrpFik",
  "version": 2
}