Skip to content

Commit

Permalink
migrate heatpump dashboard to converted values
Browse files Browse the repository at this point in the history
  • Loading branch information
groupsky committed Dec 22, 2023
1 parent ec067bc commit e380b51
Showing 1 changed file with 61 additions and 17 deletions.
78 changes: 61 additions & 17 deletions config/grafana/dashboards/heatpump.json
Original file line number Diff line number Diff line change
Expand Up @@ -1290,7 +1290,7 @@
}
],
"hide": false,
"measurement": "sdm630raw",
"measurement": "current_power",
"orderByTime": "ASC",
"policy": "default",
"refId": "mina",
Expand All @@ -1299,7 +1299,7 @@
[
{
"params": [
"av"
"v"
],
"type": "field"
},
Expand All @@ -1314,6 +1314,12 @@
"key": "device.name",
"operator": "=",
"value": "heat_pump"
},
{
"condition": "AND",
"key": "phase",
"operator": "=",
"value": "A"
}
]
},
Expand All @@ -1337,7 +1343,7 @@
"type": "fill"
}
],
"measurement": "sdm630raw",
"measurement": "current_power",
"orderByTime": "ASC",
"policy": "default",
"refId": "maxa",
Expand All @@ -1346,7 +1352,7 @@
[
{
"params": [
"av"
"v"
],
"type": "field"
},
Expand All @@ -1361,6 +1367,12 @@
"key": "device.name",
"operator": "=",
"value": "heat_pump"
},
{
"condition": "AND",
"key": "phase",
"operator": "=",
"value": "A"
}
]
},
Expand All @@ -1385,7 +1397,7 @@
}
],
"hide": false,
"measurement": "sdm630raw",
"measurement": "current_power",
"orderByTime": "ASC",
"policy": "default",
"refId": "minb",
Expand All @@ -1394,7 +1406,7 @@
[
{
"params": [
"bv"
"v"
],
"type": "field"
},
Expand All @@ -1409,6 +1421,12 @@
"key": "device.name",
"operator": "=",
"value": "heat_pump"
},
{
"condition": "AND",
"key": "phase",
"operator": "=",
"value": "B"
}
]
},
Expand All @@ -1433,7 +1451,7 @@
}
],
"hide": false,
"measurement": "sdm630raw",
"measurement": "current_power",
"orderByTime": "ASC",
"policy": "default",
"refId": "maxb",
Expand All @@ -1442,7 +1460,7 @@
[
{
"params": [
"bv"
"v"
],
"type": "field"
},
Expand All @@ -1457,6 +1475,12 @@
"key": "device.name",
"operator": "=",
"value": "heat_pump"
},
{
"condition": "AND",
"key": "phase",
"operator": "=",
"value": "B"
}
]
},
Expand All @@ -1481,7 +1505,7 @@
}
],
"hide": false,
"measurement": "sdm630raw",
"measurement": "current_power",
"orderByTime": "ASC",
"policy": "default",
"refId": "minc",
Expand All @@ -1490,7 +1514,7 @@
[
{
"params": [
"cv"
"v"
],
"type": "field"
},
Expand All @@ -1505,6 +1529,12 @@
"key": "device.name",
"operator": "=",
"value": "heat_pump"
},
{
"condition": "AND",
"key": "phase",
"operator": "=",
"value": "C"
}
]
},
Expand All @@ -1529,7 +1559,7 @@
}
],
"hide": false,
"measurement": "sdm630raw",
"measurement": "current_power",
"orderByTime": "ASC",
"policy": "default",
"refId": "maxc",
Expand All @@ -1538,7 +1568,7 @@
[
{
"params": [
"cv"
"v"
],
"type": "field"
},
Expand All @@ -1553,6 +1583,12 @@
"key": "device.name",
"operator": "=",
"value": "heat_pump"
},
{
"condition": "AND",
"key": "phase",
"operator": "=",
"value": "C"
}
]
}
Expand Down Expand Up @@ -1802,6 +1838,8 @@
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
Expand Down Expand Up @@ -1834,7 +1872,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "#EAB839",
Expand Down Expand Up @@ -1867,7 +1906,8 @@
"showLegend": true
},
"tooltip": {
"mode": "single"
"mode": "single",
"sort": "none"
}
},
"targets": [
Expand Down Expand Up @@ -1983,6 +2023,8 @@
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
Expand Down Expand Up @@ -2015,7 +2057,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "#EAB839",
Expand Down Expand Up @@ -2048,7 +2091,8 @@
"showLegend": true
},
"tooltip": {
"mode": "single"
"mode": "single",
"sort": "none"
}
},
"targets": [
Expand Down Expand Up @@ -2133,6 +2177,6 @@
"timezone": "",
"title": "Heatpump",
"uid": "Nml0-Fonz",
"version": 9,
"version": 10,
"weekStart": ""
}

0 comments on commit e380b51

Please sign in to comment.