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.

    Help with MMM-Remote control

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    12 Posts 4 Posters 3.2k 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.
    • N Offline
      nakulbende
      last edited by

      Hello - I am trying to install MMM-remote control to have some control over my raspberry pi. My config file looks like:

      {
      			module: 'MMM-Remote-Control',
      			//position: 'top_bar',
      			config: {
      				        apiKey: "XXXXXXXXXXXXXXX",
      			}
      		},
      

      And my header for the config file looks like:

      address: "localhost", 
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.114"], 
      
      

      I do not get a control page when I go to 192.168.1.15:8080/remote.html (which is my IP for Pi) from my computer (which has .1.14 IP). Is there something I am missing? I have tried this with or without the api key, which I know is optional for basic functionality.

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

        @nakulbende said in Help with MMM-Remote control:

        address: “localhost”,
        port: 8080,
        ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.114”],

        this setup means ONLY apps INSIDE the pi can connect to the MagicMirror app

        so, change it to

        address: "0.0.0.0", 
        	port: 8080,
        	ipWhitelist: [], 
        

        that allows ANY system to connect

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • N Offline
          nakulbende
          last edited by

          As always, Sam - thanks so much! I did those changes, and it broke MMM-pi-hole which is stuck on loading. It also crashes magicmirror every 5 minutes or so. This happens even if I just change the address and allowed ip whitelist, comment out remote control and pistats. Any ideas?

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

            @nakulbende have no idea… all that does is say

            listen on all interfaces (ethernet, wireless, maybe pi-hole creates one?, in which case you would need to specifiy the address of the prefered interface, ethernet for example, or wifi… but JUST ONE)

            ipWhitelist:[] means allow anyone to connect on the interface and port

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              I’d make Sam’s changes, but change the port number - something else could be grabbing the port for some reason.

              I use 60001.

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

              1 Reply Last reply Reply Quote 0
              • StoffbeuteluweS Offline
                Stoffbeuteluwe Project Sponsor
                last edited by

                {
                            module: 'MMM-Remote-Control',
                            config: {
                          
                            }
                      },
                
                1 Reply Last reply Reply Quote 0
                • StoffbeuteluweS Offline
                  Stoffbeuteluwe Project Sponsor
                  last edited by

                  port: 8080,
                  ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:xxxxxxxxxxxxxx", "xxxxxxxxxxxxxx"],
                  

                  replace the xxxx with your ip address …thats it

                  1 Reply Last reply Reply Quote 0
                  • StoffbeuteluweS Offline
                    Stoffbeuteluwe Project Sponsor
                    last edited by

                    you don’t need api key…

                    1 Reply Last reply Reply Quote 0
                    • StoffbeuteluweS Offline
                      Stoffbeuteluwe Project Sponsor
                      last edited by

                      @nakulbende

                       xxxxxxxxxxxxxx:8080/remote.html 
                      

                      ip must be the same like in ip whitelist,
                      it must be the ip of you device you want (tablet or phone ore pc) for controlling your magic mirror

                      1 Reply Last reply Reply Quote 0
                      • StoffbeuteluweS Offline
                        Stoffbeuteluwe Project Sponsor
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 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