This commit is contained in:
robert 2024-01-31 23:37:40 +00:00
parent 007ed0da85
commit 055d58bc34
1 changed files with 11 additions and 10 deletions

View File

@ -62,7 +62,7 @@ def subscribe(client: mqtt_client, topic):
def run():
try:
client = connect_mqtt()
house_battery_soc = subscribe(client, topic_house_battery_soc)
house_battery_power = subscribe(client, topic_house_battery_power)
@ -72,6 +72,7 @@ def run():
car_soc = subscribe(client, topic_car_soc)
charge_point_power = subscribe(client, topic_charge_point_power)
try:
logging.info("epd2in13b_V3 Demo")
epd = epd2in13b_V3.EPD()