add values

This commit is contained in:
robert 2024-02-01 21:03:11 +00:00
parent 88b0878004
commit 4af92e3dea

View File

@ -93,7 +93,13 @@ def monitor(charge_point_power):
drawblack.text((2, 64), 'Batterie Entladen', font = font16, fill = 0) drawblack.text((2, 64), 'Batterie Entladen', font = font16, fill = 0)
drawblack.text((2, 80), 'Auto Laden', font = font16, fill = 0) drawblack.text((2, 80), 'Auto Laden', font = font16, fill = 0)
drawblack.text((180, 80), str(pv_power), font = font16, fill = 0)
drawblack.text((180, 80), str(house_power), font = font16, fill = 0)
drawblack.text((180, 80), str(power_import_export), font = font16, fill = 0)
drawblack.text((180, 80), str(house_battery_soc), font = font16, fill = 0)
drawblack.text((180, 80), str(house_battery_power), font = font16, fill = 0)
drawblack.text((180, 80), str(charge_point_power), font = font16, fill = 0) drawblack.text((180, 80), str(charge_point_power), font = font16, fill = 0)
epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRYimage)) epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRYimage))