MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Alexa Voice Service for Pi

    Scheduled Pinned Locked Moved Troubleshooting
    17 Posts 4 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xxLulaBelle
      last edited by

      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:~ $

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @xxLulaBelle
        last edited by

        @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

        Sam

        How to add modules

        learning how to use css

        X 1 Reply Last reply Reply Quote 0
        • X
          xxLulaBelle @sdetweil
          last edited by

          @sdetweil Thank you very much, I will give this a try tomorrow. Is it worth doing it do you think?

          S X 2 Replies Last reply Reply Quote 0
          • S
            sdetweil @xxLulaBelle
            last edited by sdetweil

            @xxlulabelle depends on what you want/need

            there will be errors, ignore them. the last command being successful is all that matters

            Sam

            How to add modules

            learning how to use css

            1 Reply Last reply Reply Quote 0
            • X
              xxLulaBelle @xxLulaBelle
              last edited by

              @xxlulabelle Grand, thank you :)

              X 1 Reply Last reply Reply Quote 0
              • X
                xxLulaBelle @xxLulaBelle
                last edited by

                @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?

                S 1 Reply Last reply Reply Quote 0
                • S
                  sdetweil @xxLulaBelle
                  last edited by

                  @xxlulabelle should have used localhost:5050

                  the system needs to get to a machine…

                  Sam

                  How to add modules

                  learning how to use css

                  X 1 Reply Last reply Reply Quote 0
                  • X
                    xxLulaBelle @sdetweil
                    last edited by

                    @sdetweil I put this in http://localhost:5050/code and it says Invalid, please enter your redirect URI?

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      sdetweil @xxLulaBelle
                      last edited by

                      @xxlulabelle weird, i use this

                      http://localhost:5500/alexa_auth

                      Sam

                      How to add modules

                      learning how to use css

                      X 1 Reply Last reply Reply Quote 0
                      • bugsounetB
                        bugsounet
                        last edited by

                        wow a lot of effort … good luck! (soOooOO many for me !)

                        I prefer … simple thing sorry :D

                        MMM-GoogleAssistant and associated plugin creator
                        Website: wiki.bugsounet.fr

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy