added some logging to provide assurance of a successful start
This commit is contained in:
1
main.py
1
main.py
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user