Guest User

Grafana

a guest
Jan 1st, 2020
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 47.42 KB | None | 0 0
  1. {
  2.   "__inputs": [
  3.     {
  4.       "name": "DS_INFLUXDB",
  5.       "label": "InfluxDB",
  6.       "description": "",
  7.       "type": "datasource",
  8.       "pluginId": "influxdb",
  9.       "pluginName": "InfluxDB"
  10.     }
  11.   ],
  12.   "__requires": [
  13.     {
  14.       "type": "panel",
  15.       "id": "gauge",
  16.       "name": "Gauge",
  17.       "version": ""
  18.     },
  19.     {
  20.       "type": "grafana",
  21.       "id": "grafana",
  22.       "name": "Grafana",
  23.       "version": "6.5.2"
  24.     },
  25.     {
  26.       "type": "panel",
  27.       "id": "graph",
  28.       "name": "Graph",
  29.       "version": ""
  30.     },
  31.     {
  32.       "type": "datasource",
  33.       "id": "influxdb",
  34.       "name": "InfluxDB",
  35.       "version": "1.0.0"
  36.     },
  37.     {
  38.       "type": "panel",
  39.       "id": "singlestat",
  40.       "name": "Singlestat",
  41.       "version": ""
  42.     }
  43.   ],
  44.   "annotations": {
  45.     "list": [
  46.       {
  47.         "builtIn": 1,
  48.         "datasource": "-- Grafana --",
  49.         "enable": true,
  50.         "hide": true,
  51.         "iconColor": "rgba(0, 211, 255, 1)",
  52.         "name": "Annotations & Alerts",
  53.         "type": "dashboard"
  54.       }
  55.     ]
  56.   },
  57.   "editable": true,
  58.   "gnetId": null,
  59.   "graphTooltip": 0,
  60.   "id": null,
  61.   "links": [],
  62.   "panels": [
  63.     {
  64.       "aliasColors": {},
  65.       "bars": false,
  66.       "dashLength": 10,
  67.       "dashes": false,
  68.       "datasource": "${DS_INFLUXDB}",
  69.       "fill": 1,
  70.       "fillGradient": 0,
  71.       "gridPos": {
  72.         "h": 8,
  73.         "w": 20,
  74.         "x": 0,
  75.         "y": 0
  76.       },
  77.       "hiddenSeries": false,
  78.       "id": 2,
  79.       "legend": {
  80.         "alignAsTable": true,
  81.         "avg": true,
  82.         "current": false,
  83.         "max": true,
  84.         "min": true,
  85.         "show": true,
  86.         "total": false,
  87.         "values": true
  88.       },
  89.       "lines": true,
  90.       "linewidth": 1,
  91.       "nullPointMode": "connected",
  92.       "options": {
  93.         "dataLinks": []
  94.       },
  95.       "percentage": false,
  96.       "pointradius": 2,
  97.       "points": false,
  98.       "renderer": "flot",
  99.       "seriesOverrides": [
  100.         {
  101.           "alias": "Teruglevering",
  102.           "yaxis": 2
  103.         },
  104.         {
  105.           "alias": "Usage-1.mean",
  106.           "yaxis": 2
  107.         }
  108.       ],
  109.       "spaceLength": 10,
  110.       "stack": false,
  111.       "steppedLine": false,
  112.       "targets": [
  113.         {
  114.           "alias": "Energieverbruik",
  115.           "groupBy": [
  116.             {
  117.               "params": [
  118.                 "$__interval"
  119.               ],
  120.               "type": "time"
  121.             },
  122.             {
  123.               "params": [
  124.                 "null"
  125.               ],
  126.               "type": "fill"
  127.             }
  128.           ],
  129.           "measurement": "Usage-current",
  130.           "orderByTime": "ASC",
  131.           "policy": "default",
  132.           "refId": "A",
  133.           "resultFormat": "time_series",
  134.           "select": [
  135.             [
  136.               {
  137.                 "params": [
  138.                   "value"
  139.                 ],
  140.                 "type": "field"
  141.               },
  142.               {
  143.                 "params": [],
  144.                 "type": "mean"
  145.               }
  146.             ]
  147.           ],
  148.           "tags": [
  149.             {
  150.               "key": "idx",
  151.               "operator": "=",
  152.               "value": "1"
  153.             }
  154.           ],
  155.           "tz": "Europe/Amsterdam"
  156.         },
  157.         {
  158.           "alias": "Teruglevering",
  159.           "groupBy": [
  160.             {
  161.               "params": [
  162.                 "$__interval"
  163.               ],
  164.               "type": "time"
  165.             },
  166.             {
  167.               "params": [
  168.                 "null"
  169.               ],
  170.               "type": "fill"
  171.             }
  172.           ],
  173.           "hide": false,
  174.           "measurement": "Delivery-current",
  175.           "orderByTime": "ASC",
  176.           "policy": "default",
  177.           "refId": "B",
  178.           "resultFormat": "time_series",
  179.           "select": [
  180.             [
  181.               {
  182.                 "params": [
  183.                   "value"
  184.                 ],
  185.                 "type": "field"
  186.               },
  187.               {
  188.                 "params": [],
  189.                 "type": "mean"
  190.               }
  191.             ]
  192.           ],
  193.           "tags": [
  194.             {
  195.               "key": "idx",
  196.               "operator": "=",
  197.               "value": "1"
  198.             }
  199.           ]
  200.         }
  201.       ],
  202.       "thresholds": [],
  203.       "timeFrom": null,
  204.       "timeRegions": [],
  205.       "timeShift": null,
  206.       "title": "Energieverbruik",
  207.       "tooltip": {
  208.         "shared": true,
  209.         "sort": 0,
  210.         "value_type": "individual"
  211.       },
  212.       "type": "graph",
  213.       "xaxis": {
  214.         "buckets": null,
  215.         "mode": "time",
  216.         "name": null,
  217.         "show": true,
  218.         "values": []
  219.       },
  220.       "yaxes": [
  221.         {
  222.           "format": "watt",
  223.           "label": null,
  224.           "logBase": 1,
  225.           "max": null,
  226.           "min": null,
  227.           "show": true
  228.         },
  229.         {
  230.           "format": "watt",
  231.           "label": null,
  232.           "logBase": 1,
  233.           "max": null,
  234.           "min": null,
  235.           "show": true
  236.         }
  237.       ],
  238.       "yaxis": {
  239.         "align": false,
  240.         "alignLevel": null
  241.       }
  242.     },
  243.     {
  244.       "cacheTimeout": null,
  245.       "colorBackground": false,
  246.       "colorValue": true,
  247.       "colors": [
  248.         "#299c46",
  249.         "rgba(237, 129, 40, 0.89)",
  250.         "#d44a3a"
  251.       ],
  252.       "datasource": "${DS_INFLUXDB}",
  253.       "format": "watt",
  254.       "gauge": {
  255.         "maxValue": 100,
  256.         "minValue": 0,
  257.         "show": false,
  258.         "thresholdLabels": false,
  259.         "thresholdMarkers": true
  260.       },
  261.       "gridPos": {
  262.         "h": 2,
  263.         "w": 4,
  264.         "x": 20,
  265.         "y": 0
  266.       },
  267.       "id": 6,
  268.       "interval": null,
  269.       "links": [],
  270.       "mappingType": 1,
  271.       "mappingTypes": [
  272.         {
  273.           "name": "value to text",
  274.           "value": 1
  275.         },
  276.         {
  277.           "name": "range to text",
  278.           "value": 2
  279.         }
  280.       ],
  281.       "maxDataPoints": 100,
  282.       "nullPointMode": "connected",
  283.       "nullText": null,
  284.       "options": {},
  285.       "postfix": "",
  286.       "postfixFontSize": "50%",
  287.       "prefix": "",
  288.       "prefixFontSize": "50%",
  289.       "rangeMaps": [
  290.         {
  291.           "from": "null",
  292.           "text": "N/A",
  293.           "to": "null"
  294.         }
  295.       ],
  296.       "sparkline": {
  297.         "fillColor": "rgba(31, 118, 189, 0.18)",
  298.         "full": false,
  299.         "lineColor": "rgb(31, 120, 193)",
  300.         "show": false,
  301.         "ymax": null,
  302.         "ymin": null
  303.       },
  304.       "tableColumn": "",
  305.       "targets": [
  306.         {
  307.           "alias": "Huidig energieverbruik",
  308.           "groupBy": [
  309.             {
  310.               "params": [
  311.                 "$__interval"
  312.               ],
  313.               "type": "time"
  314.             },
  315.             {
  316.               "params": [
  317.                 "null"
  318.               ],
  319.               "type": "fill"
  320.             }
  321.           ],
  322.           "measurement": "Usage-current",
  323.           "orderByTime": "ASC",
  324.           "policy": "default",
  325.           "refId": "A",
  326.           "resultFormat": "time_series",
  327.           "select": [
  328.             [
  329.               {
  330.                 "params": [
  331.                   "value"
  332.                 ],
  333.                 "type": "field"
  334.               },
  335.               {
  336.                 "params": [],
  337.                 "type": "last"
  338.               }
  339.             ]
  340.           ],
  341.           "tags": [
  342.             {
  343.               "key": "idx",
  344.               "operator": "=",
  345.               "value": "1"
  346.             }
  347.           ]
  348.         }
  349.       ],
  350.       "thresholds": "200,500",
  351.       "timeFrom": null,
  352.       "timeShift": null,
  353.       "title": "Actueel verbruik",
  354.       "type": "singlestat",
  355.       "valueFontSize": "80%",
  356.       "valueMaps": [
  357.         {
  358.           "op": "=",
  359.           "text": "N/A",
  360.           "value": "null"
  361.         }
  362.       ],
  363.       "valueName": "current"
  364.     },
  365.     {
  366.       "cacheTimeout": null,
  367.       "colorBackground": false,
  368.       "colorValue": true,
  369.       "colors": [
  370.         "#299c46",
  371.         "rgba(237, 129, 40, 0.89)",
  372.         "#d44a3a"
  373.       ],
  374.       "datasource": "${DS_INFLUXDB}",
  375.       "decimals": null,
  376.       "format": "watt",
  377.       "gauge": {
  378.         "maxValue": 100,
  379.         "minValue": 0,
  380.         "show": false,
  381.         "thresholdLabels": false,
  382.         "thresholdMarkers": true
  383.       },
  384.       "gridPos": {
  385.         "h": 2,
  386.         "w": 4,
  387.         "x": 20,
  388.         "y": 2
  389.       },
  390.       "id": 8,
  391.       "interval": null,
  392.       "links": [],
  393.       "mappingType": 1,
  394.       "mappingTypes": [
  395.         {
  396.           "name": "value to text",
  397.           "value": 1
  398.         },
  399.         {
  400.           "name": "range to text",
  401.           "value": 2
  402.         }
  403.       ],
  404.       "maxDataPoints": 100,
  405.       "nullPointMode": "connected",
  406.       "nullText": null,
  407.       "options": {},
  408.       "postfix": "",
  409.       "postfixFontSize": "50%",
  410.       "prefix": "",
  411.       "prefixFontSize": "50%",
  412.       "rangeMaps": [
  413.         {
  414.           "from": "null",
  415.           "text": "N/A",
  416.           "to": "null"
  417.         }
  418.       ],
  419.       "sparkline": {
  420.         "fillColor": "rgba(31, 118, 189, 0.18)",
  421.         "full": false,
  422.         "lineColor": "rgb(31, 120, 193)",
  423.         "show": false,
  424.         "ymax": null,
  425.         "ymin": null
  426.       },
  427.       "tableColumn": "",
  428.       "targets": [
  429.         {
  430.           "alias": "Actuele teruglevering",
  431.           "groupBy": [
  432.             {
  433.               "params": [
  434.                 "$__interval"
  435.               ],
  436.               "type": "time"
  437.             },
  438.             {
  439.               "params": [
  440.                 "null"
  441.               ],
  442.               "type": "fill"
  443.             }
  444.           ],
  445.           "measurement": "Delivery-current",
  446.           "orderByTime": "ASC",
  447.           "policy": "default",
  448.           "refId": "A",
  449.           "resultFormat": "time_series",
  450.           "select": [
  451.             [
  452.               {
  453.                 "params": [
  454.                   "value"
  455.                 ],
  456.                 "type": "field"
  457.               },
  458.               {
  459.                 "params": [],
  460.                 "type": "mean"
  461.               }
  462.             ]
  463.           ],
  464.           "tags": [
  465.             {
  466.               "key": "idx",
  467.               "operator": "=",
  468.               "value": "1"
  469.             }
  470.           ]
  471.         }
  472.       ],
  473.       "thresholds": "0,0",
  474.       "timeFrom": null,
  475.       "timeShift": null,
  476.       "title": "Actuele teruglevering",
  477.       "type": "singlestat",
  478.       "valueFontSize": "80%",
  479.       "valueMaps": [
  480.         {
  481.           "op": "=",
  482.           "text": "N/A",
  483.           "value": "null"
  484.         }
  485.       ],
  486.       "valueName": "current"
  487.     },
  488.     {
  489.       "cacheTimeout": null,
  490.       "datasource": "${DS_INFLUXDB}",
  491.       "gridPos": {
  492.         "h": 4,
  493.         "w": 4,
  494.         "x": 20,
  495.         "y": 4
  496.       },
  497.       "id": 30,
  498.       "links": [],
  499.       "options": {
  500.         "fieldOptions": {
  501.           "calcs": [
  502.             "last"
  503.           ],
  504.           "defaults": {
  505.             "decimals": 1,
  506.             "mappings": [
  507.               {
  508.                 "id": 0,
  509.                 "op": "=",
  510.                 "text": "N/A",
  511.                 "type": 1,
  512.                 "value": "null"
  513.               }
  514.             ],
  515.             "max": 100,
  516.             "min": 0,
  517.             "nullValueMode": "connected",
  518.             "thresholds": [
  519.               {
  520.                 "color": "green",
  521.                 "value": null
  522.               },
  523.               {
  524.                 "color": "#EAB839",
  525.                 "value": 236
  526.               },
  527.               {
  528.                 "color": "red",
  529.                 "value": 240
  530.               }
  531.             ],
  532.             "unit": "volt"
  533.           },
  534.           "override": {},
  535.           "values": false
  536.         },
  537.         "orientation": "horizontal",
  538.         "showThresholdLabels": false,
  539.         "showThresholdMarkers": true
  540.       },
  541.       "pluginVersion": "6.5.2",
  542.       "targets": [
  543.         {
  544.           "alias": "Voltage",
  545.           "groupBy": [
  546.             {
  547.               "params": [
  548.                 "$__interval"
  549.               ],
  550.               "type": "time"
  551.             },
  552.             {
  553.               "params": [
  554.                 "null"
  555.               ],
  556.               "type": "fill"
  557.             }
  558.           ],
  559.           "measurement": "Voltage",
  560.           "orderByTime": "ASC",
  561.           "policy": "default",
  562.           "refId": "A",
  563.           "resultFormat": "time_series",
  564.           "select": [
  565.             [
  566.               {
  567.                 "params": [
  568.                   "value"
  569.                 ],
  570.                 "type": "field"
  571.               },
  572.               {
  573.                 "params": [],
  574.                 "type": "last"
  575.               }
  576.             ]
  577.           ],
  578.           "tags": [
  579.             {
  580.               "key": "idx",
  581.               "operator": "=",
  582.               "value": "2"
  583.             }
  584.           ]
  585.         }
  586.       ],
  587.       "timeFrom": null,
  588.       "timeShift": null,
  589.       "title": "Voltage",
  590.       "type": "gauge"
  591.     },
  592.     {
  593.       "aliasColors": {},
  594.       "bars": true,
  595.       "dashLength": 10,
  596.       "dashes": false,
  597.       "datasource": "${DS_INFLUXDB}",
  598.       "editable": true,
  599.       "error": false,
  600.       "fill": 1,
  601.       "fillGradient": 0,
  602.       "grid": {},
  603.       "gridPos": {
  604.         "h": 8,
  605.         "w": 20,
  606.         "x": 0,
  607.         "y": 8
  608.       },
  609.       "hiddenSeries": false,
  610.       "hideTimeOverride": false,
  611.       "id": 4,
  612.       "legend": {
  613.         "alignAsTable": true,
  614.         "avg": true,
  615.         "current": false,
  616.         "max": true,
  617.         "min": false,
  618.         "show": true,
  619.         "total": false,
  620.         "values": true
  621.       },
  622.       "lines": false,
  623.       "linewidth": 2,
  624.       "links": [],
  625.       "nullPointMode": "connected",
  626.       "options": {
  627.         "dataLinks": []
  628.       },
  629.       "percentage": false,
  630.       "pointradius": 5,
  631.       "points": false,
  632.       "renderer": "flot",
  633.       "seriesOverrides": [
  634.         {
  635.           "alias": "Hoog",
  636.           "color": "#447EBC"
  637.         },
  638.         {
  639.           "alias": "Laag",
  640.           "color": "#0A437C"
  641.         }
  642.       ],
  643.       "spaceLength": 10,
  644.       "stack": true,
  645.       "steppedLine": false,
  646.       "targets": [
  647.         {
  648.           "alias": "Laag",
  649.           "dsType": "influxdb",
  650.           "groupBy": [
  651.             {
  652.               "params": [
  653.                 "1d"
  654.               ],
  655.               "type": "time"
  656.             },
  657.             {
  658.               "params": [
  659.                 "previous"
  660.               ],
  661.               "type": "fill"
  662.             }
  663.           ],
  664.           "hide": false,
  665.           "measurement": "Usage-1",
  666.           "orderByTime": "ASC",
  667.           "policy": "default",
  668.           "query": "SELECT non_negative_derivative(last(\"value\"), 1d) FROM \"Usage-1\" WHERE $timeFilter GROUP BY time(1d) fill(previous)",
  669.           "rawQuery": false,
  670.           "refId": "A",
  671.           "resultFormat": "time_series",
  672.           "select": [
  673.             [
  674.               {
  675.                 "params": [
  676.                   "value"
  677.                 ],
  678.                 "type": "field"
  679.               },
  680.               {
  681.                 "params": [],
  682.                 "type": "last"
  683.               },
  684.               {
  685.                 "params": [
  686.                   "1d"
  687.                 ],
  688.                 "type": "non_negative_derivative"
  689.               }
  690.             ]
  691.           ],
  692.           "tags": [],
  693.           "tz": "Europe/Amsterdam"
  694.         },
  695.         {
  696.           "alias": "Hoog",
  697.           "dsType": "influxdb",
  698.           "groupBy": [
  699.             {
  700.               "params": [
  701.                 "1d"
  702.               ],
  703.               "type": "time"
  704.             },
  705.             {
  706.               "params": [
  707.                 "null"
  708.               ],
  709.               "type": "fill"
  710.             }
  711.           ],
  712.           "hide": false,
  713.           "measurement": "Usage-2",
  714.           "orderByTime": "ASC",
  715.           "policy": "default",
  716.           "query": "SELECT non_negative_derivative(last(\"value\"), 1d) FROM \"Usage-2\" WHERE $timeFilter GROUP BY time(1d) fill(null)",
  717.           "rawQuery": false,
  718.           "refId": "B",
  719.           "resultFormat": "time_series",
  720.           "select": [
  721.             [
  722.               {
  723.                 "params": [
  724.                   "value"
  725.                 ],
  726.                 "type": "field"
  727.               },
  728.               {
  729.                 "params": [],
  730.                 "type": "last"
  731.               },
  732.               {
  733.                 "params": [
  734.                   "1d"
  735.                 ],
  736.                 "type": "non_negative_derivative"
  737.               }
  738.             ]
  739.           ],
  740.           "tags": [
  741.             {
  742.               "key": "idx",
  743.               "operator": "=",
  744.               "value": "1"
  745.             }
  746.           ],
  747.           "tz": "Europe/Amsterdam"
  748.         }
  749.       ],
  750.       "thresholds": [],
  751.       "timeFrom": "7d",
  752.       "timeRegions": [],
  753.       "timeShift": null,
  754.       "title": "Verbruik per dag",
  755.       "tooltip": {
  756.         "msResolution": true,
  757.         "shared": true,
  758.         "sort": 0,
  759.         "value_type": "individual"
  760.       },
  761.       "type": "graph",
  762.       "xaxis": {
  763.         "buckets": null,
  764.         "mode": "time",
  765.         "name": null,
  766.         "show": true,
  767.         "values": []
  768.       },
  769.       "yaxes": [
  770.         {
  771.           "format": "watth",
  772.           "label": null,
  773.           "logBase": 1,
  774.           "max": null,
  775.           "min": null,
  776.           "show": true
  777.         },
  778.         {
  779.           "format": "short",
  780.           "label": null,
  781.           "logBase": 1,
  782.           "max": null,
  783.           "min": null,
  784.           "show": false
  785.         }
  786.       ],
  787.       "yaxis": {
  788.         "align": false,
  789.         "alignLevel": null
  790.       }
  791.     },
  792.     {
  793.       "cacheTimeout": null,
  794.       "colorBackground": true,
  795.       "colorValue": false,
  796.       "colors": [
  797.         "#0a437c",
  798.         "rgba(237, 129, 40, 0.89)",
  799.         "#d44a3a"
  800.       ],
  801.       "datasource": "${DS_INFLUXDB}",
  802.       "decimals": null,
  803.       "format": "watth",
  804.       "gauge": {
  805.         "maxValue": 100,
  806.         "minValue": 0,
  807.         "show": false,
  808.         "thresholdLabels": false,
  809.         "thresholdMarkers": true
  810.       },
  811.       "gridPos": {
  812.         "h": 4,
  813.         "w": 4,
  814.         "x": 20,
  815.         "y": 8
  816.       },
  817.       "id": 10,
  818.       "interval": null,
  819.       "links": [],
  820.       "mappingType": 1,
  821.       "mappingTypes": [
  822.         {
  823.           "name": "value to text",
  824.           "value": 1
  825.         },
  826.         {
  827.           "name": "range to text",
  828.           "value": 2
  829.         }
  830.       ],
  831.       "maxDataPoints": 100,
  832.       "nullPointMode": "connected",
  833.       "nullText": null,
  834.       "options": {},
  835.       "postfix": "",
  836.       "postfixFontSize": "50%",
  837.       "prefix": "",
  838.       "prefixFontSize": "50%",
  839.       "rangeMaps": [
  840.         {
  841.           "from": "null",
  842.           "text": "N/A",
  843.           "to": "null"
  844.         }
  845.       ],
  846.       "sparkline": {
  847.         "fillColor": "rgba(31, 118, 189, 0.18)",
  848.         "full": false,
  849.         "lineColor": "rgb(31, 120, 193)",
  850.         "show": false,
  851.         "ymax": null,
  852.         "ymin": null
  853.       },
  854.       "tableColumn": "",
  855.       "targets": [
  856.         {
  857.           "groupBy": [
  858.             {
  859.               "params": [
  860.                 "$__interval"
  861.               ],
  862.               "type": "time"
  863.             },
  864.             {
  865.               "params": [
  866.                 "null"
  867.               ],
  868.               "type": "fill"
  869.             }
  870.           ],
  871.           "measurement": "Usage-2",
  872.           "orderByTime": "ASC",
  873.           "policy": "default",
  874.           "refId": "A",
  875.           "resultFormat": "time_series",
  876.           "select": [
  877.             [
  878.               {
  879.                 "params": [
  880.                   "value"
  881.                 ],
  882.                 "type": "field"
  883.               },
  884.               {
  885.                 "params": [],
  886.                 "type": "last"
  887.               }
  888.             ]
  889.           ],
  890.           "tags": [
  891.             {
  892.               "key": "idx",
  893.               "operator": "=",
  894.               "value": "1"
  895.             }
  896.           ]
  897.         }
  898.       ],
  899.       "thresholds": "",
  900.       "timeFrom": null,
  901.       "timeShift": null,
  902.       "title": "Verbruik hoog",
  903.       "type": "singlestat",
  904.       "valueFontSize": "80%",
  905.       "valueMaps": [
  906.         {
  907.           "op": "=",
  908.           "text": "N/A",
  909.           "value": "null"
  910.         }
  911.       ],
  912.       "valueName": "current"
  913.     },
  914.     {
  915.       "cacheTimeout": null,
  916.       "colorBackground": true,
  917.       "colorValue": false,
  918.       "colors": [
  919.         "#447ebc",
  920.         "rgba(237, 129, 40, 0.89)",
  921.         "#d44a3a"
  922.       ],
  923.       "datasource": "${DS_INFLUXDB}",
  924.       "format": "watth",
  925.       "gauge": {
  926.         "maxValue": 100,
  927.         "minValue": 0,
  928.         "show": false,
  929.         "thresholdLabels": false,
  930.         "thresholdMarkers": true
  931.       },
  932.       "gridPos": {
  933.         "h": 4,
  934.         "w": 4,
  935.         "x": 20,
  936.         "y": 12
  937.       },
  938.       "id": 12,
  939.       "interval": null,
  940.       "links": [],
  941.       "mappingType": 1,
  942.       "mappingTypes": [
  943.         {
  944.           "name": "value to text",
  945.           "value": 1
  946.         },
  947.         {
  948.           "name": "range to text",
  949.           "value": 2
  950.         }
  951.       ],
  952.       "maxDataPoints": 100,
  953.       "nullPointMode": "connected",
  954.       "nullText": null,
  955.       "options": {},
  956.       "postfix": "",
  957.       "postfixFontSize": "50%",
  958.       "prefix": "",
  959.       "prefixFontSize": "50%",
  960.       "rangeMaps": [
  961.         {
  962.           "from": "null",
  963.           "text": "N/A",
  964.           "to": "null"
  965.         }
  966.       ],
  967.       "sparkline": {
  968.         "fillColor": "rgba(31, 118, 189, 0.18)",
  969.         "full": false,
  970.         "lineColor": "rgb(31, 120, 193)",
  971.         "show": false,
  972.         "ymax": null,
  973.         "ymin": null
  974.       },
  975.       "tableColumn": "",
  976.       "targets": [
  977.         {
  978.           "groupBy": [
  979.             {
  980.               "params": [
  981.                 "$__interval"
  982.               ],
  983.               "type": "time"
  984.             },
  985.             {
  986.               "params": [
  987.                 "null"
  988.               ],
  989.               "type": "fill"
  990.             }
  991.           ],
  992.           "measurement": "Usage-1",
  993.           "orderByTime": "ASC",
  994.           "policy": "default",
  995.           "refId": "A",
  996.           "resultFormat": "time_series",
  997.           "select": [
  998.             [
  999.               {
  1000.                 "params": [
  1001.                   "value"
  1002.                 ],
  1003.                 "type": "field"
  1004.               },
  1005.               {
  1006.                 "params": [],
  1007.                 "type": "last"
  1008.               }
  1009.             ]
  1010.           ],
  1011.           "tags": []
  1012.         }
  1013.       ],
  1014.       "thresholds": "",
  1015.       "timeFrom": null,
  1016.       "timeShift": null,
  1017.       "title": "Verbruik laag",
  1018.       "type": "singlestat",
  1019.       "valueFontSize": "80%",
  1020.       "valueMaps": [
  1021.         {
  1022.           "op": "=",
  1023.           "text": "N/A",
  1024.           "value": "null"
  1025.         }
  1026.       ],
  1027.       "valueName": "current"
  1028.     },
  1029.     {
  1030.       "aliasColors": {},
  1031.       "bars": false,
  1032.       "cacheTimeout": null,
  1033.       "dashLength": 10,
  1034.       "dashes": false,
  1035.       "datasource": "${DS_INFLUXDB}",
  1036.       "fill": 1,
  1037.       "fillGradient": 0,
  1038.       "gridPos": {
  1039.         "h": 9,
  1040.         "w": 20,
  1041.         "x": 0,
  1042.         "y": 16
  1043.       },
  1044.       "hiddenSeries": false,
  1045.       "id": 18,
  1046.       "legend": {
  1047.         "alignAsTable": true,
  1048.         "avg": false,
  1049.         "current": true,
  1050.         "max": true,
  1051.         "min": true,
  1052.         "show": true,
  1053.         "total": false,
  1054.         "values": true
  1055.       },
  1056.       "lines": true,
  1057.       "linewidth": 1,
  1058.       "links": [],
  1059.       "nullPointMode": "connected",
  1060.       "options": {
  1061.         "dataLinks": []
  1062.       },
  1063.       "percentage": false,
  1064.       "pointradius": 2,
  1065.       "points": false,
  1066.       "renderer": "flot",
  1067.       "seriesOverrides": [
  1068.         {
  1069.           "alias": "Teruglevering",
  1070.           "yaxis": 2
  1071.         },
  1072.         {
  1073.           "alias": "Usage.mean",
  1074.           "yaxis": 2
  1075.         }
  1076.       ],
  1077.       "spaceLength": 10,
  1078.       "stack": false,
  1079.       "steppedLine": false,
  1080.       "targets": [
  1081.         {
  1082.           "groupBy": [
  1083.             {
  1084.               "params": [
  1085.                 "$__interval"
  1086.               ],
  1087.               "type": "time"
  1088.             },
  1089.             {
  1090.               "params": [
  1091.                 "previous"
  1092.               ],
  1093.               "type": "fill"
  1094.             }
  1095.           ],
  1096.           "hide": false,
  1097.           "measurement": "Instant",
  1098.           "orderByTime": "ASC",
  1099.           "policy": "default",
  1100.           "refId": "C",
  1101.           "resultFormat": "time_series",
  1102.           "select": [
  1103.             [
  1104.               {
  1105.                 "params": [
  1106.                   "value"
  1107.                 ],
  1108.                 "type": "field"
  1109.               },
  1110.               {
  1111.                 "params": [],
  1112.                 "type": "mean"
  1113.               }
  1114.             ]
  1115.           ],
  1116.           "tags": [
  1117.             {
  1118.               "key": "idx",
  1119.               "operator": "=",
  1120.               "value": "25"
  1121.             }
  1122.           ]
  1123.         },
  1124.         {
  1125.           "groupBy": [
  1126.             {
  1127.               "params": [
  1128.                 "$__interval"
  1129.               ],
  1130.               "type": "time"
  1131.             },
  1132.             {
  1133.               "params": [
  1134.                 "null"
  1135.               ],
  1136.               "type": "fill"
  1137.             }
  1138.           ],
  1139.           "hide": false,
  1140.           "measurement": "Usage",
  1141.           "orderByTime": "ASC",
  1142.           "policy": "default",
  1143.           "refId": "A",
  1144.           "resultFormat": "time_series",
  1145.           "select": [
  1146.             [
  1147.               {
  1148.                 "params": [
  1149.                   "value"
  1150.                 ],
  1151.                 "type": "field"
  1152.               },
  1153.               {
  1154.                 "params": [],
  1155.                 "type": "mean"
  1156.               }
  1157.             ]
  1158.           ],
  1159.           "tags": [
  1160.             {
  1161.               "key": "idx",
  1162.               "operator": "=",
  1163.               "value": "25"
  1164.             }
  1165.           ]
  1166.         }
  1167.       ],
  1168.       "thresholds": [],
  1169.       "timeFrom": null,
  1170.       "timeRegions": [],
  1171.       "timeShift": null,
  1172.       "title": "Zonnepanelen",
  1173.       "tooltip": {
  1174.         "shared": true,
  1175.         "sort": 0,
  1176.         "value_type": "individual"
  1177.       },
  1178.       "type": "graph",
  1179.       "xaxis": {
  1180.         "buckets": null,
  1181.         "mode": "time",
  1182.         "name": null,
  1183.         "show": true,
  1184.         "values": []
  1185.       },
  1186.       "yaxes": [
  1187.         {
  1188.           "decimals": 2,
  1189.           "format": "watt",
  1190.           "label": null,
  1191.           "logBase": 1,
  1192.           "max": null,
  1193.           "min": null,
  1194.           "show": true
  1195.         },
  1196.         {
  1197.           "format": "watt",
  1198.           "label": null,
  1199.           "logBase": 1,
  1200.           "max": null,
  1201.           "min": null,
  1202.           "show": true
  1203.         }
  1204.       ],
  1205.       "yaxis": {
  1206.         "align": false,
  1207.         "alignLevel": null
  1208.       }
  1209.     },
  1210.     {
  1211.       "cacheTimeout": null,
  1212.       "colorBackground": false,
  1213.       "colorPrefix": false,
  1214.       "colorValue": true,
  1215.       "colors": [
  1216.         "#d44a3a",
  1217.         "rgba(237, 129, 40, 0.89)",
  1218.         "#299c46"
  1219.       ],
  1220.       "datasource": "${DS_INFLUXDB}",
  1221.       "decimals": 2,
  1222.       "format": "watt",
  1223.       "gauge": {
  1224.         "maxValue": 100,
  1225.         "minValue": 0,
  1226.         "show": false,
  1227.         "thresholdLabels": false,
  1228.         "thresholdMarkers": true
  1229.       },
  1230.       "gridPos": {
  1231.         "h": 3,
  1232.         "w": 4,
  1233.         "x": 20,
  1234.         "y": 16
  1235.       },
  1236.       "id": 24,
  1237.       "interval": null,
  1238.       "links": [],
  1239.       "mappingType": 1,
  1240.       "mappingTypes": [
  1241.         {
  1242.           "name": "value to text",
  1243.           "value": 1
  1244.         },
  1245.         {
  1246.           "name": "range to text",
  1247.           "value": 2
  1248.         }
  1249.       ],
  1250.       "maxDataPoints": 100,
  1251.       "nullPointMode": "connected",
  1252.       "nullText": null,
  1253.       "options": {},
  1254.       "postfix": "",
  1255.       "postfixFontSize": "50%",
  1256.       "prefix": "",
  1257.       "prefixFontSize": "50%",
  1258.       "rangeMaps": [
  1259.         {
  1260.           "from": "null",
  1261.           "text": "N/A",
  1262.           "to": "null"
  1263.         }
  1264.       ],
  1265.       "sparkline": {
  1266.         "fillColor": "rgba(31, 118, 189, 0.18)",
  1267.         "full": false,
  1268.         "lineColor": "rgb(31, 120, 193)",
  1269.         "show": false,
  1270.         "ymax": null,
  1271.         "ymin": null
  1272.       },
  1273.       "tableColumn": "",
  1274.       "targets": [
  1275.         {
  1276.           "groupBy": [
  1277.             {
  1278.               "params": [
  1279.                 "$__interval"
  1280.               ],
  1281.               "type": "time"
  1282.             },
  1283.             {
  1284.               "params": [
  1285.                 "null"
  1286.               ],
  1287.               "type": "fill"
  1288.             }
  1289.           ],
  1290.           "measurement": "Instant",
  1291.           "orderByTime": "ASC",
  1292.           "policy": "default",
  1293.           "refId": "B",
  1294.           "resultFormat": "time_series",
  1295.           "select": [
  1296.             [
  1297.               {
  1298.                 "params": [
  1299.                   "value"
  1300.                 ],
  1301.                 "type": "field"
  1302.               },
  1303.               {
  1304.                 "params": [],
  1305.                 "type": "last"
  1306.               }
  1307.             ]
  1308.           ],
  1309.           "tags": [
  1310.             {
  1311.               "key": "idx",
  1312.               "operator": "=",
  1313.               "value": "25"
  1314.             }
  1315.           ]
  1316.         }
  1317.       ],
  1318.       "thresholds": "50,200",
  1319.       "timeFrom": null,
  1320.       "timeShift": null,
  1321.       "title": "Actuele opwekking",
  1322.       "type": "singlestat",
  1323.       "valueFontSize": "80%",
  1324.       "valueMaps": [
  1325.         {
  1326.           "op": "=",
  1327.           "text": "N/A",
  1328.           "value": "null"
  1329.         }
  1330.       ],
  1331.       "valueName": "current"
  1332.     },
  1333.     {
  1334.       "cacheTimeout": null,
  1335.       "colorBackground": false,
  1336.       "colorValue": false,
  1337.       "colors": [
  1338.         "#299c46",
  1339.         "rgba(237, 129, 40, 0.89)",
  1340.         "#d44a3a"
  1341.       ],
  1342.       "datasource": "${DS_INFLUXDB}",
  1343.       "format": "watth",
  1344.       "gauge": {
  1345.         "maxValue": 100,
  1346.         "minValue": 0,
  1347.         "show": false,
  1348.         "thresholdLabels": false,
  1349.         "thresholdMarkers": true
  1350.       },
  1351.       "gridPos": {
  1352.         "h": 3,
  1353.         "w": 4,
  1354.         "x": 20,
  1355.         "y": 19
  1356.       },
  1357.       "id": 26,
  1358.       "interval": null,
  1359.       "links": [],
  1360.       "mappingType": 1,
  1361.       "mappingTypes": [
  1362.         {
  1363.           "name": "value to text",
  1364.           "value": 1
  1365.         },
  1366.         {
  1367.           "name": "range to text",
  1368.           "value": 2
  1369.         }
  1370.       ],
  1371.       "maxDataPoints": 100,
  1372.       "nullPointMode": "connected",
  1373.       "nullText": null,
  1374.       "options": {},
  1375.       "postfix": "",
  1376.       "postfixFontSize": "50%",
  1377.       "prefix": "",
  1378.       "prefixFontSize": "50%",
  1379.       "rangeMaps": [
  1380.         {
  1381.           "from": "null",
  1382.           "text": "N/A",
  1383.           "to": "null"
  1384.         }
  1385.       ],
  1386.       "sparkline": {
  1387.         "fillColor": "rgba(31, 118, 189, 0.18)",
  1388.         "full": false,
  1389.         "lineColor": "rgb(31, 120, 193)",
  1390.         "show": false,
  1391.         "ymax": null,
  1392.         "ymin": null
  1393.       },
  1394.       "tableColumn": "",
  1395.       "targets": [
  1396.         {
  1397.           "groupBy": [
  1398.             {
  1399.               "params": [
  1400.                 "$__interval"
  1401.               ],
  1402.               "type": "time"
  1403.             },
  1404.             {
  1405.               "params": [
  1406.                 "null"
  1407.               ],
  1408.               "type": "fill"
  1409.             }
  1410.           ],
  1411.           "orderByTime": "ASC",
  1412.           "policy": "default",
  1413.           "query": "SELECT mean(\"value\") FROM \"Zonnepanelen-opbrengst\" WHERE (\"idx\" = '25') AND $timeFilter GROUP BY time($__interval) fill(null)",
  1414.           "rawQuery": true,
  1415.           "refId": "A",
  1416.           "resultFormat": "time_series",
  1417.           "select": [
  1418.             [
  1419.               {
  1420.                 "params": [
  1421.                   "value"
  1422.                 ],
  1423.                 "type": "field"
  1424.               },
  1425.               {
  1426.                 "params": [],
  1427.                 "type": "mean"
  1428.               }
  1429.             ]
  1430.           ],
  1431.           "tags": []
  1432.         }
  1433.       ],
  1434.       "thresholds": "",
  1435.       "timeFrom": null,
  1436.       "timeShift": null,
  1437.       "title": "Dagtotaal",
  1438.       "type": "singlestat",
  1439.       "valueFontSize": "80%",
  1440.       "valueMaps": [
  1441.         {
  1442.           "op": "=",
  1443.           "text": "N/A",
  1444.           "value": "null"
  1445.         }
  1446.       ],
  1447.       "valueName": "current"
  1448.     },
  1449.     {
  1450.       "cacheTimeout": null,
  1451.       "colorBackground": false,
  1452.       "colorValue": false,
  1453.       "colors": [
  1454.         "#299c46",
  1455.         "rgba(237, 129, 40, 0.89)",
  1456.         "#d44a3a"
  1457.       ],
  1458.       "datasource": "${DS_INFLUXDB}",
  1459.       "decimals": 2,
  1460.       "format": "watth",
  1461.       "gauge": {
  1462.         "maxValue": 100,
  1463.         "minValue": 0,
  1464.         "show": false,
  1465.         "thresholdLabels": false,
  1466.         "thresholdMarkers": true
  1467.       },
  1468.       "gridPos": {
  1469.         "h": 3,
  1470.         "w": 4,
  1471.         "x": 20,
  1472.         "y": 22
  1473.       },
  1474.       "id": 28,
  1475.       "interval": null,
  1476.       "links": [],
  1477.       "mappingType": 1,
  1478.       "mappingTypes": [
  1479.         {
  1480.           "name": "value to text",
  1481.           "value": 1
  1482.         },
  1483.         {
  1484.           "name": "range to text",
  1485.           "value": 2
  1486.         }
  1487.       ],
  1488.       "maxDataPoints": 100,
  1489.       "nullPointMode": "connected",
  1490.       "nullText": null,
  1491.       "options": {},
  1492.       "postfix": "",
  1493.       "postfixFontSize": "50%",
  1494.       "prefix": "",
  1495.       "prefixFontSize": "50%",
  1496.       "rangeMaps": [
  1497.         {
  1498.           "from": "null",
  1499.           "text": "N/A",
  1500.           "to": "null"
  1501.         }
  1502.       ],
  1503.       "sparkline": {
  1504.         "fillColor": "rgba(31, 118, 189, 0.18)",
  1505.         "full": false,
  1506.         "lineColor": "rgb(31, 120, 193)",
  1507.         "show": false,
  1508.         "ymax": null,
  1509.         "ymin": null
  1510.       },
  1511.       "tableColumn": "",
  1512.       "targets": [
  1513.         {
  1514.           "groupBy": [
  1515.             {
  1516.               "params": [
  1517.                 "$__interval"
  1518.               ],
  1519.               "type": "time"
  1520.             },
  1521.             {
  1522.               "params": [
  1523.                 "null"
  1524.               ],
  1525.               "type": "fill"
  1526.             }
  1527.           ],
  1528.           "orderByTime": "ASC",
  1529.           "policy": "default",
  1530.           "query": "SELECT mean(\"value\") FROM \"Usage\" WHERE (\"idx\" = '25') AND $timeFilter GROUP BY time($__interval) fill(null)",
  1531.           "rawQuery": true,
  1532.           "refId": "A",
  1533.           "resultFormat": "time_series",
  1534.           "select": [
  1535.             [
  1536.               {
  1537.                 "params": [
  1538.                   "value"
  1539.                 ],
  1540.                 "type": "field"
  1541.               },
  1542.               {
  1543.                 "params": [],
  1544.                 "type": "mean"
  1545.               }
  1546.             ]
  1547.           ],
  1548.           "tags": []
  1549.         }
  1550.       ],
  1551.       "thresholds": "",
  1552.       "timeFrom": null,
  1553.       "timeShift": null,
  1554.       "title": "Totaal opwekking",
  1555.       "type": "singlestat",
  1556.       "valueFontSize": "80%",
  1557.       "valueMaps": [
  1558.         {
  1559.           "op": "=",
  1560.           "text": "N/A",
  1561.           "value": "null"
  1562.         }
  1563.       ],
  1564.       "valueName": "current"
  1565.     },
  1566.     {
  1567.       "aliasColors": {},
  1568.       "bars": false,
  1569.       "dashLength": 10,
  1570.       "dashes": false,
  1571.       "datasource": "${DS_INFLUXDB}",
  1572.       "fill": 1,
  1573.       "fillGradient": 0,
  1574.       "gridPos": {
  1575.         "h": 8,
  1576.         "w": 20,
  1577.         "x": 0,
  1578.         "y": 25
  1579.       },
  1580.       "hiddenSeries": false,
  1581.       "id": 14,
  1582.       "legend": {
  1583.         "avg": false,
  1584.         "current": false,
  1585.         "max": false,
  1586.         "min": false,
  1587.         "show": true,
  1588.         "total": false,
  1589.         "values": false
  1590.       },
  1591.       "lines": true,
  1592.       "linewidth": 1,
  1593.       "nullPointMode": "connected",
  1594.       "options": {
  1595.         "dataLinks": []
  1596.       },
  1597.       "percentage": false,
  1598.       "pointradius": 2,
  1599.       "points": false,
  1600.       "renderer": "flot",
  1601.       "seriesOverrides": [],
  1602.       "spaceLength": 10,
  1603.       "stack": false,
  1604.       "steppedLine": false,
  1605.       "targets": [
  1606.         {
  1607.           "groupBy": [
  1608.             {
  1609.               "params": [
  1610.                 "$__interval"
  1611.               ],
  1612.               "type": "time"
  1613.             },
  1614.             {
  1615.               "params": [
  1616.                 "null"
  1617.               ],
  1618.               "type": "fill"
  1619.             }
  1620.           ],
  1621.           "measurement": "Instant",
  1622.           "orderByTime": "ASC",
  1623.           "policy": "default",
  1624.           "refId": "A",
  1625.           "resultFormat": "time_series",
  1626.           "select": [
  1627.             [
  1628.               {
  1629.                 "params": [
  1630.                   "value"
  1631.                 ],
  1632.                 "type": "field"
  1633.               },
  1634.               {
  1635.                 "params": [],
  1636.                 "type": "mean"
  1637.               }
  1638.             ]
  1639.           ],
  1640.           "tags": [
  1641.             {
  1642.               "key": "idx",
  1643.               "operator": "=",
  1644.               "value": "334"
  1645.             }
  1646.           ]
  1647.         }
  1648.       ],
  1649.       "thresholds": [],
  1650.       "timeFrom": null,
  1651.       "timeRegions": [],
  1652.       "timeShift": null,
  1653.       "title": "Wasmachine",
  1654.       "tooltip": {
  1655.         "shared": true,
  1656.         "sort": 0,
  1657.         "value_type": "individual"
  1658.       },
  1659.       "type": "graph",
  1660.       "xaxis": {
  1661.         "buckets": null,
  1662.         "mode": "time",
  1663.         "name": null,
  1664.         "show": true,
  1665.         "values": []
  1666.       },
  1667.       "yaxes": [
  1668.         {
  1669.           "format": "watth",
  1670.           "label": null,
  1671.           "logBase": 1,
  1672.           "max": null,
  1673.           "min": null,
  1674.           "show": true
  1675.         },
  1676.         {
  1677.           "format": "short",
  1678.           "label": null,
  1679.           "logBase": 1,
  1680.           "max": null,
  1681.           "min": null,
  1682.           "show": true
  1683.         }
  1684.       ],
  1685.       "yaxis": {
  1686.         "align": false,
  1687.         "alignLevel": null
  1688.       }
  1689.     },
  1690.     {
  1691.       "cacheTimeout": null,
  1692.       "colorBackground": false,
  1693.       "colorValue": false,
  1694.       "colors": [
  1695.         "#299c46",
  1696.         "rgba(237, 129, 40, 0.89)",
  1697.         "#d44a3a"
  1698.       ],
  1699.       "datasource": "${DS_INFLUXDB}",
  1700.       "format": "watt",
  1701.       "gauge": {
  1702.         "maxValue": 100,
  1703.         "minValue": 0,
  1704.         "show": false,
  1705.         "thresholdLabels": false,
  1706.         "thresholdMarkers": true
  1707.       },
  1708.       "gridPos": {
  1709.         "h": 2,
  1710.         "w": 4,
  1711.         "x": 20,
  1712.         "y": 25
  1713.       },
  1714.       "id": 16,
  1715.       "interval": null,
  1716.       "links": [],
  1717.       "mappingType": 1,
  1718.       "mappingTypes": [
  1719.         {
  1720.           "name": "value to text",
  1721.           "value": 1
  1722.         },
  1723.         {
  1724.           "name": "range to text",
  1725.           "value": 2
  1726.         }
  1727.       ],
  1728.       "maxDataPoints": 100,
  1729.       "nullPointMode": "connected",
  1730.       "nullText": null,
  1731.       "options": {},
  1732.       "postfix": "",
  1733.       "postfixFontSize": "50%",
  1734.       "prefix": "",
  1735.       "prefixFontSize": "50%",
  1736.       "rangeMaps": [
  1737.         {
  1738.           "from": "null",
  1739.           "text": "N/A",
  1740.           "to": "null"
  1741.         }
  1742.       ],
  1743.       "sparkline": {
  1744.         "fillColor": "rgba(31, 118, 189, 0.18)",
  1745.         "full": false,
  1746.         "lineColor": "rgb(31, 120, 193)",
  1747.         "show": false,
  1748.         "ymax": null,
  1749.         "ymin": null
  1750.       },
  1751.       "tableColumn": "",
  1752.       "targets": [
  1753.         {
  1754.           "groupBy": [
  1755.             {
  1756.               "params": [
  1757.                 "$__interval"
  1758.               ],
  1759.               "type": "time"
  1760.             },
  1761.             {
  1762.               "params": [
  1763.                 "null"
  1764.               ],
  1765.               "type": "fill"
  1766.             }
  1767.           ],
  1768.           "measurement": "Instant",
  1769.           "orderByTime": "ASC",
  1770.           "policy": "default",
  1771.           "refId": "A",
  1772.           "resultFormat": "time_series",
  1773.           "select": [
  1774.             [
  1775.               {
  1776.                 "params": [
  1777.                   "value"
  1778.                 ],
  1779.                 "type": "field"
  1780.               },
  1781.               {
  1782.                 "params": [],
  1783.                 "type": "last"
  1784.               }
  1785.             ]
  1786.           ],
  1787.           "tags": [
  1788.             {
  1789.               "key": "idx",
  1790.               "operator": "=",
  1791.               "value": "334"
  1792.             }
  1793.           ]
  1794.         }
  1795.       ],
  1796.       "thresholds": "",
  1797.       "timeFrom": null,
  1798.       "timeShift": null,
  1799.       "title": "Huidig verbruik",
  1800.       "type": "singlestat",
  1801.       "valueFontSize": "80%",
  1802.       "valueMaps": [
  1803.         {
  1804.           "op": "=",
  1805.           "text": "N/A",
  1806.           "value": "null"
  1807.         }
  1808.       ],
  1809.       "valueName": "current"
  1810.     },
  1811.     {
  1812.       "cacheTimeout": null,
  1813.       "colorBackground": false,
  1814.       "colorValue": false,
  1815.       "colors": [
  1816.         "#299c46",
  1817.         "rgba(237, 129, 40, 0.89)",
  1818.         "#d44a3a"
  1819.       ],
  1820.       "datasource": "${DS_INFLUXDB}",
  1821.       "decimals": 3,
  1822.       "format": "watth",
  1823.       "gauge": {
  1824.         "maxValue": 100,
  1825.         "minValue": 0,
  1826.         "show": false,
  1827.         "thresholdLabels": false,
  1828.         "thresholdMarkers": true
  1829.       },
  1830.       "gridPos": {
  1831.         "h": 3,
  1832.         "w": 4,
  1833.         "x": 20,
  1834.         "y": 27
  1835.       },
  1836.       "id": 20,
  1837.       "interval": null,
  1838.       "links": [],
  1839.       "mappingType": 1,
  1840.       "mappingTypes": [
  1841.         {
  1842.           "name": "value to text",
  1843.           "value": 1
  1844.         },
  1845.         {
  1846.           "name": "range to text",
  1847.           "value": 2
  1848.         }
  1849.       ],
  1850.       "maxDataPoints": 100,
  1851.       "nullPointMode": "connected",
  1852.       "nullText": null,
  1853.       "options": {},
  1854.       "postfix": "",
  1855.       "postfixFontSize": "50%",
  1856.       "prefix": "",
  1857.       "prefixFontSize": "50%",
  1858.       "rangeMaps": [
  1859.         {
  1860.           "from": "null",
  1861.           "text": "N/A",
  1862.           "to": "null"
  1863.         }
  1864.       ],
  1865.       "sparkline": {
  1866.         "fillColor": "rgba(31, 118, 189, 0.18)",
  1867.         "full": false,
  1868.         "lineColor": "rgb(31, 120, 193)",
  1869.         "show": false,
  1870.         "ymax": null,
  1871.         "ymin": null
  1872.       },
  1873.       "tableColumn": "",
  1874.       "targets": [
  1875.         {
  1876.           "alias": "Dagverbruik",
  1877.           "groupBy": [
  1878.             {
  1879.               "params": [
  1880.                 "$__interval"
  1881.               ],
  1882.               "type": "time"
  1883.             },
  1884.             {
  1885.               "params": [
  1886.                 "null"
  1887.               ],
  1888.               "type": "fill"
  1889.             }
  1890.           ],
  1891.           "measurement": "Wasmachine-Verbruik",
  1892.           "orderByTime": "ASC",
  1893.           "policy": "default",
  1894.           "query": "SELECT mean(\"value\") FROM \"measurement\" WHERE $timeFilter GROUP BY time($__interval) fill(null)",
  1895.           "rawQuery": false,
  1896.           "refId": "A",
  1897.           "resultFormat": "time_series",
  1898.           "select": [
  1899.             [
  1900.               {
  1901.                 "params": [
  1902.                   "value"
  1903.                 ],
  1904.                 "type": "field"
  1905.               },
  1906.               {
  1907.                 "params": [],
  1908.                 "type": "mean"
  1909.               }
  1910.             ]
  1911.           ],
  1912.           "tags": [
  1913.             {
  1914.               "key": "idx",
  1915.               "operator": "=",
  1916.               "value": "334"
  1917.             }
  1918.           ]
  1919.         },
  1920.         {
  1921.           "groupBy": [
  1922.             {
  1923.               "params": [
  1924.                 "$__interval"
  1925.               ],
  1926.               "type": "time"
  1927.             },
  1928.             {
  1929.               "params": [
  1930.                 "null"
  1931.               ],
  1932.               "type": "fill"
  1933.             }
  1934.           ],
  1935.           "hide": true,
  1936.           "orderByTime": "ASC",
  1937.           "policy": "default",
  1938.           "query": "SELECT mean(\"value\") FROM \"autogen\".\"Wasmachine-Verbruik\" WHERE (\"idx\" = '334') AND $timeFilter GROUP BY time($__interval) fill(none)",
  1939.           "rawQuery": true,
  1940.           "refId": "B",
  1941.           "resultFormat": "time_series",
  1942.           "select": [
  1943.             [
  1944.               {
  1945.                 "params": [
  1946.                   "value"
  1947.                 ],
  1948.                 "type": "field"
  1949.               },
  1950.               {
  1951.                 "params": [],
  1952.                 "type": "mean"
  1953.               }
  1954.             ]
  1955.           ],
  1956.           "tags": []
  1957.         }
  1958.       ],
  1959.       "thresholds": "",
  1960.       "timeFrom": null,
  1961.       "timeShift": null,
  1962.       "title": "Dagverbruik",
  1963.       "type": "singlestat",
  1964.       "valueFontSize": "80%",
  1965.       "valueMaps": [
  1966.         {
  1967.           "op": "=",
  1968.           "text": "N/A",
  1969.           "value": "null"
  1970.         }
  1971.       ],
  1972.       "valueName": "current"
  1973.     },
  1974.     {
  1975.       "cacheTimeout": null,
  1976.       "colorBackground": false,
  1977.       "colorValue": false,
  1978.       "colors": [
  1979.         "#299c46",
  1980.         "rgba(237, 129, 40, 0.89)",
  1981.         "#d44a3a"
  1982.       ],
  1983.       "datasource": "${DS_INFLUXDB}",
  1984.       "decimals": 3,
  1985.       "format": "watth",
  1986.       "gauge": {
  1987.         "maxValue": 100,
  1988.         "minValue": 0,
  1989.         "show": false,
  1990.         "thresholdLabels": false,
  1991.         "thresholdMarkers": true
  1992.       },
  1993.       "gridPos": {
  1994.         "h": 3,
  1995.         "w": 4,
  1996.         "x": 20,
  1997.         "y": 30
  1998.       },
  1999.       "id": 22,
  2000.       "interval": null,
  2001.       "links": [],
  2002.       "mappingType": 1,
  2003.       "mappingTypes": [
  2004.         {
  2005.           "name": "value to text",
  2006.           "value": 1
  2007.         },
  2008.         {
  2009.           "name": "range to text",
  2010.           "value": 2
  2011.         }
  2012.       ],
  2013.       "maxDataPoints": 100,
  2014.       "nullPointMode": "connected",
  2015.       "nullText": null,
  2016.       "options": {},
  2017.       "postfix": "",
  2018.       "postfixFontSize": "50%",
  2019.       "prefix": "",
  2020.       "prefixFontSize": "50%",
  2021.       "rangeMaps": [
  2022.         {
  2023.           "from": "null",
  2024.           "text": "N/A",
  2025.           "to": "null"
  2026.         }
  2027.       ],
  2028.       "sparkline": {
  2029.         "fillColor": "rgba(31, 118, 189, 0.18)",
  2030.         "full": false,
  2031.         "lineColor": "rgb(31, 120, 193)",
  2032.         "show": false,
  2033.         "ymax": null,
  2034.         "ymin": null
  2035.       },
  2036.       "tableColumn": "",
  2037.       "targets": [
  2038.         {
  2039.           "groupBy": [
  2040.             {
  2041.               "params": [
  2042.                 "$__interval"
  2043.               ],
  2044.               "type": "time"
  2045.             },
  2046.             {
  2047.               "params": [
  2048.                 "null"
  2049.               ],
  2050.               "type": "fill"
  2051.             }
  2052.           ],
  2053.           "orderByTime": "ASC",
  2054.           "policy": "default",
  2055.           "query": "SELECT mean(\"value\") FROM \"Usage\" WHERE (\"idx\" = '334') AND $timeFilter GROUP BY time($__interval) fill(null)",
  2056.           "rawQuery": true,
  2057.           "refId": "A",
  2058.           "resultFormat": "time_series",
  2059.           "select": [
  2060.             [
  2061.               {
  2062.                 "params": [
  2063.                   "value"
  2064.                 ],
  2065.                 "type": "field"
  2066.               },
  2067.               {
  2068.                 "params": [],
  2069.                 "type": "mean"
  2070.               }
  2071.             ]
  2072.           ],
  2073.           "tags": []
  2074.         }
  2075.       ],
  2076.       "thresholds": "",
  2077.       "timeFrom": null,
  2078.       "timeShift": null,
  2079.       "title": "Totaal verbruik",
  2080.       "type": "singlestat",
  2081.       "valueFontSize": "80%",
  2082.       "valueMaps": [
  2083.         {
  2084.           "op": "=",
  2085.           "text": "N/A",
  2086.           "value": "null"
  2087.         }
  2088.       ],
  2089.       "valueName": "current"
  2090.     }
  2091.   ],
  2092.   "refresh": "5s",
  2093.   "schemaVersion": 21,
  2094.   "style": "dark",
  2095.   "tags": [
  2096.     "Energy",
  2097.     "Power",
  2098.     "PV"
  2099.   ],
  2100.   "templating": {
  2101.     "list": []
  2102.   },
  2103.   "time": {
  2104.     "from": "now-1h",
  2105.     "to": "now"
  2106.   },
  2107.   "timepicker": {
  2108.     "refresh_intervals": [
  2109.       "5s",
  2110.       "10s",
  2111.       "30s",
  2112.       "1m",
  2113.       "5m",
  2114.       "15m",
  2115.       "30m",
  2116.       "1h",
  2117.       "2h",
  2118.       "1d"
  2119.     ]
  2120.   },
  2121.   "timezone": "",
  2122.   "title": "Energie",
  2123.   "uid": "JJnRBJYWz",
  2124.   "version": 105
  2125. }
Advertisement
Add Comment
Please, Sign In to add comment