From 7b5c4d6600bac1412e0e4bee29bdf7d0346997e0 Mon Sep 17 00:00:00 2001 From: Mihit Date: Fri, 17 Apr 2026 01:25:27 +0530 Subject: [PATCH] added shutdown command --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index e26f0d9..50da62e 100644 --- a/main.py +++ b/main.py @@ -27,3 +27,4 @@ with serial.Serial('COM10', 115200, timeout=1) as ser: "Authorization": f"Bearer {ntfy_token}" } ) + os.system("shutdown now") \ No newline at end of file