monitoring: make split climate and ups panels value-only
This commit is contained in:
parent
4d10919ead
commit
2ae886ec74
@ -1747,10 +1747,11 @@ def build_overview():
|
|||||||
{"h": 2, "w": 6, "x": 0, "y": 7},
|
{"h": 2, "w": 6, "x": 0, "y": 7},
|
||||||
unit="none",
|
unit="none",
|
||||||
decimals=1,
|
decimals=1,
|
||||||
text_mode="name_and_value",
|
text_mode="value",
|
||||||
orientation="horizontal",
|
orientation="horizontal",
|
||||||
wide_layout=True,
|
wide_layout=True,
|
||||||
graph_mode="none",
|
graph_mode="none",
|
||||||
|
value_size=30,
|
||||||
targets=[
|
targets=[
|
||||||
{"refId": "A", "expr": ANANKE_UPS_DRAW_WATTS_DB, "legendFormat": "Draw", "instant": True},
|
{"refId": "A", "expr": ANANKE_UPS_DRAW_WATTS_DB, "legendFormat": "Draw", "instant": True},
|
||||||
{"refId": "B", "expr": ANANKE_UPS_RUNTIME_DB, "legendFormat": "Runtime", "instant": True},
|
{"refId": "B", "expr": ANANKE_UPS_RUNTIME_DB, "legendFormat": "Runtime", "instant": True},
|
||||||
@ -1770,10 +1771,11 @@ def build_overview():
|
|||||||
{"h": 3, "w": 6, "x": 0, "y": 9},
|
{"h": 3, "w": 6, "x": 0, "y": 9},
|
||||||
unit="none",
|
unit="none",
|
||||||
decimals=1,
|
decimals=1,
|
||||||
text_mode="name_and_value",
|
text_mode="value",
|
||||||
orientation="horizontal",
|
orientation="horizontal",
|
||||||
wide_layout=True,
|
wide_layout=True,
|
||||||
graph_mode="none",
|
graph_mode="none",
|
||||||
|
value_size=30,
|
||||||
targets=[
|
targets=[
|
||||||
{"refId": "A", "expr": ANANKE_UPS_DRAW_WATTS_TETHYS, "legendFormat": "Draw", "instant": True},
|
{"refId": "A", "expr": ANANKE_UPS_DRAW_WATTS_TETHYS, "legendFormat": "Draw", "instant": True},
|
||||||
{"refId": "B", "expr": ANANKE_UPS_RUNTIME_TETHYS, "legendFormat": "Runtime", "instant": True},
|
{"refId": "B", "expr": ANANKE_UPS_RUNTIME_TETHYS, "legendFormat": "Runtime", "instant": True},
|
||||||
@ -1809,10 +1811,11 @@ def build_overview():
|
|||||||
None,
|
None,
|
||||||
{"h": 3, "w": 6, "x": 0, "y": 12},
|
{"h": 3, "w": 6, "x": 0, "y": 12},
|
||||||
unit="none",
|
unit="none",
|
||||||
text_mode="name_and_value",
|
text_mode="value",
|
||||||
orientation="horizontal",
|
orientation="horizontal",
|
||||||
wide_layout=True,
|
wide_layout=True,
|
||||||
graph_mode="none",
|
graph_mode="none",
|
||||||
|
value_size=30,
|
||||||
targets=[
|
targets=[
|
||||||
{"refId": "A", "expr": CLIMATE_TEMP_MAX, "legendFormat": "°C", "instant": True},
|
{"refId": "A", "expr": CLIMATE_TEMP_MAX, "legendFormat": "°C", "instant": True},
|
||||||
{"refId": "B", "expr": CLIMATE_TEMP_FAHRENHEIT_MAX, "legendFormat": "°F", "instant": True},
|
{"refId": "B", "expr": CLIMATE_TEMP_FAHRENHEIT_MAX, "legendFormat": "°F", "instant": True},
|
||||||
@ -1831,10 +1834,11 @@ def build_overview():
|
|||||||
None,
|
None,
|
||||||
{"h": 3, "w": 6, "x": 0, "y": 15},
|
{"h": 3, "w": 6, "x": 0, "y": 15},
|
||||||
unit="none",
|
unit="none",
|
||||||
text_mode="name_and_value",
|
text_mode="value",
|
||||||
orientation="horizontal",
|
orientation="horizontal",
|
||||||
wide_layout=True,
|
wide_layout=True,
|
||||||
graph_mode="none",
|
graph_mode="none",
|
||||||
|
value_size=30,
|
||||||
targets=[
|
targets=[
|
||||||
{"refId": "A", "expr": CLIMATE_HUMIDITY_MAX, "legendFormat": "%RH", "instant": True},
|
{"refId": "A", "expr": CLIMATE_HUMIDITY_MAX, "legendFormat": "%RH", "instant": True},
|
||||||
{"refId": "B", "expr": CLIMATE_PRESSURE_CURRENT, "legendFormat": "kPa", "instant": True},
|
{"refId": "B", "expr": CLIMATE_PRESSURE_CURRENT, "legendFormat": "kPa", "instant": True},
|
||||||
|
|||||||
@ -1161,9 +1161,12 @@
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value",
|
"textMode": "value",
|
||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"wideLayout": true
|
"wideLayout": true,
|
||||||
|
"text": {
|
||||||
|
"valueSize": 30
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
@ -1264,9 +1267,12 @@
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value",
|
"textMode": "value",
|
||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"wideLayout": true
|
"wideLayout": true,
|
||||||
|
"text": {
|
||||||
|
"valueSize": 30
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
@ -1420,9 +1426,12 @@
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value",
|
"textMode": "value",
|
||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"wideLayout": true
|
"wideLayout": true,
|
||||||
|
"text": {
|
||||||
|
"valueSize": 30
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
@ -1522,9 +1531,12 @@
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value",
|
"textMode": "value",
|
||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"wideLayout": true
|
"wideLayout": true,
|
||||||
|
"text": {
|
||||||
|
"valueSize": 30
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1170,9 +1170,12 @@ data:
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value",
|
"textMode": "value",
|
||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"wideLayout": true
|
"wideLayout": true,
|
||||||
|
"text": {
|
||||||
|
"valueSize": 30
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
@ -1273,9 +1276,12 @@ data:
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value",
|
"textMode": "value",
|
||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"wideLayout": true
|
"wideLayout": true,
|
||||||
|
"text": {
|
||||||
|
"valueSize": 30
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
@ -1429,9 +1435,12 @@ data:
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value",
|
"textMode": "value",
|
||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"wideLayout": true
|
"wideLayout": true,
|
||||||
|
"text": {
|
||||||
|
"valueSize": 30
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
@ -1531,9 +1540,12 @@ data:
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value",
|
"textMode": "value",
|
||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"wideLayout": true
|
"wideLayout": true,
|
||||||
|
"text": {
|
||||||
|
"valueSize": 30
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user