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

    Scheduled Pinned Locked Moved Education
    266 Posts 30 Posters 476.5k Views 29 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.
    • J Offline
      Johans @Mykle1
      last edited by

      @mykle1 said in MMM-Lunartic:

      "
      nl translation

      “New Moon - No visible moon”: “Nieuwe Maan - Niet zichtbaar”,
      "The last full moon was ": “Laatste volle Maan was”,

      Thanks for updating this nice module.

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

        @johans said in MMM-Lunartic:

        Thanks for updating this nice module.

        You’re welcome, mate. Thanks for helping out. I’ll add these to the nl.json file tonight. Off to work! TGIF!

        Create a working config
        How to add modules

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

          @mykle1
          Partly working actually.
          Månen är nu 2 dagar gammal correct
          Månen är 4% illuminated(belyst) illuminated is wrong
          Waxing crescent moon not ok
          Distance from Earth`s core not ok
          Distance from sun not ok
          Nästa fullmåne är correct
          Nästa nymåne är correct

          “New Moon - No visible moon”: “Nymåne - Ingen synlig måne”,

          and

          "The last full moon was ": “Sista fullmånen var”,

          I Will come back with answer of your request tomorrow
          Thanks for the support

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

            @pr05t3n

            You could have done the translation in the time it took you to write that post. ;-)

            Create a working config
            How to add modules

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

              @mykle1 said in MMM-Lunartic:

              {
              "Distance from Earth’s core = ": "Avstånd från jordens kärna = ",
              "Distance from sun = ": "Avstånd från solen = ",
              "The next full moon is ": "Nästa fullmåne är ",
              "The next new moon is ": "Nästa nymåne är ",
              "The current moon is ": "Månen är nu ",
              "The moon is “: “Månen är “,
              “% illuminated”: " % belyst”,
              " days old”: " dagar gammal”,
              “New Moon Phase”: “Nymåne”,
              “Waxing Crescent Moon”: “Tilltagande skära”,
              “First Quarter Half Moon”: “Halvmåne”,
              “Waxing Gibbous Moon”: “Tilltagande halvmåne”,
              “Full Moon”: “Fullmåne”,
              “Waning Gibbous Moon”: “Avtagande halvmåne”,
              “Third Quarter Half Moon”: “Halvmåne”,
              “Waning Crescent Moon”: “Avtagande skära”,
              “When the Moon hits your eye . . .”: “När månen träffar dina ögon . . .”
              }

              Missunderstood you request, sorry Mykle1

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

                @pr05t3n said in MMM-Lunartic:

                Missunderstood you request, sorry Mykle1

                No worries, mate. Thanks for the sv translations! :thumbsup:

                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

                  Download:

                  [card:mykle1/MMM-Lunartic]

                  Version Update 1.0.4

                  Thanks to @Johans and @Pr05t3n for their translations into nl and sv, respectively. My thanks to you both. :thumbsup:

                  git pull in the MMM-Lunartic directory or install as per the readme

                  Create a working config
                  How to add modules

                  qu1queQ 1 Reply Last reply Reply Quote 0
                  • qu1queQ Offline
                    qu1que Project Sponsor @Mykle1
                    last edited by

                    @mykle1

                    Hi! I really like this module! It’s so cool!! I’ve just recently updated it to the last version, and I can’t wait for next full moon to hear the wolf audio. I have one doubt about it, when that sound it will be played? Ramdomly or how?

                    Thanks!

                    Mykle1M 2 Replies Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @qu1que
                      last edited by Mykle1

                      @qu1que

                      Thank you for your kind words. :thumbsup:

                      1. Config entry for MMM-Lunartic, sounds must be set to yes. Example -> sounds: "yes",

                      2.For rotating mode, depending on your rotateInterval, the sound will play each time the full moon element is reached. There are 7 elements.

                      Example:

                      My rotateInterval: 30 * 1000, . That’s 30 seconds, times each element to be displayed, because the sound file will only play when the full moon element is displayed. So,

                      The formula will be 7 X your rotateInterval
                      30 X 7 = 3:30 (that’s 3 minutes 30 seconds) in this case.

                      You can substitute your own sound file if you have one you like better.

                      EDIT:

                      If you are using mode: "static", the sound will play each time the config updateInterval: 3 * 60 * 1000, is reached. In this case, 3 minutes.

                      Create a working config
                      How to add modules

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

                        Need some help with moon animation.
                        No moon visible for me.

                        module: 'MMM-Lunartic',
                                position: 'bottom_center', // Best in left, center, or right regions
                                config: {
                                    mode: "rotating", // rotating or static
                                    image: "current", // animation, current, DayNight or static
                                    distance: "km", // miles or km
                        	    sounds: "yes", // howling wolf, only on a full moon
                                    useHeader: false, // true if you want a header
                                    header: "The Lunartic is in my head", // Any text you want
                                    maxWidth: "300px",
                                    animationSpeed: 0,
                                    rotateInterval: 15000,
                        
                        Mykle1M 1 Reply Last reply Reply Quote 0
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer @Pr05t3n
                          last edited by Mykle1

                          @pr05t3n

                          Need some help with moon animation.
                          No moon visible for me.

                          Are you saying the module runs but you get no image of the moon? Or are you saying you are not getting the animated moon?

                          https://forum.magicmirror.builders/topic/4247/how-to-post-code-on-the-forum-for-absolute-beginners
                          Kindly use a code block when you paste code, as such.

                          {
                                    module: 'MMM-Lunartic',
                                    position: 'bottom_center', // Best in left, center, or right regions
                                    config: {
                                        mode: "rotating", // rotating or static
                                        image: "animation", // animation, current, DayNight or static
                                        distance: "km", // miles or km
                                        sounds: "yes", // howling wolf, only on a full moon
                                        useHeader: false, // true if you want a header
                                        header: "The Lunartic is in my head", // Any text you want
                                        maxWidth: "300px",
                                        animationSpeed: 0,
                                  }
                                },
                          

                          Notice: image: "animation",

                          Create a working config
                          How to add modules

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

                            @mykle1 i do not get any picture of the moon.
                            Only text.
                            I tried, current, animation and daynight.
                            When i choose static i see all pictures of the moon and when i choose animation i see full moon with the animating clouds.
                            Current is the setting i would like to use
                            Sorry for pasting the config part.

                            Mykle1M 2 Replies Last reply Reply Quote 0
                            • Mykle1M Offline
                              Mykle1 Project Sponsor Module Developer @Pr05t3n
                              last edited by Mykle1

                              @pr05t3n

                              Please try this url in a browser. It’s the url to the current moon image provided by the US NAVY. I suspect that if you live outside the U.S. that it might not work.

                              http://api.usno.navy.mil/imagery/moon.png?date=today&time=now

                              And the url to the Day/Night map

                              http://api.usno.navy.mil/imagery/earth.png?date=today

                              Please report

                              Create a working config
                              How to add modules

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

                                @pr05t3n said in MMM-Lunartic:

                                Sorry for pasting the config part.

                                No worries. I wanted to see your config. It’s just easier to read when it’s in a code block. Don’t you agree?

                                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

                                  0_1542334862279_Luna.png

                                  Create a working config
                                  How to add modules

                                  1 Reply Last reply Reply Quote 0
                                  • rudibaraniR Offline
                                    rudibarani Project Sponsor
                                    last edited by

                                    @Mykle1: Thank you for this nice module!

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

                                      @rudibarani said in MMM-Lunartic:

                                      @Mykle1: Thank you for this nice module!

                                      You are quite welcome, sir. I do appreciate your kind words. :thumbsup:

                                      Create a working config
                                      How to add modules

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

                                        @mykle1 Unfortunately you are right. Web pages does not work.

                                        Traceroute tells me that they are firewalled

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

                                          @pr05t3n

                                          Since we are only talking about the image url, perhaps we can work around it. Here’s where you get to do some work. If you can find another url that offers current images of the moon and works for users outside the US, I will incorporate into the module based on the config language.

                                          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 Mykle1

                                            Fun Moon Fact
                                            We all know there was a man on the moon, but did you know that there is one who stayed there? Dr. Eugene Shoemaker, a Geological Surveyor, who educated the Apollo mission astronauts about craters, never made it into space himself, but it had always been one of his dreams. He was rejected as an astronaut because of medical problems. After he died, his ashes were placed on board the Lunar Prospector spacecraft on January 6, 1999, which was crashed into a crater on the moon on July 31, 1999. The mission was to discover if there was water on the moon at the time, but it also served to fulfill Dr Shoemaker’s last wish.

                                            Create a working config
                                            How to add modules

                                            cowboysdudeC 1 Reply Last reply Reply Quote 1

                                            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
                                            • 7
                                            • 8
                                            • 13
                                            • 14
                                            • 6 / 14
                                            • 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