From 4af92e3dea9612a42521330111be0da9c9dcac5b Mon Sep 17 00:00:00 2001 From: robert Date: Thu, 1 Feb 2024 21:03:11 +0000 Subject: [PATCH] add values --- examples/solar-monitoring.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/solar-monitoring.py b/examples/solar-monitoring.py index 8b4f44c..6accacf 100644 --- a/examples/solar-monitoring.py +++ b/examples/solar-monitoring.py @@ -93,7 +93,13 @@ def monitor(charge_point_power): drawblack.text((2, 64), 'Batterie Entladen', 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) + epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRYimage))