ETE Greenhouse
ETE Greenhouse
{
  "__inputs": [
    {
      "name": "DS_DARKSKY",
      "label": "darksky",
      "description": "",
      "type": "datasource",
      "pluginId": "mysql",
      "pluginName": "MySQL"
    }
  ],
  "__elements": [],
  "__requires": [
    {
      "type": "panel",
      "id": "bargauge",
      "name": "Bar gauge",
      "version": ""
    },
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "panel",
      "id": "geomap",
      "name": "Geomap",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.3.3"
    },
    {
      "type": "datasource",
      "id": "mysql",
      "name": "MySQL",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 9,
      "panels": [],
      "title": "Solar cell water pump",
      "type": "row"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Voltage",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-blue",
                "value": null
              },
              {
                "color": "light-blue",
                "value": 80
              }
            ]
          },
          "unit": "volt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 0,
        "y": 1
      },
      "id": 4,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  voltage\nFROM m200\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m200",
          "select": [
            [
              {
                "params": [
                  "voltage"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m200",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-orange",
                "value": null
              },
              {
                "color": "light-orange",
                "value": 80
              }
            ]
          },
          "unit": "kwatt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 4,
        "x": 4,
        "y": 1
      },
      "id": 18,
      "options": {
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  power_k\nFROM m200\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m200",
          "select": [
            [
              {
                "params": [
                  "power_k"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m200",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              },
              {
                "color": "dark-yellow",
                "value": 80
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 3,
        "x": 8,
        "y": 1
      },
      "id": 12,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m201\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m201",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m201",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Temperature",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Wind speed-1",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "#1fc4aa",
                "value": null
              },
              {
                "color": "#78d5c7",
                "value": 80
              }
            ]
          },
          "unit": "flowcms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 11,
        "y": 1
      },
      "id": 57,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m371\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m371",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m371",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "stat"
    },
    {
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 9,
        "x": 15,
        "y": 1
      },
      "id": 63,
      "options": {
        "basemap": {
          "config": {},
          "name": "Layer 0",
          "type": "default"
        },
        "controls": {
          "mouseWheelZoom": true,
          "showAttribution": true,
          "showDebug": false,
          "showScale": false,
          "showZoom": true
        },
        "layers": [
          {
            "config": {
              "color": {
                "fixed": "dark-green"
              },
              "fillOpacity": 0.4,
              "shape": "circle",
              "showLegend": true,
              "size": {
                "fixed": 5,
                "max": 15,
                "min": 2
              }
            },
            "location": {
              "latitude": "A-series",
              "longitude": "A-series",
              "mode": "lookup"
            },
            "name": "Layer 1",
            "type": "markers"
          }
        ],
        "view": {
          "id": "coords",
          "lat": 18.609829,
          "lon": 98.962224,
          "shared": true,
          "zoom": 1
        }
      },
      "pluginVersion": "8.3.3",
      "type": "geomap"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Current",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "light-red",
                "value": 80
              }
            ]
          },
          "unit": "amp"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 0,
        "y": 5
      },
      "id": 5,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  current\nFROM m200\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m200",
          "select": [
            [
              {
                "params": [
                  "current"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m200",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Wind speed-2",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "#c4881f",
                "value": null
              },
              {
                "color": "#d8af68",
                "value": 80
              }
            ]
          },
          "unit": "flowcms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 11,
        "y": 5
      },
      "id": 58,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m372\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m372",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m372",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-orange",
                "value": null
              },
              {
                "color": "light-orange",
                "value": 80
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 3,
        "x": 8,
        "y": 7
      },
      "id": 13,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  heat\nFROM m201\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m201",
          "select": [
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m201",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Relative humidity",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Total energy",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-purple",
                "value": null
              },
              {
                "color": "super-light-purple",
                "value": 80
              }
            ]
          },
          "unit": "kwatth"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 0,
        "y": 9
      },
      "id": 15,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  total_energy\nFROM m200\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m200",
          "select": [
            [
              {
                "params": [
                  "total_energy"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m200",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "semi-dark-red",
                "value": 80
              }
            ]
          },
          "unit": "amp"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 1,
        "w": 4,
        "x": 4,
        "y": 9
      },
      "id": 26,
      "options": {
        "displayMode": "lcd",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  avg(current) AS \"voltage\"\nFROM m200\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m200",
          "select": [
            [
              {
                "params": [
                  "current"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "voltage"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "m200",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-green",
            "mode": "fixed"
          },
          "custom": {
            "align": "center",
            "displayMode": "color-text",
            "filterable": true
          },
          "displayName": "Wind speed-1",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "flowcms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 6,
        "x": 11,
        "y": 9
      },
      "id": 60,
      "options": {
        "footer": {
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  avg(cool) AS \"cool\"\nFROM m371\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m371",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "cool"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "m371",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "table"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-orange",
            "mode": "fixed"
          },
          "custom": {
            "align": "center",
            "displayMode": "color-text",
            "filterable": true
          },
          "displayName": "Wind speed-2",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "flowcms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 7,
        "x": 17,
        "y": 9
      },
      "id": 61,
      "options": {
        "footer": {
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  avg(cool) AS \"cool\"\nFROM m372\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m372",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "cool"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "m372",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "table"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-orange",
                "value": null
              },
              {
                "color": "semi-dark-orange",
                "value": 80
              }
            ]
          },
          "unit": "kwatt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 1,
        "w": 4,
        "x": 4,
        "y": 10
      },
      "id": 27,
      "options": {
        "displayMode": "lcd",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  avg(power_k) AS \"voltage\"\nFROM m200\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m200",
          "select": [
            [
              {
                "params": [
                  "power_k"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "voltage"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "m200",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-purple",
                "value": null
              },
              {
                "color": "semi-dark-purple",
                "value": 80
              }
            ]
          },
          "unit": "kwatth"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 1,
        "w": 4,
        "x": 4,
        "y": 11
      },
      "id": 28,
      "options": {
        "displayMode": "lcd",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  avg(total_energy) AS \"voltage\"\nFROM m200\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m200",
          "select": [
            [
              {
                "params": [
                  "total_energy"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "voltage"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "m200",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-blue",
                "value": null
              },
              {
                "color": "semi-dark-blue",
                "value": 80
              }
            ]
          },
          "unit": "volt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 1,
        "w": 4,
        "x": 4,
        "y": 12
      },
      "id": 25,
      "options": {
        "displayMode": "lcd",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  avg(voltage) AS \"voltage\"\nFROM m200\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m200",
          "select": [
            [
              {
                "params": [
                  "voltage"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "voltage"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "m200",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 16,
            "gradientMode": "hue",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "voltage"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.scaleDistribution",
                "value": {
                  "type": "linear"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "Voltage"
              },
              {
                "id": "unit",
                "value": "volt"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "current"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.scaleDistribution",
                "value": {
                  "type": "linear"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "Current"
              },
              {
                "id": "unit",
                "value": "amp"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "power_k"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-orange",
                  "mode": "fixed"
                }
              },
              {
                "id": "unit",
                "value": "kwatt"
              },
              {
                "id": "custom.scaleDistribution",
                "value": {
                  "log": 10,
                  "type": "log"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "Power"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 14,
        "w": 24,
        "x": 0,
        "y": 13
      },
      "id": 17,
      "options": {
        "legend": {
          "calcs": [
            "max",
            "min",
            "mean",
            "last"
          ],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  avg(voltage) AS \"voltage\",\n  avg(current) AS \"current\",\n  avg(power_k) AS \"power_k\"\nFROM m200\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m200",
          "select": [
            [
              {
                "params": [
                  "voltage"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "voltage"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "current"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "current"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "power_k"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "power_k"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "m200",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Chart of solar cell water pump energy",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisGridShow": true,
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 5,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "log": 10,
              "type": "log"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "heat"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-orange",
                  "mode": "fixed"
                }
              },
              {
                "id": "unit",
                "value": "humidity"
              },
              {
                "id": "custom.axisLabel",
                "value": "Relative humidity"
              },
              {
                "id": "displayName",
                "value": "Relative humidity"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "cool"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#37872D",
                  "mode": "fixed"
                }
              },
              {
                "id": "unit",
                "value": "celsius"
              },
              {
                "id": "custom.axisLabel",
                "value": "Temperature"
              },
              {
                "id": "displayName",
                "value": "Temperature"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 12,
        "w": 24,
        "x": 0,
        "y": 27
      },
      "id": 14,
      "options": {
        "legend": {
          "calcs": [
            "max",
            "min",
            "mean",
            "last"
          ],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  avg(cool) AS \"cool\",\n  avg(heat) AS \"heat\"\nFROM m201\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m201",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "cool"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "heat"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "m201",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Chart of temperature and relative humidity",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 39
      },
      "id": 20,
      "panels": [],
      "title": "Climate of kale room",
      "type": "row"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              },
              {
                "color": "light-green",
                "value": 80
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 3,
        "x": 0,
        "y": 40
      },
      "id": 21,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m202\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m202",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m202",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Temperature",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Max",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-green",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 30
              },
              {
                "color": "dark-green",
                "value": 50
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 3,
        "y": 40
      },
      "id": 29,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "max"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m202\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m202",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m202",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Min",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-green",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 30
              },
              {
                "color": "dark-green",
                "value": 50
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 4,
        "y": 40
      },
      "id": 30,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "min"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m202\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m202",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m202",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Avg.",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-green",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 30
              },
              {
                "color": "dark-green",
                "value": 50
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 5,
        "y": 40
      },
      "id": 31,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m202\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m202",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m202",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 5,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "log": 10,
              "type": "log"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "heat"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-orange",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "Relative humidity"
              },
              {
                "id": "unit",
                "value": "humidity"
              },
              {
                "id": "displayName",
                "value": "Relative humidity"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "cool"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-green",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "Temperature"
              },
              {
                "id": "unit",
                "value": "celsius"
              },
              {
                "id": "displayName",
                "value": "Temperature"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 12,
        "w": 18,
        "x": 6,
        "y": 40
      },
      "id": 23,
      "options": {
        "legend": {
          "calcs": [
            "max",
            "min",
            "mean",
            "last"
          ],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  avg(cool) AS \"cool\",\n  avg(heat) AS \"heat\"\nFROM m202\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m202",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "cool"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "heat"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "m202",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Chart of temperature and relative humidity",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-orange",
                "value": null
              },
              {
                "color": "light-orange",
                "value": 80
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 3,
        "x": 0,
        "y": 46
      },
      "id": 22,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  heat\nFROM m202\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m202",
          "select": [
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m202",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Relative humidity",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Max",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-orange",
                "value": null
              },
              {
                "color": "semi-dark-orange",
                "value": 30
              },
              {
                "color": "dark-orange",
                "value": 50
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 3,
        "y": 46
      },
      "id": 32,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "max"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  heat\nFROM m202\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m202",
          "select": [
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m202",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Min",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-orange",
                "value": null
              },
              {
                "color": "semi-dark-orange",
                "value": 30
              },
              {
                "color": "dark-orange",
                "value": 50
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 4,
        "y": 46
      },
      "id": 33,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "min"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  heat\nFROM m202\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m202",
          "select": [
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m202",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Avg.",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-orange",
                "value": null
              },
              {
                "color": "semi-dark-orange",
                "value": 30
              },
              {
                "color": "dark-orange",
                "value": 50
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 5,
        "y": 46
      },
      "id": 34,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  heat\nFROM m202\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m202",
          "select": [
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m202",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 52
      },
      "id": 36,
      "panels": [],
      "title": "Climate of melon room",
      "type": "row"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              },
              {
                "color": "light-green",
                "value": 80
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 3,
        "x": 0,
        "y": 53
      },
      "id": 37,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m203\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m203",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m203",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Temperature",
      "transparent": true,
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Max",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-green",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 30
              },
              {
                "color": "dark-green",
                "value": 50
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 3,
        "y": 53
      },
      "id": 39,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "max"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m203\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m203",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m203",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "transparent": true,
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Min",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-green",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 30
              },
              {
                "color": "dark-green",
                "value": 50
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 4,
        "y": 53
      },
      "id": 42,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "min"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m203\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m203",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m203",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "transparent": true,
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Avg.",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-green",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 30
              },
              {
                "color": "dark-green",
                "value": 50
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 5,
        "y": 53
      },
      "id": 43,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m203\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m203",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m203",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "transparent": true,
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 5,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "log": 10,
              "type": "log"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "heat"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-orange",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "Relative humidity"
              },
              {
                "id": "unit",
                "value": "humidity"
              },
              {
                "id": "displayName",
                "value": "Relative humidity"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "cool"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-green",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "Temperature"
              },
              {
                "id": "unit",
                "value": "celsius"
              },
              {
                "id": "displayName",
                "value": "Temperature"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 12,
        "w": 18,
        "x": 6,
        "y": 53
      },
      "id": 41,
      "options": {
        "legend": {
          "calcs": [
            "max",
            "min",
            "mean",
            "last"
          ],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  avg(cool) AS \"cool\",\n  avg(heat) AS \"heat\"\nFROM m203\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m203",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "cool"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "heat"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "m203",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Chart of temperature and relative humidity",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-orange",
                "value": null
              },
              {
                "color": "light-orange",
                "value": 80
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 3,
        "x": 0,
        "y": 59
      },
      "id": 38,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  heat\nFROM m203\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m203",
          "select": [
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m203",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Relative humidity",
      "transparent": true,
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Max",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-orange",
                "value": null
              },
              {
                "color": "semi-dark-orange",
                "value": 30
              },
              {
                "color": "dark-orange",
                "value": 50
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 3,
        "y": 59
      },
      "id": 40,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "max"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  heat\nFROM m203\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m203",
          "select": [
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m203",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "transparent": true,
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Min",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-orange",
                "value": null
              },
              {
                "color": "semi-dark-orange",
                "value": 30
              },
              {
                "color": "dark-orange",
                "value": 50
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 4,
        "y": 59
      },
      "id": 44,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "min"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  heat\nFROM m203\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m203",
          "select": [
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m203",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "transparent": true,
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Avg.",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-orange",
                "value": null
              },
              {
                "color": "semi-dark-orange",
                "value": 30
              },
              {
                "color": "dark-orange",
                "value": 50
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 5,
        "y": 59
      },
      "id": 45,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  heat\nFROM m203\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m203",
          "select": [
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m203",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "transparent": true,
      "type": "bargauge"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 65
      },
      "id": 47,
      "panels": [],
      "title": "Climate of salad room",
      "type": "row"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              },
              {
                "color": "light-green",
                "value": 80
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 3,
        "x": 0,
        "y": 66
      },
      "id": 48,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m204\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m204",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m204",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Temperature",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Max",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-green",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 30
              },
              {
                "color": "dark-green",
                "value": 50
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 3,
        "y": 66
      },
      "id": 50,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "max"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m204\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m204",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m204",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Min",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-green",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 30
              },
              {
                "color": "dark-green",
                "value": 50
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 4,
        "y": 66
      },
      "id": 53,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "min"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m204\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m204",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m204",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Avg.",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-green",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 30
              },
              {
                "color": "dark-green",
                "value": 50
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 5,
        "y": 66
      },
      "id": 54,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  cool\nFROM m204\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m204",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m204",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 5,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "log": 10,
              "type": "log"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "heat"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-orange",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "Relative humidity"
              },
              {
                "id": "unit",
                "value": "humidity"
              },
              {
                "id": "displayName",
                "value": "Relative humidity"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "cool"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-green",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "Temperature"
              },
              {
                "id": "unit",
                "value": "celsius"
              },
              {
                "id": "displayName",
                "value": "Temperature"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 12,
        "w": 18,
        "x": 6,
        "y": 66
      },
      "id": 52,
      "options": {
        "legend": {
          "calcs": [
            "max",
            "min",
            "mean",
            "last"
          ],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(time_date,$__interval),\n  avg(cool) AS \"cool\",\n  avg(heat) AS \"heat\"\nFROM m204\nWHERE\n  $__timeFilter(time_date)\nGROUP BY 1\nORDER BY $__timeGroup(time_date,$__interval)",
          "refId": "m204",
          "select": [
            [
              {
                "params": [
                  "cool"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "cool"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "heat"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "m204",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Chart of temperature and relative humidity",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-orange",
                "value": null
              },
              {
                "color": "light-orange",
                "value": 80
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 3,
        "x": 0,
        "y": 72
      },
      "id": 49,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  heat\nFROM m204\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m204",
          "select": [
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m204",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "title": "Relative humidity",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Max",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-orange",
                "value": null
              },
              {
                "color": "semi-dark-orange",
                "value": 30
              },
              {
                "color": "dark-orange",
                "value": 50
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 3,
        "y": 72
      },
      "id": 51,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "max"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  heat\nFROM m204\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m204",
          "select": [
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m204",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Min",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-orange",
                "value": null
              },
              {
                "color": "semi-dark-orange",
                "value": 30
              },
              {
                "color": "dark-orange",
                "value": 50
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 4,
        "y": 72
      },
      "id": 55,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "min"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  heat\nFROM m204\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m204",
          "select": [
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m204",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "mysql",
        "uid": "${DS_DARKSKY}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "displayName": "Avg.",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-orange",
                "value": null
              },
              {
                "color": "semi-dark-orange",
                "value": 30
              },
              {
                "color": "dark-orange",
                "value": 50
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 1,
        "x": 5,
        "y": 72
      },
      "id": 56,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  time_date AS \"time\",\n  heat\nFROM m204\nWHERE\n  $__timeFilter(time_date)\nORDER BY time_date",
          "refId": "m204",
          "select": [
            [
              {
                "params": [
                  "heat"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "m204",
          "timeColumn": "time_date",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "type": "bargauge"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 34,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "ETE Greenhouse",
  "uid": "fle6G4t7k",
  "version": 51,
  "weekStart": "",
  "gnetId": 15432,
  "description": "ETE Greenhouse"
}