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.

    Map visible in browser but not on mirror

    Scheduled Pinned Locked Moved Development
    7 Posts 4 Posters 9.6k Views 2 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.
    • L Offline
      Lorenz
      last edited by

      I want to show a map from mapbox on my magic mirror but it is only visible when i browse to the magic mirror (localhost:192.168.1.10:8080) and not on the mirror self.

      Has someone any idea how to fix this problem?

      brobergB 1 Reply Last reply Reply Quote 0
      • brobergB Offline
        broberg Project Sponsor @Lorenz
        last edited by

        @Lorenz If it shows on other browsers then it’s probably so that the built in electron browser isn’t capable of rendering the map.

        Try running a different browser on the Pi itself and see if that sorts it.

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

          you can also run electron on the pi, open a terminal window

          ~/MagicMirror/node_modules/electron/dist/electron url

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • L Offline
            Lorenz
            last edited by

            Yeah it’s because the electron browser doesn’t support webgl2. Do you know a solution for this problem?

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

              @Lorenz - You can configure your mirror to use the built-in Chromium browser instead of electron. You’ll need to do the following:

              1. modify your startup script to go node serveronly instead of the usual npm start.
              2. Set the home page of the chromium browser to http://localhost:8080.
              3. Put the browser into kiosk mode.
              4. Set the browser to start on boot.
              S L 2 Replies Last reply Reply Quote 1
              • S Offline
                sdetweil @bhepler
                last edited by

                @bhepler never thought of doing it that way!

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • L Offline
                  Lorenz @bhepler
                  last edited by

                  @bhepler thank you !!

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • 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