Skip to main content

Installing Google Assistant

Steps to install Google Assistant


  1. Follow the instructions here to configure a developer project and account settings.
    Then follow this guide to register the device and obtain the credentials.json file. Refer to the video below for step by step guidelines.
  1. Place the credentials.json file in/home/${USER}/ directory DO NOT RENAME
  2. Use the one-line installer for installing Google Assistant.
    3.1 Change directory:
    cd /home/${USER}/
    
    3.2 Make the installer Executable:
    sudo chmod +x ./GassistPi/scripts/gassist-installer.sh
    
    3.3 Execute the installer:
    sudo  ./GassistPi/scripts/gassist-installer.sh
    
Note
When Prompted, enter your Google Cloud console Project-Id, A name for your Assistant and the Full path to the credentials file, including the json extension.
  1. Copy the google assistant authentication link from terminal and authorize using your google account.
  2. Copy the authorization code from browser onto the terminal and press enter.
  3. After successful authentication, the Google Assistant Demo test will automatically start. At the start, the volume might be low, the assistant volume is independent of the Pi volume, increase the volume by using Hey Google, Set volume to maximum command.
  4. After verifying the working of assistant, close and exit the terminal.

Comments

  1. i am getting this error while installing

    ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    numpy>=1.15.4 from https://www.piwheels.org/simple/numpy/numpy-1.17.0-cp37-cp37m-linux_armv7l.whl#sha256=3002534e224cb21b032ebba571a962649d0d7a076b274f2ce23863c0d93eb40c (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 21)):
    Expected sha256 3002534e224cb21b032ebba571a962649d0d7a076b274f2ce23863c0d93eb40c
    Got 1c60323b30dc1991555734a0ff274cb844cf79d255f7d4907b5b48ec3908af1a

    ReplyDelete
    Replies
    1. Hi i have same error like you, BUT i solved it
      Here is my solution
      First, Raspberrypi OS Buster is not working with Gassistpi
      So you have to down load Stretch OS
      Link : https://downloads.raspberrypi.org/raspbian/images/raspbian-2019-04-09/
      and try again then you can see work it
      have a nice day~

      Delete
    2. This comment has been removed by the author.

      Delete

Post a Comment