Git Product home page Git Product logo

Comments (6)

holten avatar holten commented on April 28, 2024 1

My take was "sudo power off" and "sudo reboot". =)

from aiyprojects-raspbian.

eduncan911 avatar eduncan911 commented on April 28, 2024

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

ensonic avatar ensonic commented on April 28, 2024

What about making it 'Raspberry power off' (and reboot likewise) or 'cube power off'?

from aiyprojects-raspbian.

eduncan911 avatar eduncan911 commented on April 28, 2024

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.

ktinkerer avatar ktinkerer commented on April 28, 2024

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.

eduncan911 avatar eduncan911 commented on April 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.