This commit is contained in:
Robert Borzutzki 2022-10-20 11:48:57 +02:00
parent bb86e88482
commit 684a8df645

View File

@ -133,12 +133,12 @@ try:
logging.info("BatI/O: "+str(value_houseBatteryLoadUnload)) logging.info("BatI/O: "+str(value_houseBatteryLoadUnload))
drawblack.rectangle((150, 0, 220, 50), fill = 255) drawblack.rectangle((150, 0, 220, 50), fill = 255)
drawblack.text((150, 0), str(value_pvProduction) + " W", font = font10, fill = 0) drawblack.text((150, 0), str(value_pvProduction) + " W", font = font10, fill = 0)
drawblack.rectangle((150, 15, 220, 50), fill = 0) drawblack.rectangle((150, 15, 220, 50), fill = 255)
#if value_pvProduction < value_wHouseConsumption: #if value_pvProduction < value_wHouseConsumption:
#drawred.text((150, 15), str(value_wHouseConsumption) + " W", font = font10, fill = 0) #drawred.text((150, 15), str(value_wHouseConsumption) + " W", font = font10, fill = 0)
#else: #else:
drawblack.text((150, 15), str(value_wHouseConsumption) + " W", font = font10, fill = 0) drawblack.text((150, 15), str(value_wHouseConsumption) + " W", font = font10, fill = 0)
drawblack.rectangle((150, 30, 220, 50), fill = 255) drawblack.rectangle((150, 30, 220, 50), fill = 0)
#if value_energyImportExport > 0: #if value_energyImportExport > 0:
#drawred.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0) #drawred.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0)
#else: #else: