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