fix
This commit is contained in:
parent
a9b03609c7
commit
2a11a528f6
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user