Read the statement by Michael Teeuw here.
Help with MMM-Remote control
-
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.
-
@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
-
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?
-
@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
-
I’d make Sam’s changes, but change the port number - something else could be grabbing the port for some reason.
I use 60001.
-
{ module: 'MMM-Remote-Control', config: { } },
-
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
-
you don’t need api key…
-
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 -
This post is deleted!