From 103d0e95f33ec4cc639834337d77f563c5428c11 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 6 Feb 2026 12:57:50 +0000 Subject: [PATCH] server_microphone.py aktualisiert --- server_microphone.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/server_microphone.py b/server_microphone.py index ca28d15..493ad81 100644 --- a/server_microphone.py +++ b/server_microphone.py @@ -67,6 +67,18 @@ async def run_test(): pixels.off() #os.system('~/tagesschau/start_news.sh') subprocess.Popen(["sh", "/home/pi/tagesschau/start_news.sh"]) + if "nova" in finalResult and "hex" in finalResult and "result" in finalResult: + pixels.wakeup() + time.sleep(1) + pixels.off() + #os.system('~/tagesschau/start_news.sh') + subprocess.Popen(["sh", "/home/pi/radio/start_nova.sh"]) + if "funk" in finalResult and "hex" in finalResult and "result" in finalResult: + pixels.wakeup() + time.sleep(1) + pixels.off() + #os.system('~/tagesschau/start_news.sh') + subprocess.Popen(["sh", "/home/pi/radio/start_dlf.sh"]) if "ruhe" in finalResult and "hex" in finalResult and run_stop_only_once_flag: pixels.wakeup() time.sleep(1)