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 39.5k 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.
    • D Offline
      Davepre @johnnyboy
      last edited by

      @johnnyboy so sorry for late reply. Only now got the chance to look for the config.yaml file.

      Yes, my config.template.yaml is (same as yours) in opt/Alexapi/src.

      However my config.yaml file is in etc/opt/Alexapi.
      Thats the only file in that folder.

      Is that what you were looking for?

      Best regards / David

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

        @Davepre don’t worry about the template one. Just edit the one in ‘’‘/etc/opt/AlexaPi/config.yaml’‘’

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

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

            @johnnyboy i think you may be trying too hard. I followed the instructions to a T and haven’t had any problems. I had to reset my Pi twice after installing other modules that use sound… such as MMM-Voice. This module ruined my AlexaPi. I started my Pi over after installing that one because it ruined my sound profile. You may just need to figure out what you want to do with the mirror and install only those things. That’s what I did. After resetting my Pi 3 times and starting over each time, I’ve got it exactly the way I want it. when I move coming up in the next month, I’m going to make a touch screen family board for the kitchen kind of like this out of a Smart Screen. Then I’m going to buy an Alexa-powered remote control for my home entertainment center from Logitech that let’s you say, “Alexa, turn on the TV.” It should be fun.

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

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

                @johnnyboy no way brother. Don’t give up! If you want to have AlexaPi and MagicMirror on the same device I recommend starting over with a fresh copy of Raspbian, installing AlexaPi first and getting it to work. Then installing magic mirror with the AlexaPi module.

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

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

                    @johnnyboy get another microSD card and give it a whirl from scratch.

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

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • 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

                                          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
                                          • 1
                                          • 2
                                          • 3
                                          • 1 / 3
                                          • 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