add logs for topic outputs

This commit is contained in:
robert 2024-02-01 07:25:47 +00:00
parent ea8e3ef60f
commit 2ab134d58a
1 changed files with 7 additions and 0 deletions

View File

@ -117,6 +117,13 @@ def run():
house_power = subscribe(client, topic_house_power) house_power = subscribe(client, topic_house_power)
car_soc = subscribe(client, topic_car_soc) car_soc = subscribe(client, topic_car_soc)
charge_point_power = subscribe(client, topic_charge_point_power) charge_point_power = subscribe(client, topic_charge_point_power)
logging.info("house battery soc: " + str(house_battery_soc))
logging.info("house battery power: " + str(house_battery_power))
logging.info("power import export: " + str(power_import_export))
logging.info("pv power: " + str(pv_power))
logging.info("house power: " + str(house_power))
logging.info("car soc: " + str(car_soc))
logging.info("charge point power: " + str(charge_point_power)) logging.info("charge point power: " + str(charge_point_power))
#monitor(charge_point_power) #monitor(charge_point_power)