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.

    MMM-Hue CORS Policy Issue

    Scheduled Pinned Locked Moved Solved Troubleshooting
    28 Posts 7 Posters 9.2k Views 7 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.
    • karsten13K Online
      karsten13 @OberfragGER
      last edited by

      @oberfragger

      you must access the site with https, e.g. https://192.168.0.143:8080/remote.html

      O 1 Reply Last reply Reply Quote 0
      • C Offline
        CarstenD
        last edited by

        There is now a new version available for MMM-Homematic that also works w/o changing the config.

        spitzlbergerjS 1 Reply Last reply Reply Quote 0
        • FoziF Offline
          Fozi Project Sponsor
          last edited by

          @carstend Yeah, was just noted, too, about the update.
          Some how I ran ino a problem when applying ‘git pull’, so I had to reinstall the module.
          First the screen remained black. so I hat to install manually the ‘request’ library manually (see https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later). Now it works!

          HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

          1 Reply Last reply Reply Quote 0
          • mumblebajM Offline
            mumblebaj Module Developer @mumblebaj
            last edited by

            @mumblebaj This is the new module I created. Does not require https.

            https://github.com/mumblebaj/MMM-PhilipsHue.git

            I am sure this will need to be changes once they enforce the headers stuff but for now it will work just fine.

            Check out my modules at: https://github.com/mumblebaj?tab=repositories
            Check my blog-post: https://mumblebaj.xyz/

            1 Reply Last reply Reply Quote 0
            • O Offline
              OberfragGER @karsten13
              last edited by OberfragGER

              @karsten13 said in MMM-Hue CORS Policy Issue:

              @oberfragger

              you must access the site with https, e.g. https://192.168.0.143:8080/remote.html

              Unfortunatly its not working via https. Still connection refused. I dint think that https://github.com/CatoAntonsen/MMM-MotionEye will update after 5 years.

              karsten13K 1 Reply Last reply Reply Quote 0
              • karsten13K Online
                karsten13 @OberfragGER
                last edited by

                @oberfragger

                can you access the mirror with https://<ip-of-pi>:8080?

                May you are using a client which is not in the ipWhitelist? You can test this with setting ipWhitelist: [], in your config.js.

                O 1 Reply Last reply Reply Quote 0
                • O Offline
                  OberfragGER @karsten13
                  last edited by

                  @karsten13 said in MMM-Hue CORS Policy Issue:

                  https://:8080

                  No. Thats excactly what im telling you:

                  When

                    address: "localhost", 
                  

                  then i dont have any access to https://ip-of-pi:8080 or http://ip-of-pi:8080.

                  When

                  address: '0.0.0.0',
                  

                  i have no problem to access Remote-Control-Gui/ Webpage. The ipWhitelist is aready set.

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

                    @oberfragger correct… localhost means ONLY apps INSIDE the same machine can connect.

                    so you could open a browser ON THE PI screen and connect, but not from another device

                    0.0.0.0 means listen for incoming connections on all network interfaces

                    (Ethernet and wifi at once, on pi4 if both enabled)

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    O 1 Reply Last reply Reply Quote 0
                    • O Offline
                      OberfragGER @sdetweil
                      last edited by

                      @sdetweil Thank you for you clarification.
                      Thats really not good. So i have to decide to get rid og MMM-Motioneye for another camera module which is working…or not to use MMM-Remotecontrol… or not to Update from 2.17 (i have an old image with a fresh install).

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

                        @oberfragger you might try with address:“192.168.x.y”

                        where x and y are from the IP address of the mm machine

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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