server_microphone.py aktualisiert
This commit is contained in:
@@ -68,6 +68,11 @@ async def run_test():
|
|||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
pixels.off()
|
pixels.off()
|
||||||
subprocess.Popen(["sh", "/home/pi/tagesschau/start_news.sh"])
|
subprocess.Popen(["sh", "/home/pi/tagesschau/start_news.sh"])
|
||||||
|
if "saarland" in finalResult and activation_word in finalResult and "result" in finalResult:
|
||||||
|
pixels.wakeup()
|
||||||
|
time.sleep(1)
|
||||||
|
pixels.off()
|
||||||
|
subprocess.Popen(["sh", "/home/pi/tagesschau/start_news.sh"])
|
||||||
if "nova" in finalResult and activation_word in finalResult and "result" in finalResult:
|
if "nova" in finalResult and activation_word in finalResult and "result" in finalResult:
|
||||||
pixels.wakeup()
|
pixels.wakeup()
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user