2021-05-15 06:52:37 +00:00
|
|
|
{
|
|
|
|
"annotations": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"builtIn": 1,
|
|
|
|
"datasource": "-- Grafana --",
|
|
|
|
"enable": true,
|
|
|
|
"hide": true,
|
|
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
|
|
"name": "Annotations & Alerts",
|
|
|
|
"type": "dashboard"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-05-15 16:38:12 +00:00
|
|
|
"editable": false,
|
2021-05-15 06:52:37 +00:00
|
|
|
"gnetId": null,
|
|
|
|
"graphTooltip": 0,
|
|
|
|
"id": 27,
|
|
|
|
"iteration": 1621061421517,
|
|
|
|
"links": [],
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"datasource": null,
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "watt"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 4,
|
|
|
|
"w": 4,
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 2,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "value",
|
|
|
|
"graphMode": "none",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "auto",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"text": {},
|
|
|
|
"textMode": "auto"
|
|
|
|
},
|
|
|
|
"pluginVersion": "7.5.6",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"groupBy": [
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"$__interval"
|
|
|
|
],
|
|
|
|
"type": "time"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"type": "fill"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"orderByTime": "ASC",
|
|
|
|
"policy": "default",
|
|
|
|
"query": "from(bucket: \"telegraf\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) =>\n r[\"_measurement\"] == \"tasmota\" and\n r[\"device\"] == \"${tasm_dev}\" and\n r[\"_field\"] == \"power\"\n )\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")",
|
|
|
|
"refId": "A",
|
|
|
|
"resultFormat": "time_series",
|
|
|
|
"select": [
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"value"
|
|
|
|
],
|
|
|
|
"type": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [],
|
|
|
|
"type": "mean"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"tags": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Power",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": null,
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "voltamp"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 4,
|
|
|
|
"w": 4,
|
|
|
|
"x": 4,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 4,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "value",
|
|
|
|
"graphMode": "none",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "auto",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"text": {},
|
|
|
|
"textMode": "auto"
|
|
|
|
},
|
|
|
|
"pluginVersion": "7.5.6",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"groupBy": [
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"$__interval"
|
|
|
|
],
|
|
|
|
"type": "time"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"type": "fill"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"orderByTime": "ASC",
|
|
|
|
"policy": "default",
|
|
|
|
"query": "from(bucket: \"telegraf\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) =>\n r[\"_measurement\"] == \"tasmota\" and\n r[\"device\"] == \"${tasm_dev}\" and\n r[\"_field\"] == \"apparent_power\"\n )\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")",
|
|
|
|
"refId": "A",
|
|
|
|
"resultFormat": "time_series",
|
|
|
|
"select": [
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"value"
|
|
|
|
],
|
|
|
|
"type": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [],
|
|
|
|
"type": "mean"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"tags": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Apparent Power",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": null,
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"decimals": 2,
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "short"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 4,
|
|
|
|
"w": 4,
|
|
|
|
"x": 8,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 7,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "value",
|
|
|
|
"graphMode": "none",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "auto",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"text": {},
|
|
|
|
"textMode": "auto"
|
|
|
|
},
|
|
|
|
"pluginVersion": "7.5.6",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"groupBy": [
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"$__interval"
|
|
|
|
],
|
|
|
|
"type": "time"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"type": "fill"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"orderByTime": "ASC",
|
|
|
|
"policy": "default",
|
|
|
|
"query": "from(bucket: \"telegraf\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) =>\n r[\"_measurement\"] == \"tasmota\" and\n r[\"device\"] == \"${tasm_dev}\" and\n r[\"_field\"] == \"powerfactor\"\n )\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")",
|
|
|
|
"refId": "A",
|
|
|
|
"resultFormat": "time_series",
|
|
|
|
"select": [
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"value"
|
|
|
|
],
|
|
|
|
"type": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [],
|
|
|
|
"type": "mean"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"tags": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Power Factor",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": null,
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"decimals": 3,
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "kwatth"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 4,
|
|
|
|
"w": 6,
|
|
|
|
"x": 12,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 5,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "value",
|
|
|
|
"graphMode": "none",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "auto",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"text": {},
|
|
|
|
"textMode": "auto"
|
|
|
|
},
|
|
|
|
"pluginVersion": "7.5.6",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"groupBy": [
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"$__interval"
|
|
|
|
],
|
|
|
|
"type": "time"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"type": "fill"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"orderByTime": "ASC",
|
|
|
|
"policy": "default",
|
|
|
|
"query": "from(bucket: \"telegraf\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) =>\n r[\"_measurement\"] == \"tasmota\" and\n r[\"device\"] == \"${tasm_dev}\" and\n r[\"_field\"] == \"energy_total\"\n )\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")",
|
|
|
|
"refId": "A",
|
|
|
|
"resultFormat": "time_series",
|
|
|
|
"select": [
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"value"
|
|
|
|
],
|
|
|
|
"type": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [],
|
|
|
|
"type": "mean"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"tags": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Total Energy Usage",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": null,
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"decimals": 3,
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "kwatth"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 4,
|
|
|
|
"w": 6,
|
|
|
|
"x": 18,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 6,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "value",
|
|
|
|
"graphMode": "none",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "auto",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"text": {},
|
|
|
|
"textMode": "auto"
|
|
|
|
},
|
|
|
|
"pluginVersion": "7.5.6",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"groupBy": [
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"$__interval"
|
|
|
|
],
|
|
|
|
"type": "time"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"type": "fill"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"orderByTime": "ASC",
|
|
|
|
"policy": "default",
|
|
|
|
"query": "from(bucket: \"telegraf\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) =>\n r[\"_measurement\"] == \"tasmota\" and\n r[\"device\"] == \"${tasm_dev}\" and\n r[\"_field\"] == \"energy_today\"\n )\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")",
|
|
|
|
"refId": "A",
|
|
|
|
"resultFormat": "time_series",
|
|
|
|
"select": [
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"value"
|
|
|
|
],
|
|
|
|
"type": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [],
|
|
|
|
"type": "mean"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"tags": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Todays Energy Usage",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": null,
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"displayName": "${__field.name}"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"fill": 1,
|
|
|
|
"fillGradient": 0,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 9,
|
|
|
|
"w": 12,
|
|
|
|
"x": 0,
|
|
|
|
"y": 4
|
|
|
|
},
|
|
|
|
"hiddenSeries": false,
|
|
|
|
"id": 3,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": true,
|
|
|
|
"current": true,
|
|
|
|
"max": true,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": true
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
|
|
|
"percentage": false,
|
|
|
|
"pluginVersion": "7.5.6",
|
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"groupBy": [
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"$__interval"
|
|
|
|
],
|
|
|
|
"type": "time"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"type": "fill"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"orderByTime": "ASC",
|
|
|
|
"policy": "default",
|
|
|
|
"query": "from(bucket: \"telegraf\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) =>\n r[\"_measurement\"] == \"tasmota\" and\n r[\"device\"] == \"${tasm_dev}\" and\n r[\"_field\"] == \"power\"\n )\n |> map(fn: (r) => ({\n r with\n _field: \"power\"\n })\n )\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"power\")",
|
|
|
|
"refId": "A",
|
|
|
|
"resultFormat": "time_series",
|
|
|
|
"select": [
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"value"
|
|
|
|
],
|
|
|
|
"type": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [],
|
|
|
|
"type": "mean"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"tags": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Power",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:61",
|
|
|
|
"format": "watt",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:62",
|
|
|
|
"format": "voltamp",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": null,
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"displayName": "${__field.name}"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"fill": 1,
|
|
|
|
"fillGradient": 0,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 9,
|
|
|
|
"w": 6,
|
|
|
|
"x": 12,
|
|
|
|
"y": 4
|
|
|
|
},
|
|
|
|
"hiddenSeries": false,
|
|
|
|
"id": 8,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": true,
|
|
|
|
"current": true,
|
|
|
|
"max": true,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": true
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
|
|
|
"percentage": false,
|
|
|
|
"pluginVersion": "7.5.6",
|
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"groupBy": [
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"$__interval"
|
|
|
|
],
|
|
|
|
"type": "time"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"type": "fill"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"orderByTime": "ASC",
|
|
|
|
"policy": "default",
|
|
|
|
"query": "from(bucket: \"telegraf\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) =>\n r[\"_measurement\"] == \"tasmota\" and\n r[\"device\"] == \"${tasm_dev}\" and\n r[\"_field\"] == \"apparent_power\"\n )\n |> map(fn: (r) => ({\n r with\n _field: \"apparent_power\"\n })\n )\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"apparent_power\")",
|
|
|
|
"refId": "A",
|
|
|
|
"resultFormat": "time_series",
|
|
|
|
"select": [
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"value"
|
|
|
|
],
|
|
|
|
"type": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [],
|
|
|
|
"type": "mean"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"tags": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Apparent Power",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:61",
|
|
|
|
"format": "voltamp",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:62",
|
|
|
|
"format": "voltamp",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": null,
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"displayName": "${__field.name}"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"fill": 1,
|
|
|
|
"fillGradient": 0,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 9,
|
|
|
|
"w": 6,
|
|
|
|
"x": 18,
|
|
|
|
"y": 4
|
|
|
|
},
|
|
|
|
"hiddenSeries": false,
|
|
|
|
"id": 10,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": true,
|
|
|
|
"current": true,
|
|
|
|
"max": true,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": true
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
|
|
|
"percentage": false,
|
|
|
|
"pluginVersion": "7.5.6",
|
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"groupBy": [
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"$__interval"
|
|
|
|
],
|
|
|
|
"type": "time"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"type": "fill"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"orderByTime": "ASC",
|
|
|
|
"policy": "default",
|
|
|
|
"query": "from(bucket: \"telegraf\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) =>\n r[\"_measurement\"] == \"tasmota\" and\n r[\"device\"] == \"${tasm_dev}\" and\n r[\"_field\"] == \"reactive_power\"\n )\n |> map(fn: (r) => ({\n r with\n _field: \"reactive_power\"\n })\n )\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"reactive_power\")",
|
|
|
|
"refId": "A",
|
|
|
|
"resultFormat": "time_series",
|
|
|
|
"select": [
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"value"
|
|
|
|
],
|
|
|
|
"type": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [],
|
|
|
|
"type": "mean"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"tags": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Reactive Power",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:61",
|
|
|
|
"format": "voltampreact",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:62",
|
|
|
|
"format": "voltamp",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": null,
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"displayName": "${__field.name}"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"fill": 1,
|
|
|
|
"fillGradient": 0,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 9,
|
|
|
|
"w": 12,
|
|
|
|
"x": 0,
|
|
|
|
"y": 13
|
|
|
|
},
|
|
|
|
"hiddenSeries": false,
|
|
|
|
"id": 9,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": true,
|
|
|
|
"current": true,
|
|
|
|
"max": true,
|
|
|
|
"min": true,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": true
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
|
|
|
"percentage": false,
|
|
|
|
"pluginVersion": "7.5.6",
|
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"groupBy": [
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"$__interval"
|
|
|
|
],
|
|
|
|
"type": "time"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"type": "fill"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"orderByTime": "ASC",
|
|
|
|
"policy": "default",
|
|
|
|
"query": "from(bucket: \"telegraf\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) =>\n r[\"_measurement\"] == \"tasmota\" and\n r[\"device\"] == \"${tasm_dev}\" and\n r[\"_field\"] == \"powerfactor\"\n )\n |> map(fn: (r) => ({\n r with\n _field: \"powerfactor\"\n })\n )\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"powerfactor\")",
|
|
|
|
"refId": "A",
|
|
|
|
"resultFormat": "time_series",
|
|
|
|
"select": [
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"value"
|
|
|
|
],
|
|
|
|
"type": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [],
|
|
|
|
"type": "mean"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"tags": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Power Factor",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:61",
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": "1",
|
|
|
|
"min": "0",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:62",
|
|
|
|
"format": "voltamp",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": null,
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"displayName": "${__field.name}"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"fill": 1,
|
|
|
|
"fillGradient": 0,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 9,
|
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
|
|
|
"y": 13
|
|
|
|
},
|
|
|
|
"hiddenSeries": false,
|
|
|
|
"id": 11,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": true,
|
|
|
|
"current": true,
|
|
|
|
"max": true,
|
|
|
|
"min": true,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": true
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
|
|
|
"percentage": false,
|
|
|
|
"pluginVersion": "7.5.6",
|
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"groupBy": [
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"$__interval"
|
|
|
|
],
|
|
|
|
"type": "time"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"type": "fill"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"orderByTime": "ASC",
|
|
|
|
"policy": "default",
|
|
|
|
"query": "from(bucket: \"telegraf\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) =>\n r[\"_measurement\"] == \"tasmota\" and\n r[\"device\"] == \"${tasm_dev}\" and\n r[\"_field\"] == \"rssi\"\n )\n |> map(fn: (r) => ({\n r with\n _field: \"rssi\"\n })\n )\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"rssi\")",
|
|
|
|
"refId": "A",
|
|
|
|
"resultFormat": "time_series",
|
|
|
|
"select": [
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"params": [
|
|
|
|
"value"
|
|
|
|
],
|
|
|
|
"type": "field"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": [],
|
|
|
|
"type": "mean"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"tags": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Wifi RSSI",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:61",
|
|
|
|
"decimals": null,
|
|
|
|
"format": "percent",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": "100",
|
|
|
|
"min": "0",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:62",
|
|
|
|
"format": "voltamp",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"refresh": "1m",
|
|
|
|
"schemaVersion": 27,
|
|
|
|
"style": "dark",
|
2021-05-15 16:38:12 +00:00
|
|
|
"tags": [
|
|
|
|
"bw",
|
|
|
|
"hardware"
|
|
|
|
],
|
2021-05-15 06:52:37 +00:00
|
|
|
"templating": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"allValue": null,
|
|
|
|
"current": {
|
|
|
|
"selected": true,
|
|
|
|
"text": "switch_kueche_kaffeemaschine",
|
|
|
|
"value": "switch_kueche_kaffeemaschine"
|
|
|
|
},
|
|
|
|
"datasource": null,
|
|
|
|
"definition": "import \"influxdata/influxdb/schema\"\n\nschema.measurementTagValues(\n bucket: \"telegraf\",\n measurement: \"tasmota\",\n tag: \"device\"\n)",
|
|
|
|
"description": null,
|
|
|
|
"error": null,
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": false,
|
|
|
|
"label": "Tasmota Device",
|
|
|
|
"multi": false,
|
|
|
|
"name": "tasm_dev",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"selected": true,
|
|
|
|
"text": "switch_kueche_kaffeemaschine",
|
|
|
|
"value": "switch_kueche_kaffeemaschine"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"selected": false,
|
|
|
|
"text": "switch_wohnzimmer_ambilight",
|
|
|
|
"value": "switch_wohnzimmer_ambilight"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"selected": false,
|
|
|
|
"text": "switch_wohnzimmer_stehlampe",
|
|
|
|
"value": "switch_wohnzimmer_stehlampe"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"query": "import \"influxdata/influxdb/schema\"\n\nschema.measurementTagValues(\n bucket: \"telegraf\",\n measurement: \"tasmota\",\n tag: \"device\"\n)",
|
|
|
|
"refresh": 0,
|
|
|
|
"regex": "",
|
|
|
|
"skipUrlSync": false,
|
|
|
|
"sort": 0,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"time": {
|
|
|
|
"from": "now-24h",
|
|
|
|
"to": "now"
|
|
|
|
},
|
|
|
|
"timepicker": {},
|
|
|
|
"timezone": "",
|
|
|
|
"title": "Tasmota",
|
|
|
|
"uid": "1nX9M_jGk",
|
|
|
|
"version": 1
|
|
|
|
}
|