• 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.

Help with MMM-Remote control

Scheduled Pinned Locked Moved Unsolved Troubleshooting
12 Posts 4 Posters 3.4k 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 Feb 19, 2020, 2:17 PM

    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 Feb 19, 2020, 2:27 PM Reply Quote 0
    • S Away
      sdetweil @nakulbende
      last edited by sdetweil Feb 19, 2020, 2:28 PM Feb 19, 2020, 2:27 PM

      @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 Feb 21, 2020, 2:43 PM

        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 Feb 21, 2020, 3:02 PM Reply Quote 0
        • S Away
          sdetweil @nakulbende
          last edited by Feb 21, 2020, 3:02 PM

          @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
          • B Offline
            BKeyport Module Developer
            last edited by Feb 22, 2020, 4:17 AM

            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
            • S Offline
              Stoffbeuteluwe Project Sponsor
              last edited by Feb 22, 2020, 9:35 AM

              {
                          module: 'MMM-Remote-Control',
                          config: {
                        
                          }
                    },
              
              1 Reply Last reply Reply Quote 0
              • S Offline
                Stoffbeuteluwe Project Sponsor
                last edited by Feb 22, 2020, 9:38 AM

                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
                • S Offline
                  Stoffbeuteluwe Project Sponsor
                  last edited by Feb 22, 2020, 9:40 AM

                  you don’t need api key…

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    Stoffbeuteluwe Project Sponsor
                    last edited by Feb 22, 2020, 9:47 AM

                    @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
                    • S Offline
                      Stoffbeuteluwe Project Sponsor
                      last edited by Feb 22, 2020, 10:26 AM

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