So typically one would do something like "hey google, what time is it" or "what is the weather. I was wondering if there was a way to do the same thing via code.
such as:
if event.type == EventType.ON_ALERT_STARTED:
do this thing ('what time is it")
so that everytime the eventype alert was triggered, I could initiate a command, as I would as if I was saying it.
Thanks much++
sending command programatically
Moderators: AmyCowen, bfinio, MadelineB, sunmoonstars, Moderators
-
- Posts: 2
- Joined: Wed Apr 28, 2021 3:52 am
- Occupation: Student
-
- Expert
- Posts: 684
- Joined: Mon Aug 12, 2013 2:41 pm
- Occupation: Science Buddies Staff
- Project Question: Expert
- Project Due Date: n/a
- Project Status: Not applicable
Re: sending command programatically
Hi - this forum is for K-12 students using the Science Buddies Raspberry Pi Kit, which does not include a voice activation project. However, if you search online, you will find many Raspberry Pi voice assistant projects. You can also get more help in the official Raspberry Pi forums.