Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "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": 16,
- "links": [],
- "liveNow": false,
- "panels": [
- {
- "datasource": {
- "type": "mysql",
- "uid": "NmGUN4Q7z"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "fillOpacity": 80,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineWidth": 1,
- "scaleDistribution": {
- "type": "linear"
- },
- "thresholdsStyle": {
- "mode": "line"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 800
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "options": {
- "barRadius": 0,
- "barWidth": 0.97,
- "fullHighlight": false,
- "groupWidth": 0.7,
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
- },
- "orientation": "auto",
- "showValue": "auto",
- "stacking": "none",
- "tooltip": {
- "mode": "single",
- "sort": "none"
- },
- "xTickLabelRotation": 0,
- "xTickLabelSpacing": 0
- },
- "pluginVersion": "10.1.1",
- "targets": [
- {
- "dataset": "mysql",
- "datasource": {
- "type": "mysql",
- "uid": "NmGUN4Q7z"
- },
- "editorMode": "code",
- "format": "table",
- "rawQuery": true,
- "rawSql": "SELECT\n UNIX_TIMESTAMP(DATE(log_date)) AS \"time\",\n MAX(pv_vpv1) as string1, MAX(pv_vpv2) as string2\nFROM pv_inverter_record\nWHERE\n $__timeFilter(log_date)\nGROUP BY time\nORDER BY time",
- "refId": "A",
- "sql": {
- "columns": [
- {
- "parameters": [],
- "type": "function"
- }
- ],
- "groupBy": [
- {
- "property": {
- "type": "string"
- },
- "type": "groupBy"
- }
- ],
- "limit": 50
- }
- }
- ],
- "title": "Max PV Strings Voltage",
- "type": "barchart"
- },
- {
- "datasource": {
- "type": "mysql",
- "uid": "NmGUN4Q7z"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 16,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineStyle": {
- "fill": "solid"
- },
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "normal"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 800
- }
- ]
- },
- "unit": "watt"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 0
- },
- "id": 3,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "pluginVersion": "10.1.1",
- "targets": [
- {
- "dataset": "mysql",
- "datasource": {
- "type": "mysql",
- "uid": "NmGUN4Q7z"
- },
- "editorMode": "code",
- "format": "table",
- "rawQuery": true,
- "rawSql": "SELECT\n UNIX_TIMESTAMP(FLOOR(log_date/60)*60) AS \"time\",\n pv_inverter_id,\n pv_ppv1 as string1, pv_ppv2 as string2\nFROM pv_inverter_record\nWHERE\n $__timeFilter(log_date)\n",
- "refId": "A",
- "sql": {
- "columns": [
- {
- "parameters": [],
- "type": "function"
- }
- ],
- "groupBy": [
- {
- "property": {
- "type": "string"
- },
- "type": "groupBy"
- }
- ],
- "limit": 50
- }
- }
- ],
- "title": "PV Power By String",
- "transformations": [
- {
- "id": "partitionByValues",
- "options": {
- "fields": [
- "pv_inverter_id"
- ]
- }
- },
- {
- "id": "renameByRegex",
- "options": {
- "regex": "string(.*) (.*)",
- "renamePattern": "Inverter $2 String $1"
- }
- }
- ],
- "type": "timeseries"
- }
- ],
- "refresh": "10s",
- "schemaVersion": 38,
- "tags": [],
- "templating": {
- "list": []
- },
- "time": {
- "from": "now-2d",
- "to": "now"
- },
- "timepicker": {},
- "timezone": "",
- "title": "PV Power Plant - Misc Stats",
- "uid": "bba1b7e0-fe36-4357-8120-4b350ad67ac5",
- "version": 18,
- "weekStart": ""
- }
Advertisement
Add Comment
Please, Sign In to add comment