From 9f2c161de0f7e807e66dd114f913db6acecd666b Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 1 Dec 2020 23:20:05 +0100 Subject: shack/powerraw: fix telegraf tags (which cannot be int for some reason now) --- krebs/2configs/shack/powerraw.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'krebs/2configs') diff --git a/krebs/2configs/shack/powerraw.nix b/krebs/2configs/shack/powerraw.nix index 4118e7a72..3cf6beb28 100644 --- a/krebs/2configs/shack/powerraw.nix +++ b/krebs/2configs/shack/powerraw.nix @@ -67,7 +67,7 @@ in { }; sensor = "total"; types = [ "Voltage" "Current" "Power" ]; - phases = [ 1 2 3 ]; + phases = [ "1" "2" "3" ]; in [ (genTopic "Power consumed" "/power/${sensor}/consumed" { inherit sensor; }) ] ++ (lib.flatten (map (type: (map (phase: (genTopic "Power" "/power/${sensor}/L${toString phase}/${type}" { inherit sensor phase type; }) ) phases)) types)); -- cgit v1.2.3