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