fix
This commit is contained in:
parent
d4a1547896
commit
fbb22a3572
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user