Update grafana dashboard

This commit is contained in:
Gitouche 2023-01-30 20:53:10 +01:00
parent 700234f375
commit 1f62993d05

497
grafana_dashboard_teleinfo.json Executable file → Normal file
View file

@ -7,10 +7,22 @@
"type": "datasource", "type": "datasource",
"pluginId": "influxdb", "pluginId": "influxdb",
"pluginName": "InfluxDB" "pluginName": "InfluxDB"
},
{
"name": "DS_EXPRESSION",
"label": "Expression",
"description": "",
"type": "datasource",
"pluginId": "__expr__"
} }
], ],
"__elements": {}, "__elements": {},
"__requires": [ "__requires": [
{
"type": "datasource",
"id": "__expr__",
"version": "1.0.0"
},
{ {
"type": "panel", "type": "panel",
"id": "barchart", "id": "barchart",
@ -33,7 +45,7 @@
"type": "grafana", "type": "grafana",
"id": "grafana", "id": "grafana",
"name": "Grafana", "name": "Grafana",
"version": "9.3.0" "version": "9.3.2"
}, },
{ {
"type": "datasource", "type": "datasource",
@ -146,7 +158,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "9.3.0", "pluginVersion": "9.3.2",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -229,7 +241,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "9.3.0", "pluginVersion": "9.3.2",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -325,7 +337,7 @@
"showThresholdLabels": false, "showThresholdLabels": false,
"showThresholdMarkers": true "showThresholdMarkers": true
}, },
"pluginVersion": "9.3.0", "pluginVersion": "9.3.2",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -361,7 +373,7 @@
}, },
{ {
"params": [], "params": [],
"type": "mean" "type": "last"
} }
] ]
], ],
@ -425,7 +437,7 @@
"showThresholdLabels": false, "showThresholdLabels": false,
"showThresholdMarkers": true "showThresholdMarkers": true
}, },
"pluginVersion": "9.3.0", "pluginVersion": "9.3.2",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -446,9 +458,12 @@
"type": "fill" "type": "fill"
} }
], ],
"measurement": "IRMS1", "hide": true,
"measurement": "SINSTS",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"query": "SELECT last(\"value\") FROM \"SINSTS\" WHERE $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
"select": [ "select": [
@ -461,11 +476,62 @@
}, },
{ {
"params": [], "params": [],
"type": "mean" "type": "last"
} }
] ]
], ],
"tags": [] "tags": []
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_TELEINFO}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": true,
"measurement": "URMS1",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
},
{
"datasource": {
"type": "__expr__",
"uid": "${DS_EXPRESSION}"
},
"expression": "$A/$B",
"hide": false,
"refId": "C",
"type": "math"
} }
], ],
"title": "Intensité Efficace", "title": "Intensité Efficace",
@ -523,7 +589,7 @@
}, },
"showUnfilled": true "showUnfilled": true
}, },
"pluginVersion": "9.3.0", "pluginVersion": "9.3.2",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -559,7 +625,7 @@
}, },
{ {
"params": [], "params": [],
"type": "mean" "type": "last"
} }
] ]
], ],
@ -830,6 +896,8 @@
} }
}, },
"mappings": [], "mappings": [],
"max": 250,
"min": 210,
"thresholds": { "thresholds": {
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
@ -912,7 +980,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"$__interval" "$interval"
], ],
"type": "time" "type": "time"
}, },
@ -953,7 +1021,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"$__interval" "$interval"
], ],
"type": "time" "type": "time"
}, },
@ -994,7 +1062,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"$__interval" "$interval"
], ],
"type": "time" "type": "time"
}, },
@ -1235,6 +1303,407 @@
"timeFrom": "2d", "timeFrom": "2d",
"title": "Énergie Active Soutirée (par heure)", "title": "Énergie Active Soutirée (par heure)",
"type": "barchart" "type": "barchart"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 26
},
"id": 25,
"panels": [],
"title": "Historique",
"type": "row"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_TELEINFO}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"fillOpacity": 80,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1,
"scaleDistribution": {
"type": "linear"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "watth"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "EASF01.difference"
},
"properties": [
{
"id": "displayName",
"value": "Heures Creuses"
}
]
},
{
"matcher": {
"id": "byName",
"options": "EASF02.difference"
},
"properties": [
{
"id": "displayName",
"value": "Heures Pleines"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 27
},
"hideTimeOverride": false,
"id": 23,
"interval": "1d",
"options": {
"barRadius": 0,
"barWidth": 0.85,
"groupWidth": 0.7,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"orientation": "auto",
"showValue": "auto",
"stacking": "normal",
"tooltip": {
"mode": "single",
"sort": "none"
},
"xTickLabelRotation": 0,
"xTickLabelSpacing": 0
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_TELEINFO}"
},
"groupBy": [
{
"params": [
"1d"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "EASF01",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [],
"type": "difference"
}
]
],
"tags": []
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_TELEINFO}"
},
"groupBy": [
{
"params": [
"1d"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "EASF02",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [],
"type": "difference"
}
]
],
"tags": []
}
],
"timeFrom": "31d",
"title": "Énergie Consommée (par jour / 1 mois)",
"type": "barchart"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_TELEINFO}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"fillOpacity": 80,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1,
"scaleDistribution": {
"type": "linear"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "watth"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "EASF01.difference"
},
"properties": [
{
"id": "displayName",
"value": "Heures Creuses"
}
]
},
{
"matcher": {
"id": "byName",
"options": "EASF02.difference"
},
"properties": [
{
"id": "displayName",
"value": "Heures Pleines"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 34
},
"hideTimeOverride": false,
"id": 26,
"interval": "1M",
"options": {
"barRadius": 0,
"barWidth": 0.85,
"groupWidth": 0.7,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"orientation": "auto",
"showValue": "auto",
"stacking": "normal",
"tooltip": {
"mode": "single",
"sort": "none"
},
"xTickLabelRotation": 0,
"xTickLabelSpacing": 0
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_TELEINFO}"
},
"groupBy": [
{
"params": [
"30d"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "EASF01",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [],
"type": "difference"
}
]
],
"tags": []
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_TELEINFO}"
},
"groupBy": [
{
"params": [
"30d"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "EASF02",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [],
"type": "difference"
}
]
],
"tags": []
}
],
"timeFrom": "12M",
"title": "Énergie Consommée (par mois / 1 an)",
"type": "barchart"
} }
], ],
"refresh": false, "refresh": false,
@ -1252,6 +1721,6 @@
"timezone": "Europe/Paris", "timezone": "Europe/Paris",
"title": "Suivi compteur Enedis", "title": "Suivi compteur Enedis",
"uid": "52WtJBpVk", "uid": "52WtJBpVk",
"version": 38, "version": 49,
"weekStart": "" "weekStart": ""
} }