• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

ipWhitelist HowTo

Scheduled Pinned Locked Moved Tutorials
83 Posts 36 Posters 115.7k Views 34 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    Oss @Mykle1
    last edited by Jan 11, 2018, 6:14 AM

    @Mykle1

    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!!

    M 1 Reply Last reply Jan 11, 2018, 11:49 AM Reply Quote 2
    • M Offline
      Mykle1 Project Sponsor Module Developer @Oss
      last edited by Jan 11, 2018, 11:49 AM

      @Oss

      'Welcome, mate.

      Peace!

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • I Offline
        illskool
        last edited by Jan 23, 2018, 7:38 AM

        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

        L 1 Reply Last reply Jan 23, 2018, 8:07 AM Reply Quote 0
        • L Offline
          lavolp3 Module Developer @illskool
          last edited by Jan 23, 2018, 8:07 AM

          @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.
          Run

          npm run config:check
          

          from your MM directory and see of there are no errors.
          Done all that?

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          1 Reply Last reply Reply Quote 0
          • I Offline
            illskool
            last edited by Jan 23, 2018, 8:31 AM

            @lavolp3

            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

            1 Reply Last reply Reply Quote 0
            • S Offline
              svenr
              last edited by Mar 6, 2018, 5:06 PM

              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.

              M 1 Reply Last reply Mar 6, 2018, 6:06 PM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @svenr
                last edited by Mar 6, 2018, 6:06 PM

                @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: [],
                

                Create a working config
                How to add modules

                S 1 Reply Last reply Mar 6, 2018, 6:48 PM Reply Quote 0
                • S Offline
                  svenr @Mykle1
                  last edited by svenr Mar 6, 2018, 6:49 PM Mar 6, 2018, 6:48 PM

                  @Mykle1 alt text
                  Yes right but maybe i have another mistake i am a beginner and i have not really a idea about it
                  link text

                  M 1 Reply Last reply Mar 6, 2018, 9:45 PM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @svenr
                    last edited by Mar 6, 2018, 9:45 PM

                    @svenr

                    Looking at the picture you provided shows your ipWhitelist: [], is populated. Can you try it just like this? ipWhitelist: [],

                    Create a working config
                    How to add modules

                    S 1 Reply Last reply Mar 7, 2018, 6:55 AM Reply Quote 0
                    • S Offline
                      svenr @Mykle1
                      last edited by Mar 7, 2018, 6:55 AM

                      @Mykle1 like this it works. Thank you for your help!

                      M 1 Reply Last reply Mar 7, 2018, 12:47 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 6 / 9
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy