Created
October 13, 2020 07:45
-
-
Save suprememoocow/fb1ac77af638a98cbf7224112c5a6e11 to your computer and use it in GitHub Desktop.
Dashboard for the Victron Exporter for Prometheus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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": 1, | |
"links": [], | |
"panels": [ | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"custom": {}, | |
"displayName": "Grid", | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "red", | |
"value": null | |
} | |
] | |
}, | |
"unit": "watt" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 4, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 9, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "vertical", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
} | |
}, | |
"pluginVersion": "7.0.4", | |
"targets": [ | |
{ | |
"expr": "victron_ac_power_watts{component_id=\"30\",component_type=\"grid\",job=\"victron-exporter\"}", | |
"instant": false, | |
"interval": "", | |
"legendFormat": "Power From Grid", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "", | |
"transparent": true, | |
"type": "stat" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"custom": {}, | |
"displayName": "Consumption", | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "orange", | |
"value": null | |
} | |
] | |
}, | |
"unit": "watt" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 8, | |
"x": 4, | |
"y": 0 | |
}, | |
"id": 7, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "vertical", | |
"reduceOptions": { | |
"calcs": [ | |
"last" | |
], | |
"fields": "", | |
"values": false | |
} | |
}, | |
"pluginVersion": "7.0.4", | |
"targets": [ | |
{ | |
"expr": "sum(victron_ac_output_power_watts{component_id=\"257\",component_type=\"vebus\"}\nor \nvictron_ac_consumption_on_input_phase_power_watts{component_id=\"0\",component_type=\"system\",phase=\"1\"})", | |
"instant": true, | |
"interval": "", | |
"legendFormat": "Total Consumption", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "", | |
"transparent": true, | |
"type": "stat" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"custom": {}, | |
"displayName": "Grid", | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "dark-blue", | |
"value": null | |
} | |
] | |
}, | |
"unit": "percent" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 4, | |
"x": 12, | |
"y": 0 | |
}, | |
"id": 10, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "vertical", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
} | |
}, | |
"pluginVersion": "7.0.4", | |
"targets": [ | |
{ | |
"expr": "avg(victron_dc_battery_state_of_charge)", | |
"instant": false, | |
"interval": "", | |
"legendFormat": "Battery Charge", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "", | |
"transparent": true, | |
"type": "stat" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"custom": {}, | |
"displayName": "Solar Yield", | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(0, 0, 0)", | |
"value": null | |
}, | |
{ | |
"color": "dark-blue", | |
"value": 100 | |
}, | |
{ | |
"color": "super-light-yellow", | |
"value": 500 | |
}, | |
{ | |
"color": "light-yellow", | |
"value": 1000 | |
}, | |
{ | |
"color": "semi-dark-yellow", | |
"value": 2000 | |
}, | |
{ | |
"color": "dark-yellow", | |
"value": 3000 | |
}, | |
{ | |
"color": "yellow", | |
"value": 4000 | |
} | |
] | |
}, | |
"unit": "watt" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 4, | |
"x": 16, | |
"y": 0 | |
}, | |
"id": 8, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "vertical", | |
"reduceOptions": { | |
"calcs": [ | |
"last" | |
], | |
"fields": "", | |
"values": false | |
} | |
}, | |
"pluginVersion": "7.0.4", | |
"targets": [ | |
{ | |
"expr": "sum(victron_yield_power_watts)", | |
"interval": "", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "", | |
"transparent": true, | |
"type": "stat" | |
}, | |
{ | |
"datasource": "Sun and Moon", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {}, | |
"displayName": "Sun Altitude", | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(0, 0, 0)", | |
"value": null | |
}, | |
{ | |
"color": "yellow", | |
"value": 0 | |
} | |
] | |
}, | |
"unit": "degree" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 4, | |
"x": 20, | |
"y": 0 | |
}, | |
"id": 14, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
} | |
}, | |
"pluginVersion": "7.0.4", | |
"targets": [ | |
{ | |
"refId": "A", | |
"target": "sun_altitude" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "", | |
"type": "stat" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"custom": {}, | |
"displayName": "Grid", | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
} | |
] | |
}, | |
"unit": "watt" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 4, | |
"x": 4, | |
"y": 2 | |
}, | |
"id": 11, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "vertical", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
} | |
}, | |
"pluginVersion": "7.0.4", | |
"targets": [ | |
{ | |
"expr": "victron_ac_consumption_on_input_phase_power_watts{component_id=\"0\",component_type=\"system\",phase=\"1\"}\t", | |
"instant": false, | |
"interval": "", | |
"legendFormat": "AC Loads", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "", | |
"transparent": true, | |
"type": "stat" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"custom": {}, | |
"displayName": "Grid", | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "#157894", | |
"value": null | |
} | |
] | |
}, | |
"unit": "watt" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 4, | |
"x": 8, | |
"y": 2 | |
}, | |
"id": 12, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "vertical", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
} | |
}, | |
"pluginVersion": "7.0.4", | |
"targets": [ | |
{ | |
"expr": "victron_ac_output_power_watts{component_id=\"257\",component_type=\"vebus\"}", | |
"instant": false, | |
"interval": "", | |
"legendFormat": "Critical Loads", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "", | |
"transparent": true, | |
"type": "stat" | |
}, | |
{ | |
"aliasColors": { | |
"Phase 1": "dark-blue", | |
"{component_id=\"0\", component_type=\"system\", instance=\"localhost:9226\", job=\"victron-exporter\", phase=\"1\"}": "dark-blue" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": null, | |
"description": "", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {} | |
}, | |
"overrides": [] | |
}, | |
"fill": 0, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 14, | |
"w": 24, | |
"x": 0, | |
"y": 5 | |
}, | |
"hiddenSeries": false, | |
"id": 5, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 0.5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "Solar Yield", | |
"color": "#CC9D00", | |
"fill": 4, | |
"linewidth": 1, | |
"zindex": -3 | |
}, | |
{ | |
"alias": "Battery Charge Max", | |
"color": "#1F60C4", | |
"fillBelowTo": "Battery Charge Min", | |
"hideTooltip": true, | |
"legend": false, | |
"lines": false, | |
"yaxis": 2, | |
"zindex": 3 | |
}, | |
{ | |
"alias": "Battery Charge Min", | |
"hideTooltip": true, | |
"legend": false, | |
"yaxis": 2 | |
}, | |
{ | |
"alias": "Battery Charge", | |
"color": "#1250B0", | |
"fill": 0, | |
"yaxis": 2 | |
}, | |
{ | |
"alias": "Battery Charge Min", | |
"hideTooltip": true, | |
"legend": false, | |
"lines": false | |
}, | |
{ | |
"alias": "Critical Loads", | |
"color": "#157894", | |
"fill": 6, | |
"linewidth": 0, | |
"stack": "B" | |
}, | |
{ | |
"alias": "AC Loads", | |
"color": "#56A64B", | |
"fill": 4, | |
"linewidth": 0, | |
"stack": "B" | |
}, | |
{ | |
"alias": "Total Consumption", | |
"color": "rgba(0, 0, 0, 0.52)", | |
"linewidth": 1 | |
}, | |
{ | |
"alias": "Power From Grid", | |
"color": "rgba(224, 47, 68, 0.75)", | |
"dashLength": 2, | |
"dashes": false, | |
"linewidth": 1, | |
"spaceLength": 2 | |
}, | |
{ | |
"alias": "Efergy Flat", | |
"color": "#19730E", | |
"dashLength": 2, | |
"dashes": true, | |
"linewidth": 1, | |
"spaceLength": 1 | |
}, | |
{ | |
"alias": "Efergy Kitchen", | |
"color": "#C4162A", | |
"dashLength": 2, | |
"dashes": true, | |
"linewidth": 1, | |
"spaceLength": 1 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "avg_over_time(victron_ac_output_power_watts{component_id=\"257\",component_type=\"vebus\"}[1m])\n", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "Critical Loads", | |
"refId": "A" | |
}, | |
{ | |
"expr": "avg_over_time(victron_ac_consumption_on_input_phase_power_watts{component_id=\"0\",component_type=\"system\",phase=\"1\"}[1m])", | |
"interval": "", | |
"legendFormat": "AC Loads", | |
"refId": "F" | |
}, | |
{ | |
"expr": "max(max_over_time(victron_dc_battery_state_of_charge[5m]))", | |
"interval": "", | |
"legendFormat": "Battery Charge Max", | |
"refId": "C" | |
}, | |
{ | |
"expr": "sum(avg_over_time(victron_yield_power_watts[5m]) > 0)", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "Solar Yield", | |
"refId": "B" | |
}, | |
{ | |
"expr": "min(min_over_time(victron_dc_battery_state_of_charge[5m]))", | |
"interval": "", | |
"legendFormat": "Battery Charge Min", | |
"refId": "D" | |
}, | |
{ | |
"expr": "avg(avg_over_time(victron_dc_battery_state_of_charge[5m]))", | |
"interval": "", | |
"legendFormat": "Battery Charge", | |
"refId": "E" | |
}, | |
{ | |
"expr": "sum(\navg_over_time(victron_ac_output_power_watts{component_id=\"257\",component_type=\"vebus\"}[1m])\nor\navg_over_time(victron_ac_consumption_on_input_phase_power_watts{component_id=\"0\",component_type=\"system\",phase=\"1\"}[1m])\n)", | |
"hide": false, | |
"interval": "", | |
"legendFormat": "Total Consumption", | |
"refId": "G" | |
}, | |
{ | |
"expr": "avg_over_time(victron_ac_power_watts{component_id=\"30\",component_type=\"grid\",job=\"victron-exporter\"}[1m]) >= 0", | |
"interval": "", | |
"legendFormat": "Power From Grid", | |
"refId": "H" | |
}, | |
{ | |
"expr": "avg_over_time(engage_efergy_current_power_watts{sid=\"735970\"}[1m])", | |
"interval": "", | |
"legendFormat": "Efergy Kitchen", | |
"refId": "I" | |
}, | |
{ | |
"expr": "avg_over_time(engage_efergy_current_power_watts{sid=\"817569\"}[1m])", | |
"interval": "", | |
"legendFormat": "Efergy Flat", | |
"refId": "J" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "House Power Consumption", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "watt", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"decimals": null, | |
"format": "percent", | |
"label": null, | |
"logBase": 1, | |
"max": "100", | |
"min": "0", | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
} | |
], | |
"refresh": "10s", | |
"schemaVersion": 25, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [] | |
}, | |
"time": { | |
"from": "now-6h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
] | |
}, | |
"timezone": "", | |
"title": "Stoneybrook", | |
"uid": "y0qABEiGz", | |
"version": 20 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment