This commit is contained in:
Robert Borzutzki 2022-10-20 13:04:52 +02:00
parent aedac8321e
commit d48ca45680

View File

@ -119,11 +119,11 @@ try:
else:
drawblack.text((5, 30), 'Strom Export', font = font10, fill = 0)
drawblack.text((5, 60), 'Batterie', font = font10, fill = 0)
drawblack.text((5, 45), 'Batterie', font = font10, fill = 0)
if value_houseBatteryLoadUnload > 0:
drawblack.text((5, 75), 'Batterie Laden', font = font10, fill = 0)
drawblack.text((5, 60), 'Batterie Laden', font = font10, fill = 0)
else:
drawblack.text((5, 75), 'Batterie Entladen', font = font10, fill = 0)
drawblack.text((5, 60), 'Batterie Entladen', font = font10, fill = 0)
logging.info("-----")
logging.info("PvProd: "+str(value_pvProduction))
@ -144,10 +144,10 @@ try:
#else:
drawblack.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0)
#drawblack.rectangle((150, 60, 220, 50), fill = 0)
drawblack.text((150, 60), str(value_houseBatterySoC) + " %", font = font10, fill = 0)
drawblack.text((150, 45), str(value_houseBatterySoC) + " %", font = font10, fill = 0)
#drawblack.rectangle((150, 75, 220, 50), fill = 255)
#if value_houseBatteryLoadUnload > 0:
drawblack.text((150, 75), str(value_houseBatteryLoadUnload) + " W", font = font10, fill = 0)
drawblack.text((150, 60), str(value_houseBatteryLoadUnload) + " W", font = font10, fill = 0)
#else:
#drawred.text((150, 60), str(value_houseBatteryLoadUnload) + " W", font = font10, fill = 0)