fix
This commit is contained in:
parent
007ed0da85
commit
055d58bc34
@ -62,7 +62,7 @@ def subscribe(client: mqtt_client, topic):
|
|||||||
|
|
||||||
|
|
||||||
def run():
|
def run():
|
||||||
try:
|
|
||||||
client = connect_mqtt()
|
client = connect_mqtt()
|
||||||
house_battery_soc = subscribe(client, topic_house_battery_soc)
|
house_battery_soc = subscribe(client, topic_house_battery_soc)
|
||||||
house_battery_power = subscribe(client, topic_house_battery_power)
|
house_battery_power = subscribe(client, topic_house_battery_power)
|
||||||
@ -72,6 +72,7 @@ def run():
|
|||||||
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)
|
||||||
|
|
||||||
|
try:
|
||||||
logging.info("epd2in13b_V3 Demo")
|
logging.info("epd2in13b_V3 Demo")
|
||||||
|
|
||||||
epd = epd2in13b_V3.EPD()
|
epd = epd2in13b_V3.EPD()
|
||||||
|
Loading…
Reference in New Issue
Block a user