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 actually

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 3 Posters 876 Views 3 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.
    • kusselinK Offline
      kusselin
      last edited by kusselin

      Hi, is this module MMM- Remote-Control from Jopyth actually?

      https://github.com/Jopyth/MMM-Remote-Control

      or must i take this here:

      https://github.com/Klettner/MM-Remote

      Because i installed the module from Jopyth but when i pu the http://ipfrom raspi:8080/remote.html its no connection :_(

      This is 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: {
              customCommand: {},  // Optional, See "Using Custom Commands" below
              showModuleApiMenu: true, // Optional, Enable the Module Controls menu
              secureEndpoints: true, // Optional, See API/README.md
              // uncomment any of the lines below if you're gonna use it
              // customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
              apiKey: "'xxxxxxxxxxxxxxxxxxxx", // Optional, See API/README.md for details
              // classes: {} // Optional, See "Custom Classes" below
          }
      	},
      

      and

      config = {
      	address: "localhost", 	// 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 or empty, is "localhost"
      	port: 8080,
      	basePath: "/", 	// The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
      					// you must set the sub path here. basePath must end with a /
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.200.1/120", "192.168.200.1/24"], 	// 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"],
      

      best regards

      S BKeyportB 2 Replies Last reply Reply Quote 0
      • kusselinK Offline
        kusselin
        last edited by

        You are so great sdetweil :-)

        so ist running:

        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 or empty, is "localhost"
        	port: 8080,
        	basePath: "/", 	// The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
        					// you must set the sub path here. basePath must end with a /
        	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"],
        
        

        thanks a lot again to you

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @kusselin
          last edited by

          @kusselin said in MMM-Remote-Control actually:

          address: “localhost”,

          this means ONLY apps INSIDE the same system can connect

          SO, you need to change it to allow systems from OUTSIDE the pi to access

          address:"0.0.0.0",
          ipWhitelist:[],
          

          this means any adapter can hear requests (instead of just the loopback adapter localhost)
          and you are not filtering out client ip addresses

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          kusselinK 1 Reply Last reply Reply Quote 0
          • kusselinK Offline
            kusselin @sdetweil
            last edited by

            @sdetweil but iam in my own network at home…so i can get this 127.0.0.1

            Or is this wrong?

            S 1 Reply Last reply Reply Quote 0
            • kusselinK Offline
              kusselin
              last edited by

              You are so great sdetweil :-)

              so ist running:

              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 or empty, is "localhost"
              	port: 8080,
              	basePath: "/", 	// The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
              					// you must set the sub path here. basePath must end with a /
              	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"],
              
              

              thanks a lot again to you

              1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @kusselin
                last edited by

                @kusselin no… localhost means ONLY INSIDE the same machine… (127.0.0.1 is the ip address for localhost)

                phone on wifi accessing MM on pi is a different machine

                the default protection is a mirror hanging on the wall, no one would need to access that from outside the mirror…

                oops remote -control does need

                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 @kusselin
                  last edited by

                  @kusselin FYI, Jopyth is the original author.

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

                  kusselinK 1 Reply Last reply Reply Quote 0
                  • kusselinK Offline
                    kusselin @BKeyport
                    last edited by

                    @BKeyport thanks…

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