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

Start Google Assistant at boot time

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

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

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

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

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

    if you save your bash script in Documents it shoud be like this
    lxterminal -e /home/pi/Documents/

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

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

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

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

  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.

  7. When I am copying and paste in browser I get this error. "Some requested scopes were invalid. {invalid=[,}" I have downloaded a new json and searched for something wrong but I can not find anything

  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.

  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.

  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!!

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

  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.
    [] Input device could not be opened: default

    any idea how to fix it?

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

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

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

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

  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

  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

  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

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

  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 clean for cryptography
    Failed to build grpcio cryptography
    what happened ??

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


Leave a Reply

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