fix
This commit is contained in:
parent
36dec5bb44
commit
16c8ed4b4b
@ -120,8 +120,8 @@ def on_message(client, userdata, msg):
|
||||
print(value_pvProduction)
|
||||
print(value_wHouseConsumption)
|
||||
print(value_energyImportExport)
|
||||
print(topic_houseBatterySoC)
|
||||
print(topic_houseBatteryLoadUnload)
|
||||
print(value_houseBatterySoC)
|
||||
print(value_houseBatteryLoadUnload)
|
||||
|
||||
#print(f"`{msg.topic}`: `{msg.payload.decode()}`")
|
||||
|
||||
@ -132,8 +132,8 @@ client.on_connect = on_connect
|
||||
value_pvProduction = ""
|
||||
value_wHouseConsumption = ""
|
||||
value_energyImportExport = ""
|
||||
topic_houseBatterySoC = ""
|
||||
topic_houseBatteryLoadUnload = ""
|
||||
value_houseBatterySoC = ""
|
||||
value_houseBatteryLoadUnload = ""
|
||||
|
||||
client.on_message = on_message
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user