Comments (6)
My take was "sudo power off" and "sudo reboot". =)
from aiyprojects-raspbian.
@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).
from aiyprojects-raspbian.
What about making it 'Raspberry power off' (and reboot likewise) or 'cube power off'?
from aiyprojects-raspbian.
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:
Turn Left
Power Off TV
Where's the space station tonight?
If you had a custom prefix, and set to say Computer, you could do:
<Trigger Action> Computer Turn Left
<Trigger Action> Computer Power Off TV
<Trigger Action> Computer Where's the space station tonight?
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:
Hey Google <pause> Computer Turn Left
Hey Google <pause> Computer Power Off TV
Hey Google <pause> Computer Where's the space station tonight?
Confuses my 5 year old when I tried linking our GoPiGo over the weekend. "But that doesn't make sense" she said. lol
from aiyprojects-raspbian.
You can change the keywords in action.py to whatever you want:
actor.add_keyword(_('pi power off'), PowerCommand(say, 'shutdown'))
actor.add_keyword(_('pi reboot'), PowerCommand(say, 'reboot'))
from aiyprojects-raspbian.
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).
from aiyprojects-raspbian.
Related Issues (20)
- AIY python package version HOT 2
- GET request in Robot framework using AWS credentials HOT 4
- say and play_wav failing after invoking CloudSpeechClient client.recognize method
- AYI-vision: Unit joy_dection_demo.service could not be found HOT 3
- AIY-voice: problems encountered by assistant_grpc_demo.py after some time of use HOT 3
- Python package install fails on raspbian
- aiy-python-wheels fails to get installed on raspbian bullseye on rpi4 HOT 4
- Pico TTS not installable (Bullseye)
- Voice Bonnet drivers not installed (HACKING.md instructions) HOT 1
- No sound input/output on Raspbian Bullseye HOT 1
- Huge delay in voice recording. HOT 1
- 500 error code HOT 3
- No microphone as user Pi on version 20210402
- Not working with Raspbian Bullseye HOT 1
- Voice Bonnet not working with Pi 4 HOT 1
- Pi Zero 2 W?
- Voice Kit Google - Failed (src/examples/voice/assistant_grpc_demo.py)
- post-installation script subprocess returned error exit status 6 HOT 3
- Voice kit google (/lib/arm-linux-gnueabihf/libc.so.6: version 'GLIBC_2.34' not found (required by /lib/arm-linux-gnueabihf/libgcc_s.so.1))
- Sound driver for AIY Voice Kit V1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiyprojects-raspbian.