From dcb4bdd9a4ce128b5f2d2da927df72e996f15441 Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Thu, 20 Oct 2022 13:39:15 +0200 Subject: [PATCH] move text --- examples/solarmonitor-black.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/solarmonitor-black.py b/examples/solarmonitor-black.py index 08f04d5..0762660 100644 --- a/examples/solarmonitor-black.py +++ b/examples/solarmonitor-black.py @@ -113,17 +113,17 @@ try: #if value_pvProduction < value_wHouseConsumption: #drawred.text((5, 15), 'Hausverbrauch', font = font10, fill = 0) #else: - drawblack.text((5, 15), 'Hausverbrauch', font = font10, fill = 0) + drawblack.text((5, 20), 'Hausverbrauch', font = font10, fill = 0) if value_energyImportExport > 0: - drawblack.text((7, 30), 'Strom Import', font = font10, fill = 0) + drawblack.text((7, 40), 'Strom Import', font = font10, fill = 0) else: - drawblack.text((7, 30), 'Strom Export', font = font10, fill = 0) + drawblack.text((7, 40), 'Strom Export', font = font10, fill = 0) - drawblack.text((5, 45), 'Batterie', font = font10, fill = 0) + drawblack.text((5, 60), 'Batterie', font = font10, fill = 0) if value_houseBatteryLoadUnload > 0: - drawblack.text((5, 60), 'Batterie Laden', font = font10, fill = 0) + drawblack.text((5, 80), 'Batterie Laden', font = font10, fill = 0) else: - drawblack.text((5, 60), 'Batterie Entladen', font = font10, fill = 0) + drawblack.text((5, 80), 'Batterie Entladen', font = font10, fill = 0) logging.info("-----") logging.info("PvProd: "+str(value_pvProduction))