Grafana dashboard: MBMD
Description: Dashboard showing key metrics from the ModBus Measurement Daemon (MBMD) 

https://github.com/volkszaehler/mbmd


{
  "__inputs": [
    {
      "name": "DS_HOUSE",
      "label": "",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "6.7.1"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "$$hashKey": "object:7",
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 13138,
  "graphTooltip": 1,
  "id": null,
  "iteration": 1602362130498,
  "links": [],
  "panels": [
    {
      "collapsed": true,
      "datasource": "${DS_HOUSE}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 57,
      "panels": [
        {
          "columns": [],
          "datasource": "${DS_HOUSE}",
          "fontSize": "100%",
          "gridPos": {
            "h": 16,
            "w": 6,
            "x": 0,
            "y": 1
          },
          "id": 55,
          "pageSize": null,
          "showHeader": true,
          "sort": {
            "col": 0,
            "desc": true
          },
          "styles": [
            {
              "$$hashKey": "object:1382",
              "alias": "Time",
              "align": "auto",
              "dateFormat": "YYYY-MM-DD",
              "link": false,
              "pattern": "Time",
              "type": "date"
            },
            {
              "$$hashKey": "object:1383",
              "alias": "",
              "align": "right",
              "colorMode": "value",
              "colors": [
                "rgba(50, 172, 45, 0.97)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(245, 54, 54, 0.9)"
              ],
              "decimals": 2,
              "pattern": "Usage",
              "thresholds": [],
              "type": "number",
              "unit": "kwatth"
            },
            {
              "$$hashKey": "object:2322",
              "alias": "",
              "align": "auto",
              "colorMode": "value",
              "colors": [
                "rgba(50, 172, 45, 0.97)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(245, 54, 54, 0.9)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 2,
              "mappingType": 1,
              "pattern": "/Peak|Mean|Min/",
              "thresholds": [],
              "type": "number",
              "unit": "watt"
            }
          ],
          "targets": [
            {
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\")-first(\"value\") as \"Usage\" FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'Import')  AND time > now() - 14d GROUP BY time(1d) fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "Import"
                }
              ]
            },
            {
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT max(\"value\") as \"Peak\", min(\"value\") as \"Min\" FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'Power')  AND time > now() - 14d GROUP BY time(1d) fill(null)",
              "rawQuery": true,
              "refId": "B",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "Import"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Total Usage last 14 days",
          "transform": "table",
          "type": "table"
        },
        {
          "columns": [],
          "datasource": "${DS_HOUSE}",
          "fontSize": "100%",
          "gridPos": {
            "h": 16,
            "w": 6,
            "x": 6,
            "y": 1
          },
          "id": 58,
          "pageSize": null,
          "showHeader": true,
          "sort": {
            "col": 0,
            "desc": true
          },
          "styles": [
            {
              "$$hashKey": "object:1382",
              "alias": "Time",
              "align": "auto",
              "dateFormat": "YYYY-MM-DD",
              "pattern": "Time",
              "type": "date"
            },
            {
              "$$hashKey": "object:1383",
              "alias": "",
              "align": "right",
              "colorMode": "value",
              "colors": [
                "#F2CC0C",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "decimals": 2,
              "pattern": "Usage",
              "thresholds": [],
              "type": "number",
              "unit": "kwatth"
            },
            {
              "$$hashKey": "object:2322",
              "alias": "",
              "align": "auto",
              "colorMode": "value",
              "colors": [
                "#F2CC0C",
                "#F2CC0C",
                "rgba(50, 172, 45, 0.97)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 2,
              "mappingType": 1,
              "pattern": "/Peak|Mean|Min/",
              "thresholds": [],
              "type": "number",
              "unit": "watt"
            }
          ],
          "targets": [
            {
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\")-first(\"value\") as \"Usage\" FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'ImportL1')  AND time > now() - 14d GROUP BY time(1d) fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "Import"
                }
              ]
            },
            {
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT max(\"value\") as \"Peak\",  min(\"value\") as \"Min\" FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'PowerL1')  AND time > now() - 14d GROUP BY time(1d) fill(null)",
              "rawQuery": true,
              "refId": "B",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "Import"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "L1 Usage last 14 days",
          "transform": "table",
          "type": "table"
        },
        {
          "columns": [],
          "datasource": "${DS_HOUSE}",
          "fontSize": "100%",
          "gridPos": {
            "h": 16,
            "w": 6,
            "x": 12,
            "y": 1
          },
          "id": 59,
          "pageSize": null,
          "showHeader": true,
          "sort": {
            "col": 0,
            "desc": true
          },
          "styles": [
            {
              "$$hashKey": "object:1382",
              "alias": "Time",
              "align": "auto",
              "dateFormat": "YYYY-MM-DD",
              "pattern": "Time",
              "type": "date"
            },
            {
              "$$hashKey": "object:1383",
              "alias": "",
              "align": "right",
              "colorMode": "value",
              "colors": [
                "#A352CC",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "decimals": 2,
              "pattern": "Usage",
              "thresholds": [],
              "type": "number",
              "unit": "kwatth"
            },
            {
              "$$hashKey": "object:2322",
              "alias": "",
              "align": "auto",
              "colorMode": "value",
              "colors": [
                "#A352CC",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 2,
              "mappingType": 1,
              "pattern": "/Peak|Mean|Min/",
              "thresholds": [],
              "type": "number",
              "unit": "watt"
            }
          ],
          "targets": [
            {
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\")-first(\"value\") as \"Usage\" FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'ImportL2')  AND time > now() - 14d GROUP BY time(1d) fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "Import"
                }
              ]
            },
            {
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT max(\"value\") as \"Peak\", min(\"value\") as \"Min\" FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'PowerL2')  AND time > now() - 14d GROUP BY time(1d) fill(null)",
              "rawQuery": true,
              "refId": "B",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "Import"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "L2 Usage last 14 days",
          "transform": "table",
          "type": "table"
        },
        {
          "columns": [],
          "datasource": "${DS_HOUSE}",
          "fontSize": "100%",
          "gridPos": {
            "h": 16,
            "w": 6,
            "x": 18,
            "y": 1
          },
          "id": 60,
          "pageSize": null,
          "showHeader": true,
          "sort": {
            "col": 0,
            "desc": true
          },
          "styles": [
            {
              "$$hashKey": "object:1382",
              "alias": "Time",
              "align": "auto",
              "dateFormat": "YYYY-MM-DD",
              "pattern": "Time",
              "type": "date"
            },
            {
              "$$hashKey": "object:1383",
              "alias": "",
              "align": "right",
              "colorMode": "value",
              "colors": [
                "#FF780A",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "decimals": 2,
              "pattern": "Usage",
              "thresholds": [],
              "type": "number",
              "unit": "kwatth"
            },
            {
              "$$hashKey": "object:2322",
              "alias": "",
              "align": "auto",
              "colorMode": "value",
              "colors": [
                "#FF780A",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 2,
              "mappingType": 1,
              "pattern": "/Peak|Mean|Min/",
              "thresholds": [],
              "type": "number",
              "unit": "watt"
            }
          ],
          "targets": [
            {
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\")-first(\"value\") as \"Usage\" FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'ImportL3')  AND time > now() - 14d GROUP BY time(1d) fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "Import"
                }
              ]
            },
            {
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT max(\"value\") as \"Peak\", min(\"value\") as \"Min\" FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'PowerL3')  AND time > now() - 14d GROUP BY time(1d) fill(null)",
              "rawQuery": true,
              "refId": "B",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "Import"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "L3 Usage last 14 days",
          "transform": "table",
          "type": "table"
        }
      ],
      "title": "Usage",
      "type": "row"
    },
    {
      "collapsed": false,
      "datasource": "${DS_HOUSE}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 1
      },
      "id": 12,
      "panels": [],
      "title": "Power",
      "type": "row"
    },
    {
      "datasource": "${DS_HOUSE}",
      "gridPos": {
        "h": 5,
        "w": 5,
        "x": 0,
        "y": 2
      },
      "id": 10,
      "options": {
        "colorMode": "value",
        "fieldOptions": {
          "calcs": [
            "last"
          ],
          "defaults": {
            "mappings": [
              {
                "from": "",
                "id": 1,
                "operator": "",
                "text": "",
                "to": "",
                "type": 1,
                "value": ""
              }
            ],
            "thresholds": {
              "mode": "absolute",
              "steps": [
                {
                  "color": "green",
                  "value": null
                }
              ]
            },
            "unit": "watt"
          },
          "overrides": [],
          "values": false
        },
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto"
      },
      "pluginVersion": "6.7.1",
      "targets": [
        {
          "groupBy": [],
          "hide": false,
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'Power')",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "device",
              "operator": "=",
              "value": "SDM1.1"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "Power"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Now",
      "type": "stat"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_HOUSE}",
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 19,
        "x": 5,
        "y": 2
      },
      "hiddenSeries": false,
      "id": 4,
      "interval": "3s",
      "legend": {
        "alignAsTable": false,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "$$hashKey": "object:2015",
          "alias": "Apparent Power",
          "color": "#FF780A",
          "fill": 1,
          "linewidth": 0
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Active Power",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "type",
              "operator": "=",
              "value": "Power"
            },
            {
              "condition": "AND",
              "key": "device",
              "operator": "=~",
              "value": "/^$Device$/"
            }
          ]
        },
        {
          "alias": "Apparent Power",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "type",
              "operator": "=",
              "value": "ApparentPower"
            },
            {
              "condition": "AND",
              "key": "device",
              "operator": "=~",
              "value": "/^$Device$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "History",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:281",
          "format": "watt",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:282",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_HOUSE}",
      "gridPos": {
        "h": 5,
        "w": 5,
        "x": 0,
        "y": 7
      },
      "id": 53,
      "options": {
        "colorMode": "value",
        "fieldOptions": {
          "calcs": [
            "last"
          ],
          "defaults": {
            "decimals": 3,
            "mappings": [
              {
                "from": "",
                "id": 1,
                "operator": "",
                "text": "",
                "to": "",
                "type": 1,
                "value": ""
              }
            ],
            "thresholds": {
              "mode": "absolute",
              "steps": [
                {
                  "color": "green",
                  "value": null
                }
              ]
            },
            "unit": "kwatth"
          },
          "overrides": [],
          "values": false
        },
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto"
      },
      "pluginVersion": "6.7.1",
      "targets": [
        {
          "groupBy": [],
          "hide": false,
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"value\") - first(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'Import') AND $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "device",
              "operator": "=",
              "value": "SDM1.1"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "Power"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Sum",
      "type": "stat"
    },
    {
      "datasource": "${DS_HOUSE}",
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 0,
        "y": 12
      },
      "id": 13,
      "options": {
        "colorMode": "value",
        "fieldOptions": {
          "calcs": [
            "last"
          ],
          "defaults": {
            "mappings": [
              {
                "from": "",
                "id": 1,
                "operator": "",
                "text": "",
                "to": "",
                "type": 1,
                "value": ""
              }
            ],
            "thresholds": {
              "mode": "absolute",
              "steps": [
                {
                  "color": "semi-dark-yellow",
                  "value": null
                }
              ]
            },
            "unit": "watt"
          },
          "overrides": [],
          "values": false
        },
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto"
      },
      "pluginVersion": "6.7.1",
      "targets": [
        {
          "groupBy": [],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'PowerL1')",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "device",
              "operator": "=",
              "value": "SDM1.1"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "PowerL1"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Power L1",
      "type": "stat"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_HOUSE}",
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 12,
        "w": 21,
        "x": 3,
        "y": 12
      },
      "hiddenSeries": false,
      "id": 17,
      "interval": "3s",
      "legend": {
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "$$hashKey": "object:599",
          "alias": "L1",
          "color": "#F2CC0C"
        },
        {
          "$$hashKey": "object:607",
          "alias": "L2",
          "color": "#A352CC"
        },
        {
          "$$hashKey": "object:615",
          "alias": "L3",
          "color": "#FF780A"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "L1",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "type",
              "operator": "=",
              "value": "PowerL1"
            },
            {
              "condition": "AND",
              "key": "device",
              "operator": "=~",
              "value": "/^$Device$/"
            }
          ]
        },
        {
          "alias": "L2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "type",
              "operator": "=",
              "value": "PowerL2"
            },
            {
              "condition": "AND",
              "key": "device",
              "operator": "=~",
              "value": "/^$Device$/"
            }
          ]
        },
        {
          "alias": "L3",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "type",
              "operator": "=",
              "value": "PowerL3"
            },
            {
              "condition": "AND",
              "key": "device",
              "operator": "=~",
              "value": "/^$Device$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "History",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:311",
          "format": "watt",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:312",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_HOUSE}",
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 0,
        "y": 16
      },
      "id": 14,
      "options": {
        "colorMode": "value",
        "fieldOptions": {
          "calcs": [
            "last"
          ],
          "defaults": {
            "mappings": [
              {
                "from": "",
                "id": 1,
                "operator": "",
                "text": "",
                "to": "",
                "type": 1,
                "value": ""
              }
            ],
            "thresholds": {
              "mode": "absolute",
              "steps": [
                {
                  "color": "semi-dark-purple",
                  "value": null
                }
              ]
            },
            "unit": "watt"
          },
          "overrides": [],
          "values": false
        },
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto"
      },
      "pluginVersion": "6.7.1",
      "targets": [
        {
          "groupBy": [],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'PowerL2')",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "device",
              "operator": "=",
              "value": "SDM1.1"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "PowerL2"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Power L2",
      "type": "stat"
    },
    {
      "datasource": "${DS_HOUSE}",
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 0,
        "y": 20
      },
      "id": 15,
      "options": {
        "colorMode": "value",
        "fieldOptions": {
          "calcs": [
            "last"
          ],
          "defaults": {
            "mappings": [
              {
                "from": "",
                "id": 1,
                "operator": "",
                "text": "",
                "to": "",
                "type": 1,
                "value": ""
              }
            ],
            "thresholds": {
              "mode": "absolute",
              "steps": [
                {
                  "color": "semi-dark-orange",
                  "value": null
                }
              ]
            },
            "unit": "watt"
          },
          "overrides": [],
          "values": false
        },
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto"
      },
      "pluginVersion": "6.7.1",
      "targets": [
        {
          "groupBy": [],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'PowerL3')",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "device",
              "operator": "=",
              "value": "SDM1.1"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "PowerL3"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Power L3",
      "type": "stat"
    },
    {
      "collapsed": true,
      "datasource": "${DS_HOUSE}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 24
      },
      "id": 8,
      "panels": [
        {
          "datasource": "${DS_HOUSE}",
          "gridPos": {
            "h": 4,
            "w": 3,
            "x": 0,
            "y": 41
          },
          "id": 21,
          "options": {
            "colorMode": "value",
            "fieldOptions": {
              "calcs": [
                "last"
              ],
              "defaults": {
                "decimals": 1,
                "mappings": [
                  {
                    "from": "",
                    "id": 1,
                    "operator": "",
                    "text": "",
                    "to": "",
                    "type": 1,
                    "value": ""
                  }
                ],
                "thresholds": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "semi-dark-yellow",
                      "value": null
                    }
                  ]
                },
                "unit": "volt"
              },
              "overrides": [],
              "values": false
            },
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto"
          },
          "pluginVersion": "6.7.1",
          "targets": [
            {
              "groupBy": [],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'VoltageL1')",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "PowerL1"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Voltage L1",
          "type": "stat"
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_HOUSE}",
          "fill": 0,
          "fillGradient": 0,
          "gridPos": {
            "h": 12,
            "w": 21,
            "x": 3,
            "y": 41
          },
          "hiddenSeries": false,
          "id": 25,
          "interval": "3s",
          "legend": {
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "$$hashKey": "object:763",
              "alias": "L1",
              "color": "#F2CC0C"
            },
            {
              "$$hashKey": "object:771",
              "alias": "L2",
              "color": "#A352CC"
            },
            {
              "$$hashKey": "object:779",
              "alias": "L3",
              "color": "#FF780A"
            }
          ],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "L1",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=~",
                  "value": "/^$Device$/"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "VoltageL1"
                }
              ]
            },
            {
              "alias": "L2",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=~",
                  "value": "/^$Device$/"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "VoltageL2"
                }
              ]
            },
            {
              "alias": "L3",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=~",
                  "value": "/^$Device$/"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "VoltageL3"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "History",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:735",
              "format": "volt",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "$$hashKey": "object:736",
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "datasource": "${DS_HOUSE}",
          "gridPos": {
            "h": 4,
            "w": 3,
            "x": 0,
            "y": 45
          },
          "id": 22,
          "options": {
            "colorMode": "value",
            "fieldOptions": {
              "calcs": [
                "last"
              ],
              "defaults": {
                "decimals": 1,
                "mappings": [
                  {
                    "from": "",
                    "id": 1,
                    "operator": "",
                    "text": "",
                    "to": "",
                    "type": 1,
                    "value": ""
                  }
                ],
                "thresholds": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "semi-dark-purple",
                      "value": null
                    }
                  ]
                },
                "unit": "volt"
              },
              "overrides": [],
              "values": false
            },
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto"
          },
          "pluginVersion": "6.7.1",
          "targets": [
            {
              "groupBy": [],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'VoltageL2')",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "PowerL1"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Voltage L2",
          "type": "stat"
        },
        {
          "datasource": "${DS_HOUSE}",
          "gridPos": {
            "h": 4,
            "w": 3,
            "x": 0,
            "y": 49
          },
          "id": 23,
          "options": {
            "colorMode": "value",
            "fieldOptions": {
              "calcs": [
                "last"
              ],
              "defaults": {
                "decimals": 1,
                "mappings": [
                  {
                    "from": "",
                    "id": 1,
                    "operator": "",
                    "text": "",
                    "to": "",
                    "type": 1,
                    "value": ""
                  }
                ],
                "thresholds": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "semi-dark-orange",
                      "value": null
                    }
                  ]
                },
                "unit": "volt"
              },
              "overrides": [],
              "values": false
            },
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto"
          },
          "pluginVersion": "6.7.1",
          "targets": [
            {
              "groupBy": [],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'VoltageL3')",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "PowerL1"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Voltage L3",
          "type": "stat"
        },
        {
          "datasource": "${DS_HOUSE}",
          "gridPos": {
            "h": 4,
            "w": 3,
            "x": 0,
            "y": 53
          },
          "id": 26,
          "options": {
            "colorMode": "value",
            "fieldOptions": {
              "calcs": [
                "last"
              ],
              "defaults": {
                "decimals": 1,
                "mappings": [
                  {
                    "from": "",
                    "id": 1,
                    "operator": "",
                    "text": "",
                    "to": "",
                    "type": 1,
                    "value": ""
                  }
                ],
                "thresholds": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "semi-dark-yellow",
                      "value": null
                    }
                  ]
                },
                "unit": "percent"
              },
              "overrides": [],
              "values": false
            },
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto"
          },
          "pluginVersion": "6.7.1",
          "targets": [
            {
              "groupBy": [],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'THDL1')",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "THDL1"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "THD L1",
          "type": "stat"
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_HOUSE}",
          "fill": 0,
          "fillGradient": 0,
          "gridPos": {
            "h": 12,
            "w": 21,
            "x": 3,
            "y": 53
          },
          "hiddenSeries": false,
          "id": 30,
          "interval": "3s",
          "legend": {
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "$$hashKey": "object:1871",
              "alias": "THD L1",
              "color": "#F2CC0C"
            },
            {
              "$$hashKey": "object:1879",
              "alias": "TDH L2",
              "color": "#A352CC"
            },
            {
              "$$hashKey": "object:1887",
              "alias": "TDH L3",
              "color": "#FF780A"
            }
          ],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "THD L1",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=~",
                  "value": "/^$Device$/"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "THDL1"
                }
              ]
            },
            {
              "alias": "TDH L2",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=~",
                  "value": "/^$Device$/"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "THDL2"
                }
              ]
            },
            {
              "alias": "TDH L3",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=~",
                  "value": "/^$Device$/"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "THDL3"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "History",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:1615",
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "$$hashKey": "object:1616",
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "datasource": "${DS_HOUSE}",
          "gridPos": {
            "h": 4,
            "w": 3,
            "x": 0,
            "y": 57
          },
          "id": 27,
          "options": {
            "colorMode": "value",
            "fieldOptions": {
              "calcs": [
                "last"
              ],
              "defaults": {
                "decimals": 1,
                "mappings": [
                  {
                    "from": "",
                    "id": 1,
                    "operator": "",
                    "text": "",
                    "to": "",
                    "type": 1,
                    "value": ""
                  }
                ],
                "thresholds": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "semi-dark-purple",
                      "value": null
                    }
                  ]
                },
                "unit": "percent"
              },
              "overrides": [],
              "values": false
            },
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto"
          },
          "pluginVersion": "6.7.1",
          "targets": [
            {
              "groupBy": [],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'THDL2')",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "PowerL1"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "THD L2",
          "type": "stat"
        },
        {
          "datasource": "${DS_HOUSE}",
          "gridPos": {
            "h": 4,
            "w": 3,
            "x": 0,
            "y": 61
          },
          "id": 28,
          "options": {
            "colorMode": "value",
            "fieldOptions": {
              "calcs": [
                "last"
              ],
              "defaults": {
                "decimals": 1,
                "mappings": [
                  {
                    "from": "",
                    "id": 1,
                    "operator": "",
                    "text": "",
                    "to": "",
                    "type": 1,
                    "value": ""
                  }
                ],
                "thresholds": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "semi-dark-orange",
                      "value": null
                    }
                  ]
                },
                "unit": "percent"
              },
              "overrides": [],
              "values": false
            },
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto"
          },
          "pluginVersion": "6.7.1",
          "targets": [
            {
              "groupBy": [],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'THDL3')",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "PowerL1"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "THD L3",
          "type": "stat"
        }
      ],
      "title": "Voltage",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": "${DS_HOUSE}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 25
      },
      "id": 32,
      "panels": [
        {
          "datasource": "${DS_HOUSE}",
          "gridPos": {
            "h": 4,
            "w": 3,
            "x": 0,
            "y": 66
          },
          "id": 33,
          "options": {
            "colorMode": "value",
            "fieldOptions": {
              "calcs": [
                "last"
              ],
              "defaults": {
                "decimals": 2,
                "mappings": [
                  {
                    "from": "",
                    "id": 1,
                    "operator": "",
                    "text": "",
                    "to": "",
                    "type": 1,
                    "value": ""
                  }
                ],
                "thresholds": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "semi-dark-yellow",
                      "value": null
                    }
                  ]
                },
                "unit": "amp"
              },
              "overrides": [],
              "values": false
            },
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto"
          },
          "pluginVersion": "6.7.1",
          "targets": [
            {
              "groupBy": [],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'CurrentL1')",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "PowerL1"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Current L1",
          "type": "stat"
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_HOUSE}",
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 12,
            "w": 21,
            "x": 3,
            "y": 66
          },
          "hiddenSeries": false,
          "id": 37,
          "interval": "2s",
          "legend": {
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "$$hashKey": "object:2878",
              "alias": "L1",
              "color": "#F2CC0C"
            },
            {
              "$$hashKey": "object:2886",
              "alias": "L2",
              "color": "#A352CC"
            },
            {
              "$$hashKey": "object:2894",
              "alias": "L3",
              "color": "#FF780A"
            }
          ],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "L1",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=~",
                  "value": "/^$Device$/"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "CurrentL1"
                }
              ]
            },
            {
              "alias": "L2",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=~",
                  "value": "/^$Device$/"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "CurrentL2"
                }
              ]
            },
            {
              "alias": "L3",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=~",
                  "value": "/^$Device$/"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "CurrentL3"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "History",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:2331",
              "format": "amp",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "$$hashKey": "object:2332",
              "format": "amp",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "datasource": "${DS_HOUSE}",
          "gridPos": {
            "h": 4,
            "w": 3,
            "x": 0,
            "y": 70
          },
          "id": 34,
          "options": {
            "colorMode": "value",
            "fieldOptions": {
              "calcs": [
                "last"
              ],
              "defaults": {
                "decimals": 2,
                "mappings": [
                  {
                    "from": "",
                    "id": 1,
                    "operator": "",
                    "text": "",
                    "to": "",
                    "type": 1,
                    "value": ""
                  }
                ],
                "thresholds": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "semi-dark-purple",
                      "value": null
                    }
                  ]
                },
                "unit": "amp"
              },
              "overrides": [],
              "values": false
            },
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto"
          },
          "pluginVersion": "6.7.1",
          "targets": [
            {
              "groupBy": [],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'CurrentL2')",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "PowerL2"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Current L2",
          "type": "stat"
        },
        {
          "datasource": "${DS_HOUSE}",
          "gridPos": {
            "h": 4,
            "w": 3,
            "x": 0,
            "y": 74
          },
          "id": 35,
          "options": {
            "colorMode": "value",
            "fieldOptions": {
              "calcs": [
                "last"
              ],
              "defaults": {
                "decimals": 2,
                "mappings": [
                  {
                    "from": "",
                    "id": 1,
                    "operator": "",
                    "text": "",
                    "to": "",
                    "type": 1,
                    "value": ""
                  }
                ],
                "thresholds": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "semi-dark-orange",
                      "value": null
                    }
                  ]
                },
                "unit": "amp"
              },
              "overrides": [],
              "values": false
            },
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto"
          },
          "pluginVersion": "6.7.1",
          "targets": [
            {
              "groupBy": [],
              "measurement": "sdm630",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'CurrentL3')",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "device",
                  "operator": "=",
                  "value": "SDM1.1"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "PowerL3"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Current L3",
          "type": "stat"
        }
      ],
      "title": "Current",
      "type": "row"
    },
    {
      "collapsed": false,
      "datasource": "${DS_HOUSE}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 26
      },
      "id": 39,
      "panels": [],
      "title": "Quality",
      "type": "row"
    },
    {
      "datasource": "${DS_HOUSE}",
      "gridPos": {
        "h": 8,
        "w": 5,
        "x": 0,
        "y": 27
      },
      "id": 43,
      "options": {
        "fieldOptions": {
          "calcs": [
            "last"
          ],
          "defaults": {
            "decimals": 2,
            "mappings": [],
            "max": 1,
            "min": 0,
            "thresholds": {
              "mode": "absolute",
              "steps": [
                {
                  "color": "semi-dark-red",
                  "value": null
                },
                {
                  "color": "#EAB839",
                  "value": 0.5
                },
                {
                  "color": "semi-dark-blue",
                  "value": 0.75
                }
              ]
            },
            "unit": "cos 𝜑"
          },
          "overrides": [],
          "values": false
        },
        "orientation": "auto",
        "showThresholdLabels": true,
        "showThresholdMarkers": true
      },
      "pluginVersion": "6.7.1",
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'Cosphi')",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "device",
              "operator": "=",
              "value": "SDM1.1"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "Cosphi"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Power Factor",
      "type": "gauge"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_HOUSE}",
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 19,
        "x": 5,
        "y": 27
      },
      "hiddenSeries": false,
      "id": 41,
      "interval": "3s",
      "legend": {
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "$$hashKey": "object:4442",
          "alias": "Power Factor (cos 𝜑)",
          "color": "#3274D9"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Power Factor (cos 𝜑)",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "device",
              "operator": "=~",
              "value": "/^$Device$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "Cosphi"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "History",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:4295",
          "format": "cos 𝜑",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:4296",
          "format": "percentunit",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_HOUSE}",
      "gridPos": {
        "h": 9,
        "w": 5,
        "x": 0,
        "y": 35
      },
      "id": 45,
      "options": {
        "fieldOptions": {
          "calcs": [
            "mean"
          ],
          "defaults": {
            "decimals": 2,
            "mappings": [],
            "max": 52,
            "min": 48,
            "thresholds": {
              "mode": "absolute",
              "steps": [
                {
                  "color": "semi-dark-red",
                  "value": null
                },
                {
                  "color": "semi-dark-blue",
                  "value": 49.6
                },
                {
                  "color": "semi-dark-red",
                  "value": 50.4
                }
              ]
            },
            "unit": "hz"
          },
          "overrides": [],
          "values": false
        },
        "orientation": "auto",
        "showThresholdLabels": true,
        "showThresholdMarkers": true
      },
      "pluginVersion": "6.7.1",
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'Frequency')",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "device",
              "operator": "=",
              "value": "SDM1.1"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "Frequency"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Frequency",
      "type": "gauge"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_HOUSE}",
      "fill": 1,
      "fillGradient": 3,
      "gridPos": {
        "h": 9,
        "w": 19,
        "x": 5,
        "y": 35
      },
      "hiddenSeries": false,
      "id": 47,
      "interval": "3s",
      "legend": {
        "avg": true,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "$$hashKey": "object:5178",
          "alias": "Frequency",
          "color": "#3274D9"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Frequency",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "-50"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": [
            {
              "key": "device",
              "operator": "=~",
              "value": "/^$Device$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "Frequency"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "50 hz Offset History",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:5031",
          "format": "hz",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:5032",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_HOUSE}",
      "gridPos": {
        "h": 9,
        "w": 5,
        "x": 0,
        "y": 44
      },
      "id": 52,
      "options": {
        "colorMode": "value",
        "fieldOptions": {
          "calcs": [
            "mean"
          ],
          "defaults": {
            "decimals": 2,
            "mappings": [],
            "max": 52,
            "min": 48,
            "thresholds": {
              "mode": "absolute",
              "steps": [
                {
                  "color": "semi-dark-blue",
                  "value": null
                }
              ]
            },
            "unit": "watt"
          },
          "overrides": [],
          "values": true
        },
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto"
      },
      "pluginVersion": "6.7.1",
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"value\") FROM \"sdm630\" WHERE (\"device\" = '$Device' AND \"type\" = 'ReactivePower')",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "device",
              "operator": "=",
              "value": "SDM1.1"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "Frequency"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Reactive Power",
      "type": "stat"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_HOUSE}",
      "fill": 1,
      "fillGradient": 3,
      "gridPos": {
        "h": 9,
        "w": 19,
        "x": 5,
        "y": 44
      },
      "hiddenSeries": false,
      "id": 51,
      "interval": "3s",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "$$hashKey": "object:800",
          "alias": "Reactive Power",
          "color": "#3274D9"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Reactive Power",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sdm630",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "device",
              "operator": "=~",
              "value": "/^$Device$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "ReactivePower"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "History",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:626",
          "format": "watt",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:627",
          "format": "watt",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": "30s",
  "schemaVersion": 22,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_HOUSE}",
        "definition": "show tag values on \"house\" with key = \"device\";",
        "hide": 0,
        "includeAll": false,
        "index": -1,
        "label": null,
        "multi": false,
        "name": "Device",
        "options": [],
        "query": "show tag values on \"house\" with key = \"device\";",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-24h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "MBMD",
  "uid": "L21T_dkMz",
  "variables": {
    "list": []
  },
  "version": 5,
  "description": "Dashboard showing key metrics from the ModBus Measurement Daemon (MBMD) \n\nhttps://github.com/volkszaehler/mbmd"
}