add log
This commit is contained in:
parent
4c8537d015
commit
4da42a433c
@ -118,6 +118,11 @@ client.username_pw_set(username, password=pw)
|
|||||||
client.on_connect = on_connect
|
client.on_connect = on_connect
|
||||||
client.on_message = on_message
|
client.on_message = on_message
|
||||||
logging.info("test")
|
logging.info("test")
|
||||||
|
logging.info(value_pvProduction)
|
||||||
|
logging.info(value_wHouseConsumption)
|
||||||
|
logging.info(value_energyImportExport)
|
||||||
|
logging.info(value_houseBatterySoC)
|
||||||
|
logging.info(alue_houseBatteryLoadUnload)
|
||||||
client.connect(broker, port=port)
|
client.connect(broker, port=port)
|
||||||
|
|
||||||
client.loop_start() #start the loop
|
client.loop_start() #start the loop
|
||||||
|
Loading…
Reference in New Issue
Block a user