This commit is contained in:
robert 2024-02-01 21:06:06 +00:00
parent 4af92e3dea
commit 261482e4f5
1 changed files with 3 additions and 2 deletions

View File

@ -63,7 +63,7 @@ def subscribe(client: mqtt_client, topic):
client.on_message = on_message
client.loop_stop()
def monitor(charge_point_power):
def monitor(pv_power,house_power,power_import_export,house_battery_soc,house_battery_power,charge_point_power,car_soc):
logging.info("epd2in13b_V3 Demo")
logging.info(libdir)
@ -140,7 +140,8 @@ def run():
logging.info("car soc: " + str(car_soc))
logging.info("charge point power: " + str(charge_point_power))
try:
monitor(charge_point_power)
monitor(pv_power,house_power,power_import_export,house_battery_soc,house_battery_power,charge_point_power,car_soc)
except IOError as e:
logging.info(e)