From b9f4f8b966b002f4a4d356eb77339961b9b265ca Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Wed, 19 Oct 2022 21:30:32 +0200 Subject: [PATCH] change logging level --- examples/mqtt.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/mqtt.py b/examples/mqtt.py index fc4323f..76cfa3d 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -124,12 +124,12 @@ try: else: drawred.text((5, 60), 'Batterie Entladen', font = font10, fill = 0) - logging.debug("-----") - logging.debug("PvP: "+str(value_pvProduction)) - logging.debug("Hou: "+str(value_wHouseConsumption)) - logging.debug("I/E: "+str(value_energyImportExport)) - logging.debug("SoC: "+str(value_houseBatterySoC)) - logging.debug("Bio: "+str(value_houseBatteryLoadUnload)) + logging.info("-----") + logging.info("PvP: "+str(value_pvProduction)) + logging.info("Hou: "+str(value_wHouseConsumption)) + logging.info("I/E: "+str(value_energyImportExport)) + logging.info("SoC: "+str(value_houseBatterySoC)) + logging.info("Bio: "+str(value_houseBatteryLoadUnload)) #drawblack.rectangle((150, 0, 220, 50), fill = 255) drawblack.text((150, 0), str(value_pvProduction) + " W", font = font10, fill = 0) #drawblack.rectangle((150, 15, 220, 50), fill = 255)