move text

This commit is contained in:
Robert Borzutzki 2022-10-20 13:39:15 +02:00
parent 361fbdcf90
commit dcb4bdd9a4

View File

@ -113,17 +113,17 @@ try:
#if value_pvProduction < value_wHouseConsumption: #if value_pvProduction < value_wHouseConsumption:
#drawred.text((5, 15), 'Hausverbrauch', font = font10, fill = 0) #drawred.text((5, 15), 'Hausverbrauch', font = font10, fill = 0)
#else: #else:
drawblack.text((5, 15), 'Hausverbrauch', font = font10, fill = 0) drawblack.text((5, 20), 'Hausverbrauch', font = font10, fill = 0)
if value_energyImportExport > 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: 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: 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: 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("-----")
logging.info("PvProd: "+str(value_pvProduction)) logging.info("PvProd: "+str(value_pvProduction))