commit 11f7da361ba90bc6b4b1cf006a2da4b62f1a550b
parent 423c4361c91cdc695ff3f703d8d7a88acb0c7190
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sun, 4 Sep 2022 20:22:33 +0200
parent 423c4361c91cdc695ff3f703d8d7a88acb0c7190
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sun, 4 Sep 2022 20:22:33 +0200
machines/lollo/smarthome/smartied: update id of power-meter
2 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/machines/lollo/smarthome/smartied.nix b/machines/lollo/smarthome/smartied.nix @@ -16,10 +16,10 @@ let address = 20; }; - "modbus-60" = { + "modbus-50" = { type = "PowerMeter"; model = "SDM120"; - address = 60; + address = 50; }; "lacrosse-l1" = { @@ -306,7 +306,7 @@ let meters = [ { name = "Zimmer"; - device = "modbus-60"; + device = "modbus-50"; } ]; }
diff --git a/machines/osterei/grafana/dashboards/SmartHome.json b/machines/osterei/grafana/dashboards/SmartHome.json @@ -157,7 +157,7 @@ { "alias": "L. Zimmer", "groupBy": [], - "measurement": "modbus-60", + "measurement": "modbus-50", "orderByTime": "ASC", "policy": "default", "refId": "B", @@ -234,7 +234,7 @@ { "alias": "L. Zimmer", "groupBy": [], - "measurement": "modbus-60", + "measurement": "modbus-50", "orderByTime": "ASC", "policy": "default", "queryType": "randomWalk", @@ -311,7 +311,7 @@ { "alias": "L. Zimmer", "groupBy": [], - "measurement": "modbus-60", + "measurement": "modbus-50", "orderByTime": "ASC", "policy": "default", "queryType": "randomWalk", @@ -390,7 +390,7 @@ { "alias": "L. Zimmer", "groupBy": [], - "measurement": "modbus-60", + "measurement": "modbus-50", "orderByTime": "ASC", "policy": "default", "refId": "B", @@ -472,7 +472,7 @@ { "alias": "L. Zimmer", "groupBy": [], - "measurement": "modbus-60", + "measurement": "modbus-50", "orderByTime": "ASC", "policy": "default", "queryType": "randomWalk", @@ -547,7 +547,7 @@ { "alias": "L. Zimmer", "groupBy": [], - "measurement": "modbus-60", + "measurement": "modbus-50", "orderByTime": "ASC", "policy": "default", "queryType": "randomWalk", @@ -724,10 +724,10 @@ "type": "fill" } ], - "measurement": "modbus-60", + "measurement": "modbus-50", "orderByTime": "ASC", "policy": "default", - "query": "SELECT mean(\"value\") FROM \"modbus-60\" WHERE $timeFilter GROUP BY time($__interval) fill(null)", + "query": "SELECT mean(\"value\") FROM \"modbus-50\" WHERE $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", @@ -852,7 +852,7 @@ "type": "fill" } ], - "measurement": "modbus-60", + "measurement": "modbus-50", "orderByTime": "ASC", "policy": "default", "refId": "B", @@ -1406,4 +1406,4 @@ "title": "SmartHome (Influx)", "uid": "FRDYqjEGz", "version": 8 -}- \ No newline at end of file +}