server_microphone.py aktualisiert
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user