This commit is contained in:
Robert Borzutzki 2022-10-19 16:41:28 +02:00
parent 4c8537d015
commit 4da42a433c

View File

@ -118,6 +118,11 @@ client.username_pw_set(username, password=pw)
client.on_connect = on_connect
client.on_message = on_message
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.loop_start() #start the loop