Read the statement by Michael Teeuw here.
[MMM-Remote-Control] Can not access remote control module
-
Hi fellow MM-builders,
the same problem occured with my build but instead a 192.168.xxx.xxx I use 10.12.0.135:8080.html
Unfortunately it shows following message:‘This device is not allowed to access your mirror.
Please check your config.js or config.js.sample to change this’My steps to solve this issue were:
- change ipWhitelist to ipWhitelist:[ ]
- change ipWhitelist to ipWhitelist: [0.0.0.0]
3.change ipWhitelist to the specific IP adresses of my devices.
Unfortunately, none of this steps solved the error.
Maybe you guys have a tip or trick on how to solve that.
Thank you in advance :) -
ipWhitelist: [],
address: "0.0.0.0",
-
Dear @Mykle1,
my config.js file looks like this:
var config = { adress: "0.0.0.0", port: 8080, ipWhitelist: [], language: 'de', timeFormat: 24, units: 'metric',
Unfortunately, my screen went black after I 've changed the config file and rebooted.
Could you make a guess, where the problem is located?
-
@PaulB said in [MMM-Remote-Control] Can not access remote control module:
adress: “0.0.0.0”,
You spelled address wrong. :-/
-
thanks :-D
call me dumb hahahahahahaha
Unfortunately the modules are not loading now.
But whats interesting is that if your Ip adress is like “12.10.0.xxx”, the module won’t accept it. If you give your devices a new static IP adress like “12.10.0.xx” then the module works fine. But shows a black screen.
-
I cannot get this to work also…I have added my PC and my phone to the white list, but both say it refused to connect. My “var config” is set to “localhost”…do I need to change that to something else…I am not sure what that part is asking for.
-
-
@Mykle1 amazing, thanks!
-
@cruunnerr Thank you…it works now.
-
hmmm stuck. I get the create a config screen Heres what I have
var 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, is "localhost" port: 8080, 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"],
then on 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: { apiKey: '' } },
thanks for helping the clueless rookie