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

This device is not allowed to access your mirror.

Scheduled Pinned Locked Moved Unsolved Troubleshooting
10 Posts 4 Posters 3.0k 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 Apr 22, 2019, 3:33 PM

    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 B 2 Replies Last reply Apr 22, 2019, 3:44 PM Reply Quote 0
    • S Away
      sdetweil @Julia
      last edited by Apr 22, 2019, 3:44 PM

      @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 Apr 22, 2019, 3:52 PM

        @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
        • B Offline
          bhepler Module Developer @Julia
          last edited by Apr 23, 2019, 1:19 AM

          @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 Apr 23, 2019, 10:17 AM

            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 Apr 23, 2019, 2:30 PM Reply Quote 0
            • S Away
              sdetweil @Julia
              last edited by Apr 23, 2019, 2:30 PM

              @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 Apr 23, 2019, 3:08 PM

                is an api key required to run properly?

                S 1 Reply Last reply Apr 23, 2019, 3:20 PM Reply Quote 0
                • S Away
                  sdetweil @dxfan227
                  last edited by Apr 23, 2019, 3:20 PM

                  @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 Apr 23, 2019, 4:35 PM

                    @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 Apr 23, 2019, 4:48 PM Reply Quote 0
                    • S Away
                      sdetweil @dxfan227
                      last edited by Apr 23, 2019, 4:48 PM

                      @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
                      1 / 1
                      • First post
                        5/10
                        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