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.
    • S Do not disturb
      sdetweil @sdetweil
      last edited by

      @sdetweil in config.js add

      disabled: true,

      to the MMM_AlexaControl module def

         {
            module: 'MMM-AlexaControl',
            disabled: true,          /// add this line        
             position: whatever,
            config:{
            }
         },
      

      and restart MM, then in another window to the netstat -a -p command again

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil
        last edited by

        it is hard to help if you don’t respond

        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 sorry so i just did what u said and still the same like last time

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @dave_
            last edited by sdetweil

            @dave_ no response?
            show me MM messages

            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 https://photos.app.goo.gl/QonL4x1TWAwagqnC6

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @dave_
                last edited by

                @dave_ and while MM was running you were supposed to do the netstat -a -p commands to see if the process blocking port 1900 is inside MM…

                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 https://photos.app.goo.gl/33wVwMbpT135Ng8FA

                  There u go

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @dave_
                    last edited by sdetweil

                    @dave_ but you were supposed to have AlexaControl disabled… but do not
                    please post your config.js (in code block please)

                    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 with that disabled it doesn’t seem to work

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @dave_
                        last edited by

                        @dave_ it won’t work, we are debugging… trying to find what process has port 1900 , which alexacontrol needs, but was blocked from using…

                        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 the alexa module is disabled and again like before when i do that sudo netstat command nothing shows up

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @dave_
                            last edited by

                            @dave_ so, something doesn’t make sense… please show me your config.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

                              This post is deleted!
                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @dave_
                                last edited by

                                @dave_ weird… ok, re-enable AlexaControl (change to disabled: false, ) then restart MM and show me the messages again

                                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 https://photos.app.goo.gl/Eqxwv27mVDBbowBH8

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @dave_
                                    last edited by

                                    @dave_ and the MM messages? yes, electron should be using 1900 now for alexacontrol

                                    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 https://photos.app.goo.gl/SuvM64zPpyQCZjQT8

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @dave_
                                        last edited by

                                        @dave_ ok, as expected… the extra image u posted this morning was from some other time

                                        now, if you do alexa discover devices (phone app is more (bottom right), other, discover devices)

                                        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 tried that still no luck

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @dave_
                                            last edited by

                                            @dave_ ok, need to edit a file to turn on some debugging

                                            nano ~/MagicMirror/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js

                                            change lines 92-94, the console.log lines below
                                            change from

                                            	udpServer.on('message', (msg, rinfo) => {
                                            		//debug(`<< server got: ${msg} from ${rinfo.address}:${rinfo.port}`);
                                            		//console.log('Search request from ' + util.inspect(rinfo));
                                            		//console.log(getMask(rinfo.address, '255.255.255.0'));
                                            

                                            to

                                            	udpServer.on('message', (msg, rinfo) => {
                                            		console.log(`<< server got: ${msg} from ${rinfo.address}:${rinfo.port}`);       
                                            		console.log('Search request from ' + util.inspect(rinfo));
                                            		console.log(getMask(rinfo.address, '255.255.255.0'));
                                            

                                            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
                                            • 4 / 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