Read the statement by Michael Teeuw here.
This device is not allowed to access your mirror.
-
var config = { address: '0.0.0.0', port: 8080, ipwhitelist: [], . . . . . . . . . . . . . . { module: "MMM-Remote-Control", config: { position: 'right', apiKey: ' ' },
This is my config file but even If I whitelist every ip address I still can’t connect
“Thisdevice is not allowed to access your mirror.
Please check your config.js or config.js.sample to change this.”Any ideas?
Pi 3b+ and mobile hotspot btw
-
@Julia what device is trying to connect?
Is it using remote-control apis?
-
@sdetweil I am trying to connect my laptop. What do you mean by “Is it using remote-control apis?”?
-
@Julia - Where are you receiving that error message? Are you getting that on your mobile device trying to use the configuration app? Or is that on the mirror itself?
I would try replacing the
'0.0.0.0'
value with your Pi’s IP address. -
The error is on my phone. Replacing the ‘0.0.0.0’ value with my Pi’s ip address makes no difference. I still get the same message.
-
-
is an api key required to run properly?
-
@dxfan227 not for the base framework, and most of the default modules. (Weather needs one)
-
@sdetweil Ok
Perhapes the config is missing the part I bolded here? :
modules: [
{
module: “MMM-Remote-Control”,
config: {
position: ‘right’,
apiKey: ’ ’},
] -
@dxfan227 that shouldn’t matter.
The message the OP posted comes from server.js after checking the ipWhitelist config variable