move text
This commit is contained in:
parent
361fbdcf90
commit
dcb4bdd9a4
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user