How to Setup Alexa on Raspberry Pi - L3-37 Solo: A Star Wars Story

Ғылым және технология

EDIT 1: Literally THE DAY AFTER I released this video there was a new Raspian release. They will now prompt you for your Wifi Info on boot, which makes it easier.
For the autorun. There will be no dialog terminal. The autorun runs in the background. A easy way to get some feedback is to add an LED going HIGH when L3 is in her Idle state. You can do this with the UIManager.cpp file.
EDIT2: I have to stop tech support on this one. There are way too many unique issues popping up that I can't replicate. Scroll through the comments, a lot of issues were resolved, some were not. All in all I think this tutorial works for about 80% of people. Sorry to the 20%, but I'm not an expert on this stuff, just a hobbyist who likes star wars.
This tutorial shows how to setup a Raspberry Pi 3 to run Amazon Voice Services Alexa just like in my L3-37 from Solo: A Star Wars Story.
It also goes through steps to customize and create your own Jarvis-like voice assistant!
Buy me a coffee? buymeacoff.ee/WjRBDa3dZ
*****Product List*****
(all links are Amazon Referral links which support this channel):
**RASPBERRY Pi3 and Components**
Raspberry Pi3: amzn.to/36EyAGH
SD Card: amzn.to/2xXs5SH
PowerSupply: (Use USB end of phone charger)
PowerSupply Cable: amzn.to/2tMt5nx
RPi Microphone: amzn.to/2MfbNb8
Speaker: amzn.to/2yQgANx
**Software Links**
Latest Raspian Stretch OS: www.raspberrypi.org/downloads...
SD Card Formatter: www.sdcard.org/downloads/form...
Etcher: etcher.io/
PuTTy: www.putty.org/
VNC Viewer: www.realvnc.com/en/connect/do...
**Commands Used in this Video**
sudo raspi-config
ifconfig | grep inet
git clone github.com/henrymendez/l3-37-...
cd /home/pi/l3-37-alexa_patchbots
./setup.sh
alsamixer
./l337.sh run
cp sounds/YOURFILENAME.pmdl source/snowboy/resources/alexa/alexa.umdl
./l337.sh rebuild
sudo ./autostart.sh on
*****External Links*****
Henry's Github Page: github.com/henrymendez
My Github Page: github.com/PatchBOTS
Snowboy Hotword Detection: snowboy.kitt.ai/
amazon.com/us/code
Alexa LED Tutorial: developer.amazon.com/docs/ale...
Twitter: / patchbots
Insta: / patchbots

Пікірлер: 276

  • @TheSmugglersRoom
    @TheSmugglersRoom5 жыл бұрын

    This is fantastic PatchBOTS, thank you for such a detailed process. I am planning a Star Wars Themed project with Alexa and this is perfect! I will definitely link your channel and your entire L3 build when i get that project posted. Thanks so much for all your great content!

  • @SteeleSmith0
    @SteeleSmith06 жыл бұрын

    Once again absolutely amazing. This project took perhaps 1.5 hours to do. Clear instructions, and had no issues creating this. Works great to add a couple of radio station skills to listen to L3 play music. Thanks so much for this!

  • @akashtambe11

    @akashtambe11

    5 жыл бұрын

    hey mine is not working on reboot of device. will u able to give any solution?

  • @curtishoward2892
    @curtishoward28925 жыл бұрын

    Just done this, Works flawlessly! Thank you!!!!

  • @stephendiscipio9827

    @stephendiscipio9827

    5 жыл бұрын

    could you give me a hand with this? What version of raspbian did you use? did you use the Mic in the description? I'm getting microphone issues with the mic in the description with the latest raspbian stretch OS and my logitech webcam does connect, but I get an expection error and the client wont connect.

  • @cosseyadam
    @cosseyadam6 жыл бұрын

    Great video as usual.

  • @seeminglyRANDOM88
    @seeminglyRANDOM886 жыл бұрын

    This is amazing. Thanks for the instruction. I teach robotics to high school students and this would be a great addition to our curriculum next year.

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Great! Glad it could help! Let me know if you have any questions

  • @seeminglyRANDOM88

    @seeminglyRANDOM88

    6 жыл бұрын

    PatchBOTS I certainly will. Thank you.

  • @robbiet9531
    @robbiet95316 жыл бұрын

    Wow that's alot of info! Thank you for this knowledge!

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    haha, yes, i would call it "info dense." I hate when tutorial videos dance around the content for half the video.

  • @applebee6455
    @applebee64556 жыл бұрын

    Always wanted to get into robotics. You've earn't a subscriber. I'll be sure to name you as my early inspiration when I have my factory producing Super-Droids in 2029.

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    No credit needed. Just program them to spare me in the robot apocalypse :)

  • @himanshubhusanrath212
    @himanshubhusanrath2126 жыл бұрын

    Hi Friend, Many many thanks to you.. I wanted to make my hand dirty in automation using Raspi and tried to integrate Alexa with Raspi.. After searching for a lot of materials available online, finally got this working and well explanatory video.. I could accomplish what I wanted... Thank you... It is a very wonderful video even for a beginner who needs guidance step by step. :)

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Great, glad I could help!

  • @nolanbrown3660
    @nolanbrown36606 жыл бұрын

    ive been waiting for this. Thanks!

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    No problem! Let me know if everything works for you!

  • @nolanbrown3660

    @nolanbrown3660

    6 жыл бұрын

    The DialogUXState:: was the piece I was looking for. Very simple to mod in the UI manager. Instead of an L3 I will be implanting this in an Inmoov I have laying around with a few more actions. The easiest way for me would be to create an output pin for each type of action like you did and then have an arduino read the pin and then perform the more complex tasks, (i.e. moving jaw while speaking) and shifting eyes around while thinking). thanks for the insight and inspiration.

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Yeah I'm kind of expanding on that same idea now. The UIManager.cpp file uses the WiringPi library. You can see all the available pins here: hackage.haskell.org/package/wiringPi You can add pinouts as needed to this map.

  • @nolanbrown3660

    @nolanbrown3660

    6 жыл бұрын

    I know how to execute the simple Pin outputs like we use here, but at some point a pin per action becomes really in-efficient and a direct message via I2C or Serial makes more sense. Unfortunately this is were my skills end. I'm a hardware guy and copy and paste coder.

  • @momospadastine2457
    @momospadastine24575 жыл бұрын

    hello sir...great tutorial....im having some problem...how to control gpio using your file...or which folder do i need modify...thanks

  • @linux82
    @linux825 жыл бұрын

    Very thorough video. Thank you. Quick question: after i get alexa working on my pi could I add my home automation device ( Tahoma from Somfy) which by the way is compatible with the Amazon Alexa echo device which you can add and search for Somfy in the skills app in alexa echo, complete authorizations and operate your blinds and window coverings ok. Will this work from a pi as well?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    You can probably work that in. I'm not sure because I haven't taken it that far yet, but I think the way the SDK works is they give you the base features for free and then start charging for the more complex features. If you find anything out be sure to post it here and I'll put it in the description to the video, thanks!

  • @Whatthensayyou
    @Whatthensayyou5 жыл бұрын

    Will this work with the 3.5 led screen set that comes on Amazon? Specifically in regards to the pin setup that you mentioned @10:30 I'm attempting to make a magic mirror/ dakboard with the Alexa enabled and the screen that I am planning to purchase comes with pins that directly fit the Rasberry Pi. I'm super new to this but your tutorial earned a new sub! Now off to watch the rest of your videos lol!

  • @garibjanatakodhanineta7823

    @garibjanatakodhanineta7823

    5 жыл бұрын

    No

  • @waiyudiefnbr3026
    @waiyudiefnbr30265 жыл бұрын

    Seems like some people have problems with the auto start too. Is there a way I can contact Henry for further advice? Maybe afterwards I’ll come back and help others too. Tutorial is great. Those who can’t follow it, either need to reformat their Pis and start over.

  • @gaurang1102
    @gaurang11025 жыл бұрын

    Thnx alot video was very very helpful

  • @canelodirecto
    @canelodirecto5 жыл бұрын

    I was able to get it up and running, but it would be nice to be pointed in the direction on how to get the auto-start to work? That's the only thing I need to finish this project.

  • @PalthorLP
    @PalthorLP5 жыл бұрын

    Hey, many thanks for this nice Tutorial. Can u tell me if its possible to change the language and how?

  • @PalthorLP

    @PalthorLP

    5 жыл бұрын

    Sorry, I must have overseen.

  • @deathcannonx
    @deathcannonx5 жыл бұрын

    Has this been updated to use voice activation? Or is this the old one where you need a button to activate it ?

  • @rogergamer5816
    @rogergamer58165 жыл бұрын

    What will happen if we do not plug in microphones and speaker while installing alexa on to the pi

  • @nigmaxus
    @nigmaxus6 жыл бұрын

    Yes yes yes you are awesome 👏

  • @sawyersweetman891
    @sawyersweetman8915 жыл бұрын

    my alexpi is responding to anything and everything, any ideas why this is? ive tried l3 - a custom wake word, and the alexa model from snowboy. ive also adjusted the mic settings, im not sure its mic sensitivity.. any thoughts?

  • @akashtambe11
    @akashtambe115 жыл бұрын

    Hey @PatchBOTS You have done awesome product. keep it up. I tried this and completed successfully but after rebooting it won't work. Please Help.

  • @Banadosmr
    @Banadosmr6 жыл бұрын

    Works like a champ

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Great! Glad it worked for you!

  • @Banadosmr

    @Banadosmr

    6 жыл бұрын

    Interesting however.. she can't do timers... can yours do timers like.. "set a timer for two minutes"

  • @sudiptomitra4126
    @sudiptomitra41265 жыл бұрын

    How can I make a notification led like dd electrons tech.

  • @MatLuschek
    @MatLuschek5 жыл бұрын

    Anyone ever figure out to make this autostart? Everything else worked perfectly for me. Thanks for sharing!

  • @fruitfarmfactory7901
    @fruitfarmfactory79016 жыл бұрын

    This guy makes me jealous!? I too want to make robots/androids and this has given me the push I needed. (The procrastination is strong in me). What is his background in tech learning etc?

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    My background is KZread! I started as someone interested in robotics. Picked a project (BB-8) and just went for it. Full immersion learning is the best. There is enough information available on the internet to get you through any problem you could possibly run into.

  • @KennethGomad

    @KennethGomad

    5 жыл бұрын

    If you like to deal with robotics you could be one by having a computing/science degree in University and some experience in electricity then you have to take a robotic engineer program in College/University which could take 2-5 years. But if its just your hubby then KZread is the one that fits to you, no need to take additional years to learn it. Please Note! in order to make Androids as in the device you need to have a degree in computer engineer which you will need to have to work make androids(small computer) like Apple devices.

  • @redsnakesnlke
    @redsnakesnlke5 жыл бұрын

    after 1 week i got it finally ...^^ thanks for the tut dude but it made it so hard for me cause i dosnt get the soundcard to work XD

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    yeah I'm working out some sound issues on the update too. Good luck with it!

  • @michancio

    @michancio

    5 жыл бұрын

    I think I have similar problem with soundcard. l337.sh is running properly, Alexa is in idle but there is no sound. I'm using VoiceHat audio card. Normally sound is playing in bash, recording also possible but not in l337.sh. Could you suggest how to solve the problem with soundcard?

  • @mikeph4
    @mikeph45 жыл бұрын

    Nifty stuff. But I wasn't able to get it working. After the initial authorization, it would spit out an authorization failure, invalid request, forbidden api error, and other stuff. I'm guessing an update might be needed?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Are you sure you're using the correct ClientID? There are several throughout the dashboard, but the one under "Other Devices" is what you want.

  • @rafcarre12
    @rafcarre126 жыл бұрын

    Hank is the coolest

  • @sravankumar5209
    @sravankumar52094 жыл бұрын

    Hi, will the project work with different WiFi

  • @callumdisney
    @callumdisney5 жыл бұрын

    When I enter “./l337.sh run” then it does all the normal setup stuff but then I get “UNRECOVERABLE AUTHORISATION ERROR: INVALID_REQUEST Entering limited interaction mode.” Can someone help?

  • @mae1712
    @mae17125 жыл бұрын

    It keeps waking up for no reason, what do i do? Even in silence it turns on and interrupts answers when it wakes up in the middle of answering something. What do I do?

  • @lewisdolan6990
    @lewisdolan69905 жыл бұрын

    Will this be able to connect to the alexa app? So I can control my smart lights/plugs with L3?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    I've never taken it that far but in theory, yes, you should be able to access the Pi from your Alexa app just like any other AVS device and use it in a similar way. You may have to add skills and such but there is a lot of documentation on the AVS website linked in the description.

  • @tamir5940
    @tamir59405 жыл бұрын

    At 05:36 of the video, the terminal keeps asking me for my username and password for git hub. I put it in and still doesn't work

  • @yashlakhani646
    @yashlakhani6465 жыл бұрын

    Can you play music on this too?

  • @edsmith4782
    @edsmith47825 жыл бұрын

    Hi im having a problem with the line ./l337.sh run it could be that i havent plugged in a microphone or speaker yet but that dosent seem very likely heres what happens when i enter that code: ./l337.sh: Line 11: cd: /home/pi/l3-37-alexa_patchbots/build/SampleApp/src: No such file or directory ./l337.sh ERROR: cd /home/pi/l3-37-alexa_patchbots/build/SampleApp/src Can anyone help?

  • @djtechtrix6744
    @djtechtrix67445 жыл бұрын

    Got it working!! This code is awesome! Just took me a while to figure out that the wake word was not Alexa, but rather "L3". Is there any way to change the wake word? Maybe to "Raspberry" or something else?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Yes, you can change this to anything you'd like. There is a section of the video about the "Snowoby" application. Follow those steps but instead of L3, just say whatever you want.

  • @djtechtrix6744

    @djtechtrix6744

    5 жыл бұрын

    PatchBOTS cool! Also, it seems that the Alexa Pi can only do certain things. Do I have to add skills to it to get it to perform similar tasks as an Amazon Echo?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    @@djtechtrix6744 Yes it is the basic SDK. You would have to upgrade different aspects. This information is all accessible ont he amazon SDK website listed in the video

  • @djtechtrix6744

    @djtechtrix6744

    5 жыл бұрын

    @@PatchBOTS Thank you!!!

  • @shreyanszabak7483
    @shreyanszabak74835 жыл бұрын

    it is asking for username and password while cloning. help. what should i do ?

  • @Satyam__Sangal
    @Satyam__Sangal5 жыл бұрын

    Is this installation can play music also as original alexa device do?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Not 100% sure, the SDK has limited functionality which can be upgraded at a cost to amazon.

  • @Popycok89
    @Popycok895 жыл бұрын

    What would be the best way to include a gpio button to simulate a mic mute ?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Hm, that's a good idea actually. You can probably incorporate that into the C++ files in the app just as was done with the lights.

  • @stevekimanthi9582
    @stevekimanthi95825 жыл бұрын

    Hi . This is a great video and was able to set up my Alexa without any errors. The problem is that she only responds to the wake up word but doesn't reply to any question. Where am I going wrong?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Hi Steve. Hm, that is a new one. I'm honestly not sure. I wish I could help but haven't run into that myself.

  • @johnbubu8310
    @johnbubu83105 жыл бұрын

    I have tried this project today. However, when at the end I run ./setup.sh this message appears after the code to authorise "Failed to create to SampleApplication!" ./l337.sh: ERROR:" and I cannot proceed any further. Can anyone help? Thanks

  • @rogergamer5816

    @rogergamer5816

    5 жыл бұрын

    It happened with me also

  • @bukuskat6543
    @bukuskat65435 жыл бұрын

    Would I be able to link "alexa" from the raspberry pi to the echo dot?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Yeah you defintiley should be able to. If you go to your alexa dashboard on the amazon alexa website your Pi should be listed an alexa device in your home.

  • @ThisisPankajBhopal
    @ThisisPankajBhopal4 жыл бұрын

    After completing 60% process (at Bluetooth cpp) in terminal window... Raspberry pi hangs... Tried 5-6 times of restart but still problem is there. Can someone help me out....🥺😟

  • @stephendiscipio9827
    @stephendiscipio98275 жыл бұрын

    Using the latest OS, I bought the microphone listed on this build and I'm having issues getting it to work with this mod. I followed the instructions of this video and it always fails when trying to activate the mic on Alexa startup. Bad mic? change in the OS? the USB mic device doesn't even show up when I try Arecord -1

  • @stephendiscipio9827

    @stephendiscipio9827

    5 жыл бұрын

    This is the mesage I am getting. pi@raspberrypi:~/l3-37-alexa_patchbots $ ./l337.sh run 2019-05-21 16:13:00.865 [ 1] I sdkVersion: 1.7.1 configFile /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json ################################################# # NOTIFICATION INDICATOR STATE: OFF # ################################################# Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 923 Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 923 Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2043 Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2714 Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2838 2019-05-21 16:13:02.077 [ 1] C PortAudioMicrophoneWrapper:Failed to open PortAudio default stream 2019-05-21 16:13:02.077 [ 1] C PortAudioMicrophoneWrapper:Failed to initialize PortAudioMicrophoneWrapper 2019-05-21 16:13:02.078 [ 1] C SampleApplication:Failed to create PortAudioMicrophoneWrapper! 2019-05-21 16:13:02.097 [ 1] C SampleApplication:Failed to initialize SampleApplication ################################## # NOT YET AUTHORIZED # ################################## ################################################################################################ # To authorize, browse to: 'amazon.com/gb/code' and enter the code: EJJZWM # ################################################################################################ Failed to create to SampleApplication! ./l337.sh: ERROR: ./SampleApp /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json /home/pi/l3-37-alexa_patchbots/source/snowboy/resources/alexa

  • @passiveftp

    @passiveftp

    4 жыл бұрын

    @@stephendiscipio9827 Guy, Guys, Guys.. I have the answers!! I had the exact same problem, here's how to get it to work. if you are getting this error: Command: ./setup.sh Error: ./l337.sh: line 11: ./SampleApp: No such file or directory ./l337.sh: ERROR: ./SampleApp /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json /home/pi/l3-37-alexa_patchbots/source/snowboy/resources/alexa Then run these commands: sudo apt-get install gcc-5 g++-5 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 sudo update-alternatives --set gcc "/usr/bin/gcc-5" then run the setup again as in the video tutorial: sudo ./setup.sh After that I had another error when trying to authenticate my pi with Amazon. Command: ./1337.sh run Error: Failed to create to SampleApplication! ./l337.sh: ERROR: ./SampleApp /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json /home/pi/l3-37-alexa_patchbots/source/snowboy/resources/alexa How do you fix this? it's not the software that's the problem, it's your microphone! if you haven't got a microphone plugged in you'll get this error, or if you have one of the crappy microphones used in this video you might get this error (I did). I have the exact same microphone as used in this video and it's terrible, I have to be right next to the mic before it picks anything up. I might just have a dodgy one, but I think they are pretty cheap and nasty. I changed mine for a Playstation 3 eye camera. they cost about £5 on ebay so about the same price as that crappy mic. You can plug it straight in the pi and it just works as a USB mic, plug and play. the Pi already has the drivers. You get really nice crisp sound from the mic, much better then that cheap and nasty one. it's also a USB webcam if you ever need it. So that's how to fix it all. I hope this helps someone.

  • @joelelias7190
    @joelelias71905 жыл бұрын

    Hello!, I'd like to know if this will work with the first version of the google voice hat! Thank you!

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Sorry for the late reply, but yeah I haven't tested it with a whole lot of different hardware. If the Google Voice Hat is DAC then you might have some issues as I'm working with a similar amp that is giving me some issues.

  • @michancio

    @michancio

    5 жыл бұрын

    I've installed l337.sh with Google Voice Hat and there is the problem. I have no sound in it. Alexa Voice Services was installed properly and works but without sound. Nothing has been recorded and nothing has been played. I'm still trying to figure out how to fix it.

  • @SaraCooksForYou
    @SaraCooksForYou5 жыл бұрын

    Thanks a lot Bro! The steps you've shown are perfect and i was able to set it up and its running. But, there's a problem it does not autostart and it keeps saying "What" & "Goodnight" after every 15 minutes. How do we stop that? Can you help on that. I added a skill also from the alexa.amazon.com and it did respond but again the same issue of WHAT every 15 seconds

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Yeahhhh, that autostart isn't working great. It's on the main list for the software update next video. I think I'm mainly going to be pulling from this, so maybe you can get a headstart: kzread.info/dash/bejne/hmydt89vgpTbiZs.html

  • @alexolesco8102
    @alexolesco81025 жыл бұрын

    I executed ./autorun.sh on and rebooted and autostart of l337 service wontwork.. I keep saying l3 but no response and also in LED response connected to pin 0 (GPIO 17) wont light up

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Yes, I have been having trouble with the autostart as well, it's on my list for things to fix in the next version which I should be updating soon!

  • @PhotoSlash
    @PhotoSlash5 жыл бұрын

    if you already have a amazon echo, will you be able to use the same skills on this device?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    You can probably hack it, but ti's easier to use a Pi.

  • @PhotoSlash

    @PhotoSlash

    5 жыл бұрын

    @@PatchBOTS are skills supported for alexa in raspberry pi? cause I configured my actual amazon echo dot with Node Red for home automation and I would like to bring the same capabilities on the Pi

  • @video567
    @video5676 жыл бұрын

    Have you looked into the autoboot info I sent you before. I used that for another project and alexa starts within 20 seconds.

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    I did look at it briefly. i will try it out. The one I was using was working fine so I didn't want to mess with it.

  • @tafreets589
    @tafreets5895 жыл бұрын

    hi how to run the autorun

  • @Kirby7601
    @Kirby76014 жыл бұрын

    What about google assistant

  • @rincechacko3127
    @rincechacko31275 жыл бұрын

    new Error # Client not connected! # # Alexa is currently idle! #

  • @r4zi3l57
    @r4zi3l576 жыл бұрын

    Hi, Great video but I'm having issues with getting this working. When I run one of the last commands ./l337.sh run - it's Authorized ok but I get a message saying Client not Connected after which Alexa is currently idle! No response via L3 mic command or Alexa. Any ideas please?

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Hm, I haven't run into this one yet. Try hitting "k" to reset the device and go through the authorization again. You can also go through the snowboy steps to create your own wakeword file just to be sure it's not a wakeword issue.

  • @xasmkox

    @xasmkox

    6 жыл бұрын

    I'm having the same issue, the initial error code I get is UNRECOVERABLE AUTHORIZATION ERROR: INVALID_CBL_CLIENT_ID I'm wondering if the client ID I entered earlier during the installation was wrong, I'll comment again if I get it working.

  • @xasmkox

    @xasmkox

    6 жыл бұрын

    In my case I was using the wrong Client ID, make sure to input the one generated under the other devices and platforms tab in your security profile, not the one displayed towards the top of the page.

  • @miterfiremage
    @miterfiremage6 жыл бұрын

    can you help i can not get the auto start to work. i reboot my pi and nothing comes up can you help?

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Nothing will come up. It will run in the background. So it may be working without you realizing it. I attached an LED to the "IDLE" state so I would get an indication when Alexa was idle.

  • @blueracing1
    @blueracing14 жыл бұрын

    lot's of errors when running the ./setup.ch - finishing with: ERROR: make SampleApp -j2 What does this mean? I am not an Linux expert

  • @passiveftp

    @passiveftp

    4 жыл бұрын

    Guy, Guys, Guys.. I have the answers!! I had the exact same problem, here's how to get it to work. if you are getting this error: Command: ./setup.sh Error: ./l337.sh: line 11: ./SampleApp: No such file or directory ./l337.sh: ERROR: ./SampleApp /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json /home/pi/l3-37-alexa_patchbots/source/snowboy/resources/alexa Then run these commands: sudo apt-get install gcc-5 g++-5 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 sudo update-alternatives --set gcc "/usr/bin/gcc-5" then run the setup again as in the video tutorial: sudo ./setup.sh After that I had another error when trying to authenticate my pi with Amazon. Command: ./1337.sh run Error: Failed to create to SampleApplication! ./l337.sh: ERROR: ./SampleApp /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json /home/pi/l3-37-alexa_patchbots/source/snowboy/resources/alexa How do you fix this? it's not the software that's the problem, it's your microphone! if you haven't got a microphone plugged in you'll get this error, or if you have one of the crappy microphones used in this video you might get this error (I did). I have the exact same microphone as used in this video and it's terrible, I have to be right next to the mic before it picks anything up. I might just have a dodgy one, but I think they are pretty cheap and nasty. I changed mine for a Playstation 3 eye camera. they cost about £5 on ebay so about the same price as that crappy mic. You can plug it straight in the pi and it just works as a USB mic, plug and play. the Pi already has the drivers. You get really nice crisp sound from the mic, much better then that cheap and nasty one. it's also a USB webcam if you ever need it. So that's how to fix it all. I hope this helps someone.

  • @techtam3505
    @techtam35055 жыл бұрын

    NOT WORKING WHEN I AUTOSTART IT

  • @akashtambe11

    @akashtambe11

    5 жыл бұрын

    I am also facing the same issue...

  • @motoCoderOfficial
    @motoCoderOfficial5 жыл бұрын

    While runing it says failed to create to sample application! Bt the activation was sucessful by Amazon

  • @sourabhdhiman3794

    @sourabhdhiman3794

    4 жыл бұрын

    i am also face the same problem. did u resolved this problem

  • @yummy9731

    @yummy9731

    4 жыл бұрын

    I has the same problem but I fixed it go to developer.amazon.com/en-US/docs/alexa/alexa-voice-service/input-avs-credentials.html also delete the patchbots folder follow the steps on the developer page and it should work ps make sure you created a product when you follow the steps

  • @yummy9731

    @yummy9731

    4 жыл бұрын

    also you can change the wake word and everything and it worked perfectly

  • @passiveftp

    @passiveftp

    4 жыл бұрын

    Guy, Guys, Guys.. I have the answers!! I had the exact same problem, here's how to get it to work. if you are getting this error: Command: ./setup.sh Error: ./l337.sh: line 11: ./SampleApp: No such file or directory ./l337.sh: ERROR: ./SampleApp /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json /home/pi/l3-37-alexa_patchbots/source/snowboy/resources/alexa Then run these commands: sudo apt-get install gcc-5 g++-5 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 sudo update-alternatives --set gcc "/usr/bin/gcc-5" then run the setup again as in the video tutorial: sudo ./setup.sh After that I had another error when trying to authenticate my pi with Amazon. Command: ./1337.sh run Error: Failed to create to SampleApplication! ./l337.sh: ERROR: ./SampleApp /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json /home/pi/l3-37-alexa_patchbots/source/snowboy/resources/alexa How do you fix this? it's not the software that's the problem, it's your microphone! if you haven't got a microphone plugged in you'll get this error, or if you have one of the crappy microphones used in this video you might get this error (I did). I have the exact same microphone as used in this video and it's terrible, I have to be right next to the mic before it picks anything up. I might just have a dodgy one, but I think they are pretty cheap and nasty. I changed mine for a Playstation 3 eye camera. they cost about £5 on ebay so about the same price as that crappy mic. You can plug it straight in the pi and it just works as a USB mic, plug and play. the Pi already has the drivers. You get really nice crisp sound from the mic, much better then that cheap and nasty one. it's also a USB webcam if you ever need it. So that's how to fix it all. I hope this helps someone.

  • @khssky321
    @khssky3215 жыл бұрын

    I got to Alexa is currently idle and here is no any problems on mic and speaker but L3 doesn't reply..

  • @khssky321

    @khssky321

    5 жыл бұрын

    got it working. changing hotword and rebuild was the solution!

  • @RV-gb9lv
    @RV-gb9lv5 жыл бұрын

    Hi, great job. Is there a way to run it on debian jessie? Thx

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Hm, probably? i have never tried so I'm sure. Check out all the documentation on the amazon site.

  • @RV-gb9lv

    @RV-gb9lv

    5 жыл бұрын

    Ok I tried it but it failed. I found a guideline to install it with jessie, but its not with Kitt.ai as the wakeword engien (github.com/alexa/avs-device-sdk/wiki/Raspberry-Pi-Quick-Start-Guide/a5646fc9e6dde8128c940b86a9bbece7f65c1ace) and I´m a little bit overwhelmed with this, thats why I want to ask you if you may can help me. I´m working on an R2D2. I have build the frame by my selfe, wrote an skript to control it over internet (Livestream, Sounds, Nokia Display, Leds, Servo, Pir-Sensors, Temp Sensor...), I´m also able to send and recive messages to and from Pi with pushbullet to controll or interact with my R2. Now I want to add Alexa on top but I´m failing. PLS can you help me Sir. If you want, I can send you some pics, or more details from my project. But I would really need some support with the alexa sdk. Thanks a lot (Rene_v@gmx.at)

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Really wish I could. I'm an arduino guy. This L3 project was my first dive into the RaspPi world and I barely made it out alive! I don't think I have enough knowledge of the Pi to make this work.

  • @ifabrystudio3620
    @ifabrystudio36205 жыл бұрын

    for voice italian and skill alexa?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    There is a section in the video about changing the language. I'm not sure if Italian is supported there. You may be able to add it as a skill, but that's beyond the scope of this tutorial.

  • @Tammmmmmmmmmmmmmmmm
    @Tammmmmmmmmmmmmmmmm5 жыл бұрын

    Sorry if been asked but where's the mic on this?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    qTAMp ours the small dongle in the USB port

  • @ripradamanr7620
    @ripradamanr76205 жыл бұрын

    It stucks at 52% and mouse keyboard nothing works..what can I do sir??? Please reply

  • @octothing1393

    @octothing1393

    5 жыл бұрын

    I have the same problem! What do I do?

  • @pankajtambe1523

    @pankajtambe1523

    5 жыл бұрын

    @@octothing1393 Just keep open ur terminal window only.. close reaming all windows ie. chromium browser etc. CPU usase reaches to 100% and pie did not responds.. Try this

  • @michaelagustinus9559
    @michaelagustinus95594 жыл бұрын

    i cannot run ./l337.sh run (line 11: cd: /home/pi/l3-37-alexa_patchbots/build/SampleApp/src: No such file or directory

  • @rickchilders3464

    @rickchilders3464

    4 жыл бұрын

    I am getting the same error

  • @dominikbaumgart2333
    @dominikbaumgart23335 жыл бұрын

    after starting it says "Client not connected" and wakeword ist not detected. When i press "t" everthing works fine - Sound and Mic are OK!! What have i done wrong?

  • @lilgnzxg4028

    @lilgnzxg4028

    5 жыл бұрын

    same problem someone can fix it?

  • @akashtambe11

    @akashtambe11

    5 жыл бұрын

    Same here..

  • @akashtambe11

    @akashtambe11

    5 жыл бұрын

    SOLVED... have a look at 4:33 .. we have to copy that new client id made in "other device and platform" (ie. raspberry pi) Don't copy main client ID. or watch carefully client id is copied by PatchBOTS in video an tally it

  • @billcIintonvevo
    @billcIintonvevo6 жыл бұрын

    is there a way to get the default wake word back? upon using the tool to make a custom wake word, my alexa died :(

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Yeah if you wnat to install the straight up Alexa Server there is great information on that Alexa SDK website. Just follow the install instructions and you should have no problems. The only tricky parts were adding the L3 bits, so other than that its real easy.

  • @billcIintonvevo

    @billcIintonvevo

    6 жыл бұрын

    yeah, i found that and followed it, works great now!

  • @San_OO7
    @San_OO75 жыл бұрын

    Update new guide it's not working with sound card

  • @jlink9706
    @jlink97065 жыл бұрын

    will this work on a pi zero? I followed all the steps but got an error during the setup.sh at about 54% done :(

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Yeah that's a good question, I have a Pi Zero handy. I'll try to install it and see what happens In the meantime, I've definitely had installs hang and fail for no apparent reason. Try it again and see if you have better luck.

  • @jlink9706

    @jlink9706

    5 жыл бұрын

    Thanks for replying .. I got it to 98% now (my fault wrong product id) but it still failed .. hmm let me know if you get around to check it out .. Thanks again :)

  • @joaoparreira4232
    @joaoparreira42325 жыл бұрын

    hi i do all the steps right and when i go to authorise the alexa in amason/us/code the site said alexa is registed but in script said client not connected

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Be sure you are using the correct clientID

  • @akashtambe11

    @akashtambe11

    5 жыл бұрын

    SOLVED... have a look at 4:33 .. we have to copy that new client id made in "other device and platform" (ie. raspberry pi) Don't copy main client ID. or watch carefully client id is copied by PatchBOTS in video an tally it

  • @multiguru6787
    @multiguru67875 жыл бұрын

    how to change the name from L3 to any???

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Follow the steps in the video for the "Snowboy" app. You can change the wakeword to anything you choose.

  • @tonystark6226
    @tonystark62265 жыл бұрын

    ./setup.sh: ERROR: pip install -q commentjson I got this error while the setup.py was running Please help.

  • @rpighost8290

    @rpighost8290

    4 жыл бұрын

    and try again ......

  • @testadicazo
    @testadicazo5 жыл бұрын

    Hi friend i have and error when i try to put the code into the application at this moment run the script ./l337.sh run and i put the code into the web page and allow the terms but the status dont change in the script, i try to repeat the process but the program dont say me nothing. Do you know how can i solve this

  • @lilgnzxg4028

    @lilgnzxg4028

    5 жыл бұрын

    same error someone can help?

  • @passiveftp

    @passiveftp

    4 жыл бұрын

    @@lilgnzxg4028 Guy, Guys, Guys.. I have the answers!! I had the exact same problem, here's how to get it to work. if you are getting this error: Command: ./setup.sh Error: ./l337.sh: line 11: ./SampleApp: No such file or directory ./l337.sh: ERROR: ./SampleApp /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json /home/pi/l3-37-alexa_patchbots/source/snowboy/resources/alexa Then run these commands: sudo apt-get install gcc-5 g++-5 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 sudo update-alternatives --set gcc "/usr/bin/gcc-5" then run the setup again as in the video tutorial: sudo ./setup.sh After that I had another error when trying to authenticate my pi with Amazon. Command: ./1337.sh run Error: Failed to create to SampleApplication! ./l337.sh: ERROR: ./SampleApp /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json /home/pi/l3-37-alexa_patchbots/source/snowboy/resources/alexa How do you fix this? it's not the software that's the problem, it's your microphone! if you haven't got a microphone plugged in you'll get this error, or if you have one of the crappy microphones used in this video you might get this error (I did). I have the exact same microphone as used in this video and it's terrible, I have to be right next to the mic before it picks anything up. I might just have a dodgy one, but I think they are pretty cheap and nasty. I changed mine for a Playstation 3 eye camera. they cost about £5 on ebay so about the same price as that crappy mic. You can plug it straight in the pi and it just works as a USB mic, plug and play. the Pi already has the drivers. You get really nice crisp sound from the mic, much better then that cheap and nasty one. it's also a USB webcam if you ever need it. So that's how to fix it all. I hope this helps someone.

  • @saaimsaadi5799
    @saaimsaadi57995 жыл бұрын

    It keeps failing to create sample application

  • @TheFPSDOMINATOR

    @TheFPSDOMINATOR

    5 жыл бұрын

    Anyone with this problem , I found it failed because either I didn’t press setup first or didn’t authorize with code

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Thanks @TheFPSDOMINATOR , yes this is a common problem Usually just going through the steps again to catch what you missed or simply detaching the device and reattaching will work for this problem.

  • @tahahalai6158

    @tahahalai6158

    5 жыл бұрын

    Yeah mine too ..keeps failing to create sample application after multiple rebuilds tooo...

  • @puffball1794
    @puffball17945 жыл бұрын

    Hello, When I Run l337.sh it shows me an authorization code, however it then shows an error saying it cant create a sample application, even though i authorized it with the code. Thanks In Advance

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Did you authorize the code with Amazon?

  • @puffball1794

    @puffball1794

    5 жыл бұрын

    Yes I authorised the code, but instead of spitting our a lot of text like yours did it did a little and returned to the command line, with the error can’t create sample application, so I feel that l337.sh isn’t running properly.

  • @lamarshifty1905

    @lamarshifty1905

    5 жыл бұрын

    @@puffball1794 same issue. Any fix?

  • @puffball1794

    @puffball1794

    5 жыл бұрын

    No haven’t found a fix as of yet, maybe get in contact with @PatchBOTS

  • @beacolloquial
    @beacolloquial5 жыл бұрын

    EDIT: I got it working! You dont need too help me now. PLEASE HELP ME OUT ON THIS. When I do git clone it ask for github username, so I put it in, then it asks for my password as well. But I can't type anything. All I can do is press enter, 2hich causes the authentication to fail. WHAT DO I DO!?!?

  • @shreyanszabak7483

    @shreyanszabak7483

    5 жыл бұрын

    octo thing don’t copy the git clone url from this videos description. Go to its github site and then copy it

  • @miterfiremage
    @miterfiremage6 жыл бұрын

    can you help me. it says Client not connected and the Status is Unrecoverable Capabilities API call failure. How can i fix this?

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Are you sure you used the correct ClientID? It's the one under "Other Devices"

  • @miterfiremage

    @miterfiremage

    6 жыл бұрын

    PatchBOTS yes i did. Whenever I go on to the website it says you're authorized what should I do?

  • @miterfiremage

    @miterfiremage

    6 жыл бұрын

    thank you so much I finally got it working I was using the wrong ID i made a new device and then had a new ID that one Works!!

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Oh perfect!

  • @shaunewing8973
    @shaunewing89735 жыл бұрын

    fatal: write error: No space left on device61 MiB | 2.60 MiB/s fatal: index-pack failed pi@raspberrypi:~ $ cd /home/pi/l3-37-alexa_patchbots bash: cd: /home/pi/l3-37-alexa_patchbots: No such file or directory pi@raspberrypi:~ $ NOT WORKING FOR ME. im using a 8gig card

  • @isaacst4975

    @isaacst4975

    5 жыл бұрын

    u need a bigger card

  • @mikeystettler7231
    @mikeystettler72315 жыл бұрын

    When trying to authorize I get this Error: Failed to create to SampleApplication! ./l337.sh: ERROR: ./SampleApp /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json /home/pi/l3-37-alexa_patchbots/source/snowboy/resources/alexa Any suggestions?

  • @mikeystettler7231

    @mikeystettler7231

    5 жыл бұрын

    I got this to work, but Now I'm having the client not connected error. I have rebuilt the whole thing, redone the whole thing, triple check that the right Client ID from other sources was put in correct, and redid the response, and wake word. It still won't work. help please.

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    This is a weird one. Some people have reported the same error then just replied to say "oh now it works" I think it might be a bug, try unpairing the Pi and then re-pairing it to your account.

  • @mikeystettler7231

    @mikeystettler7231

    5 жыл бұрын

    @@PatchBOTS thanks! I did that now it works, just no autostart, which I know you were having issues with that too. Thank you for the tutorial and the help. I really appreciate you taking the time to reply.

  • @rolandmesaros6941
    @rolandmesaros69416 жыл бұрын

    after I run it for the first time I get "Notification indicator state:off" and at the bottom it keeps saying "Client not connected!" uhmm.. what to do please? I did everything like in the video. I check the client id and it's good. I don't get any authorization code

  • @rolandmesaros6941

    @rolandmesaros6941

    6 жыл бұрын

    i67.tinypic.com/e7mnv8.png i67.tinypic.com/1z5nt55.png

  • @rolandmesaros6941

    @rolandmesaros6941

    6 жыл бұрын

    I did a rebuild and now I get this: i67.tinypic.com/5wgsq0.png I get the code but it says Failed to create SampleApplication. And if I run it again it's the same thing. Another code with the same message

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Hi Roland, I'm going to look into this and see if I can reproduce the error

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Are you definitely using the ClientID found uner "Other Devices and Platforms"? There is a more accessible client ID at the top of your product page. you DO NOT want to use this one.

  • @rolandmesaros6941

    @rolandmesaros6941

    6 жыл бұрын

    Firstly I used the one from the top of the page. But then I ran setup.sh and changed it with the right one, rebuilt it and it's the same thing. Client not connected and I don't get any code

  • @iqbal786ism
    @iqbal786ism5 жыл бұрын

    sorry but i cant get my device Registered the site keeps giving me errors please help. i have the 6 digit code and it changes every 100 try's

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    If it's the amazon site that is giving you error than you may be using the wrong Client ID

  • @akashtambe11

    @akashtambe11

    5 жыл бұрын

    SOLVED... have a look at 4:33 .. we have to copy that new client id made in "other device and platform" (ie. raspberry pi) Don't copy main client ID. or watch carefully client id is copied by PatchBOTS in video an tally it

  • @chikajerica6816
    @chikajerica68164 жыл бұрын

    Eta prime voices 😏

  • @thetimesuits6367
    @thetimesuits63675 жыл бұрын

    UNRECOVERABLE AUTHORIZATION ERROR: INVALID_REQUEST # # Entering limited interaction mode. please help

  • @moana_skellington

    @moana_skellington

    5 жыл бұрын

    same problem cant solve

  • @thetimesuits6367

    @thetimesuits6367

    5 жыл бұрын

    @@moana_skellington please share it you solved it

  • @moana_skellington

    @moana_skellington

    5 жыл бұрын

    4:30 this is what I forgot

  • @akashtambe11

    @akashtambe11

    5 жыл бұрын

    SOLVED... have a look at 4:33 .. we have to copy that new client id made in "other device and platform" (ie. raspberry pi) Don't copy the main client ID. or watch carefully client id is copied by PatchBOTS in video an tally it

  • @akashtambe11

    @akashtambe11

    5 жыл бұрын

    @@moana_skellington Thanks

  • @mexelman3813
    @mexelman38135 жыл бұрын

    I now tried it a few times but the setup is still failing at 79-81%, has anyone an idea how to solve the problem? Thanks

  • @mexelman3813

    @mexelman3813

    5 жыл бұрын

    [ 77%] Linking CXX shared library libSettings.so [ 77%] Built target Settings [ 77%] Linking CXX shared library libKITTAI.so /usr/bin/ld: /home/pi/l3-37-alexa_patchbots/source/snowboy/lib/rpi/libsnowboy-detect.a(snowboy-detect.o): Relocations in generic ELF (EM: 40) /usr/bin/ld: /home/pi/l3-37-alexa_patchbots/source/snowboy/lib/rpi/libsnowboy-detect.a(snowboy-detect.o): Relocations in generic ELF (EM: 40) /usr/bin/ld: /home/pi/l3-37-alexa_patchbots/source/snowboy/lib/rpi/libsnowboy-detect.a(snowboy-detect.o): Relocations in generic ELF (EM: 40) /usr/bin/ld: /home/pi/l3-37-alexa_patchbots/source/snowboy/lib/rpi/libsnowboy-detect.a(snowboy-detect.o): Relocations in generic ELF (EM: 40) /usr/bin/ld: /home/pi/l3-37-alexa_patchbots/source/snowboy/lib/rpi/libsnowboy-detect.a(snowboy-detect.o): Relocations in generic ELF (EM: 40) /usr/bin/ld: /home/pi/l3-37-alexa_patchbots/source/snowboy/lib/rpi/libsnowboy-detect.a(snowboy-detect.o): Relocations in generic ELF (EM: 40) /usr/bin/ld: /home/pi/l3-37-alexa_patchbots/source/snowboy/lib/rpi/libsnowboy-detect.a(snowboy-detect.o): Relocations in generic ELF (EM: 40) /home/pi/l3-37-alexa_patchbots/source/snowboy/lib/rpi/libsnowboy-detect.a: error adding symbols: File in wrong format collect2: error: ld returned 1 exit status KWD/KittAi/src/CMakeFiles/KITTAI.dir/build.make:98: die Regel für Ziel „KWD/KittAi/src/libKITTAI.so“ scheiterte make[3]: *** [KWD/KittAi/src/libKITTAI.so] Fehler 1 CMakeFiles/Makefile2:4896: die Regel für Ziel „KWD/KittAi/src/CMakeFiles/KITTAI.dir/all“ scheiterte make[2]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Fehler 2 make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet... [ 77%] Building CXX object MediaPlayer/src/CMakeFiles/MediaPlayer.dir/BaseStreamSource.cpp.o [ 77%] Building CXX object MediaPlayer/src/CMakeFiles/MediaPlayer.dir/ErrorTypeConversion.cpp.o [ 79%] Building CXX object MediaPlayer/src/CMakeFiles/MediaPlayer.dir/IStreamSource.cpp.o [ 79%] Building CXX object MediaPlayer/src/CMakeFiles/MediaPlayer.dir/MediaPlayer.cpp.o [ 79%] Building CXX object MediaPlayer/src/CMakeFiles/MediaPlayer.dir/Normalizer.cpp.o [ 79%] Building CXX object MediaPlayer/src/CMakeFiles/MediaPlayer.dir/OffsetManager.cpp.o [ 81%] Linking CXX shared library libMediaPlayer.so [ 81%] Built target MediaPlayer CMakeFiles/Makefile2:8372: die Regel für Ziel „SampleApp/src/CMakeFiles/SampleApp.dir/rule“ scheiterte make[1]: *** [SampleApp/src/CMakeFiles/SampleApp.dir/rule] Fehler 2 Makefile:2136: die Regel für Ziel „SampleApp“ scheiterte make: *** [SampleApp] Fehler 2 ./setup.sh: ERROR: make SampleApp -j2 this is the console output (sry for the german, but should still work )

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Sorry, not sure if I can help with this one. I haven't run into this issue.

  • @mexelman3813

    @mexelman3813

    5 жыл бұрын

    PatchBOTS ok, thanks then I need to try it again But beside this error your Project is stil awesome

  • @djtechtrix6744

    @djtechtrix6744

    5 жыл бұрын

    @@PatchBOTS I'm running into an issue where it freezes at 52%. Any idea on how to fix this?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    @@djtechtrix6744 I had random freezes throughout sometimes. Just retrying it worked for me.

  • @gregg5574
    @gregg55745 жыл бұрын

    Its asking for a user name and password to get the clone

  • @wasiakbar5004

    @wasiakbar5004

    5 жыл бұрын

    add .git in last

  • @rincechacko3127
    @rincechacko31275 жыл бұрын

    while Register my Device with 6 digit key - amazone gives error "We're sorry! An error occurred when we tried to process your request. Rest assured, we're already working on the problem and expect to resolve it shortly."

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    Sounds like an Amazon problem. Try it again a little later.

  • @arda4326

    @arda4326

    5 жыл бұрын

    @@PatchBOTS Same is happening to me for like 2-3 days.What are we gonna do?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    @@arda4326 I think this is just an amazon server glitch. Nothing we can do, just wait until it resolves.

  • @pxlseyy

    @pxlseyy

    5 жыл бұрын

    @@PatchBOTS Any fixes for this guys?

  • @rincechacko3127

    @rincechacko3127

    5 жыл бұрын

    @@arda4326 its fix by amazon

  • @marvinbarber6972
    @marvinbarber69725 жыл бұрын

    How do i change the wake word sir?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    The steps are in this video

  • @marvinbarber6972

    @marvinbarber6972

    5 жыл бұрын

    @@PatchBOTS btw sir i try the steps on yoir video..actuallt it worked very well, but when i ask question it wont finish its answer and suddenly say "what".

  • @security1guy
    @security1guy5 жыл бұрын

    its asking for username

  • @tylerjones3786
    @tylerjones37865 жыл бұрын

    Can this be done on an rpi zero?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    You can be the first to try!

  • @tylerjones3786

    @tylerjones3786

    5 жыл бұрын

    @@PatchBOTS I already went ahead with a rpi3, but now that I know what I'm doing I'll try it on the zero and let you know how it goes

  • @PhotoSlash

    @PhotoSlash

    5 жыл бұрын

    @@tylerjones3786 did you make it? 'cause I got a rpi zero too

  • @haidarali5351
    @haidarali53515 жыл бұрын

    It's showing sample Application failed..can someone help me

  • @garibjanatakodhanineta7823

    @garibjanatakodhanineta7823

    5 жыл бұрын

    Same here

  • @passiveftp

    @passiveftp

    4 жыл бұрын

    Guy, Guys, Guys.. I have the answers!! I had the exact same problem, here's how to get it to work. if you are getting this error: Command: ./setup.sh Error: ./l337.sh: line 11: ./SampleApp: No such file or directory ./l337.sh: ERROR: ./SampleApp /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json /home/pi/l3-37-alexa_patchbots/source/snowboy/resources/alexa Then run these commands: sudo apt-get install gcc-5 g++-5 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 sudo update-alternatives --set gcc "/usr/bin/gcc-5" then run the setup again as in the video tutorial: sudo ./setup.sh After that I had another error when trying to authenticate my pi with Amazon. Command: ./1337.sh run Error: Failed to create to SampleApplication! ./l337.sh: ERROR: ./SampleApp /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json /home/pi/l3-37-alexa_patchbots/source/snowboy/resources/alexa How do you fix this? it's not the software that's the problem, it's your microphone! if you haven't got a microphone plugged in you'll get this error, or if you have one of the crappy microphones used in this video you might get this error (I did). I have the exact same microphone as used in this video and it's terrible, I have to be right next to the mic before it picks anything up. I might just have a dodgy one, but I think they are pretty cheap and nasty. I changed mine for a Playstation 3 eye camera. they cost about £5 on ebay so about the same price as that crappy mic. You can plug it straight in the pi and it just works as a USB mic, plug and play. the Pi already has the drivers. You get really nice crisp sound from the mic, much better then that cheap and nasty one. it's also a USB webcam if you ever need it. So that's how to fix it all. I hope this helps someone.

  • @passiveftp

    @passiveftp

    4 жыл бұрын

    @@garibjanatakodhanineta7823 see reply on this thread

  • @tawfikahmed5764
    @tawfikahmed57646 жыл бұрын

    can somebody plese help, mine says "NOTIFICATION INDICATOR STATE: OFF" when im looking for my amazon registration code

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    You have to scroll up a bit for the code.

  • @tawfikahmed5764

    @tawfikahmed5764

    6 жыл бұрын

    PatchBOTS yeah I know but at the spot where the code should be, it says "NOTIFICATION INDICATOR STATE OFF"

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    When you get to that point again tap "k" on your keyboard to reset your device and try again. I haven't run into that particular error.

  • @tawfikahmed5764

    @tawfikahmed5764

    6 жыл бұрын

    Ok thank you, I'm doing this for a school project, idk if this is too much to ask but is thier a way you can copy the files of you micro SD card, and send it to me😅

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Well, then you'd be linked to my Amazon account and to undo that you'd have to go through the installation process again anyway, so I don't think would be too helpful.

  • @pritamjitlaishram
    @pritamjitlaishram5 жыл бұрын

    client not connected problem at the last time

  • @lilgnzxg4028

    @lilgnzxg4028

    5 жыл бұрын

    same problem did you solve it?

  • @akashtambe11

    @akashtambe11

    5 жыл бұрын

    Same here also

  • @AG-wl6yh
    @AG-wl6yh5 жыл бұрын

    Do I need to pay money for Alexa services?

  • @humanoids1219

    @humanoids1219

    5 жыл бұрын

    nope it is free

  • @AG-wl6yh

    @AG-wl6yh

    5 жыл бұрын

    @@humanoids1219 thanks.

  • @humanoids1219

    @humanoids1219

    5 жыл бұрын

    Amazing Guy no problem 😊

  • @trevorlaporte5951
    @trevorlaporte59516 жыл бұрын

    I'm having some issues. After replacing the wakeword file and recompiling the code, after running l337, I'm getting these errors. 2018-07-28 04:15:18.465 [ 1] C PortAudioMicrophoneWrapper:Failed to open PortAudio default stream 2018-07-28 04:15:18.465 [ 1] C PortAudioMicrophoneWrapper:Failed to initialize PortAudioMicrophoneWrapper 2018-07-28 04:15:18.466 [ 1] C SampleApplication:Failed to create PortAudioMicrophoneWrapper! 2018-07-28 04:15:18.596 [ 1] C SampleApplication:Failed to initialize SampleApplication and Failed to create to SampleApplication! ./l337.sh: ERROR: ./SampleApp /home/pi/l3-37-alexa_patchbots/build/Integration/AlexaClientSDKConfig.json /home/pi/l3-37-alexa_patchbots/source/snowboy/resources/alexa

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    I'm going to look into this. I'm finding it hard to reproduce some errors, so it's tough to give immediate help

  • @trevorlaporte5951

    @trevorlaporte5951

    6 жыл бұрын

    I think it's the same problem Roland Mesaros was having. It didn't like my wake word package that I was trying to feed it. I can't make one online through the pi though for some reason. I can't get audio online in the pi browser, though I know my Pi is receiving audio because the L3 wake-word was working. I recorded a wake-word on my pc, then transferred it to the Pi, and I don't get that error anymore, but now amazon won't authorize the code.

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Did you run the : cp sounds/YOURFILENAME.pmdl source/snowboy/resources/alexa/alexa.umdl command?

  • @trevorlaporte5951

    @trevorlaporte5951

    6 жыл бұрын

    PatchBOTS I did. My main problem is that I can't record a wake word on the pi. The browser isn't getting any audio even though I know the pi is set to use that mic and the pi is getting audio fine. I just now recorded one on my pc and transfered it to the pc, and I'm rebuilding the code now. I'll try to see if it works but I bet I'll have sensitivity issues. Also once you rebuild the code, can you just run it after or do you have to go through authorizing it on Amazon again.

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    Yeah record on PC and email to yourself, then download from pi browser. After you replace the file, run that YOURNAME command. Then recompile. Yes you will have to reauthorize with amazon after every recompile (but you don't have to set up a new product each time or anything crazy)

  • @purple_bey
    @purple_bey5 жыл бұрын

    not work in french ?

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    THere is a section in the video on how to change the language setting, you can change to french there.

  • @Hiv0ltage
    @Hiv0ltage5 жыл бұрын

    Followed all and everything works. Just no response when I say the magic word. :(

  • @Hiv0ltage

    @Hiv0ltage

    5 жыл бұрын

    I reinstalled the os and then found out that I cannot use the mic and the speakers at the same time.

  • @Hiv0ltage

    @Hiv0ltage

    5 жыл бұрын

    Ok this is not working. I have the same issue. The damned thing just will not function. I am getting no audio devices. I can't run audio in prefrences and alsamixer does not work either. WTF Why is this so damned buggy!

  • @Hiv0ltage

    @Hiv0ltage

    5 жыл бұрын

    Ok finnaly figure it out. I was asking it with "Alexa" and not "L3". Some how I missed that. All is working fine now.

  • @raom9997
    @raom99976 жыл бұрын

    Sir i have some ishu pls solve

  • @raom9997

    @raom9997

    6 жыл бұрын

    Sir pls tell me ho how to shart on reboot auto on alexa pls tell sir qht i did

  • @PatchBOTS

    @PatchBOTS

    6 жыл бұрын

    The autostart in the video runs in the background. It takes a moment or two to work, but should autostart

  • @raom9997

    @raom9997

    6 жыл бұрын

    Sir thnks a lot bat sir everything is ok bat sir when i boot my system alexa not work its not start auto bat start manuly pls tell me how is posibal alexa start automatically when system restart pls sir help me

  • @kermiesgonnastealyobitch8483
    @kermiesgonnastealyobitch84835 жыл бұрын

    It asks for a password when trying to clone the git

  • @PatchBOTS

    @PatchBOTS

    5 жыл бұрын

    It's a public repo, it shouldn't be asking for a password.

  • @puffball1794

    @puffball1794

    5 жыл бұрын

    Did you type 'sudo' In front of the command? If not type the password you set Raspbian up with, or if you didn't set one the default 'raspberry' password.

  • @gregg5574

    @gregg5574

    5 жыл бұрын

    iam having the same problem

  • @marvinbarber6972
    @marvinbarber69725 жыл бұрын

    How to Start up L3 or somebody call it Auto boot?XD

  • @SuperMasterTurtle
    @SuperMasterTurtle Жыл бұрын

    What

  • @yummy9731
    @yummy97314 жыл бұрын

    every one if the tutorial is not working delete the patchbots folder and go to developer.amazon.com/en-US/docs/alexa/alexa-voice-service/input-avs-credentials.html follow the steps and bing boom bam you have a working alexa

  • @firmanfernando9
    @firmanfernando94 жыл бұрын

    sorry im newbee, git clone github.com/henrymendez/l3-37-..., it means everything my voice command, u can Read in dev account github? can i change it? sorry im newbee coment LOL

Келесі