This commit is contained in:
Robert 2024-02-01 23:55:57 +01:00
parent 2820d65b4a
commit 177280010c

View File

@ -126,7 +126,6 @@ def monitor(topics):
for key in topic_info: for key in topic_info:
print(key + ':', topic_info[key]) print(key + ':', topic_info[key])
drawblack.text((160, int(topic_info["line"])), topic_info["value"], font = font16, fill = 0) drawblack.text((160, int(topic_info["line"])), topic_info["value"], font = font16, fill = 0)
topic_info["value"] = subscribe(client, topic_info["topic"])
#drawblack.text((160, 16), str(house_power), font = font16, fill = 0) #drawblack.text((160, 16), str(house_power), font = font16, fill = 0)
#drawblack.text((160, 32), str(power_import_export), font = font16, fill = 0) #drawblack.text((160, 32), str(power_import_export), font = font16, fill = 0)