{ "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": 8, "iteration": 1665919520980, "links": [], "panels": [ { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "rgb(145, 75, 12)", "rgb(145, 75, 12)", "rgb(145, 75, 12)" ], "datasource": "MySQL", "decimals": 1, "description": "", "format": "volt", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 0, "y": 0 }, "id": 29, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "80%", "prefix": "", "prefixFontSize": "80%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select grid_voltage_r, uploadTime as `time`\nfrom solax.solax_local\nwhere uploadTime > now(3) - INTERVAL 2 MINUTE\norder by uploadTime desc\nlimit 1\n;\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": "0", "timeFrom": null, "timeShift": null, "title": "R-Grid", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "rgb(59, 59, 59)", "rgb(59, 59, 59)", "rgb(59, 59, 59)" ], "datasource": "MySQL", "decimals": 1, "description": "", "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 3, "y": 0 }, "id": 36, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "80%", "prefix": "", "prefixFontSize": "80%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select inverter_status, uploadTime as `time`\nfrom solax.solax_local\nwhere uploadTime > now(3) - INTERVAL 2 MINUTE\norder by uploadTime desc\nlimit 1\n;\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": "0", "timeFrom": null, "timeShift": null, "title": "Inverter Status", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "Waiting", "value": "0" }, { "op": "=", "text": "Checking", "value": "1" }, { "op": "=", "text": "Normal", "value": "2" }, { "op": "=", "text": "Fault", "value": "3" }, { "op": "=", "text": "Permanent Fault", "value": "4" }, { "op": "=", "text": "Update", "value": "5" }, { "op": "=", "text": "Off-grid waiting", "value": "6" }, { "op": "=", "text": "Off-grid", "value": "7" }, { "op": "=", "text": "Self testing", "value": "8" }, { "op": "=", "text": "Idle", "value": "9" }, { "op": "=", "text": "Standby", "value": "10" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": true, "colorPostfix": false, "colorPrefix": false, "colorValue": false, "colors": [ "#5794F2", "#E0B400", "#A352CC" ], "datasource": "MySQL", "decimals": 1, "description": "", "format": "kwatt", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 4, "w": 2, "x": 9, "y": 0 }, "id": 24, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "80%", "prefix": "", "prefixFontSize": "80%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select total_yield as self_use,uploadDate as `time`\nFROM solax.solax_daily\nWHERE $__timeFilter(uploadDate)\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": "0,0", "timeFrom": null, "timeShift": null, "title": "Total Daily Yield", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": true, "colorPostfix": false, "colorPrefix": false, "colorValue": false, "colors": [ "#5794F2", "#E0B400", "#E0B400" ], "datasource": "MySQL", "decimals": 1, "description": "", "format": "kwatt", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 11, "y": 0 }, "id": 23, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "80%", "prefix": "", "prefixFontSize": "80%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select (total_yield-feed_in) as self_use,uploadDate as `time`\nFROM solax.solax_daily\nWHERE $__timeFilter(uploadDate)\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": "0,0", "timeFrom": null, "timeShift": null, "title": "Self Use", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "datasource": "MySQL", "description": "", "gridPos": { "h": 6, "w": 3, "x": 15, "y": 0 }, "id": 38, "links": [], "options": { "fieldOptions": { "calcs": [ "lastNotNull" ], "defaults": { "decimals": 1, "mappings": [ { "id": 0, "op": "=", "text": "N/A", "type": 1, "value": "null" } ], "max": 100, "min": 0, "nullValueMode": "connected", "thresholds": [ { "color": "dark-red", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 41 }, { "color": "#299c46", "value": 75 } ], "unit": "percent" }, "override": {}, "values": false }, "orientation": "horizontal", "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "6.5.2", "targets": [ { "datasource": "MySQL", "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select battery_capacity as \"Available\" , uploadTime as `time`\nfrom solax.solax_local \norder by uploadTime desc\nlimit 1\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "timeFrom": null, "timeShift": null, "title": "Battery", "transparent": true, "type": "gauge" }, { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "#299c46", "rgb(189, 152, 0)", "#d44a3a" ], "datasource": "MySQL", "decimals": 1, "description": "", "format": "watt", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 20, "y": 0 }, "id": 34, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "100%", "prefix": "", "prefixFontSize": "100%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select dc_solar_power, uploadTime as `time`\nfrom solax.solax_local\nwhere uploadTime > now(3) - INTERVAL 2 MINUTE\norder by uploadTime desc\nlimit 1\n;\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": "-1,15000", "timeFrom": null, "timeShift": null, "title": "SOLAR PANELS", "transparent": true, "type": "singlestat", "valueFontSize": "100%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "#C4162A", "#C4162A", "#C4162A" ], "datasource": "MySQL", "decimals": 1, "description": "", "format": "watt", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 22, "y": 0 }, "id": 33, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "100%", "prefix": "", "prefixFontSize": "100%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select feed_in_power, uploadTime as `time`\nfrom solax.solax_local\nwhere uploadTime > now(3) - INTERVAL 2 MINUTE\norder by uploadTime desc\nlimit 1\n;\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": "0,1", "timeFrom": null, "timeShift": null, "title": "GRID", "transparent": true, "type": "singlestat", "valueFontSize": "100%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "#000000", "#000000", "#000000" ], "datasource": "MySQL", "decimals": 1, "description": "", "format": "volt", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 0, "y": 2 }, "id": 30, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "80%", "prefix": "", "prefixFontSize": "80%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select grid_voltage_s, uploadTime as `time`\nfrom solax.solax_local\nwhere uploadTime > now(3) - INTERVAL 2 MINUTE\norder by uploadTime desc\nlimit 1\n;\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": "49,50", "timeFrom": null, "timeShift": null, "title": "S-Grid", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "rgb(59, 59, 59)", "rgb(59, 59, 59)", "rgb(59, 59, 59)" ], "datasource": "MySQL", "decimals": 1, "description": "", "format": "s", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 3, "y": 2 }, "id": 39, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "80%", "prefix": "", "prefixFontSize": "80%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select time_count_down, uploadTime as `time`\nfrom solax.solax_local\nwhere uploadTime > now(3) - INTERVAL 2 MINUTE\norder by uploadTime desc\nlimit 1\n;\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": "0", "timeFrom": null, "timeShift": null, "title": "Count Down", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": true, "colorPostfix": false, "colorPrefix": false, "colorValue": false, "colors": [ "#d44a3a", "rgba(237, 129, 40, 0.89)", "#37872D" ], "datasource": "MySQL", "decimals": 1, "description": "", "format": "kwatt", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 11, "y": 2 }, "id": 21, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "80%", "prefix": "", "prefixFontSize": "80%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT \tfeed_in as feedinenergy, uploadDate as `time`\nFROM solax.solax_daily\nWHERE $__timeFilter(uploadDate)\n;", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": "0,0", "timeFrom": null, "timeShift": null, "title": "Daily FeedIn", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "#FF780A", "#FF780A", "#FF780A" ], "datasource": "MySQL", "decimals": 1, "description": "", "format": "watt", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 20, "y": 3 }, "id": 35, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "100%", "prefix": "", "prefixFontSize": "100%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select (inverter_ac_power-feed_in_power) as Consumption, uploadTime as `time`\nfrom solax.solax_local\nwhere uploadTime > now(3) - INTERVAL 2 MINUTE\norder by uploadTime desc\nlimit 1\n;\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": "-1,15000", "timeFrom": null, "timeShift": null, "title": "Consumption", "transparent": true, "type": "singlestat", "valueFontSize": "100%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "#1F60C4", "#1F60C4", "#1F60C4" ], "datasource": "MySQL", "decimals": 1, "description": "", "format": "watt", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 22, "y": 3 }, "id": 32, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "100%", "prefix": "", "prefixFontSize": "100%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select battery_power, uploadTime as `time`\nfrom solax.solax_local\nwhere uploadTime > now(3) - INTERVAL 2 MINUTE\norder by uploadTime desc\nlimit 1\n;\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": "0,15000", "timeFrom": null, "timeShift": null, "title": "Battery", "transparent": true, "type": "singlestat", "valueFontSize": "100%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "rgb(122, 122, 122)", "rgb(122, 122, 122)", "rgb(122, 122, 122)" ], "datasource": "MySQL", "decimals": 1, "description": "", "format": "volt", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 0, "y": 4 }, "id": 31, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "80%", "prefix": "", "prefixFontSize": "80%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select grid_voltage_t, uploadTime as `time`\nfrom solax.solax_local\nwhere uploadTime > now(3) - INTERVAL 2 MINUTE\norder by uploadTime desc\nlimit 1\n;\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": "49,50", "timeFrom": null, "timeShift": null, "title": "T-Grid", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": true, "colorPostfix": false, "colorPrefix": false, "colorValue": false, "colors": [ "#5794F2", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": "MySQL", "decimals": 1, "description": "", "format": "kwatt", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 11, "y": 4 }, "id": 16, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "80%", "prefix": "", "prefixFontSize": "80%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT \t(max(consumeenergy) - min(consumeenergy)) as consumeenergy, uploadTime as `time`\nFROM solax.solax_local\nWHERE $__timeFilter(uploadTime)\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": "0,0", "timeFrom": null, "timeShift": null, "title": "Daily Grid Consumption", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "aliasColors": { "Consumption": "dark-blue" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "MySQL", "decimals": 1, "description": "", "fill": 0, "fillGradient": 8, "gridPos": { "h": 9, "w": 24, "x": 0, "y": 6 }, "hiddenSeries": false, "id": 37, "legend": { "alignAsTable": false, "avg": false, "current": true, "max": false, "min": false, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Grid", "color": "#56A64B", "fill": 10 }, { "alias": "Solar", "color": "#FADE2A", "stack": false, "zindex": 1 }, { "alias": "Consumption", "color": "#FF9830", "fill": 8, "zindex": -3 }, { "alias": "Battery", "color": "#3274D9", "fill": 8, "zindex": -2 }, { "alias": "Battery Charge", "color": "#3274D9", "dashes": true, "stack": false, "yaxis": 2 } ], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "format": "time_series", "group": [], "metricColumn": "none", "rawQuery": true, "rawSql": "select `battery_capacity` as \"Battery Charge\" , uploadTime as `time`\nfrom solax.solax_local\n\n", "refId": "E", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] }, { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select `feed_in_power` as \"Grid\" , uploadTime as `time`\nfrom solax.solax_local\n\n", "refId": "B", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] }, { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select `dc_solar_power` as \"Solar\", uploadTime as `time`\nfrom solax.solax_local\n\n", "refId": "F", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] }, { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select `battery_power` as \"Battery\", uploadTime as `time`\nfrom solax.solax_local\n\n", "refId": "C", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] }, { "format": "time_series", "group": [], "metricColumn": "none", "rawQuery": true, "rawSql": "select (inverter_ac_power-feed_in_power) as \"Consumption\", uploadTime as `time`\nfrom solax.solax_local", "refId": "D", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Solar Panels - LOCAL", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": null, "format": "watt", "label": "Power Consumtion", "logBase": 1, "max": null, "min": null, "show": true }, { "decimals": 2, "format": "percent", "label": "Battery Charge (%)", "logBase": 1, "max": "100", "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": 0 } }, { "aliasColors": {}, "bars": true, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 15 }, "hiddenSeries": false, "hideTimeOverride": true, "id": 43, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": true, "values": true }, "lines": false, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.2", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Self_Use", "color": "#73BF69", "zindex": -2 }, { "alias": "Feed_In", "color": "#FADE2A" }, { "alias": "From_Grid", "color": "#F2495C", "zindex": -1 } ], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "format": "time_series", "group": [], "metricColumn": "none", "rawQuery": true, "rawSql": "select sum(total_yield-feed_in) as Self_Use, uploadDate as `time`\nfrom solax.solax_daily\ngroup by year(uploadDate), month(uploadDate)", "refId": "B", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] }, { "format": "time_series", "group": [], "metricColumn": "none", "rawQuery": true, "rawSql": "select sum(feed_in) as Feed_In, uploadDate as `time`\nfrom solax.solax_daily\ngroup by year(uploadDate), month(uploadDate)", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] }, { "format": "time_series", "group": [], "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT \t(max(consumeenergy) - min(consumeenergy)) as From_Grid, DATE_SUB(LAST_DAY(uploadTime),INTERVAL DAY(LAST_DAY(uploadTime))-1 DAY) as `time`\nFROM solax.solax_local\ngroup by year(uploadTime), month(uploadTime)\n;\n", "refId": "C", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": "0y/y", "title": "Yearly Solar Production", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "kwatt", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": true, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 15 }, "hiddenSeries": false, "hideTimeOverride": true, "id": 42, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": false, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Self Use", "color": "#73BF69" }, { "alias": "Feed In", "color": "#FADE2A" } ], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "format": "time_series", "group": [], "metricColumn": "none", "rawQuery": true, "rawSql": "select (total_yield-feed_in) as \"Self Use\", uploadDate as `time` \nfrom solax.solax_daily\n;", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] }, { "format": "time_series", "group": [], "metricColumn": "none", "rawQuery": true, "rawSql": "select feed_in as \"Feed In\", uploadDate as `time` \nfrom solax.solax_daily\n;\n\t", "refId": "B", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": "0M/M", "title": "Monthly Solar Production", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": 1, "format": "kwatt", "label": "", "logBase": 1, "max": "120", "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": { "Consumption": "dark-blue" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "MySQL", "decimals": 1, "description": "", "fill": 0, "fillGradient": 8, "gridPos": { "h": 9, "w": 24, "x": 0, "y": 23 }, "hiddenSeries": false, "id": 22, "legend": { "alignAsTable": false, "avg": false, "current": true, "max": false, "min": false, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "EPS 1", "fill": 8 }, { "alias": "EPS 2", "fill": 8 }, { "alias": "EPS 3", "fill": 8 }, { "alias": "EPS Total", "stack": false } ], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "format": "time_series", "group": [], "metricColumn": "none", "rawQuery": true, "rawSql": "select `peps1` as \"EPS 1\" , uploadTime as `time`\nfrom solax.solax_stats\n\n", "refId": "E", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] }, { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select `peps2` as \"EPS 2\" , uploadTime as `time`\nfrom solax.solax_stats\n\n", "refId": "B", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] }, { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select (`peps3`) as \"EPS 3\", uploadTime as `time`\nfrom solax.solax_stats\n\n", "refId": "F", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] }, { "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "select (`peps3`+`peps2`+`peps1`) as \"EPS Total\", uploadTime as `time`\nfrom solax.solax_stats\n\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "EPS Power", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": null, "format": "watt", "label": "Power Consumtion", "logBase": 1, "max": null, "min": null, "show": true }, { "decimals": 2, "format": "percent", "label": "Battery Charge (%)", "logBase": 1, "max": "100", "min": "0", "show": true } ], "yaxis": { "align": true, "alignLevel": 0 } } ], "refresh": "1m", "schemaVersion": 21, "style": "dark", "tags": [], "templating": { "list": [ { "current": { "selected": false, "text": "rec_datetime between date_sub(now(),INTERVAL 2 day) and now();", "value": "rec_datetime between date_sub(now(),INTERVAL 2 day) and now();" }, "hide": 2, "label": "limit_condition", "name": "limit_condition", "options": [ { "selected": true, "text": "rec_datetime between date_sub(now(),INTERVAL 2 day) and now();", "value": "rec_datetime between date_sub(now(),INTERVAL 2 day) and now();" } ], "query": "rec_datetime between date_sub(now(),INTERVAL 2 day) and now();", "skipUrlSync": false, "type": "constant" }, { "current": { "selected": false, "text": "from_unixtime(rec_datetime) between < $__from and rec_datetime < $__to", "value": "from_unixtime(rec_datetime) between < $__from and rec_datetime < $__to" }, "hide": 2, "label": "limit_condition2", "name": "limit_condition2", "options": [ { "selected": true, "text": "from_unixtime(rec_datetime) between < $__from and rec_datetime < $__to", "value": "from_unixtime(rec_datetime) between < $__from and rec_datetime < $__to" } ], "query": "from_unixtime(rec_datetime) between < $__from and rec_datetime < $__to", "skipUrlSync": false, "type": "constant" } ] }, "time": { "from": "now/d", "to": "now/d" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "Solax", "uid": "GoHNntS4k", "version": 2 }