From aedac8321ea2b4e3b5e6c2a556f339b28e71b046 Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Thu, 20 Oct 2022 13:01:44 +0200 Subject: [PATCH] kkk --- examples/solarmonitor-black.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/solarmonitor-black.py b/examples/solarmonitor-black.py index 7884a98..a75b7e7 100644 --- a/examples/solarmonitor-black.py +++ b/examples/solarmonitor-black.py @@ -131,21 +131,21 @@ try: logging.info("EneI/E: "+str(value_energyImportExport)) logging.info("BatSoC: "+str(value_houseBatterySoC)) logging.info("BatI/O: "+str(value_houseBatteryLoadUnload)) - drawblack.rectangle((150, 0, 220, 50), fill = 255) + #drawblack.rectangle((150, 0, 220, 50), fill = 255) drawblack.text((150, 0), str(value_pvProduction) + " W", font = font10, fill = 0) - drawblack.rectangle((150, 15, 220, 50), fill = 255) + #drawblack.rectangle((150, 15, 220, 50), fill = 255) #if value_pvProduction < value_wHouseConsumption: #drawred.text((150, 15), str(value_wHouseConsumption) + " W", font = font10, fill = 0) #else: drawblack.text((150, 15), str(value_wHouseConsumption) + " W", font = font10, fill = 0) - drawblack.rectangle((150, 30, 220, 50), fill = 255) + #drawblack.rectangle((150, 30, 220, 50), fill = 255) #if value_energyImportExport > 0: #drawred.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0) #else: drawblack.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0) - drawblack.rectangle((150, 60, 220, 50), fill = 0) + #drawblack.rectangle((150, 60, 220, 50), fill = 0) drawblack.text((150, 60), str(value_houseBatterySoC) + " %", font = font10, fill = 0) - drawblack.rectangle((150, 75, 220, 50), fill = 255) + #drawblack.rectangle((150, 75, 220, 50), fill = 255) #if value_houseBatteryLoadUnload > 0: drawblack.text((150, 75), str(value_houseBatteryLoadUnload) + " W", font = font10, fill = 0) #else: