diff --git a/examples/solarmonitor-colored.py b/examples/solarmonitor-colored.py index 12e4c27..d979332 100644 --- a/examples/solarmonitor-colored.py +++ b/examples/solarmonitor-colored.py @@ -115,9 +115,9 @@ try: else: drawblack.text((5, 20), 'Hausverbrauch', font = font16, fill = 0) if value_energyImportExport > 0: - drawred.text((5, 40), 'Strom Import', font = font16, fill = 0) + drawred.text((7, 40), 'Strom Import', font = font16, fill = 0) else: - drawblack.text((5, 40), 'Strom Export', font = font16, fill = 0) + drawblack.text((7, 40), 'Strom Export', font = font16, fill = 0) drawblack.text((5, 60), 'Batterie', font = font16, fill = 0) if value_houseBatteryLoadUnload > 0: @@ -141,7 +141,7 @@ try: if value_energyImportExport > 0: drawred.text((150, 40), str(value_energyImportExport) + " W", font = font16, fill = 0) else: - drawblack.text((150, 40), str(value_energyImportExport) + " W", font = font16, fill = 0) + drawblack.text((150, 40), str(-value_energyImportExport) + " W", font = font16, fill = 0) drawblack.text((150, 60), str(value_houseBatterySoC) + " %", font = font16, fill = 0) if value_houseBatteryLoadUnload > 0: drawblack.text((150, 80), str(value_houseBatteryLoadUnload) + " W", font = font16, fill = 0)