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.

    MMM-AlexaPi

    Scheduled Pinned Locked Moved Solved Troubleshooting
    48 Posts 8 Posters 35.2k Views 9 Watching
    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.
    • romainR Offline
      romain
      last edited by

      Well, I have the same issue as johnnyboy. I reset my pi once already. I have the same message from the AlexaPi service. Also launching the mirror in dev mode show me the following error related to MMM-Alexa : " Failed to load resource: the server responded with a status of 400 (Bad Request) https://api.amazon.com/auth/o2/token "
      And the color indicator is yellow. I have a lot of trouble with setting my sound card to use a mic so I wouldn’t be surprise If I had a mic issue. But this is completely unrelated to the sound. the “token” is the thing we got when we connected to the raspberypi ip adress port 5050 right ? Is there a reason it would expire ? could it be the issue ?

      lucallmonL 1 Reply Last reply Reply Quote 0
      • lucallmonL Offline
        lucallmon @romain
        last edited by

        @romain MMM-Alexa is not the same as MMM-AlexaPi. They are 2 separate modules that work totally different.

        1 Reply Last reply Reply Quote 0
        • romainR Offline
          romain
          last edited by romain

          @lucallmon Oh. My mistake then. So… AlexaPi is for MMM-alexa or MMM-alexapi ?
          I am confused.

          lucallmonL 1 Reply Last reply Reply Quote 0
          • lucallmonL Offline
            lucallmon @romain
            last edited by

            @romain AlexaPi is a separate program from MM. It can be found here: https://github.com/alexa-pi/AlexaPi. Once installed and working properly, you can access it through MM with the MMM-AlexaPi module, found here: https://github.com/dgonano/MMM-AlexaPi. This is the only easy [somewhat] to install version that is voice activated and works every time. The other ones, I have been unable to get to work because there is no step-by-step guide.

            romainR 1 Reply Last reply Reply Quote 1
            • romainR Offline
              romain @lucallmon
              last edited by

              @lucallmon Ok, I will try it tomorrow. I have already installed AlexaPi. I though it was for the MMM-alexa module though. Anyway, thanks for the input.

              johnnyboyJ 1 Reply Last reply Reply Quote 0
              • johnnyboyJ Offline
                johnnyboy @romain
                last edited by johnnyboy

                This post is deleted!
                romainR 1 Reply Last reply Reply Quote 0
                • romainR Offline
                  romain @johnnyboy
                  last edited by

                  @johnnyboy Yeah I saw, I installed it in my home folder the first time before facepalming

                  1 Reply Last reply Reply Quote 0
                  • johnnyboyJ Offline
                    johnnyboy @lucallmon
                    last edited by johnnyboy

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bminer1
                      last edited by

                      I’m getting a permission denied when trying to save after making the changes in /etc/opt/AlexaPi/config.yaml
                      I feel like ive fallen in a rabbit whole that may be alittle over my abilities.

                      romainR 1 Reply Last reply Reply Quote 0
                      • romainR Offline
                        romain @bminer1
                        last edited by

                        @bminer1 That’s normal, there is multiple type of user in linux with different level of permission, it’s for safety (that you or a virus doesn’t destroy your operating system). When you are connected to your regular user (pi if you are using raspbian) you have only access in writing to your home folder. However, the pi user is also a “sudo” user, which mean that you can get higher permission in exchange of providing the right password (which is your regular password in raspbian).
                        To do that you write sudo your_command , for example sudo nano /etc/opt/AlexaPi/config.yaml . you’ll be ask to enter a password and then you can edit your file.
                        It’s like being administrator on windows, but with a password instead of a window that ask you if you want to run as administrator

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 5 / 5
                        • 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