Read the statement by Michael Teeuw here.
Alexa Voice Service for Pi
-
Hello,
I am trying to get Alexa on my Pi for some time now with no luck, probably due to the face I have no idea what I am doing. I found a video on YouTube and have been following her steps which she is getting from here https://developer.amazon.com/en-US/docs/alexa/avs-device-sdk/raspberry-pi-script.html
Scrolling to Run and Install Script, it says after installation it should say [100%] Built Target SampleApp but it does not. I get the following, any ideas?
################################################################################
[ 0%] Building CXX object AVSCommon/CMakeFiles/AVSCommon.dir/AVS/src/Attachment/InProcessAttachment.cpp.o
[ 0%] Building CXX object AVSCommon/CMakeFiles/AVSCommon.dir/AVS/src/AlexaClientSDKInit.cpp.o
/home/pi/avs-device-sdk/AVSCommon/AVS/src/AlexaClientSDKInit.cpp:16:10: fatal error: curl/curl.h: No such file or directory
#include <curl/curl.h>
^~~~~~~~~~~~~
compilation terminated.
make[3]: *** [AVSCommon/CMakeFiles/AVSCommon.dir/build.make:141: AVSCommon/CMakeFiles/AVSCommon.dir/AVS/src/AlexaClientSDKInit.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs…
make[2]: *** [CMakeFiles/Makefile2:8039: AVSCommon/CMakeFiles/AVSCommon.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:14137: SampleApp/src/CMakeFiles/SampleApp.dir/rule] Error 2
make: *** [Makefile:3620: SampleApp] Error 2
pi@raspberrypi:~ $ -
@xxlulabelle awesome-alexa is the only one I know that still works.they have a 14 step install process on their wiki
I copied these to a script, and it will do all the install part. u still have to the setup on the avs console, and get the refresh token.
https://www.dropbox.com/s/omrx3vztjp738hf/do-install.sh?dl=0
now. u cant play music, u can’t interact with the mirror app. but u can ask questions, and interaction with smarthome drvices on your Amazon account
-
@sdetweil Thank you very much, I will give this a try tomorrow. Is it worth doing it do you think?
-
@xxlulabelle depends on what you want/need
there will be errors, ignore them. the last command being successful is all that matters
-
@xxlulabelle Grand, thank you :)
-
@xxlulabelle When I go through the MMM-awesome-alexa module, I can get to the part where I put in the Amazon Voice Service ID and secret but when it asks me for the Allowed Return URL I input http://192.168.0.108:5050/code, I can’t remember where I got this from, think it was a YT video months ago, when I go to open up the link they give to get the authentication code I get an error page. Any ideas?
-
@xxlulabelle should have used localhost:5050
the system needs to get to a machine…
-
@sdetweil I put this in http://localhost:5050/code and it says Invalid, please enter your redirect URI?
-
@xxlulabelle weird, i use this
-
wow a lot of effort … good luck! (soOooOO many for me !)
I prefer … simple thing sorry :D
-
@sdetweil said in Alexa Voice Service for Pi:
I just tried this and get the same error, could it be something else I am doing wrong?
:see-no-evil_monkey: -
@xxlulabelle I put http://localhost in the allowed origins field

-
@sdetweil said in Alexa Voice Service for Pi:
I have these four in the Allowed Origins Fields:
https://192.168.0.108:5050
https://192.168.0.108:5050
https://localhost:5050
https://localhost:5050In the Allowed Return URLs I have the same four but with /code at the end of each.
Again, I can’t remember exactly where I got this info, was a video on YT from memory. -
@sdetweil Changed to this and input same, I still get that error code. I give up :see-no-evil_monkey:
-
@sdetweil Thanks so much for all your help and your patience with my lack of knowledge. Much appreciated. :)
-
@xxlulabelle sorry, don’t think we are talking the same…
so you run the auth program, and it pops up a blah blah wants to access your devicename
and u say Allow, then an error appears, can’t reach xyz…and in the URL string is the code=djf;asjfgjae;gk;FGJADJFG’AJFDGL’K AFDJG LAFDJG L’ADFKJ
the thing after the code= IS the code u are supposed to copy
‘djf;asjfgjae;gk;FGJADJFG’AJFDGL’K AFDJG LAFDJG L’ADFKJ’
using my made up junk above
i have a different app on a different platform that implements a server at the return url and captures the code= value for you… so none of this trouble
-
This post is deleted!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login