This commit is contained in:
Robert Borzutzki 2022-10-19 17:40:16 +02:00
parent a9b03609c7
commit 2a11a528f6

View File

@ -100,6 +100,10 @@ def on_message(client, userdata, msg):
global value_houseBatterySoC
global value_houseBatteryLoadUnload
value_pvProduction = ""
value_wHouseConsumption = ""
value_energyImportExport = ""
value_houseBatterySoC = ""
value_houseBatteryLoadUnload = ""
if msg.topic == "openWB/pv/W":
value_pvProduction = ""+msg.payload.decode()