Update grafana dashboard
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 201 KiB |
@@ -19,21 +19,21 @@
|
|||||||
"name": "VAR_GAS_UNIT",
|
"name": "VAR_GAS_UNIT",
|
||||||
"type": "constant",
|
"type": "constant",
|
||||||
"label": "gas_unit",
|
"label": "gas_unit",
|
||||||
"value": "0.0277",
|
"value": "0.0290",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "VAR_ELECTRICITY_STANDING",
|
"name": "VAR_ELECTRICITY_STANDING",
|
||||||
"type": "constant",
|
"type": "constant",
|
||||||
"label": "electricity_standing",
|
"label": "electricity_standing",
|
||||||
"value": "0.1932",
|
"value": "0.2163",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "VAR_ELECTRICITY_UNIT",
|
"name": "VAR_ELECTRICITY_UNIT",
|
||||||
"type": "constant",
|
"type": "constant",
|
||||||
"label": "electricity_unit",
|
"label": "electricity_unit",
|
||||||
"value": "0.1579",
|
"value": "0.1593",
|
||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
"gnetId": null,
|
"gnetId": null,
|
||||||
"graphTooltip": 0,
|
"graphTooltip": 0,
|
||||||
"id": null,
|
"id": null,
|
||||||
"iteration": 1599997887969,
|
"iteration": 1601071965643,
|
||||||
"links": [],
|
"links": [],
|
||||||
"panels": [
|
"panels": [
|
||||||
{
|
{
|
||||||
@@ -102,6 +102,7 @@
|
|||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {},
|
"custom": {},
|
||||||
|
"decimals": 2,
|
||||||
"mappings": [],
|
"mappings": [],
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
"mode": "absolute",
|
"mode": "absolute",
|
||||||
@@ -130,7 +131,7 @@
|
|||||||
"orientation": "auto",
|
"orientation": "auto",
|
||||||
"reduceOptions": {
|
"reduceOptions": {
|
||||||
"calcs": [
|
"calcs": [
|
||||||
"mean"
|
"lastNotNull"
|
||||||
],
|
],
|
||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
@@ -141,6 +142,7 @@
|
|||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "electricity_meter_reading",
|
"expr": "electricity_meter_reading",
|
||||||
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "",
|
"legendFormat": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
@@ -156,6 +158,7 @@
|
|||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {},
|
"custom": {},
|
||||||
|
"decimals": 2,
|
||||||
"mappings": [],
|
"mappings": [],
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
"mode": "absolute",
|
"mode": "absolute",
|
||||||
@@ -184,7 +187,7 @@
|
|||||||
"orientation": "auto",
|
"orientation": "auto",
|
||||||
"reduceOptions": {
|
"reduceOptions": {
|
||||||
"calcs": [
|
"calcs": [
|
||||||
"mean"
|
"lastNotNull"
|
||||||
],
|
],
|
||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
@@ -239,7 +242,7 @@
|
|||||||
"orientation": "auto",
|
"orientation": "auto",
|
||||||
"reduceOptions": {
|
"reduceOptions": {
|
||||||
"calcs": [
|
"calcs": [
|
||||||
"mean"
|
"lastNotNull"
|
||||||
],
|
],
|
||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
@@ -250,7 +253,7 @@
|
|||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "(gas_meter_reading) * 10.96497333",
|
"expr": "(gas_meter_reading) * 10.96497333",
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "",
|
"legendFormat": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
@@ -305,7 +308,7 @@
|
|||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 2,
|
"h": 6,
|
||||||
"w": 6,
|
"w": 6,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 5
|
"y": 5
|
||||||
@@ -321,7 +324,7 @@
|
|||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"reduceOptions": {
|
"reduceOptions": {
|
||||||
"calcs": [
|
"calcs": [
|
||||||
"sum"
|
"lastNotNull"
|
||||||
],
|
],
|
||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
@@ -346,7 +349,7 @@
|
|||||||
"type": "fill"
|
"type": "fill"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "Now",
|
"legendFormat": "Now",
|
||||||
"measurement": "electricity",
|
"measurement": "electricity",
|
||||||
@@ -371,9 +374,27 @@
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
"tags": []
|
"tags": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"expr": "range_avg(electricity_draw)",
|
||||||
|
"interval": "",
|
||||||
|
"legendFormat": "Average",
|
||||||
|
"refId": "D"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"expr": "range_min(electricity_draw)",
|
||||||
|
"interval": "",
|
||||||
|
"legendFormat": "Min",
|
||||||
|
"refId": "B"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"expr": "range_max(electricity_draw)",
|
||||||
|
"interval": "",
|
||||||
|
"legendFormat": "Max",
|
||||||
|
"refId": "C"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"title": "Current Draw",
|
"title": "Load (Selected Period)",
|
||||||
"type": "stat"
|
"type": "stat"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -407,7 +428,7 @@
|
|||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 4,
|
"h": 6,
|
||||||
"w": 6,
|
"w": 6,
|
||||||
"x": 6,
|
"x": 6,
|
||||||
"y": 5
|
"y": 5
|
||||||
@@ -423,7 +444,7 @@
|
|||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"reduceOptions": {
|
"reduceOptions": {
|
||||||
"calcs": [
|
"calcs": [
|
||||||
"sum"
|
"lastNotNull"
|
||||||
],
|
],
|
||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
@@ -432,6 +453,13 @@
|
|||||||
},
|
},
|
||||||
"pluginVersion": "7.1.5",
|
"pluginVersion": "7.1.5",
|
||||||
"targets": [
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "range_avg(electricity_draw) * $__range_s / 3600",
|
||||||
|
"instant": false,
|
||||||
|
"interval": "",
|
||||||
|
"legendFormat": "Selected",
|
||||||
|
"refId": "D"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"expr": "electricity_consumption_daily",
|
"expr": "electricity_consumption_daily",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
@@ -448,7 +476,7 @@
|
|||||||
"type": "fill"
|
"type": "fill"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "Today",
|
"legendFormat": "Today",
|
||||||
"measurement": "electricity",
|
"measurement": "electricity",
|
||||||
@@ -476,14 +504,14 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "electricity_consumption_weekly",
|
"expr": "electricity_consumption_weekly",
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "This week",
|
"legendFormat": "This week",
|
||||||
"refId": "B"
|
"refId": "B"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "electricity_consumption_monthly",
|
"expr": "electricity_consumption_monthly",
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "This month",
|
"legendFormat": "This month",
|
||||||
"refId": "C"
|
"refId": "C"
|
||||||
@@ -523,7 +551,7 @@
|
|||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 4,
|
"h": 6,
|
||||||
"w": 6,
|
"w": 6,
|
||||||
"x": 12,
|
"x": 12,
|
||||||
"y": 5
|
"y": 5
|
||||||
@@ -539,15 +567,21 @@
|
|||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"reduceOptions": {
|
"reduceOptions": {
|
||||||
"calcs": [
|
"calcs": [
|
||||||
"sum"
|
"lastNotNull"
|
||||||
],
|
],
|
||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "auto"
|
"textMode": "value_and_name"
|
||||||
},
|
},
|
||||||
"pluginVersion": "7.1.5",
|
"pluginVersion": "7.1.5",
|
||||||
"targets": [
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "(range_avg(electricity_draw) * $__range_s / 3600) * $electricity_unit",
|
||||||
|
"interval": "",
|
||||||
|
"legendFormat": "Selected",
|
||||||
|
"refId": "D"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"expr": "electricity_consumption_daily * $electricity_unit",
|
"expr": "electricity_consumption_daily * $electricity_unit",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
@@ -564,7 +598,7 @@
|
|||||||
"type": "fill"
|
"type": "fill"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "Today",
|
"legendFormat": "Today",
|
||||||
"measurement": "electricity",
|
"measurement": "electricity",
|
||||||
@@ -592,14 +626,14 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "electricity_consumption_weekly * $electricity_unit",
|
"expr": "electricity_consumption_weekly * $electricity_unit",
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "This week",
|
"legendFormat": "This week",
|
||||||
"refId": "B"
|
"refId": "B"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "electricity_consumption_monthly * $electricity_unit",
|
"expr": "electricity_consumption_monthly * $electricity_unit",
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "This month",
|
"legendFormat": "This month",
|
||||||
"refId": "C"
|
"refId": "C"
|
||||||
@@ -611,7 +645,7 @@
|
|||||||
{
|
{
|
||||||
"cacheTimeout": null,
|
"cacheTimeout": null,
|
||||||
"datasource": "${DS_VICTORIAMETRICS}",
|
"datasource": "${DS_VICTORIAMETRICS}",
|
||||||
"description": "",
|
"description": "Including standing charges",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {},
|
"custom": {},
|
||||||
@@ -640,7 +674,7 @@
|
|||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 4,
|
"h": 6,
|
||||||
"w": 6,
|
"w": 6,
|
||||||
"x": 18,
|
"x": 18,
|
||||||
"y": 5
|
"y": 5
|
||||||
@@ -656,7 +690,7 @@
|
|||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"reduceOptions": {
|
"reduceOptions": {
|
||||||
"calcs": [
|
"calcs": [
|
||||||
"sum"
|
"lastNotNull"
|
||||||
],
|
],
|
||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
@@ -665,6 +699,12 @@
|
|||||||
},
|
},
|
||||||
"pluginVersion": "7.1.5",
|
"pluginVersion": "7.1.5",
|
||||||
"targets": [
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "(range_avg(electricity_draw) * $__range_s / 3600) * $electricity_unit + ($electricity_standing * $__range_s / 86400)",
|
||||||
|
"interval": "",
|
||||||
|
"legendFormat": "Selected",
|
||||||
|
"refId": "D"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"expr": "electricity_consumption_daily * $electricity_unit + $electricity_standing",
|
"expr": "electricity_consumption_daily * $electricity_unit + $electricity_standing",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
@@ -681,7 +721,7 @@
|
|||||||
"type": "fill"
|
"type": "fill"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "Today",
|
"legendFormat": "Today",
|
||||||
"measurement": "electricity",
|
"measurement": "electricity",
|
||||||
@@ -709,14 +749,14 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "electricity_consumption_weekly * $electricity_unit + (7*$electricity_standing)",
|
"expr": "electricity_consumption_weekly * $electricity_unit + (7*$electricity_standing)",
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "This week",
|
"legendFormat": "This week",
|
||||||
"refId": "B"
|
"refId": "B"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "electricity_consumption_monthly * $electricity_unit + (30*$electricity_standing)",
|
"expr": "electricity_consumption_monthly * $electricity_unit + (30*$electricity_standing)",
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "This month",
|
"legendFormat": "This month",
|
||||||
"refId": "C"
|
"refId": "C"
|
||||||
@@ -743,7 +783,7 @@
|
|||||||
"h": 9,
|
"h": 9,
|
||||||
"w": 24,
|
"w": 24,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 9
|
"y": 11
|
||||||
},
|
},
|
||||||
"hiddenSeries": false,
|
"hiddenSeries": false,
|
||||||
"id": 2,
|
"id": 2,
|
||||||
@@ -895,7 +935,7 @@
|
|||||||
{
|
{
|
||||||
"decimals": 2,
|
"decimals": 2,
|
||||||
"format": "currencyGBP",
|
"format": "currencyGBP",
|
||||||
"label": "Cost",
|
"label": "Cost per Hour",
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
"max": null,
|
"max": null,
|
||||||
"min": "0",
|
"min": "0",
|
||||||
@@ -914,7 +954,7 @@
|
|||||||
"h": 1,
|
"h": 1,
|
||||||
"w": 24,
|
"w": 24,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 18
|
"y": 20
|
||||||
},
|
},
|
||||||
"id": 23,
|
"id": 23,
|
||||||
"panels": [],
|
"panels": [],
|
||||||
@@ -927,6 +967,7 @@
|
|||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {},
|
"custom": {},
|
||||||
|
"decimals": 2,
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@@ -943,10 +984,6 @@
|
|||||||
{
|
{
|
||||||
"color": "green",
|
"color": "green",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
|
||||||
{
|
|
||||||
"color": "red",
|
|
||||||
"value": 80
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -955,10 +992,10 @@
|
|||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 4,
|
"h": 7,
|
||||||
"w": 6,
|
"w": 6,
|
||||||
"x": 6,
|
"x": 6,
|
||||||
"y": 19
|
"y": 21
|
||||||
},
|
},
|
||||||
"id": 7,
|
"id": 7,
|
||||||
"interval": null,
|
"interval": null,
|
||||||
@@ -971,7 +1008,7 @@
|
|||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"reduceOptions": {
|
"reduceOptions": {
|
||||||
"calcs": [
|
"calcs": [
|
||||||
"sum"
|
"lastNotNull"
|
||||||
],
|
],
|
||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
@@ -980,6 +1017,13 @@
|
|||||||
},
|
},
|
||||||
"pluginVersion": "7.1.5",
|
"pluginVersion": "7.1.5",
|
||||||
"targets": [
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "(range_max(gas_meter_reading) - range_min(gas_meter_reading)) * 10.96497333",
|
||||||
|
"instant": false,
|
||||||
|
"interval": "",
|
||||||
|
"legendFormat": "Selected",
|
||||||
|
"refId": "D"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"expr": "gas_consumption_daily",
|
"expr": "gas_consumption_daily",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
@@ -996,7 +1040,7 @@
|
|||||||
"type": "fill"
|
"type": "fill"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "30m",
|
"interval": "30m",
|
||||||
"legendFormat": "Today",
|
"legendFormat": "Today",
|
||||||
"measurement": "gas",
|
"measurement": "gas",
|
||||||
@@ -1024,20 +1068,20 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "gas_consumption_weekly",
|
"expr": "gas_consumption_weekly",
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "This Week",
|
"legendFormat": "This Week",
|
||||||
"refId": "B"
|
"refId": "B"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "gas_consumption_monthly",
|
"expr": "gas_consumption_monthly",
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "This Month",
|
"legendFormat": "This Month",
|
||||||
"refId": "C"
|
"refId": "C"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"title": "Used (Energy)",
|
"title": "Usage (Energy)",
|
||||||
"type": "stat"
|
"type": "stat"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1063,10 +1107,10 @@
|
|||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 4,
|
"h": 7,
|
||||||
"w": 6,
|
"w": 6,
|
||||||
"x": 12,
|
"x": 12,
|
||||||
"y": 19
|
"y": 21
|
||||||
},
|
},
|
||||||
"id": 28,
|
"id": 28,
|
||||||
"interval": null,
|
"interval": null,
|
||||||
@@ -1079,7 +1123,7 @@
|
|||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"reduceOptions": {
|
"reduceOptions": {
|
||||||
"calcs": [
|
"calcs": [
|
||||||
"sum"
|
"lastNotNull"
|
||||||
],
|
],
|
||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
@@ -1088,6 +1132,12 @@
|
|||||||
},
|
},
|
||||||
"pluginVersion": "7.1.5",
|
"pluginVersion": "7.1.5",
|
||||||
"targets": [
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "(range_max(gas_meter_reading) - range_min(gas_meter_reading)) * 10.96497333 * $gas_unit",
|
||||||
|
"interval": "",
|
||||||
|
"legendFormat": "Selected",
|
||||||
|
"refId": "D"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"expr": "(gas_consumption_daily) * $gas_unit",
|
"expr": "(gas_consumption_daily) * $gas_unit",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
@@ -1104,7 +1154,7 @@
|
|||||||
"type": "fill"
|
"type": "fill"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "Today",
|
"legendFormat": "Today",
|
||||||
"measurement": "gas",
|
"measurement": "gas",
|
||||||
@@ -1132,14 +1182,14 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "(gas_consumption_weekly) * $gas_unit",
|
"expr": "(gas_consumption_weekly) * $gas_unit",
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "This week",
|
"legendFormat": "This week",
|
||||||
"refId": "B"
|
"refId": "B"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "(gas_consumption_monthly) * 0.0277",
|
"expr": "(gas_consumption_monthly) * $gas_unit",
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "This month",
|
"legendFormat": "This month",
|
||||||
"refId": "C"
|
"refId": "C"
|
||||||
@@ -1151,6 +1201,7 @@
|
|||||||
{
|
{
|
||||||
"cacheTimeout": null,
|
"cacheTimeout": null,
|
||||||
"datasource": "${DS_VICTORIAMETRICS}",
|
"datasource": "${DS_VICTORIAMETRICS}",
|
||||||
|
"description": "Including standing charges",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {},
|
"custom": {},
|
||||||
@@ -1171,10 +1222,10 @@
|
|||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 4,
|
"h": 7,
|
||||||
"w": 6,
|
"w": 6,
|
||||||
"x": 18,
|
"x": 18,
|
||||||
"y": 19
|
"y": 21
|
||||||
},
|
},
|
||||||
"id": 31,
|
"id": 31,
|
||||||
"interval": null,
|
"interval": null,
|
||||||
@@ -1187,7 +1238,7 @@
|
|||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"reduceOptions": {
|
"reduceOptions": {
|
||||||
"calcs": [
|
"calcs": [
|
||||||
"sum"
|
"lastNotNull"
|
||||||
],
|
],
|
||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
@@ -1196,6 +1247,12 @@
|
|||||||
},
|
},
|
||||||
"pluginVersion": "7.1.5",
|
"pluginVersion": "7.1.5",
|
||||||
"targets": [
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "(range_max(gas_meter_reading) - range_min(gas_meter_reading)) * 10.96497333 * $gas_unit + ($gas_standing * $__range_s / 86400)",
|
||||||
|
"interval": "",
|
||||||
|
"legendFormat": "Selected",
|
||||||
|
"refId": "D"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"expr": "(gas_consumption_daily) * $gas_unit + $gas_standing",
|
"expr": "(gas_consumption_daily) * $gas_unit + $gas_standing",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
@@ -1212,7 +1269,7 @@
|
|||||||
"type": "fill"
|
"type": "fill"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "Today",
|
"legendFormat": "Today",
|
||||||
"measurement": "gas",
|
"measurement": "gas",
|
||||||
@@ -1240,7 +1297,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "(gas_consumption_weekly) * $gas_unit + (7*$gas_standing)",
|
"expr": "(gas_consumption_weekly) * $gas_unit + (7*$gas_standing)",
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "This week",
|
"legendFormat": "This week",
|
||||||
"refId": "B"
|
"refId": "B"
|
||||||
@@ -1248,13 +1305,13 @@
|
|||||||
{
|
{
|
||||||
"expr": "(gas_consumption_monthly) * $gas_unit + (30*$gas_standing)",
|
"expr": "(gas_consumption_monthly) * $gas_unit + (30*$gas_standing)",
|
||||||
"hide": false,
|
"hide": false,
|
||||||
"instant": true,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "This month",
|
"legendFormat": "This month",
|
||||||
"refId": "C"
|
"refId": "C"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"title": "Cost today",
|
"title": "Total Cost",
|
||||||
"type": "stat"
|
"type": "stat"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1289,7 +1346,7 @@
|
|||||||
"h": 9,
|
"h": 9,
|
||||||
"w": 24,
|
"w": 24,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 23
|
"y": 28
|
||||||
},
|
},
|
||||||
"hiddenSeries": false,
|
"hiddenSeries": false,
|
||||||
"id": 8,
|
"id": 8,
|
||||||
@@ -1326,7 +1383,7 @@
|
|||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"alias": "Usage",
|
"alias": "Usage",
|
||||||
"expr": "delta(sum(gas_consumption_daily))",
|
"expr": "increase(gas_consumption_daily)",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
@@ -1369,7 +1426,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"alias": "Cost",
|
"alias": "Cost",
|
||||||
"expr": "delta(sum(gas_consumption_daily)) * 0.0277",
|
"expr": "increase(gas_consumption_daily) * $gas_unit",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
@@ -1442,7 +1499,7 @@
|
|||||||
{
|
{
|
||||||
"decimals": 2,
|
"decimals": 2,
|
||||||
"format": "currencyGBP",
|
"format": "currencyGBP",
|
||||||
"label": "Cost",
|
"label": "Cost per Hour",
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
"max": null,
|
"max": null,
|
||||||
"min": "0",
|
"min": "0",
|
||||||
@@ -1455,7 +1512,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"refresh": false,
|
"refresh": "5m",
|
||||||
"schemaVersion": 26,
|
"schemaVersion": 26,
|
||||||
"style": "dark",
|
"style": "dark",
|
||||||
"tags": [],
|
"tags": [],
|
||||||
@@ -1593,5 +1650,5 @@
|
|||||||
"timezone": "",
|
"timezone": "",
|
||||||
"title": "Energy usage",
|
"title": "Energy usage",
|
||||||
"uid": "7Nqpoj-ik",
|
"uid": "7Nqpoj-ik",
|
||||||
"version": 13
|
"version": 20
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user