This commit is contained in:
Robert 2024-02-02 00:02:12 +01:00
parent d4a1547896
commit fbb22a3572
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ def monitor(topics):
print(key + ':', topic_info[key]) print(key + ':', topic_info[key])
print(topic_info["line"]) print(topic_info["line"])
print(topic_info["value"]) print(topic_info["value"])
drawblack.text((160, int("0")), str(topic_info["value"]), font = font16, fill = 0) drawblack.text((160, int(topic_info["line"])), str(topic_info["value"]), font = font16, fill = 0)
#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)