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 Error

    Scheduled Pinned Locked Moved General Discussion
    11 Posts 5 Posters 4.1k Views 4 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.
    • brobergB Offline
      broberg Project Sponsor @Chynovsky
      last edited by

      @Chynovsky you are missing commas after

      module: 'MMM-Remote-Control'
      And
      position: 'bottom_left'

      It should be

      module: 'MMM-Remote-Control',
      And
      position: 'bottom_left',

      1 Reply Last reply Reply Quote 1
      • C Offline
        Chynovsky
        last edited by

        Thanks for the update. I just added the commas and I’m still getting an error. Is the localhost change to 0.0.0.0 and the ip addresses added correct?

        1 Reply Last reply Reply Quote 0
        • C Offline
          Chynovsky
          last edited by

          ok, the problem WAS on the local host and IP section. it worked after modifying just the commas you mentioned!
          Any tips on fixing the ip address section?

          “(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:”

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

            @Chynovsky

            ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.0.182”, “::ffff:192.168.0.171”],

            the ipWHiteList controls which external machines can access the mirror

            127.0.0.1 is only the mirror machine

            and then u have two mangled ipV6 addresses
            I would just start with anyone can access
            ipWhitelist: []

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 1
            • C Offline
              Chynovsky
              last edited by

              I keep getting this error now: This device is not allowed to access your mirror.
              Please check your config.js or config.js.sample to change this.

              I do see “http://ip-of-your-mirror:8080/remote.html” though. so definitely progress.

              1 Reply Last reply Reply Quote 0
              • C Offline
                Chynovsky
                last edited by

                excuse the spam. FINALLY works!

                1 Reply Last reply Reply Quote 0
                • BKeyportB Offline
                  BKeyport Module Developer
                  last edited by

                  FWIW, in the future,

                  Open a terminal
                  Type cd MagicMirror and press Enter
                  Now you’re in the MagicMirror directory
                  Type npm run config:check and press Enter
                  MagicMirror will now check your config

                  The "E" in "Javascript" stands for "Easy"

                  1 Reply Last reply Reply Quote 2
                  • C Offline
                    Chynovsky
                    last edited by

                    will do! thank you so much for the help guys!

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 2 / 2
                    • 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