From 200ab36cf40385388feb34498141501450545d82 Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Wed, 19 Oct 2022 17:02:39 +0200 Subject: [PATCH] jj --- examples/mqtt.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/mqtt.py b/examples/mqtt.py index 03e3cc7..1e44ebf 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -31,6 +31,12 @@ username = "mqtt-user" pw = "phio6yiR9ohs1veeghu4WaeGhaiRi8he4EiWasheev4faeku8tohdiuthah7zahP" client_id = "solarmonitor" +global value_pvProduction +global value_wHouseConsumption +global value_energyImportExport +global value_houseBatterySoC +global value_houseBatteryLoadUnload + value_pvProduction = "0" value_wHouseConsumption = "0" value_energyImportExport = "0"