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

MMM-EARTH

Scheduled Pinned Locked Moved Education
34 Posts 7 Posters 19.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.
  • M Offline
    Mykle1 Project Sponsor Module Developer
    last edited by Sep 30, 2017, 2:30 AM

    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 Dec 13, 2017, 9:07 PM Dec 13, 2017, 6:13 PM

      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

      M 1 Reply Last reply Dec 13, 2017, 8:42 PM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @Peter
        last edited by Mykle1 Dec 13, 2017, 8:56 PM Dec 13, 2017, 8:42 PM

        @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 Dec 13, 2017, 9:05 PM Reply Quote 0
        • P Offline
          Peter @Mykle1
          last edited by Dec 13, 2017, 9:05 PM

          @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

          M 1 Reply Last reply Dec 13, 2017, 9:07 PM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @Peter
            last edited by Mykle1 Dec 13, 2017, 9:36 PM Dec 13, 2017, 9:07 PM

            @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 Dec 13, 2017, 9:21 PM Reply Quote 0
            • P Offline
              Peter @Mykle1
              last edited by Dec 13, 2017, 9:21 PM

              @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

              M 1 Reply Last reply Dec 13, 2017, 9:49 PM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @Peter
                last edited by Dec 13, 2017, 9:49 PM

                @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
                • M Offline
                  Mykle1 Project Sponsor Module Developer
                  last edited by Sep 11, 2018, 12:14 AM

                  I think this is amazing. MMM-EARTH has captured Hurricane Florence as moves across the Caribbean, taking aim at the Carolinas.

                  0_1536624882671_Florence2.png

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 1
                  • M Offline
                    Mykle1 Project Sponsor Module Developer
                    last edited by Feb 8, 2019, 11:53 PM

                    Announcement

                    Anyone that experienced problems with MMM-EARTH yesterday can breathe a sigh of relief. It was not the module that was at fault. It was the API. Whatever problems they were having seem to be over. The module is now working as intended.

                    Create a working config
                    How to add modules

                    justjim1220J 1 Reply Last reply Feb 9, 2019, 12:20 AM Reply Quote 0
                    • justjim1220J Offline
                      justjim1220 Module Developer @Mykle1
                      last edited by Feb 9, 2019, 12:20 AM

                      @mykle1

                      YAY!!! :face_with_tears_of_joy: :face_with_tears_of_joy:

                      "Life's Too Short To Dance With Ugly People"
                      Jim Hallock - 1995

                      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