How to Build Smart Speaker with Google Assistant and Alexa (DIY)




Smart speakers are all the rage these days, with both Alexa-powered and Google Assistant-powered speakers taking over the market. But what if you want the best of both worlds? Well, you build your very own smart speaker. At least that's what we did. Yes, in this video, we show you how to build a smart speaker with Google Assistant and Alexa.

Here's our detailed article on the same: https://beebom.com/how-build-smart-speaker-alexa-google-assistant/

GitHub Project Source: https://github.com/shivasiddharth/Assistants-Pi

Things You Need:

Raspberry Pi Model B RASP-PI-3 Motherboard: http://geni.us/B4ydvw
Official Raspberry Pi 3 Case: http://geni.us/8I9ozQX
Portronics Dome Portable Bluetooth Speaker with Mic: http://geni.us/Chc6
Amkette FUH341 Highspeed USB 2.0 4 Port Hub: http://geni.us/BayD
Singtronics Super Mini USB 2.0 Audio Adapter: http://fkrt.it/1zN8cKNNNN

Links:

Raspberry Pi NOOBS package: https://downloads.raspberrypi.org/NOOBS_latest
Create Amazon Developer Account: https://github.com/alexa/alexa-avs-sample-app/wiki/Create-Security-Profile
Create Google Developer Account: https://developers.google.com/assistant/sdk/develop/python/config-dev-project-and-account
Enable Assistant API: https://console.developers.google.com/apis/api/embeddedassistant.googleapis.com/overview?pli=1
README file located at /home/pi/Assistants-Pi

Commands:

git clone https://github.com/shivasiddharth/Assistants-Pi
sudo chmod +x /home/pi/Assistants-Pi/prep-system.sh
sudo chmod +x /home/pi/Assistants-Pi/audio-test.sh
sudo chmod +x /home/pi/Assistants-Pi/installer.sh
sudo /home/pi/Assistants-Pi/prep-system.sh

sudo /home/pi/Assistants-Pi/audio-test.sh

sudo /home/pi/Assistants-Pi/installer.sh

Check out our video gear here: https://kit.com/BeebomCo/beebom-video-gear

Follow us on:
Facebook: https://www.facebook.com/beebomco/
Twitter: http://twitter.com/BeebomCo
Instagram: http://www.instagram.com/BeebomCo/

source

32 Comments

  1. At 5:59 as soon as he says 'Hey Google!', my phone assistant always starts!

    ReplyDelete
  2. Omg thats just awesome u people made #bbb beebombot

    ReplyDelete
  3. Can you show the assembly slowly because it is very hard to do assembly

    ReplyDelete
  4. Wait a second!!!! All that together costs around 6000 ruppes
    I guess we could better buy the ALEXA DOT or GOGGLE HOME MINI for just 4499 ruppes on amazon!!!!!!!! And yes that would also be much reliable and also both of them do not reqire any set ups ☺☺😀😀

    ReplyDelete
  5. Hey the portronics dome has a mic
    So do we need a USB mic?

    ReplyDelete
  6. What should and which option to select when we have an in-built mic in the speaker

    ReplyDelete
  7. Bhai I'm not a programmer man, how will I handle all the code stuff(sir ke upar se jata hai ye sab) though I'm interested in these things.

    ReplyDelete
  8. Hey what if I only want anyone
    Plz help me I want google only

    ReplyDelete
  9. Hi bro can you do video on powerbanks comparison(like you did on quick chargers)

    ReplyDelete
  10. What is the total cost for it

    ReplyDelete
  11. What is the total cost for it

    ReplyDelete
  12. What is the total cost for it

    ReplyDelete
  13. What is the total cost for it

    ReplyDelete
  14. i make this and i 3d print case

    ReplyDelete
  15. Name should be black assistant

    ReplyDelete
  16. after installing both Alexa and Google. when trying to give a command in a new terminal for Google "source env/bin/activate" its giving error telling NO SUCH FILE OR DIRECTORY what to do for this error? please help!

    ReplyDelete
  17. For rich : buy STEP 1 BUY Amazon dot , Google home mini and feviquick , STEP 2 . PASTE THEM TOGETHER

    ReplyDelete
  18. May I know the intro music ?

    ReplyDelete
  19. STUCK AT "Executing: /tmp/apt-key-gpghome.CetPGkMkEp/gpg.1.sh --keyserver pgp.mit.edu --recv-keys EEA14886" FOR LAST 5 HOURS. HELP!

    ReplyDelete
  20. How to connect it with Bluetooth speaker and microphone

    ReplyDelete
  21. 5:50, Kind of a misunderstanding.. I have ported the 20th Dec GA SDK update to the Assistants-Pi, so the Pi will get picked up in the GA App and you can control all your smart devices assigned to GA app. Only the recent Google Music playback has not been mirrored to the Assistants-Pi git.

    ReplyDelete
