Giter Club home page Giter Club logo

Comments (10)

shivasiddharth avatar shivasiddharth commented on May 18, 2024

Here is all that you can do:

  1. Voice control of GPIOs without IFTTT, api.ai, Actions SDK.
  2. Voice control of NodeMCU without IFTTT and MQTT.
  3. Radio streaming.
  4. Voice control of servo connected to RPi GPIO.
  5. Safe shutdown RPi using voice command.
  6. Stream Music from YouTube.

But these are restricted to Google assistant alone. Amazon did not give me permission to customize Alexa. .. For more details on how the commands work, please visit this page. https://github.com/shivasiddharth/GassistPi

from assistants-pi.

pri-coder avatar pri-coder commented on May 18, 2024

Ok. Do I need to install GassistPi or can I make the config changes to the Assistants-Pi project?

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 18, 2024

This installation uses GassistPi only. So there is nothing you need to do. Everything is already done and is ready to be used.

from assistants-pi.

pri-coder avatar pri-coder commented on May 18, 2024

Oh ok. Do I need to enable anything to make the Play voice command work?

from assistants-pi.

pri-coder avatar pri-coder commented on May 18, 2024

Saying Play based in your example doesn't play anything from YouTube. It just plays a 2 second music sample.

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 18, 2024

Ok, my mistake. I had forgotten to change a line in the installation script here. I have fixed it now. Open a terminal and type:
mpsyt set player vlc, set playerargs ,exit
now the play command should work fine.

from assistants-pi.

pri-coder avatar pri-coder commented on May 18, 2024

Ran these commands but the play command still does not work

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 18, 2024

Open the actions.py file which in /home/pi/GassistPi/src directory. Scroll to def YouTube(phrase): and within that down below, you will have a line playshell.stdin.write(bytes('/' + track + '\n1\n')) replace that with playshell.stdin.write(bytes('/' + track + '\n1\n','utf-8'))

An oversight which i had forgotten to correct.

from assistants-pi.

pri-coder avatar pri-coder commented on May 18, 2024

I have the Assistants Pi code base which does not have an src folder

from assistants-pi.

pri-coder avatar pri-coder commented on May 18, 2024

Found the GassistPi in home/Pi as well and made the changes you suggested. Play command now works. Thanks!

from assistants-pi.

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.