Read the statement by Michael Teeuw here.
Help with MMM-Remote control
-
@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! -
address: "0.0.0.0",