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