{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 10, "links": [], "liveNow": true, "panels": [ { "datasource": { "type": "prometheus", "uid": "bezqqznn81wqof" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "#EAB839", "value": 1000 }, { "color": "red", "value": 2000 } ] }, "unit": "watt" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 0, "y": 0 }, "id": 3, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.3.3", "targets": [ { "editorMode": "code", "expr": "avg_over_time(octopus_electricity_demand_watts{}[30m])", "legendFormat": "__auto", "range": true, "refId": "A" } ], "timeFrom": "30m", "title": "Average (30 min)", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "bezqqznn81wqof" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "#EAB839", "value": 1000 }, { "color": "red", "value": 2000 } ] }, "unit": "watt" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 6, "y": 0 }, "id": 6, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.3.3", "targets": [ { "editorMode": "code", "expr": "avg_over_time(octopus_electricity_demand_watts{}[6h])", "legendFormat": "__auto", "range": true, "refId": "A" } ], "timeFrom": "6h", "title": "Average (6 hours)", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "bezqqznn81wqof" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "#EAB839", "value": 1000 }, { "color": "red", "value": 2000 } ] }, "unit": "watt" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 12, "y": 0 }, "id": 4, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.3.3", "targets": [ { "editorMode": "code", "expr": "avg_over_time(octopus_electricity_demand_watts{}[24h])", "legendFormat": "__auto", "range": true, "refId": "A" } ], "timeFrom": "1d", "title": "Average (1 day)", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "bezqqznn81wqof" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "#EAB839", "value": 1000 }, { "color": "red", "value": 2000 } ] }, "unit": "watt" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 18, "y": 0 }, "id": 5, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.3.3", "targets": [ { "editorMode": "code", "expr": "avg_over_time(octopus_electricity_demand_watts{}[7d])", "legendFormat": "__auto", "range": true, "refId": "A" } ], "timeFrom": "7d", "title": "Average (7 days)", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "bezqqznn81wqof" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "axisSoftMin": 0, "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 18, "x": 0, "y": 6 }, "id": 1, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "12.3.3", "targets": [ { "datasource": { "type": "prometheus", "uid": "bezqqznn81wqof" }, "editorMode": "builder", "expr": "octopus_electricity_demand_watts", "legendFormat": "Watts", "range": true, "refId": "A" } ], "title": "Wattage", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "bezqqznn81wqof" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "max": 5000, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "yellow", "value": 1000 }, { "color": "red", "value": 2000 } ] }, "unit": "watt" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 18, "y": 6 }, "id": 2, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.3.3", "targets": [ { "editorMode": "builder", "exemplar": false, "expr": "octopus_electricity_demand_watts", "instant": true, "legendFormat": "__auto", "range": false, "refId": "A" } ], "title": "Current Watts", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "bezqqznn81wqof" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "currencyGBP" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 0, "y": 13 }, "id": 7, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.3.3", "targets": [ { "editorMode": "code", "expr": "sum_over_time((octopus_electricity_consumption_kwh * on() octopus_electricity_unit_rate_pence)[$__range:30m]) / 100", "legendFormat": "__auto", "range": true, "refId": "A" } ], "timeFrom": "1h", "title": "Price", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "bezqqznn81wqof" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "currencyGBP" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 6, "y": 13 }, "id": 8, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.3.3", "targets": [ { "editorMode": "code", "expr": "sum_over_time((octopus_electricity_consumption_kwh * on() octopus_electricity_unit_rate_pence)[$__range:30m]) / 100", "legendFormat": "__auto", "range": true, "refId": "A" } ], "timeFrom": "1d", "title": "Price", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "bezqqznn81wqof" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "currencyGBP" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 12, "y": 13 }, "id": 9, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.3.3", "targets": [ { "editorMode": "code", "expr": "sum_over_time((octopus_electricity_consumption_kwh * on() octopus_electricity_unit_rate_pence)[$__range:30m]) / 100", "legendFormat": "__auto", "range": true, "refId": "A" } ], "timeFrom": "1w", "title": "Price", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "bezqqznn81wqof" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "currencyGBP" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 18, "y": 13 }, "id": 10, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.3.3", "targets": [ { "editorMode": "code", "expr": "sum_over_time((octopus_electricity_consumption_kwh * on() octopus_electricity_unit_rate_pence)[$__range:30m]) / 100", "legendFormat": "__auto", "range": true, "refId": "A" } ], "timeFrom": "30d", "title": "Price", "type": "stat" } ], "preload": false, "refresh": "1m", "schemaVersion": 42, "tags": [], "templating": { "list": [] }, "time": { "from": "now-24h", "to": "now" }, "timepicker": {}, "timezone": "browser", "title": "Energy", "uid": "5101a7c4-e5cd-4178-8acf-320588a7a25e", "version": 5 }