Read the statement by Michael Teeuw here.
ipWhitelist HowTo
-
I just updated to the latest version of MM and am having White-list issues once again. I am using my exact same config.js file that was allowing any incoming connection. prior to the upgrade. I have attempted to debug but am not seeing any connection refusals in the mm-out-0.log. I have tried various fixes from posts on this forum, including disabling IPv6. I have confirmed my CIDR criteria using https://www.ipaddressguide.com/cidr#range attempting different variations to get anything to pass through with no luck.
I use MMM-syslog as a notification system from various sources and am basically in the dark now. Is there anyone having similar issues with the latest version, any luck on how to fix?
-
Have you tried this at the beginning of your config?:
var config = { address: "0.0.0.0", port: 8080, ipWhitelist: [],
-
My hats off to you Mykle1, made that change to my config file and its working perfectly!! Thank you so much for your quick reply!!
-
-
Hello All. I recently upgraded my magic mirror and no matter what changes I make I can’t get ipwhitelist to work. I have searched the forums and every suggestion I have come across hasn’t rectified my issue. I had it working just fine prior to the upgrade. Any suggestions would be greatly appreciated.
Thanks,
Illskool -
How long ago was your last update?
Just to be sure, have you tried @Mykle1’s solution, which seems to help in most of the cases this has happened in recent months?
var config = { address: "0.0.0.0", port: 8080, ipWhitelist: [],
adding the “address” part on the top of the config? This seems to be mandatory for the newer versions of MM.
Also, be sure to have no syntax error in your config.
Runnpm run config:check
from your MM directory and see of there are no errors.
Done all that? -
Thanks for the quick response. I’m not sure if I just overlooked it or if I’m just exhausted from trying to figure this issue out for the past several hours, but either way your tip solved my problem. I thank you very much.
I’ve been working on a new project to stream a camera I have setup on another raspberry pi on my local network to the magic mirror. My oil tank is under my house in a crawl space and I’m tired of making the crawl every couple of weeks to see how much oil I have left. I was able to use an infrared camera to stream the video and display it on the mirror using Iframe. I didn’t want it to be visible on the mirror unless I wanted to do a quick check and thats when I realized that the remote module would solve my issue but I couldn’t access it. You have helped finish my project. I can now go to sleep:)
Cheers
-
I tried everything wich is written in this post but i cant make it all the time it says:
This device is not allowed to access your mirror.
Please check your config.js or config.js.sample to change this. -
@svenr said in ipWhitelist HowTo:
Please check your config.js
Are you saying that this is in your config.js file and you still cannot connect?
var config = { address: "0.0.0.0", port: 8080, ipWhitelist: [],
-