-
Notifications
You must be signed in to change notification settings - Fork 695
"pi" actions are not interrupted #69
Comments
@ktinkerer tagging ya here. I can change it as well. Just, let's discuss here and figure out what to use (or make it configurable). |
What about making it 'Raspberry power off' (and reboot likewise) or 'cube power off'? |
I think a configuration option, allowing the user to specify whatever prefix they like, would be best. Or in my case, no prefix. "Hey Google, reboot" Because I use the hot words and it doesn't make sense to say, "Hey Google, Pi reboot" Again I'm happy to do the work in a PR. Just want some feedback/discussion here first. I like the infrastructure that was done as part of the original PR to enable this. It allows you to set up your own commands going forward. So if you want to add things like:
If you had a custom prefix, and set to say Computer, you could do:
Which would work pretty good, because Computer is a complex word to match. being whatever you have setup: button push, clap, hot words, etc. It's just I have Hot Word activation enabled on ours, which wouldn't make sense:
Confuses my 5 year old when I tried linking our GoPiGo over the weekend. "But that doesn't make sense" she said. lol |
You can change the keywords in action.py to whatever you want:
|
the point of this Issue is to change it to something from that default, as it does not work very well.. with now 5 different people trying it (see OP). |
The speech recognition wasn't very good at recognizing "pi" but "raspberry" seems to work better. Fixes google#69.
The speech recognition wasn't very good at recognizing "pi" but "raspberry" seems to work better. Fixes #69.
My take was "sudo power off" and "sudo reboot". =) |
I recommend removing the "pi" prefix from the Actions, that was added under #30. Or, pick a different prefix.
How about "computer"?
How about making it configurable? We call ours "spee", so "spee power off" would work pretty well.
Per PR #30 , the new "power off" and "reboot" commands were prefixed with "pi":
"pi power off"
"pi reboot"
Unfortunately, our Voice Kit cannot interrupt "pi" most of the time. Cases in point:
5 year old daughter: "pi power off"
May 27 06:38:36 spee python3[550]: {'text': 'hey power off'}
me saying "pi power off"
May 27 06:38:51 spee python3[550]: {'text': 'hi power off'}
spouse saying "pi power off"
May 27 06:39:52 spee python3[550]: {'text': 'say power off'}
Only after about a dozen times, was "Pi power off" detected by me saying it.
Also, if you actually say commands like "hey power off", the assistant responds with "Sorry, Power commands are not yet supported."
^- this would indicate that the SDK may support power commands in the future itself through some API. Something to keep an eye out for.
The text was updated successfully, but these errors were encountered: