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-AlexaControl or MMM-AlexaOn/Off setup

    Scheduled Pinned Locked Moved Troubleshooting
    94 Posts 4 Posters 57.9k Views 5 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.
    • StoffbeuteluweS Offline
      Stoffbeuteluwe Project Sponsor @dave_
      last edited by Stoffbeuteluwe

      @dave_ MMM-AlexaControl works well and MMM-AlexaOnOff does not work.
      Can you post the config of the module, maybe somebody can help you?

      D 2 Replies Last reply Reply Quote 0
      • D Offline
        dave_ @Stoffbeuteluwe
        last edited by

        @Stoffbeuteluwe sure

        1 Reply Last reply Reply Quote 0
        • D Offline
          dave_ @Stoffbeuteluwe
          last edited by

          @Stoffbeuteluwe

          //{
          // module: ‘MMM-AlexaControl’,
          // position: ‘middle_center’,
          // config:{
          // image: true,
          // pm2ProcessName: “PM2”,
          // vcgencmd: “vcgencmd”,
          // }
          // },

          ignore the // brackets.

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

            @dave_ what port range did u specify? you need to set a unique port range for each mirror on your network.

            I see it defaults. never mind.

            if u are running a Spotify player on this machine, the two things fight over the discovery port, 1900. so u have to stop the Spotify client while Alexa does Discovery

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S D 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @sdetweil
              last edited by

              @dave_ you should see messages like this on MM startup for alexacontrol

              [2020-08-02 16:47:29.642] [INFO] Checking git for module: MMM-AlexaControl
              [2020-08-02 16:47:29.675] [LOG] Adding multicast membership for 127.0.0.1
              [2020-08-02 16:47:29.676] [LOG] Adding multicast membership for 192.168.2.11
              [2020-08-02 16:47:29.677] [LOG] server is listening on 11000
              [2020-08-02 16:47:29.679] [LOG] server is listening on 11001
              [2020-08-02 16:47:29.679] [LOG] server is listening on 11002
              [2020-08-02 16:47:29.680] [LOG] server is listening on 11005

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • D Offline
                dave_ @sdetweil
                last edited by

                @sdetweil hmm so should i stop the Spotify and try again? Or what port range Should i specify it to?

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

                  @dave_ you MUST stop the spotify thing , then restart MM, see those messages and then do alexa discover devices (using real echo device)…

                  once the devices are added, you can turn on the spotify tool …

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    dave_ @sdetweil
                    last edited by

                    @sdetweil so i did turn of the Spotify and when i launched the magic mirror it is not showing up anything it’s blank screen Like usually when there’s something with config it says a message but in this case it’s blank

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

                      @dave_ look at the console where u started mm.

                      pm2 logs --lines=100
                      or
                      in the window where u did npm start.

                      black screen usually means missing library

                      u did npm install in the AlexaControl folder, right?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        dave_ @sdetweil
                        last edited by

                        @sdetweil it’s finally showing on screen like the mm is working but still had no luck with discovery and Spotify is off

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

                          @dave_ did u see the startup messages from the module like i posted?

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          D 1 Reply Last reply Reply Quote 0
                          • D Offline
                            dave_ @sdetweil
                            last edited by

                            @sdetweil alt text

                            I am not quite sure which line to look at but check the image

                            Just out of curiosity does it have to be alexa echo device like can’t a i use for a soundbar or speaker with built in alexa or maybe even the mobile app?

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

                              @dave_ u got the eaddressinuse error. something is using port 1900, this the the port we stopped Spotify to get access to

                              stop mm, then do

                              sudo netstat -a | grep 1900
                              

                              in there is a response then something is still using the port.

                              I havent tried discovery from my Alexa app in a long time. since they made it possible via voice command

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              D 1 Reply Last reply Reply Quote 0
                              • D Offline
                                dave_ @sdetweil
                                last edited by sdetweil

                                @sdetweil alt text that’s what it says

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

                                  @dave_
                                  ok do this

                                  sudo netstat -a -p | grep 1900
                                  

                                  mine shows this when MM is running

                                  sudo netstat -a -p | grep 1900
                                  udp        0      0 0.0.0.0:1900            0.0.0.0:*                           11153/electron.js 
                                  

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  D 1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    dave_ @sdetweil
                                    last edited by

                                    @sdetweil ohh shit i had installed jellyfin media server ages ago and that’s what it’s saying how do i uninstall that 😂

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

                                      @dave_ sorry, no idea… google might help

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      D 2 Replies Last reply Reply Quote 0
                                      • D Offline
                                        dave_ @sdetweil
                                        last edited by

                                        @sdetweil lemme see and I’ll let u know

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          dave_ @sdetweil
                                          last edited by

                                          @sdetweil can i just Change the ports? And then make ot work if yes what should i change it to

                                          S 2 Replies Last reply Reply Quote 0
                                          • S Offline
                                            sdetweil @dave_
                                            last edited by

                                            @dave_ no ssdp discovery only supports port 1900

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            D 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
                                            • 4
                                            • 5
                                            • 1 / 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