MD500_Pilot

Solar

Sep 17th, 2025
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.08 KB | None | 0 0
  1. {
  2.   "id": 7,
  3.   "type": "lehmannch-flow-panel",
  4.   "title": "New panel",
  5.   "gridPos": {
  6.     "x": 15,
  7.     "y": 0,
  8.     "h": 14,
  9.     "w": 6
  10.   },
  11.   "fieldConfig": {
  12.     "defaults": {},
  13.     "overrides": []
  14.   },
  15.   "pluginVersion": "1.1.0",
  16.   "targets": [
  17.     {
  18.       "datasource": {
  19.         "type": "influxdb",
  20.         "uid": "datasource-influxdb"
  21.       },
  22.       "refId": "A",
  23.       "policy": "default",
  24.       "resultFormat": "time_series",
  25.       "orderByTime": "ASC",
  26.       "tags": [],
  27.       "groupBy": [
  28.         {
  29.           "type": "time",
  30.           "params": [
  31.             "$__interval"
  32.           ]
  33.         },
  34.         {
  35.           "type": "fill",
  36.           "params": [
  37.             "null"
  38.           ]
  39.         }
  40.       ],
  41.       "select": [
  42.         [
  43.           {
  44.             "type": "field",
  45.             "params": [
  46.               "value"
  47.             ]
  48.           },
  49.           {
  50.             "type": "mean",
  51.             "params": []
  52.           }
  53.         ]
  54.       ],
  55.       "measurement": "solarcharger/Pv/0/V",
  56.       "hide": false,
  57.       "alias": "",
  58.       "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)",
  59.       "rawQuery": true
  60.     }
  61.   ],
  62.   "datasource": {
  63.     "uid": "datasource-influxdb",
  64.     "type": "influxdb"
  65.   },
  66.   "options": {
  67.     "solarQuery": "solarcharger/Pv/0/P.mean",
  68.     "gridQuery": "vebus/Devices/0/Ac/In/P.mean",
  69.     "additionalSourceLoadQuery": "battery/Dc/0/Power.mean",
  70.     "additionalSourceLabel": "Battery",
  71.     "measurementUnit": "W",
  72.     "additionalSourceIcon": "battery",
  73.     "zoom": 1.05,
  74.     "xOffset": -17,
  75.     "yOffset": 0,
  76.     "solarColor": "rgb(244, 174, 1)",
  77.     "loadColor": "rgb(0, 141, 209)",
  78.     "gridColor": "rgb(232, 41, 26)",
  79.     "additionalSourceColor": "rgb(81, 187, 67)",
  80.     "linesColor": "rgb(104, 193, 255)",
  81.     "showLegend": true
  82.   }
  83. }
Advertisement
Add Comment
Please, Sign In to add comment