Building Google Assistant with Raspberry Pi



published: 2018-08-21 18:33:58

In this video I explained step by step process to build your own Google Home Assistant with Raspberry Pi

How to Install Raspbian OS and Prepare Raspberry Pi

Connect Raspberry Pi from Laptop using Remote Desktop Connection

Configure & Test Audio on Raspberry Pi

Google Assistant Practical Manual
https://drive.google.com/open?id=1IW4Ssu-0-Er0ojO_1fIDjIfTK-RpHqXK

Start Google Assistant at boot time
https://drive.google.com/open?id=1dYSHka8jSAOaCrhGaKNQ28lA9GHaO8BY

Enjoy the Video …Hope you like it…

By Manorama.

Watch the original Smart Home Video here

Some local news is curated - Original might have been posted at a different date/ time! Click the source link for details.

24 Comments - Write a Comment

  1. Can you put the commands in the description please

    Reply
  2. Ok I've figure out how to automatically start it, create a simple bash script like this:

    #!/bin/bash
    source /home/pi/env/bin/activate
    googlesamples-assistant-hotword –device-model-id "your-device-model-id"

    I've save it as "audioplayer1.sh" in Documents
    make it executable with:
    cd Documents
    sudo chmod +x audioplayer1.sh

    Edit: nano ~/.config/lxsession/LXDE-pi/autostart

    if you save your bash script in Documents it shoud be like this
    type:
    lxterminal -e /home/pi/Documents/audioplayer1.sh

    save it:
    reboot and it should open automatically all you need to do is say "ok google" .

    Reply
  3. arecord –format=S16_LE –duration=5 –rate=16000 –file-type=raw out.rawpo[]11/1/

    Reply
  4. when we are copying url in terminal and puting in browser it shows error.how to overcome this

    Reply
  5. url is providing in terminal but it shows error .how to check in description box manually

    Reply
  6. Great Tutorial Manorama Ji, well-documented procedure and structured video, became you subscriber right after watching and reading your PDF guild, keep up the good work.

    Reply
  7. When I am copying and paste in browser I get this error. "Some requested scopes were invalid. {invalid=[https://googleapis.com/auth/gcm, https://googleapis.com/auth/assistant-sdk-prototype%5D}" I have downloaded a new json and searched for something wrong but I can not find anything

    Reply
  8. after complete the project it works nice but when i reboot my pi and try to start it shows me some error. what do i do now ? plz reply me fast. This is college project. thank you.

    Reply
  9. Awesome Video!! Very informative!!!
    for autostart, lxsession folder is missing in my pi .config file .. so i am not able to complete autostart. Can you please let me know how to get lxsession folder. your help is much appreciated. Thank you in advance.

    Reply
  10. can you give me a hint or provide code to wake up google assistant using push button. Currently with auto start code, i am running out of daily quota limit (500 requests per day) though i am not asking that many questions. Thank you in advance!!

    Reply
  11. URL not generated what can I do please help me 🤔🤔😐

    Reply
  12. Hi nice video thanks for it but i have one question !
    do you know how can I changet jack 3.5mm output audio to bluetooth?
    I have changed the sound file to this pcm.!default {
    type asym
    capture.pcm "mic"
    playback.pcm "speaker"
    }
    pcm.mic {
    type plug slave { pcm "hw:1,0" }
    }
    pcm.speaker {
    type plug
    slave.pcm {
    type bluealsa device "xx:xx:xx::xx:xx" tI have changed the bluetooth mac address to the "speaker address"
    profile "a2dp"
    }
    }
    and after I received this error message.
    [FATAL:audio_input_stream.cc(47)] Input device could not be opened: default
    Aborted

    any idea how to fix it?

    Reply
  13. It running very great. Thanks for the help and info 😊😊

    Reply
  14. can you make a link for the google oauthlib-tool–secrets

    Reply
  15. How to building Google assistant language in hindi raspberry Pi

    Reply
  16. Everything works fine …now i want to view the given commands how can i view all the given commands

    Reply
  17. It shows portaudio error after the authentication process.. Its just after we try to run the sample to check after putting project id and device model id

    Reply
  18. (env) pi@raspberrypi:~ $ googlesamples-assistant-hotword -project-id psychic-order*** –device-model-id psychic-order-22*******

    device_model_id: psychic-order-222606-assis***

    device_id: 9BE22303DE49645BBA9E6E**

    Segmentation fault

    I'm not able to run google sample-assistant-hotword please help me.

    but I can run googlesamples-assistant-pushtotalk

    Reply
  19. After running google successfully i reboot the raspberry pi and tried running the google assistant its showing error in the code can uh help

    Reply
  20. How can i activate the google assistant by voice command

    Reply
  21. it couldn't just happen errors.
    python -m pip install google-assistant-sdk[samples]

    error: invalid command 'bdist_wheel'

    Failed building wheel for cryptography
    Running setup.py clean for cryptography
    Failed to build grpcio cryptography
    what happened ??

    Reply
  22. Please give the wake up code for google assistant when start up

    Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.