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 73.7k 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.
    • foxF Offline
      fox
      last edited by

      @ostfilinchen

      ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.188.42", "::ffff:192.168.188.48", "::ffff:192.168.188.35"],
      

      Issues With MMM-WatchDog known?

      https://forum.magicmirror.builders/post/29827

      Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

      O 1 Reply Last reply Reply Quote 0
      • O Offline
        ostfilinchen @fox
        last edited by

        @fox i see, that the ip 192.168.188.50 isn’t a Part of the ipwhitelist

        1 Reply Last reply Reply Quote 0
        • foxF Offline
          fox
          last edited by

          @ostfilinchen
          i thought the whitelistened IPs are from the caller devices…

          this

           "::ffff:192.168.188.1/24", 
          

          gives me the whole local network, is that correct?

          Issues With MMM-WatchDog known?

          https://forum.magicmirror.builders/post/29827

          Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

          O 1 Reply Last reply Reply Quote 0
          • O Offline
            ostfilinchen @fox
            last edited by

            @fox yeah. That’s right.

            foxF 1 Reply Last reply Reply Quote 1
            • foxF Offline
              fox @ostfilinchen
              last edited by

              @ostfilinchen said in MMM-Remote-Control:

              @fox yeah. That’s right.

              i solved it. The access rights were the problem:

              chmod -R 777 MMM-Remote-Control/
              
              

              Issues With MMM-WatchDog known?

              https://forum.magicmirror.builders/post/29827

              Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

              B 1 Reply Last reply Reply Quote 2
              • B Offline
                Burner911 @fox
                last edited by

                @fox I also have this issue, but using this line of code did not appear to solve my issue. I assume I run this in the /modules folder? Thank you for your help.

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  Jopyth Moderator @Burner911
                  last edited by Jopyth

                  @Burner911 Have you installed restarted the mirror after installation (i.e. pm2 restart mm)?

                  Edit: Did you install in the correct directory?

                  Helpful sticky: How to troubleshoot

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    Burner911 @Jopyth
                    last edited by

                    @Jopyth Yes I have it working now! Still not sure why only some modules can be hidden though

                    1 Reply Last reply Reply Quote 0
                    • mpiresM Offline
                      mpires
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pepemujica
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          pepemujica
                          last edited by

                          Hi @fox , where you able to access from other device? A smartphone for example. Because I can access from the browser where the MM is installed, but not from other devices.
                          My whitelist is empty [ ]

                          1 Reply Last reply Reply Quote 0
                          • - Offline
                            -DUS-
                            last edited by -DUS-

                            Hello,

                            I’m also having issues connecting to the remote module on my PC through Chrome and IE. The page can’t be reached. The module is active and the link to use is shown on my magic mirror.

                            My IP whitelist which cotains my PC IP:

                            ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.0.2"],
                            

                            I also tried below based on on on the comments in this topic:

                            cd ~/MagicMirror/modules/
                            chmod -R 777 MMM-Remote-Control/
                            

                            but that just tells me that it can’t access /MagicMirror/modules/, the file or folder doesn’t exist.

                            Another topic mentioned changing;

                            address: "localhost",
                            

                            to;

                            address: "0.0.0.0",
                            

                            Should I try that?

                            Update: I changed to 0.0.0.0. and that I got a responce but it told me my PC is not autorized although my IP is added in the whitelist, so I just removed the whole whitelist for the time being, and now I’m able to acces the remote module.

                            1 Reply Last reply Reply Quote 2
                            • P Offline
                              PaulB
                              last edited by

                              Hi fellow MM-builders,

                              the same problem occured with my build but instead a 192.168.xxx.xxx I use 10.12.0.135:8080.html
                              Unfortunately it shows following message:

                              ‘This device is not allowed to access your mirror.
                              Please check your config.js or config.js.sample to change this’

                              My steps to solve this issue were:

                              1. change ipWhitelist to ipWhitelist:[ ]
                              2. change ipWhitelist to ipWhitelist: [0.0.0.0]
                                3.change ipWhitelist to the specific IP adresses of my devices.

                              Unfortunately, none of this steps solved the error.

                              Maybe you guys have a tip or trick on how to solve that.
                              Thank you in advance :)

                              Mykle1M 1 Reply Last reply Reply Quote 0
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer @PaulB
                                last edited by

                                @PaulB

                                ipWhitelist: [],
                                address: "0.0.0.0",

                                Create a working config
                                How to add modules

                                S 1 Reply Last reply Reply Quote 2
                                • P Offline
                                  PaulB
                                  last edited by

                                  Dear @Mykle1,

                                  my config.js file looks like this:

                                  var config = {
                                          adress: "0.0.0.0",
                                          port: 8080,
                                          ipWhitelist: [],
                                          language: 'de',
                                          timeFormat: 24,
                                          units: 'metric',
                                  

                                  Unfortunately, my screen went black after I 've changed the config file and rebooted.

                                  Could you make a guess, where the problem is located?

                                  Mykle1M 1 Reply Last reply Reply Quote 0
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer @PaulB
                                    last edited by

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

                                    adress: “0.0.0.0”,

                                    You spelled address wrong. :-/

                                    Create a working config
                                    How to add modules

                                    W 1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      PaulB
                                      last edited by

                                      @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

                                        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
                                        • cruunnerrC Offline
                                          cruunnerr
                                          last edited by cruunnerr

                                          @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 Reply Quote 0
                                          • S Offline
                                            sunnypurba @Mykle1
                                            last edited by

                                            @Mykle1 amazing, thanks!

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