diff --git a/main.go b/main.go index b8ebe04..9bc315d 100644 --- a/main.go +++ b/main.go @@ -180,6 +180,8 @@ type TICWriter interface { } func main() { + parseEnvironmentVariables() + var legacyMode = flag.Bool("legacy-mode", false, "Assume teleinformation in legacy mode") var pushFrequency = flag.Bool("push-frequency", false, "Also fetch data about the grid frequency") flag.Parse()