Previous Post Next Post
/*! templateifyMenu by Templateify | v1.0.0 - https://templateify.com */ !function(a){a.fn.templateifyMenu=function(){return this.each(function(){var $t=a(this),b=$t.find('.LinkList ul > li').children('a'),c=b.length;for(var i=0;i');}} if(h.charAt(0)==='_'){d.text(h.replace('_',''));d.parent().appendTo(m.children('.sub-menu'));}} for(var i=0;i');}} if(k.charAt(0)==='_'){f.text(k.replace('_',''));f.parent().appendTo(n.children('.sub-menu2'));}} $t.find('.LinkList ul li ul').parent('li').addClass('has-sub');});}}(jQuery); /*! templateifyThumb by Templateify | v1.3.0 - https://templateify.com */ !function(o){o.fn.templateifyThumb=function(n){return n=o.extend({onScroll:!0},n),this.each(function(t,c,e){var r=o(this),l=o(window),a=r.data("image"),h="w"+Math.round(r.width()+r.width()/ 10)+"-h"+Math.round(r.height()+r.height()/ 10)+"-p-k-no-nu";function s(){var o=new Image;o.onload=function(){r.attr("style","background-image:url("+this.src+")").addClass("templateify-lazy")},o.src=t} a.match("resources.blogblog.com")&&(a="undefined"!=typeof noThumbnail?noThumbnail:"//1.bp.blogspot.com/-rI4UCIrwEI4/YN3nGkf0nCI/AAAAAAAAAD0/DQ6fW7eCps8NL7S0oh374KFg1MsWUf2GQCLcBGAsYHQ/s72-c/ptb-nth.png"),a.match("blogger.googleusercontent.com")&&a.match("=")&&(e=a.split("="),a=e[1]&&""!=e[1].trim()?e[0]+"=w72-h72-p-k-no-nu":a),a.match("blogger.googleusercontent.com")&&!a.match("=")&&(a+="=w72-h72-p-k-no-nu"),t=a.match("/s72-c")?a.replace("/s72-c","/"+h):a.match("/w72-h")?a.replace("/w72-h72-p-k-no-nu","/"+h):a.match("=w72-h")?a.replace("=w72-h72-p-k-no-nu","="+h):a,1==n.onScroll?l.on("load resize scroll",function o(){l.scrollTop()+l.height()>=r.offset().top&&(l.off("load resize scroll",o),s())}).trigger("scroll"):l.on("load",function o(){l.off("load",o),s()}).trigger("load")})}}(jQuery); /*! templateifyTicker by Templateify | v1.0.0 - https://templateify.com */ !function(t){t.fn.templateifyTicker=function(){return this.each(function(){new class{constructor(t){this.ticker=t,this.active=0,this.tickerInit()} tickerActive(t){this.active=t,this.items.each(function(){this.classList.remove("active")}),this.items[t].classList.add("active"),this.tickerAuto()} tickerArrows(){this.ticker.append('
')} prev(){this.active>0?this.tickerActive(this.active-1):this.tickerActive(this.items.length-1)} next(){this.active *");const t=this.items.length;t&&(this.tickerActive(0),t>=2&&(this.tickerArrows(),this.tickerNavigation()))}}(t(this))})}}(jQuery); /*! jQuery replaceText | v1.1.0 - https://benalman.com/projects/jquery-replacetext-plugin */ !function(e){e.fn.replaceText=function(n,t,i){return this.each(function(){var o,r,l=this.firstChild,u=[];if(l)do{3===l.nodeType&&(r=(o=l.nodeValue).replace(n,t))!==o&&(!i&&/d){var a=c[0].children("li:last")[0];a&&c.unshift(t("<"+r+"/>").appendTo(a))}else c.splice(0,Math.min(d-e,Math.max(c.length-1,0)));t("
  • ").appendTo(c[0]).append(t("").text(n.text()).attr("href","#"+n.attr("id"))),d=e})})},e=t.fn.toc;t.fn.toc=n,t.fn.toc.noConflict=function(){return t.fn.toc=e,this},t(function(){n.call(t("[data-toc]"))})}(window.jQuery); /*! Javascript Cookie | v1.5.1 - https://github.com/js-cookie/js-cookie */ !function(e){var n;if("function"==typeof define&&define.amd)define(["jquery"],e);else if("object"==typeof exports){try{n=require("jquery")}catch(e){}module.exports=e(n)}else{var o=window.Cookies,r=window.Cookies=e(window.jQuery);r.noConflict=function(){return window.Cookies=o,r}}}(function(e){var n=/\+/g;function o(e){return u.raw?e:encodeURIComponent(e)}function r(e){return o(u.json?JSON.stringify(e):String(e))}function t(e,o){var r=u.raw?e:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(n," ")),u.json?JSON.parse(e):e}catch(e){}}(e);return c(o)?o(r):r}function i(){for(var e,n,o=0,r={};o1&&!c(n)){if("number"==typeof(f=i(u.defaults,f)).expires){var s=f.expires,a=f.expires=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*s)}return document.cookie=[o(e),"=",r(n),f.expires?"; expires="+f.expires.toUTCString():"",f.path?"; path="+f.path:"",f.domain?"; domain="+f.domain:"",f.secure?"; secure":""].join("")}for(var d,p=e?void 0:{},l=document.cookie?document.cookie.split("; "):[],m=0,v=l.length;m