sending command programatically

Questions related to Raspberry Pi Projects Kit from Science Buddies only.

Moderators: AmyCowen, bfinio, MadelineB, sunmoonstars, Moderators

Locked
milesstone
Posts: 2
Joined: Wed Apr 28, 2021 3:52 am
Occupation: Student

sending command programatically

Post by milesstone »

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++
bfinio
Expert
Posts: 751
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

Post by bfinio »

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.
Locked

Return to “Raspberry Pi Projects Kit”