Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": 7,
- "type": "lehmannch-flow-panel",
- "title": "New panel",
- "gridPos": {
- "x": 15,
- "y": 0,
- "h": 14,
- "w": 6
- },
- "fieldConfig": {
- "defaults": {},
- "overrides": []
- },
- "pluginVersion": "1.1.0",
- "targets": [
- {
- "datasource": {
- "type": "influxdb",
- "uid": "datasource-influxdb"
- },
- "refId": "A",
- "policy": "default",
- "resultFormat": "time_series",
- "orderByTime": "ASC",
- "tags": [],
- "groupBy": [
- {
- "type": "time",
- "params": [
- "$__interval"
- ]
- },
- {
- "type": "fill",
- "params": [
- "null"
- ]
- }
- ],
- "select": [
- [
- {
- "type": "field",
- "params": [
- "value"
- ]
- },
- {
- "type": "mean",
- "params": []
- }
- ]
- ],
- "measurement": "solarcharger/Pv/0/V",
- "hide": false,
- "alias": "",
- "query": "SELECT mean(\"value\")\nFROM (\n SELECT \"value\"\n FROM \"solarcharger/Pv/0/P\"\n WHERE $timeFilter\n), (\n SELECT \"value\"\n FROM \"vebus/Devices/0/Ac/In/P\"\n WHERE $timeFilter\n), (\n SELECT \"value\"\n FROM \"battery/Dc/0/Power\"\n WHERE $timeFilter\n)\nGROUP BY time($__interval) fill(0)",
- "rawQuery": true
- }
- ],
- "datasource": {
- "uid": "datasource-influxdb",
- "type": "influxdb"
- },
- "options": {
- "solarQuery": "solarcharger/Pv/0/P.mean",
- "gridQuery": "vebus/Devices/0/Ac/In/P.mean",
- "additionalSourceLoadQuery": "battery/Dc/0/Power.mean",
- "additionalSourceLabel": "Battery",
- "measurementUnit": "W",
- "additionalSourceIcon": "battery",
- "zoom": 1.05,
- "xOffset": -17,
- "yOffset": 0,
- "solarColor": "rgb(244, 174, 1)",
- "loadColor": "rgb(0, 141, 209)",
- "gridColor": "rgb(232, 41, 26)",
- "additionalSourceColor": "rgb(81, 187, 67)",
- "linesColor": "rgb(104, 193, 255)",
- "showLegend": true
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment