You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7425 lines
167 KiB
JSON
7425 lines
167 KiB
JSON
{
|
|
"__inputs": [
|
|
{
|
|
"name": "DS_HOMEPOWER",
|
|
"label": "HomePower",
|
|
"description": "",
|
|
"type": "datasource",
|
|
"pluginId": "influxdb",
|
|
"pluginName": "InfluxDB"
|
|
}
|
|
],
|
|
"__requires": [
|
|
{
|
|
"type": "panel",
|
|
"id": "bargauge",
|
|
"name": "Bar gauge",
|
|
"version": ""
|
|
},
|
|
{
|
|
"type": "grafana",
|
|
"id": "grafana",
|
|
"name": "Grafana",
|
|
"version": "7.3.6"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "graph",
|
|
"name": "Graph",
|
|
"version": ""
|
|
},
|
|
{
|
|
"type": "datasource",
|
|
"id": "influxdb",
|
|
"name": "InfluxDB",
|
|
"version": "1.0.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "stat",
|
|
"name": "Stat",
|
|
"version": ""
|
|
}
|
|
],
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": "-- Grafana --",
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"editable": true,
|
|
"gnetId": null,
|
|
"graphTooltip": 0,
|
|
"id": null,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"collapsed": false,
|
|
"datasource": null,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 31,
|
|
"panels": [],
|
|
"title": "OverView",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#73BF69",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "rgba(237, 129, 40, 0.89)",
|
|
"value": 240
|
|
},
|
|
{
|
|
"color": "#F2495C",
|
|
"value": 250
|
|
}
|
|
]
|
|
},
|
|
"unit": "volt"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
"id": 2,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "Solar_1",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"voltage"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "device",
|
|
"operator": "=",
|
|
"value": "ESP32-Solar"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Voltage Solar",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "amp"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 1
|
|
},
|
|
"id": 3,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "/^Solar_1\\.last$/",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "Solar_1",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"current"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "device",
|
|
"operator": "=",
|
|
"value": "ESP32-Solar"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Current Solar",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 1
|
|
},
|
|
"id": 7,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "/^Solar_1\\.last$/",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "Solar_1",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"power-factor"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "device",
|
|
"operator": "=",
|
|
"value": "ESP32-Solar"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Power Factor Solar",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "watt"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 1
|
|
},
|
|
"id": 4,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "/^Solar_1\\.last$/",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "Solar_1",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"power"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "device",
|
|
"operator": "=",
|
|
"value": "ESP32-Solar"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Power Solar",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "kwatth"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 1
|
|
},
|
|
"id": 5,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "Solar_1",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"energy"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "device",
|
|
"operator": "=",
|
|
"value": "ESP32-Solar"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Energy Solar",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "hertz"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 1
|
|
},
|
|
"id": 6,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "Solar_1",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"freq"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "device",
|
|
"operator": "=",
|
|
"value": "ESP32-Solar"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Frequency Solar",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "currencyEUR"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 1
|
|
},
|
|
"hideTimeOverride": true,
|
|
"id": 27,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1d"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"none"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "Solar_1",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT spread(\"energy\") * 0.1982 FROM \"Solar_1\" WHERE (\"device\" = 'ESP32-Solar') AND $timeFilter",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"energy"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "difference"
|
|
},
|
|
{
|
|
"params": [
|
|
"*0.1982"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "device",
|
|
"operator": "=",
|
|
"value": "ESP32-Solar"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": "24h",
|
|
"timeShift": null,
|
|
"title": "Euro Saved 24h",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "currencyEUR"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 1
|
|
},
|
|
"hideTimeOverride": true,
|
|
"id": 23,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"7d"
|
|
],
|
|
"type": "time"
|
|
}
|
|
],
|
|
"measurement": "Solar_1",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT spread(\"energy\") * 0.1982 FROM \"Solar_1\" WHERE (\"device\" = 'ESP32-Solar') AND $timeFilter",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"energy"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "distinct"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "difference"
|
|
},
|
|
{
|
|
"params": [
|
|
"*0.1982"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "device",
|
|
"operator": "=",
|
|
"value": "ESP32-Solar"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": "7d",
|
|
"timeShift": null,
|
|
"title": "Euro Saved 7 Days",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "currencyEUR"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 1
|
|
},
|
|
"hideTimeOverride": true,
|
|
"id": 24,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"14d"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "Solar_1",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT spread(\"energy\") * 0.1982 FROM \"Solar_1\" WHERE (\"device\" = 'ESP32-Solar') AND $timeFilter",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"energy"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "distinct"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "difference"
|
|
},
|
|
{
|
|
"params": [
|
|
"*0.1982"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "device",
|
|
"operator": "=",
|
|
"value": "ESP32-Solar"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": "14d",
|
|
"timeShift": null,
|
|
"title": "Euro Saved 14 Days",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "currencyEUR"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 1
|
|
},
|
|
"hideTimeOverride": true,
|
|
"id": 25,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"30d"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "Solar_1",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT spread(\"energy\") * 0.1982 FROM \"Solar_1\" WHERE (\"device\" = 'ESP32-Solar') AND $timeFilter",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"energy"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "distinct"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "difference"
|
|
},
|
|
{
|
|
"params": [
|
|
"*0.1982"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "device",
|
|
"operator": "=",
|
|
"value": "ESP32-Solar"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": "28d",
|
|
"timeShift": null,
|
|
"title": "Euro Saved 28 Days",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "currencyEUR"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 1
|
|
},
|
|
"id": 19,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "Solar_1",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"energy"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"*0.1982"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "device",
|
|
"operator": "=",
|
|
"value": "ESP32-Solar"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Euro Saved Total",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 1,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"max": -50,
|
|
"min": -99,
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#d44a3a",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "rgba(237, 129, 40, 0.89)",
|
|
"value": -90
|
|
},
|
|
{
|
|
"color": "#299c46",
|
|
"value": -80
|
|
}
|
|
]
|
|
},
|
|
"unit": "dBm"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 12,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 1
|
|
},
|
|
"id": 26,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"options": {
|
|
"displayMode": "gradient",
|
|
"orientation": "vertical",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showUnfilled": true
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"alias": "Solar",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "Solar_1",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"wifi-rssi"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "device",
|
|
"operator": "=",
|
|
"value": "ESP32-Solar"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Power",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"wifi-rssi"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Device",
|
|
"operator": "=",
|
|
"value": "ESP32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "WiFi RSSI",
|
|
"type": "bargauge"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#73BF69",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "rgba(237, 129, 40, 0.89)",
|
|
"value": 240
|
|
},
|
|
{
|
|
"color": "#F2495C",
|
|
"value": 250
|
|
}
|
|
]
|
|
},
|
|
"unit": "volt"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 4
|
|
},
|
|
"id": 44,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"voltage"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Power_Phase",
|
|
"operator": "=",
|
|
"value": "Phase_1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Voltage Cozinha",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 15
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 20
|
|
}
|
|
]
|
|
},
|
|
"unit": "amp"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 4
|
|
},
|
|
"id": 47,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"current"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Power_Phase",
|
|
"operator": "=",
|
|
"value": "Phase_1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Current Cozinha",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 4
|
|
},
|
|
"id": 50,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"power-factor"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Power_Phase",
|
|
"operator": "=",
|
|
"value": "Phase_1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Power Factor Cozinha",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 3600
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 5000
|
|
}
|
|
]
|
|
},
|
|
"unit": "watt"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 4
|
|
},
|
|
"id": 53,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"power"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Power_Phase",
|
|
"operator": "=",
|
|
"value": "Phase_1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Power Cozinha",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "kwatth"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 4
|
|
},
|
|
"id": 56,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"energy"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Power_Phase",
|
|
"operator": "=",
|
|
"value": "Phase_1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Energy Cozinha",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "hertz"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 4
|
|
},
|
|
"id": 59,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"freq"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Power_Phase",
|
|
"operator": "=",
|
|
"value": "Phase_1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Frequency Cozinha",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 3600
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 5000
|
|
}
|
|
]
|
|
},
|
|
"unit": "amp"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 4
|
|
},
|
|
"id": 63,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT sum(\"last\") FROM(\nSELECT last(\"current\") FROM \"PowerBox\" WHERE (\"Power_Phase\" = 'Phase_1') AND $timeFilter GROUP BY time($__interval) fill(null)),\n(SELECT last(\"current\") FROM \"PowerBox\" WHERE (\"Power_Phase\" = 'Phase_2') AND $timeFilter GROUP BY time($__interval) fill(null)),\n(SELECT last(\"current\") FROM \"PowerBox\" WHERE (\"Power_Phase\" = 'Phase_3') AND $timeFilter GROUP BY time($__interval) fill(null)\n) GROUP BY time($__interval) fill(null)",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"power"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Power_Phase",
|
|
"operator": "=",
|
|
"value": "Phase_1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Current Combinado",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"decimals": 1,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 8,
|
|
"x": 14,
|
|
"y": 4
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 65,
|
|
"interval": "5s",
|
|
"legend": {
|
|
"avg": true,
|
|
"current": true,
|
|
"hideEmpty": false,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "7.3.6",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "Solar",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "Solar_1",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"power"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "device",
|
|
"operator": "=",
|
|
"value": "ESP32-Solar"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Loja",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"power"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Power_Phase",
|
|
"operator": "=",
|
|
"value": "Phase_2"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": "24h",
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Solar vs Loja",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:506",
|
|
"decimals": 1,
|
|
"format": "watt",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:507",
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#73BF69",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "rgba(237, 129, 40, 0.89)",
|
|
"value": 240
|
|
},
|
|
{
|
|
"color": "#F2495C",
|
|
"value": 250
|
|
}
|
|
]
|
|
},
|
|
"unit": "volt"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 7
|
|
},
|
|
"id": 45,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"voltage"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Power_Phase",
|
|
"operator": "=",
|
|
"value": "Phase_2"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Voltage Loja",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 15
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 20
|
|
}
|
|
]
|
|
},
|
|
"unit": "amp"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 7
|
|
},
|
|
"id": 48,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"current"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Power_Phase",
|
|
"operator": "=",
|
|
"value": "Phase_2"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Current Loja",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 7
|
|
},
|
|
"id": 51,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"power-factor"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Power_Phase",
|
|
"operator": "=",
|
|
"value": "Phase_2"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Power Factor Loja",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 3600
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 5000
|
|
}
|
|
]
|
|
},
|
|
"unit": "watt"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 7
|
|
},
|
|
"id": 54,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"power"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Power_Phase",
|
|
"operator": "=",
|
|
"value": "Phase_2"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Power Loja",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "kwatth"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 7
|
|
},
|
|
"id": 57,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"energy"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "Power_Phase",
|
|
"operator": "=",
|
|
"value": "Phase_2"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Energy Loja",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"datasource": "${DS_HOMEPOWER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {},
|
|
"decimals": 2,
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": ""
|
|
},
|
|
{
|
|
"id": 1,
|
|
"op": "=",
|
|
"text": "",
|
|
"type": 1,
|
|
"value": ""
|
|
}
|
|
],
|
|
"nullValueMode": "connected",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "hertz"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 7
|
|
},
|
|
"id": 60,
|
|
"interval": "5s",
|
|
"links": [],
|
|
"maxDataPoints": 5000,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.3.6",
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "PowerBox",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
|