Install Alexa on Raspberry Pi 4

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ย. 2024

ความคิดเห็น • 60

  • @onkarbatra9884
    @onkarbatra9884 2 ปีที่แล้ว +4

    Sam, a great tutorial as always! Can you please let me know if this project supports music playback? Can I expect same features that Echo offers?

  • @ahmedadel6957
    @ahmedadel6957 2 ปีที่แล้ว

    keep it up bro it isn't the first video is see for you and honestly you are sharing some special information with a very clear way , all the love from Egypt

  • @draco8894
    @draco8894 ปีที่แล้ว +1

    Please make another video with latest options

  • @larszxda
    @larszxda 2 ปีที่แล้ว +2

    I thought you had at least one 100k subs! Amazing content and explanation. Keep it up!

  • @lastcouponbonus2114
    @lastcouponbonus2114 2 ปีที่แล้ว +1

    Hi, how did you make the SDK interact with the home automation objects? I tried to start the sdk but it says only certified devices can do this.

  • @roxyu3384
    @roxyu3384 10 หลายเดือนก่อน

    Awesome tutorial, thanks

  • @avinashj2411
    @avinashj2411 2 ปีที่แล้ว +1

    Bro i getting error in step 7. "-bash: ./SampleApp/src/SampleApp: No such file or directory" . How to fix it bro and I using raspberry pi3B, Debian version: 10 (buster) 32-bit

  • @tiagosoares8139
    @tiagosoares8139 ปีที่แล้ว

    Great video !
    I managed to make it work here at home.
    But I live, I ask in Portuguese Brazil and Alexa is answering me in English. Question: how do I keep asking Alexa questions in Brazilian Portuguese?
    answer me in my language Brazilian Portuguese

  • @duongvuong8514
    @duongvuong8514 2 ปีที่แล้ว

    Hi, I like your video a lot and it helped me set up alexa successfully. However, I've tried to follow through your link using snowboy but it seem to be outdated and might not able to support any problem that could occur. Can you suggest me some other ways of enabling wake word? Much appreciated

  • @sanskarmudgal6810
    @sanskarmudgal6810 2 ปีที่แล้ว +1

    I am going to build this
    I have some doubts
    1. How can I add notification ring
    2. How can I use raspberry pi as bluetooth audio receiver
    3. Can we able to connect this with alexa app

  • @g.lolakis2978
    @g.lolakis2978 ปีที่แล้ว +1

    hello i am stuck
    i run all steps correctly....
    i took that error message
    pi@raspberrypi:~/sdk-folder/sdk-source/avs-device-sdk/tools/Install $ cd /home/pi/sdk-folder/sdk-build
    PA_ALSA_PLUGHW=1 ./SampleApp/src/SampleApp ./Integration/AlexaClientSDKConfig.json DEBUG9
    configFile ./Integration/AlexaClientSDKConfig.json
    Running app with log level: DEBUG9
    2023-05-29 19:41:48.581 [ 1] W Logger:debugLogLevelSpecifiedWhenDebugLogsCompiledOut:level=DEBUG9:
    WARNING: By default DEBUG logs are compiled out of RELEASE builds.
    To enable debug logs, rebuild in DEBUG mode by using the cmake parameter -DCMAKE_BUILD_TYPE=DEBUG or (if you *really* want debug logs in a RELEASE build) use the cmake parameter -DACSDK_DEBUG_LOG=ON.
    2023-05-29 19:41:48.581 [ 1] W Logger:debugLogLevelSpecifiedWhenDebugLogsCompiledOut:level=DEBUG9:
    WARNING: By default DEBUG logs are compiled out of RELEASE builds.
    To enable debug logs, rebuild in DEBUG mode by using the cmake parameter -DCMAKE_BUILD_TYPE=DEBUG or (if you *really* want debug logs in a RELEASE build) use the cmake parameter -DACSDK_DEBUG_LOG=ON.
    Failed to create SampleApplication!
    i didn't get authorize code.....

  • @RodrigoJustideOliveira
    @RodrigoJustideOliveira ปีที่แล้ว

    Hey thanks for the video! I'm installing on a different SBC: Orange Pi PC with Armbian (Raspbian-like). The installation process is complete, and it seems to be running, I can even find it in the Alexa Android app. But when I say something into the microphone I don't get any sound. Any idea? Does Alexa use Pulseaudio or Alsamixer?

  • @paarthmittal4557
    @paarthmittal4557 2 ปีที่แล้ว +1

    I got my alexa up and running. But how to support music playback. Please help.

  • @MTEX-tr6vd
    @MTEX-tr6vd 5 หลายเดือนก่อน +1

    I tried to recreate the project but failed the AVS is no longer free 😢

  • @balaviswanth5864
    @balaviswanth5864 2 ปีที่แล้ว

    its a amazing video bro...i have a q what is the difference between sdk and sdk sample app..?

    • @SamWestbyTech
      @SamWestbyTech  2 ปีที่แล้ว +2

      Good question. SDK stands for Software Development Kit and it's a set of tools that someone (Amazon in this case) provides to help build programs. An SDK Sample App is that entity's example of how to use the SDK.

  • @Vietnamcamping89
    @Vietnamcamping89 ปีที่แล้ว

    Thank you

  • @AK-ks1gp
    @AK-ks1gp 2 ปีที่แล้ว

    Very good explanation. It worked for me. One q can you please tell how to install setup for activate sensory alexa wake up word instead of t command

    • @SamWestbyTech
      @SamWestbyTech  2 ปีที่แล้ว

      Here’s a tutorial on that th-cam.com/video/wiLEr6TeE58/w-d-xo.html

    • @AK-ks1gp
      @AK-ks1gp 2 ปีที่แล้ว

      @@SamWestbyTech thank you Very much

  • @alangeorge2839
    @alangeorge2839 2 ปีที่แล้ว

    Hey, what codes will I need to add for it to start on boot?
    Hope to hear from you soon.

    • @SamWestbyTech
      @SamWestbyTech  2 ปีที่แล้ว

      Hey again, here’s I video I made for that. th-cam.com/video/Gl9HS7-H0mI/w-d-xo.html
      Just change the command in the video to the final command that runs the Alexa

  • @aadhilthanseer8823
    @aadhilthanseer8823 2 ปีที่แล้ว

    How can I use the app to autorun in boot and run in the background with wakeword?

  • @tap50
    @tap50 2 ปีที่แล้ว

    Everything installed great except when I try to do the last command
    cd /home/pi/sdk-folder/sdk-build
    PA_ALSA_PLUGHW=1 ./SampleApp/src/SampleApp ./Integration/AlexaClientSDKConfig.json DEBUG,
    I get the error:
    bash: ./SampleApp/src/SampleApp: No such file or directory.
    I did do the full SDK build and not just the SampleApp build. Does that make a difference?

    • @tap50
      @tap50 2 ปีที่แล้ว

      Disregard...I got it working. I just did the make SampleApp and it was ok after that

  • @domnick356
    @domnick356 2 ปีที่แล้ว

    How to change the location from America Vancouver to my country i tried to change but after running sample command it gets back to America 🤦🏽‍♂️ help!
    And can u make ur own video clearly that with entering t how to start the assistant. The video u suggested of kittai is little confusing. U solve the t problem using ur method so its easy for us to understand.
    And also the start assistant at boot.
    I think u should make video n attach it the same tutorial n upload again solving our problem.👍🏽
    Thx buddy lived ur videos 🔥😍

    • @SamWestbyTech
      @SamWestbyTech  2 ปีที่แล้ว +1

      Here's a writeup about the location issue developer.amazon.com/en-US/docs/alexa/avs-device-sdk/alexa-client-sdk-config-json.html.
      TLDR: You can change the default by editing the AlexaClientSDKConfig.json file

  • @dhairyasheelmane2984
    @dhairyasheelmane2984 2 ปีที่แล้ว

    Every time giving t command, can we setup push button for it

  • @matfen7978
    @matfen7978 ปีที่แล้ว

    Where are the other subs? Subbed

  • @surendrakumarsahoo9878
    @surendrakumarsahoo9878 ปีที่แล้ว

    Hello, I am from India. getting error "bash: cmake: command not found". Please replay. Thanks in advence

  • @abdulla3165
    @abdulla3165 2 ปีที่แล้ว +1

    Hi error %90 stoped why?

  • @paarthmittal4557
    @paarthmittal4557 2 ปีที่แล้ว

    How to enable music playback?

  • @creatvitylight224
    @creatvitylight224 2 ปีที่แล้ว

    It's works on pi 0w .. process is slow but it work..

  • @sistemasembebidos2783
    @sistemasembebidos2783 2 ปีที่แล้ว

    Is it possible not to press t and Enter to interact with alexa?

    • @SamWestbyTech
      @SamWestbyTech  2 ปีที่แล้ว +1

      Yes! You can implement a voice to text function that would do this

  • @dhairyasheelmane2984
    @dhairyasheelmane2984 2 ปีที่แล้ว +2

    How to set up wake up word

    • @SamWestbyTech
      @SamWestbyTech  2 ปีที่แล้ว

      Here’s a tutorial for that th-cam.com/video/wiLEr6TeE58/w-d-xo.html

    • @sebastienbouvier6622
      @sebastienbouvier6622 2 ปีที่แล้ว

      @@SamWestbyTech Snowboy has been arrested, can't you make a video to show how to wake up alexa with Picovoice for example ?

  • @AndrewMillhouse
    @AndrewMillhouse 2 ปีที่แล้ว

    This worked perfect for me, thanks! +1 to the comment about how I'm surprised you don't have 100k subscribers. I guess I'll be in the sub 300 club!
    2 quick questions: 1: How do you make the Alexa service start on reboot?
    2: Any idea how to incorporate MRM on the raspberry pi instance? I did some Googling but found nothing promising.

    • @SamWestbyTech
      @SamWestbyTech  2 ปีที่แล้ว

      Sorry for the slow reply, but thanks for being one of the early ones! You can follow this video to make the Alexa service start on reboot.
      What is MRM?

    • @AndrewMillhouse
      @AndrewMillhouse 2 ปีที่แล้ว

      @@SamWestbyTech MRM is multi room media. My goal was to link my alexa refridgerator to a raspberry pi with hifiberry amp100 setup in the same media group. It would allow me to use my giant fridge screen as a media hub. I ended up just linking the two via Bluetooth and am running the rpi on hifiberry OS.

  • @emmanueltr9139
    @emmanueltr9139 2 ปีที่แล้ว

    Error MAKE[1], how do i fix it?

  • @dhairyasheelmane2984
    @dhairyasheelmane2984 2 ปีที่แล้ว

    Great job ❤️

  • @sofianemeriane
    @sofianemeriane ปีที่แล้ว

    Great!

  • @muhammedsalahyahiya5615
    @muhammedsalahyahiya5615 2 ปีที่แล้ว

    Bro I can't make sdk sample app
    In 90% it hangged and I can't control anithing

    • @SamWestbyTech
      @SamWestbyTech  2 ปีที่แล้ว

      Did you raspberry pi feel hot? My guess is it overheated. Amazon suggests you unplug your pi, let it cool, and restart the installation script. It’ll go a bit faster and be less load on your pi

    • @jakub7012
      @jakub7012 2 ปีที่แล้ว +1

      @@SamWestbyTech I have the same problem at 90% and your tipp didn't helped me :( any other suggestions?

    • @jakub7012
      @jakub7012 2 ปีที่แล้ว +2

      Ok I finally figured it out!
      The Problem was that i was using a Raspberry Pi 3 and its Memory is really low but you can change it...
      with
      sudo dphys-swapfile swapoff
      sudo nano /etc/dphys-swapfile
      then change
      CONF_SWAPSIZE=100
      to
      CONF_SWAPSIZE=1024
      save it with Ctrl+O and leave it with Ctrl+X
      then
      sudo dphys-swapfile swapon
      and reboot the raspberry pi
      then try to again the make SampleApp command
      from that it took a lot of time but it worked finally :)

    • @SamWestbyTech
      @SamWestbyTech  2 ปีที่แล้ว +1

      @@jakub7012 Awesome! I glad you got it working. I'll be sure to share your solution with others who have a similar problem

  • @supmaverick
    @supmaverick ปีที่แล้ว

    😄

  • @jean-michelrotzen46
    @jean-michelrotzen46 2 ปีที่แล้ว

    Hi🙃🤗 ...
    I've a verry bad english and i beguin with Raspberry and i'm not an informatician ... I don't know if "infortician is correct...😊😊
    So... can you make subtitle in french on yours videos ? 🙃😉
    With a "DeskPi" (BOOT on USB : SSD 4 or 6 TO) i would like make an MédiaCenter with "LibreElec" With Alexa or Google Assitant (Micophone and speaker USB).
    🙄🤔🙄🤔🙄🙄Probably with Alexa cause a see in one of your video Google Stop in june 2023
    Please Please Please Make a French traduct on this video 🙃🤗🤗🤗
    OOh let me say you, yours tutotials are very very VERY GOOD, a REALY GOOD job🤗

  • @breaux555
    @breaux555 ปีที่แล้ว

    great video man, i've been following it step-by-step and i was wondering if you could help me out. i've been running into an issue with the mic test, i did double check the .asoundrc file and put in the correct numbers mine being 0,0 and 3, 0 but i keep running into this error:
    home/pi/sdk-folder/sdk-source/avs-device-sdk/tools/Install $ sudo apt-get install sox -y && rec test.wav
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    sox is already the newest version (14.4.2+git20190427-2+deb11u2).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    rec WARN alsa: can't encode 0-bit Unknown or not applicable
    rec FAIL formats: can't open output file `test.wav': Permission denied

  • @paarthmittal4557
    @paarthmittal4557 2 ปีที่แล้ว +1

    I cannot Authorize it shows libLibSampleApp.so cannot be opened

    • @SamWestbyTech
      @SamWestbyTech  2 ปีที่แล้ว +1

      What pi are you using and what os do you have?

    • @paarthmittal4557
      @paarthmittal4557 2 ปีที่แล้ว

      @@SamWestbyTech Sorry for the late reply. I am using Rpi4 Model B and Raspberry Pi OS 32 bit Debian Bullseye.

  • @cadenus
    @cadenus 2 ปีที่แล้ว

    Hi, I'm trying to install on a Raspberry Pi 4 and in step 4.2 "Build the SDK sample app" it gives me the following error:
    ketlarkcar@raspberrypi:~/sdk-folder/sdk-build $ time make SampleApp
    make[3]: *** No hay ninguna regla para construir el objetivo '/home/ketlarkcar/sdk-folder/third-party/curl-7.67.0/lib/.libs/libcurl.so', necesario para 'AVSCommon/libAVSCommon.so'. Alto.
    make[2]: *** [CMakeFiles/Makefile2:9346: AVSCommon/CMakeFiles/AVSCommon.dir/all] Error 2
    make[1]: *** [CMakeFiles/Makefile2:16539: SampleApp/src/CMakeFiles/SampleApp.dir/rule] Error 2
    make: *** [Makefile:4211: SampleApp] Error 2
    Note: home/ketlarkcar is my home directory and spanish is my language.
    Can you help me?

    • @cadenus
      @cadenus 2 ปีที่แล้ว

      Hi, I certainly corrected some things in the kernel of my PI and I was able to finish the installation. Best regards!

    • @fantiktok452
      @fantiktok452 2 ปีที่แล้ว

      @@cadenus how could you solve the error of make[2] enters and exits the directory?