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.

    This device is not allowed to access your mirror.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    10 Posts 4 Posters 3.1k Views 3 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.
    • J Offline
      Julia
      last edited by

      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

      S bheplerB 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @Julia
        last edited by

        @Julia what device is trying to connect?

        Is it using remote-control apis?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • J Offline
          Julia
          last edited by

          @sdetweil I am trying to connect my laptop. What do you mean by “Is it using remote-control apis?”?

          1 Reply Last reply Reply Quote 0
          • bheplerB Offline
            bhepler Module Developer @Julia
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • J Offline
              Julia
              last edited by

              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.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Julia
                last edited by

                @Julia note that the strings in config are case sensitive, it should be

                ipWhitelist

                not

                ipwhitelist

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dxfan227
                  last edited by

                  is an api key required to run properly?

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @dxfan227
                    last edited by

                    @dxfan227 not for the base framework, and most of the default modules. (Weather needs one)

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      dxfan227
                      last edited by

                      @sdetweil Ok

                      Perhapes the config is missing the part I bolded here? :

                      modules: [

                      {
                      module: “MMM-Remote-Control”,
                      config: {
                      position: ‘right’,
                      apiKey: ’ ’

                      },
                      ]

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @dxfan227
                        last edited by

                        @dxfan227 that shouldn’t matter.
                        The message the OP posted comes from server.js after checking the ipWhitelist config variable

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • 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