added some logging to provide assurance of a successful start

This commit is contained in:
2026-06-13 13:26:39 +05:30
parent 1458dc282d
commit 5f3a02bb75

View File

@@ -121,6 +121,7 @@ def check_grid(status: bool):
return False return False
def main(): def main():
logger.info("Power monitor has started")
shutdown_triggered = False shutdown_triggered = False
try: try:
with serial.Serial(device_name, 115200, timeout=1) as ser: with serial.Serial(device_name, 115200, timeout=1) as ser: