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

    Scheduled Pinned Locked Moved Education
    34 Posts 7 Posters 20.7k 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @cowboysdude
      last edited by

      @cowboysdude said in MMM-EARTH (Captured unique perspective of Solar Eclipse August 21, 2017):

      That is really cool!

      Thank you!

      Again, I would like to thank you @cowboysdude and @strawberry-3-141 for your assistance when I was stuck developing this module.

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 1
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer
        last edited by

        Download:

        [card:mykle1/MMM-EARTH]

        Update Version 1.0.1

        NASA changed their data without consulting me first. :^)

        Thanks to JohnB7777 for creating the issue and bringing it to my attention.

        And a tremendous Thank You to @cowboysdude for the fix and the pull request.

        So, a git pull in your MMM-EARTH directory will correct the problem.

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer
          last edited by Mykle1

          In light of the recent hurricane activity plaguing the Caribbean and the Eastern United States, I did a quick check of conditions using MMM-EARTH. You can see the storm paths and their development.

          0_1506050198316_vv.JPG 0_1506050206550_cc.JPG

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer
            last edited by

            Download:

            [card:mykle1/MMM-EARTH]

            Update Version 1.0.2

            NASA changed their data AGAIN without consulting me AGAIN.

            The nerve!

            So, once again, a git pull in your MMM-EARTH directory should set things to right, AGAIN. :^)

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • P Offline
              Peter
              last edited by Peter

              Another old Noob trying to learn …
              I just started RPI and MM last week, changed some basic things in my config file.
              But EARTH will not turn (it is static).
              Can somebody have a look?

              /* Magic Mirror Config Sample
               *
               * By Michael Teeuw http://michaelteeuw.nl
               * MIT Licensed.
               *
               * For more information how you can configurate this file
               * See https://github.com/MichMich/MagicMirror#configuration
               *
               */
              
              var config = {
              	address: "localhost", // Address to listen on, can be:
              	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
              	                      // - another specific IPv4/6 to listen on a specific interface
              	                      // - "", "0.0.0.0", "::" to listen on any interface
              	                      // Default, when address config is left out, is "localhost"
              	port: 8080,
              	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
              	                                                       // or add a specific IPv4 of 192.168.1.5 :
              	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
              	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
              	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
              
              	language: "nl",
              	timeFormat: 24,
              	units: "metric",
              
              	modules: [
              		{
                  			module: "MMM-EARTH",
                  			position: "top_center",
                  			config: {
                      		mode: "Natural",
                      		rotateInterval: 15000,
                      		MaxWidth: "20%",
                      		MaxHeight: "20%",
                  		}
              		},
              		{
              			module: "updatenotification",
              			position: "top_bar"
              		},
              		{
              			module: "clock",
              			position: "top_left"
              		},
              		{
              			module: "calendar",
              			header: "Feestdagen",
              			position: "top_left",
              			config: {
              				calendars: [
              					{
              						symbol: "calendar-check-o ",
              						url: "https://www.mozilla.org/media/caldata/DutchHolidays.ics"
              					}
              				]
              			}
              		},
              		{
              			module: "",
              			position: "lower_third"
              		},
              		{
              			module: "currentweather",
              			position: "top_right",
              			config: {
              				location: "Apeldoorn,Netherlands",
              				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
              				appid: "Xxxxxxxxxx"
              			}
              		},
              		{
              			module: "weatherforecast",
              			position: "top_right",
              			header: "Weersvoorspelling",
              			config: {
              				location: "Apeldoorn,Netherlands",
              				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
              				appid: "Xxxxxxxx"
              			}
              		},
              		
              		{
              			module: "newsfeed",
              			position: "bottom_bar",
              			config: {
              				feeds: [
              					{
              						title: "Nu.nl",
              						url: "http://www.nu.nl/rss/Algemeen"
              					}
              				],
              				showSourceTitle: true,
              				showPublishDate: true
              			}
              		},
              	]
              
              };
              
              /*************** DO NOT EDIT THE LINE BELOW ***************/
              if (typeof module !== "undefined") {module.exports = config;}
              
              

              Thanks!
              Peter

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @Peter
                last edited by Mykle1

                @Peter

                Hello Peter. It is not your config that is causing the EARTH not to spin. I just loaded your config and it rotates the EARTH every 15 seconds as per rotateInterval: 15000,. Have you waited 15 seconds?
                Are you expecting it to rotate more quickly? Or is it not updating at all?

                One thing I did notice about your config:

                {
                			module: "",
                			position: "lower_third"
                		},
                

                An empty module name

                Also, you should remove your API keys before you post on the forum. You can remove yours from here by clicking the three dots at the bottom right of your post and choose EDIT.

                Lastly, I see you are using 20% MaxWidth and MaxHeight in MMM-EARTH, and that’s just fine, but you can also choose mode: "naturalThumb", at 100% to achieve the same thing with less system load on your Pi. But let’s get you fixed up first. :-)

                Create a working config
                How to add modules

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  Peter @Mykle1
                  last edited by

                  @Mykle1 thanks!
                  It does not look like rotating.
                  It goes black (fades to black) and comes back again.
                  I will look at the other things you mention.
                  Peter

                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @Peter
                    last edited by Mykle1

                    @Peter

                    Pay close attention. When it fades and comes back, is the picture different? It should be. Watch a few times to see please. If you do not want the fade in/ fade out then you can add this to your config entry for EARTH
                    animationSpeed: 0,

                    Create a working config
                    How to add modules

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      Peter @Mykle1
                      last edited by

                      @Mykle1 I removed the empty module name and the ID.
                      Earth is turning, but I will take your advice to turn off the fading!
                      I am learning every minute!
                      Great!
                      Peter

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @Peter
                        last edited by

                        @Peter

                        Yes, keep your API keys private. Use the config options to your liking. If you like the fade, keep it. It’s up to you.

                        We’re all learning, Peter. At least, I hope so. I’m glad it’s working for you now. Peace! :-)

                        Create a working config
                        How to add modules

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