This commit is contained in:
Robert Borzutzki 2022-10-19 19:22:58 +02:00
parent 3b9e4f65c5
commit b02798a2b2

View File

@ -161,7 +161,7 @@ try:
logging.info(value_energyImportExport) logging.info(value_energyImportExport)
logging.info(value_houseBatterySoC) logging.info(value_houseBatterySoC)
logging.info(value_houseBatteryLoadUnload) logging.info(value_houseBatteryLoadUnload)
drawblack.rectangle((150, 0, 220, 50), fill = 1) drawblack.rectangle((150, 0, 220, 50), fill = 255)
drawblack.text((150, 0), value_pvProduction, font = font10, fill = 0) drawblack.text((150, 0), value_pvProduction, font = font10, fill = 0)
drawblack.rectangle((150, 15, 220, 50), fill = 255) drawblack.rectangle((150, 15, 220, 50), fill = 255)
drawblack.text((150, 15), value_wHouseConsumption, font = font10, fill = 0) drawblack.text((150, 15), value_wHouseConsumption, font = font10, fill = 0)
@ -169,7 +169,7 @@ try:
drawblack.text((150, 30), value_energyImportExport, font = font10, fill = 0) drawblack.text((150, 30), value_energyImportExport, font = font10, fill = 0)
drawblack.rectangle((150, 45, 220, 50), fill = 255) drawblack.rectangle((150, 45, 220, 50), fill = 255)
drawblack.text((150, 45), value_houseBatterySoC, font = font10, fill = 0) drawblack.text((150, 45), value_houseBatterySoC, font = font10, fill = 0)
drawblack.rectangle((150, 60, 220, 50), fill = 255) drawblack.rectangle((150, 60, 220, 50), fill = 1)
drawblack.text((150, 60), value_houseBatteryLoadUnload, font = font10, fill = 0) drawblack.text((150, 60), value_houseBatteryLoadUnload, font = font10, fill = 0)
epd.display(epd.getbuffer(HBlackimage)) epd.display(epd.getbuffer(HBlackimage))