• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-Remote-Control] Can not access remote control module

Scheduled Pinned Locked Moved Troubleshooting
76 Posts 21 Posters 56.0k Views 19 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @motdog
    last edited by Mar 4, 2019, 2:44 AM

    @motdog

    I went and installed MMM-Remote-Control on a laptop running ubuntu and MM v2.5.0. I used this config entry:

    0_1551667234525_Screenshot from 2019-03-03 21-40-00.png

    The module loads (bottom right):

    0_1551667367462_Screenshot from 2019-03-03 21-41-36.png

    I’ll send a picture from my other machine. brb

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @motdog
      last edited by Mykle1 Mar 4, 2019, 2:53 AM Mar 4, 2019, 2:51 AM

      @motdog

      You can clearly see that it is working remotely.

      0_1551667630017_Screenshot from 2019-03-03 21-45-43.png

      It would not allow connection with address: "localhost",. Take your working config and carefully add my entry for Remote-Control, address and ipWhitelist It should work.

      Create a working config
      How to add modules

      M 1 Reply Last reply Mar 4, 2019, 3:54 PM Reply Quote 0
      • M Offline
        motdog @Mykle1
        last edited by Mar 4, 2019, 3:54 PM

        @Mykle1 Awesome! Thanks so much for your help.

        M 1 Reply Last reply Mar 5, 2019, 12:01 AM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @motdog
          last edited by Mar 5, 2019, 12:01 AM

          @motdog

          So, does that mean that it’s working for you now? If so, mark the topic as solved.

          Create a working config
          How to add modules

          M 1 Reply Last reply Mar 5, 2019, 4:13 AM Reply Quote 0
          • A Offline
            AshDarko
            last edited by Mar 5, 2019, 12:49 AM

            Hi, i too have the same issue. I have changed my router IP to be something other than 192.XXX.X.XX

            Could this be the problem? I can access via browser on the Pi…?

            When i run the remote in browser on the pi, i notice in terminal this message:

            MMM-Remote-Control customMenu Requested, but file:/home/pi/MagicMirror/config/custom_menu.json was not found
            
            

            i receive an “Access Denied to IP address 10.100.10.1” in terminal and a message on m y phone saying the device is not allowed to access your mirror

            Here is config code:

            address: "0.0.0.0", // Address to listen on, can be:
            	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
            	                      // - another specific IPv4/6 to listen on a specific interface
            	                      // - "", "0.0.0.0", "::" to listen on any interface
            	                      // Default, when address config is left out, is "localhost"
            	port: 8080,
            	ipWhitelist: [ "127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:10.100.10.0/24",], // Set [] to allow all IP addresses
            	                                                       // or add a specific IPv4 of 192.168.1.5 :
            	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
            	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
            	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
            
            	language: "en",
            	timeFormat: 24,
            	units: "metric",
            

            And here is my module code:

            {
            		module: 'MMM-Remote-Control',
            		/**position: 'bottom_left',**/
            		config: {
            			customCommand: {},  // Optional, See "Using Custom Commands" below
            			customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
            			showModuleApiMenu: true, // Optional, Enable the Module Controls menu
            			/**apiKey: "",         // Optional, See API/README.md for details**/
            		}
            	},
            

            The module code is pretty much the defaults.

            1 Reply Last reply Reply Quote 0
            • A Offline
              AshDarko
              last edited by Mar 5, 2019, 12:51 AM

              I have just commented out the custom menu for now, so ignore that terminal message about it

              {
              		module: 'MMM-Remote-Control',
              		/**position: 'bottom_left',**/
              		config: {
              			customCommand: {},  // Optional, See "Using Custom Commands" below
              			/**customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below**/
              			showModuleApiMenu: true, // Optional, Enable the Module Controls menu
              			/**apiKey: "",         // Optional, See API/README.md for details**/
              		}
              	},
              
              1 Reply Last reply Reply Quote 0
              • M Offline
                motdog @Mykle1
                last edited by Mar 5, 2019, 4:13 AM

                @Mykle1 my only other question is when I was at a friend’s house I tried to pull up the remote to show them the mirror & nothing happened on their wifi or cellular. I’m guessing on the white list I would have to input my phone ip address?

                S R 2 Replies Last reply Mar 5, 2019, 5:36 AM Reply Quote 0
                • S Offline
                  sdetweil @motdog
                  last edited by sdetweil Mar 5, 2019, 3:18 PM Mar 5, 2019, 5:36 AM

                  @motdog lot more than that…

                  by default your home router blocks ALL incoming requests (or should anyhow) so you would have to open a port and map incoming requests on that port to your mirror machine (and port) by using the routers admin function… some providers do not allow this
                  (this is called port forwarding)

                  second, the IP address of the router on the internet is assigned dynamically, and might change…
                  some of us use a dns mapper to define a specific NAME to our router as it appears on the internet
                  ( I use dyndns.org to map a known name to my router ip address, today my routers internet ip address is near 47.220.177.xxx)

                  third, the ip address of your phone will be randomly assigned too… their router, maybe over phone link connection… so , here u might have to say 0.0.0.0 anyone…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    retroflex Project Sponsor Module Developer @motdog
                    last edited by Mar 5, 2019, 7:43 AM

                    @motdog If you open up a port for outside access of MM you’ll have to whitelist all IP’s since your phone changes IP. You will then expose it for everyone. This includes the config.js file, which might contain passwords to calendars etc. So be careful! Best option is to connect to your network using VPN. It is possible to setup a VPN server in some routers.

                    S 1 Reply Last reply Mar 5, 2019, 1:31 PM Reply Quote 0
                    • S Offline
                      sdetweil @retroflex
                      last edited by Mar 5, 2019, 1:31 PM

                      @retroflex he will still have to whitelist everything, or use Listen: 0.0.0.0

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 4 / 8
                      4 / 8
                      • First post
                        40/76
                        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