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

    Scheduled Pinned Locked Moved Entertainment
    118 Posts 32 Posters 172.8k Views 37 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.
    • bheplerB Offline
      bhepler Module Developer @cowboysdude
      last edited by bhepler

      @cowboysdude I looked into it briefly. I had a prototype going using plantary.js, but it was a complete processor hog. I was afraid to even try it on a Pi.

      IIRC, there were three of us looking into it, two of us had prototypes. And then @Eunanibus comes along and solves it for us all. Well done.

      E 1 Reply Last reply Reply Quote 0
      • E Offline
        ecirpnaes @ecirpnaes
        last edited by

        @ecirpnaes Never mind. I found it. I was looking for a file and then realized it was the command line config. DOH. If anyone else needs to enable the OpenGL driver just…
        sudo raspi-config
        Go to Advanced Options->GL Driver

        1 Reply Last reply Reply Quote 1
        • E Offline
          Eunanibus Module Developer @bhepler
          last edited by

          @bhepler Haha. I had no idea :laughing: - Truth be told, I had this code working OK around 11 months ago. But I wanted it tidied up and packaged up nicely before I released it. Being busy, that somehow took almost a year to do.

          cowboysdudeC 1 Reply Last reply Reply Quote 1
          • B Offline
            BlackTalon
            last edited by

            This is not working for me on a raspberry pi 3. I have the GL driver installed and working but I get these errors in the console when running the magic mirror.

            THREE.WebGLRenderer: Float textures not supported.
            THREE.WebGLRenderer: Anisotropic texture filering not supported.
            THREE.WebGLRenderer: S3TC compressed textures not supported.

            It doesn’t crash but it doesn’t display the globe either.

            1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer @Eunanibus
              last edited by

              @Eunanibus Welcome to the club LOL At times there’s just no way to know how something is going to react …everyone seems to have different setups… at times this causes issues :)

              1 Reply Last reply Reply Quote 1
              • B Offline
                BlackTalon
                last edited by

                So does that mean some people have this running on their Pi 3? If so I’ll try a fresh build and install this first.

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

                  @BlackTalon I don’t think so, no. I’m running this on either my development PC, my work desktop or a microPC. Win10 or Ubuntu 16, respectively.

                  It looks like the electron browser thingy doesn’t support some of the commands used by the module. Possibly. We may need a workaround. Still investigating.

                  1 Reply Last reply Reply Quote 1
                  • B Offline
                    BlackTalon
                    last edited by

                    Ok I managed to get this running on a Pi 3. I did sudo apt-get update and sudo apt-get upgrade after installing the driver from raspi-config. Its flickering pretty bad but its running it. I need to pair down some processes on here to see if I can get it to run cleaner.

                    B 1 Reply Last reply Reply Quote 1
                    • B Offline
                      BlackTalon
                      last edited by

                      Its hammering the processor on the Pi 3 pretty bad The chip is getting hot. I am going to add a heat sink and a fan to it before I do more. Thanks for your help.

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

                        @BlackTalon Interesting. Thanks for figuring out the issue.

                        Question: I could load this on the Raspberry Pi 3 at the office and then take a video of the end result. Would that be interesting to the community? Or should we just call this a greater-than-raspberry module?

                        cowboysdudeC 1 Reply Last reply Reply Quote 1
                        • cowboysdudeC Offline
                          cowboysdude Module Developer @bhepler
                          last edited by

                          @bhepler I am using on my win10 dev machine and unbuntu mini-itx 32" inch mirror so it runs great but yes I’d be interested in the RPI-3 info! :)

                          1 Reply Last reply Reply Quote 0
                          • slametpsS Offline
                            slametps
                            last edited by

                            @Eunanibus : your module name has conflicted with this one MMM-Globe. I suggest you change your Globe module name.

                            regards,

                            Slamet PS

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

                              Well, this sucks. I tried to enable the GL drivers on my Raspberry Pi 3 and it crashed the Pi. It installed the drivers, asked me to reboot and then the Pi won’t come back up. I’m going to have to reflash the card and start over.

                              It’s going to be a long night. If you’re going to try the GL drivers, back up your config.js at the very least. Better yet, image your SD card just in case.

                              D 1 Reply Last reply Reply Quote 0
                              • D Offline
                                d3r @bhepler
                                last edited by

                                @bhepler said in MMM-Globe:

                                Well, this sucks. I tried to enable the GL drivers on my Raspberry Pi 3 and it crashed the Pi. It installed the drivers, asked me to reboot and then the Pi won’t come back up. I’m going to have to reflash the card and start over.

                                It’s going to be a long night. If you’re going to try the GL drivers, back up your config.js at the very least. Better yet, image your SD card just in case.

                                I had the same black screen issue on my pi3. I reflashed my card twice before realizing I could have disabled opengl by editing the boot config.txt file. This might save someone else some time. So if you enable opengl and get the black screen issue remember to edit you config file to fix the issue.

                                dtoverlay=vc4-kms-v3ddtoverlay=vc4-fkms-v3d
                                gpu_mem=256
                                #dtoverlay=vc4-fkms-v3d
                                
                                #Adding these two lines stopped the black screen issue.
                                hdmi_force_edid_3d=1
                                avoid_warnings=2
                                

                                https://www.raspberrypi.org/forums/viewtopic.php?p=999920#p999920

                                E 1 Reply Last reply Reply Quote 2
                                • E Offline
                                  ecirpnaes @d3r
                                  last edited by

                                  @d3r This.
                                  I had the same issue on a Pi 2. Starting in safe mode (repeatedly mashing the Shift key on boot) got me up. Editing the boot config.txt file and commenting out the lines that get added when you enable the Open GL driver fixed things.

                                  1 Reply Last reply Reply Quote 0
                                  • tidus5T Offline
                                    tidus5
                                    last edited by

                                    as anybody know why we have this issue ? I m reading that can be cause of the power supply ?

                                    bheplerB 1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      blafpap @BlackTalon
                                      last edited by

                                      @BlackTalon got it running to on the rpi3, but it is flickering and sometimes blackscreen. Rpi3 is to weak i think.

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

                                        @tidus5 The OpenGL drivers are experimental. I think we’re pushing the Pi - even the RPi3 - to its absolute limit with this type of rendering. A stable power supply isn’t the issue. It’s an issue of raw computing power.

                                        1 Reply Last reply Reply Quote 1
                                        • SvenSommerS Offline
                                          SvenSommer
                                          last edited by

                                          This module is amazing! Some thoughts about this:

                                          1. I’m sure many overlook this topic because it is not classified into one of the subcategories, like all other modules, as one would expect. I believe this piece of art deserves the full attention!
                                            @administrators Is it possible to shift the module to Utilities?

                                          2. I really would like to use this module for showing real time data from other modules, by using Notifications. E. g. location data from website visitors with MMM-GoogleAnalytics.
                                            @Eunanibus Is it possible to add location data to the globe while it’s already animated?

                                          Looking for some building inspiration?
                                          Check out my large, thin and metal framed mirror on robstechlog.com.

                                          Modules released:
                                          MMM-GoogleAnalytics
                                          MMM-GrafanaChart
                                          MMM-GrafanaGauges

                                          E 1 Reply Last reply Reply Quote 1
                                          • E Offline
                                            Eunanibus Module Developer @SvenSommer
                                            last edited by

                                            @SvenSommer I’m glad you like it! There is a separate post for this in Utilities but it hasn’t garnered a huge amount of attention. I’m hesitant because if most users user Pi’s for their mirror, this plugin may provide a heavy burden to it in terms of computational ability.

                                            1. There is no reason you cannot. I think this would be entirely possible. The module allows you to pass custom locations for pins within the builder (see documentation), so there’s no reason that this information cannot be derived from a custom script.
                                            cowboysdudeC SvenSommerS 2 Replies Last reply Reply Quote 2

                                            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
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 3 / 6
                                            • 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