From 8be20741a32b4bcf0b2b776a3c09e54702867010 Mon Sep 17 00:00:00 2001 From: andig Date: Sun, 26 Jul 2020 12:34:15 +0200 Subject: [PATCH 1/2] Add mqtt interface --- assets/index.html | 2 +- cmd/charger.go | 5 +- cmd/config.go | 9 +-- cmd/meter.go | 5 +- cmd/root.go | 17 +++-- cmd/setup.go | 20 ++++-- cmd/vehicle.go | 5 +- core/site.go | 26 ++++++++ evcc.dist.yaml | 1 + provider/mqtt.go | 82 ++++++++++++++++++++++- server/assets.go | 164 +++++++++++++++++++++++----------------------- server/http.go | 43 ++++++------ 12 files changed, 242 insertions(+), 137 deletions(-) diff --git a/assets/index.html b/assets/index.html index 2048736ffa..812bfa9683 100644 --- a/assets/index.html +++ b/assets/index.html @@ -136,7 +136,7 @@

{{title}}