This commit is contained in:
Robert Borzutzki 2022-10-19 17:39:01 +02:00
parent f57141f4eb
commit a9b03609c7

View File

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