Total new guy here. Been trying to build my own dashboard, but… struggling. I watched a video and copied the JSON from a github repo to get a much faster, responsive dashboard, but… something’s off. Also, every time a panel goes to “No Data”, I lose the “history chart”. I assume that I need to get these into my InfluxDB for “no loss history”. But for now… can anyone tell me what I’m doing wrong? The underlying MQTT updates about every second, so I set these all to two seconds.
Here is, I believe, is one of the panel configs. (They are ALL configured the same, roughly, except for the topic and maybe thresholds.)
{
"datasource": {
"type": "grafana-mqtt-datasource",
"uid": "b22348bb-f4b0-41f5-aa8d-59adae64d195"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 25
},
{
"color": "red",
"value": 30
}
]
},
"unit": "Watts"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 0,
"y": 0
},
"hideTimeOverride": true,
"id": 7,
"interval": "2s",
"maxDataPoints": 10000,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.2",
"targets": [
{
"datasource": {
"type": "grafana-mqtt-datasource",
"uid": "b22348bb-f4b0-41f5-aa8d-59adae64d195"
},
"refId": "victron-multiplus-watts",
"topic": "N/e8eb11e512f4/vebus/257/Dc/0/Power"
}
],
"timeFrom": "now-30m",
"title": "DC Watts",
"type": "stat"
},