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.
    • 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
                    • cowboysdudeC Offline
                      cowboysdude Module Developer @Mykle1
                      last edited by

                      @mykle1 You must be bored tonight…LOL

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

                        @cowboysdude

                        True, but I did find it interesting.

                        Create a working config
                        How to add modules

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

                          https://www.moongiant.com/phase/today/
                          http://lunaf.com/lunar-calendar/
                          https://www.calendar-365.com/moon/current-moon-phase.html
                          https://moonphases.co.uk/
                          https://www.die.net/moon/
                          https://www.starmessagesoftware.com/moonscreensaver/moon-phase-tonight.html

                          Something like this?

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

                            @pr05t3n said in MMM-Lunartic:

                            Something like this?

                            Well, not really. I don’t think I was clear enough. Yes, these links are to websites that contain pictures of the moon but not directly to the pictures. I did dig into the first site and isolated the url to today’s moon phase picture. Try it.

                            http://lunaf.com/img/moon/phase-13.png

                            Tomorrow that url will change, as will the image name.

                            The API url that is currently being used is static. It never changes. Only the image updates, not the url itself.

                            So, that’s what we need. A url to a current image of the moon (not a website containing moon pictures) and it has to update just the image. I’ll look when I can. You can still look. :-)

                            Create a working config
                            How to add modules

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

                              This ought to keep @Mykle1 busy for a couple weeks at least: https://www.programmableweb.com/category/astronomy/api

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

                                @bhepler said in MMM-Lunartic:

                                This ought to keep @Mykle1 busy for a couple weeks at least

                                Haha, thanks b! I’ll take a look. :thumbsup:

                                Create a working config
                                How to add modules

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

                                  @bhepler

                                  You do realize that I’ve done quite a few of those already? :-)

                                  Create a working config
                                  How to add modules

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

                                    @mykle1 - Yes. Yes, I have. But I’m hoping you have an addiction to catc… er, code 'em all.

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

                                      @bhepler said in MMM-Lunartic:

                                      But I’m hoping you have an addiction

                                      I have several. ;-)

                                      I threw together a companion module to MMM-MARS using one of the API’s from your link. For everyone that needs to know the weather on Mars. (Me). I don’t know how reliable the data is going to be but I learned how to make an array (in the node_helper) and push it to the the module.js. I needed to do that in order to rotate the data. So, the simplest of modules but very rewarding because I learned something new.

                                      https://github.com/mykle1/MMM-MARS-Weather

                                      0_1542903138783_33.png

                                      It’s only the very last line that rotates through 8 objects of data. SolDate, season, min and max air temp, atmospheric conditions (Sunny), min and max ground temp, sunrise and sunset at the rover’s locaton. A little css put it right under MARS

                                      Create a working config
                                      How to add modules

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

                                        @qu1que said in MMM-Lunartic:

                                        I can’t wait for next full moon to hear the wolf audio.

                                        Your wait should be over. MMM-Lunartic just reported a full moon accurately and played the howling wolf sound file as expected.

                                        I forgot I added that and was surprised when the audio played. Fun and pretty cool!

                                        Create a working config
                                        How to add modules

                                        qu1queQ 2 Replies Last reply Reply Quote 0
                                        • rudibaraniR Offline
                                          rudibarani Project Sponsor
                                          last edited by

                                          Dear @Mykle1,
                                          since yesterday, I do not get the current picture of the moon anymore, although I did not touch the MMM-Lunartic config. If I do, I can display other info - but not the current image.

                                          I completely removed and reinstalled the module - but that did not solve the problem. I can open the direct link to the current NASA picture from the .js file - so it does not seem, that my IP is blocked from their side.

                                          Do you have any idea, how to get the current picture of the moon back?

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

                                            @rudibarani said in MMM-Lunartic:

                                            Do you have any idea, how to get the current picture of the moon back?

                                            Hi,

                                            Yes, I am aware of this problem and am working to correct it. I asked for help in a topic. Hopefully someone will give me some input on fixing it. Otherwise, it will be some time before I can get that working again. In the meantime, don’t use “current or DayNight” as your image in the config entry

                                            Create a working config
                                            How to add modules

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