• 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 55.9k 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.
  • P Offline
    PaulB
    last edited by Feb 3, 2018, 2:07 PM

    @Mykle1,

    thanks :-D

    call me dumb hahahahahahaha

    Unfortunately the modules are not loading now.

    But whats interesting is that if your Ip adress is like “12.10.0.xxx”, the module won’t accept it. If you give your devices a new static IP adress like “12.10.0.xx” then the module works fine. But shows a black screen.

    1 Reply Last reply Reply Quote 0
    • B Offline
      budwha
      last edited by Feb 9, 2018, 6:52 PM

      I cannot get this to work also…I have added my PC and my phone to the white list, but both say it refused to connect. My “var config” is set to “localhost”…do I need to change that to something else…I am not sure what that part is asking for.

      1 Reply Last reply Reply Quote 0
      • C Offline
        cruunnerr
        last edited by cruunnerr Feb 9, 2018, 7:51 PM Feb 9, 2018, 7:50 PM

        @budwha

        do it like Mykle said

        https://forum.magicmirror.builders/topic/1517/mmm-remote-control-can-not-access-remote-control-module/18

        B M 2 Replies Last reply Feb 10, 2018, 12:30 AM Reply Quote 0
        • S Offline
          sunnypurba @Mykle1
          last edited by Feb 9, 2018, 9:36 PM

          @Mykle1 amazing, thanks!

          1 Reply Last reply Reply Quote 0
          • B Offline
            budwha @cruunnerr
            last edited by Feb 10, 2018, 12:30 AM

            @cruunnerr Thank you…it works now.

            1 Reply Last reply Reply Quote 0
            • M Offline
              motdog
              last edited by Mar 1, 2019, 10:56 PM

              hmmm stuck. I get the create a config screen Heres what I have

              var config = {
              	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: [], // 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"],
              

              then on my config

              		 {
              	        module: 'MMM-Remote-Control'
              	        // uncomment the following line to show the URL of the remote control on the mirror
              	        // , position: 'bottom_left'
              	        // you can hide this module afterwards from the remote control itself
              	        config: {
              	            apiKey: ''
              	        }
                  },
              

              thanks for helping the clueless rookie

              1 Reply Last reply Reply Quote 0
              • S Offline
                stuartiannaylor
                last edited by Mar 2, 2019, 3:29 AM

                you have mm listening on all adapters 0.0.0.0 which correct but the 2[] brackets of your ip whitelist the other side is completely empty.

                What is your routers address? Usually its something like 192.168.1.1 if it was that then 192.168.1.0/24 would allow any local ip to access connected internally on your network

                1 Reply Last reply Reply Quote 0
                • M Offline
                  motdog
                  last edited by Mar 2, 2019, 4:04 PM

                  @stuartiannaylor tried adding my router info but not successful

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    stuartiannaylor
                    last edited by stuartiannaylor Mar 2, 2019, 4:16 PM Mar 2, 2019, 4:14 PM

                    yeah but you have wiped what there before have a look at :-
                    ```
                    (3) For security reasons, the MagicMirror (and therefore the Remote Control) is not reachable externally. To change this, configure address, and ipWhitelist in your config.js (see these lines in the sample config). For example change address to 0.0.0.0 and add two allowed devices with IP-Adresses 192.168.0.42 and 192.168.0.50:

                    address : '0.0.0.0',
                    port: 8080,
                    ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.0.42", "::ffff:192.168.0.50"],"
                    

                    You can also add multiple devices in an IP range (e.g. all devices with 192.168.0.X):

                    ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.0.1/120", "192.168.0.1/24"],
                    
                    
                    Have a look at config.js.sample to get the originals back.
                    
                    Then as it is above your router ip address might be 192.168.1.1 so it would be the above but with ::ffff:192.168.1.42, ::ffff:192.168.1.50  you can also put your router address in there but make the last octal 0/24 and you can then access from your desktop.
                    
                    Then the next big thing you are missing is apiKey: "",         // Optional, See API/README.md for details
                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      motdog @cruunnerr
                      last edited by motdog Mar 3, 2019, 3:02 AM Mar 3, 2019, 3:01 AM

                      @cruunnerr said in [MMM-Remote-Control] Can not access remote control module:

                      @budwha

                      do it like Mykle said

                      https://forum.magicmirror.builders/topic/1517/mmm-remote-control-can-not-access-remote-control-module/18

                      I think I have yet I still am getting config screen.

                      var config = {
                      	address: "0.0.0.0",
                      	ipWhitelist: [], 
                      
                      	language: "en",
                      	timeFormat: 12,
                      	units: "imperial",
                      
                      {
                      		    module: 'MMM-Remote-Control'
                      		    // uncomment the following line to show the URL of the remote control on the mirror
                      		    , position: 'bottom_left'
                      		    // you can hide this module afterwards from the remote control itself
                      		    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
                      		    }
                      		},
                      
                      

                      I also watched this and at 4:41 seem to have exactly the same thing.

                      https://www.youtube.com/watch?v=539zmAJREe4

                      M 1 Reply Last reply Mar 3, 2019, 3:46 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 3 / 8
                      • 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