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 not working

    Scheduled Pinned Locked Moved Solved Troubleshooting
    17 Posts 6 Posters 5.4k Views 6 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.
    • StoffbeuteluweS Offline
      Stoffbeuteluwe Project Sponsor
      last edited by

      Hi, I think the website is down…
      Anyone the same Problem

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

        @Stoffbeuteluwe said in MMM-Lunartic not working:

        Hi, I think the website is down…
        Anyone the same Problem

        Yes, the US Naval Obvservatory api that supplies the images is down. This happened once before and I’ve included a temporary fix MMM-Lunartic.js file in the repo for just such an occasion. Rename your current MMM-Lunartic.js file to MMM-Lunartic.bak and copy the file from the temporary fix folder and paste it at the root of the MMM-Lunartic folder. Run your mirror.

        I will notify when the api is up. It might be April before that happens but the module will work as expected.

        Create a working config
        How to add modules

        StoffbeuteluweS 1 Reply Last reply Reply Quote 1
        • C Offline
          chassain 0
          last edited by

          it’s working for me…

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

            @Stoffbeuteluwe said in MMM-Lunartic not working:

            Hi, I think the website is down…
            Anyone the same Problem

            Yes, the US Naval Obvservatory api that supplies the images is down. This happened once before and I’ve included a temporary fix MMM-Lunartic.js file in the repo for just such an occasion. Rename your current MMM-Lunartic.js file to MMM-Lunartic.bak and copy the file from the temporary fix folder and paste it at the root of the MMM-Lunartic folder. Run your mirror.

            I will notify when the api is up. It might be April before that happens but the module will work as expected.

            Create a working config
            How to add modules

            StoffbeuteluweS 1 Reply Last reply Reply Quote 1
            • StoffbeuteluweS Offline
              Stoffbeuteluwe Project Sponsor @Mykle1
              last edited by

              @Mykle1 Thank you very much :folded_hands_medium_skin_tone:

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

                @Stoffbeuteluwe said in MMM-Lunartic not working:

                Thank you very much

                Can you verify that the fix works for you?

                Create a working config
                How to add modules

                StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                • StoffbeuteluweS Offline
                  Stoffbeuteluwe Project Sponsor @Mykle1
                  last edited by

                  @Mykle1 Works :thumbs_up_medium_skin_tone:

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

                    Works! April till its operational? Thats ~6 months from now.

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

                      @BD0G said in MMM-Lunartic not working:

                      April till its operational?

                      The module works with the fix I’ve provided. You won’t notice the difference, but yes, the USNO api is undergoing maintenance and has set that date for its completion.

                      Create a working config
                      How to add modules

                      F 1 Reply Last reply Reply Quote 1
                      • F Offline
                        ForeverBrewing @Mykle1
                        last edited by

                        @Mykle1 Thank you for the fix! and for the module, its awesome

                        Mykle1M 1 Reply Last reply Reply Quote 1
                        • B Offline
                          BD0G
                          last edited by

                          So you just pulled the static images from that USNO site and have them stored locally on the Pi. Then just call each static image as the phases of the moon change. Correct? With this approach it hardly seems like we are missing anything by not connecting to the USNO site and downloading them.

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

                            @ForeverBrewing said in MMM-Lunartic not working:

                            Thank you for the fix! and for the module, its awesome

                            Thank you for your kind words. I’m glad you enjoy it! :thumbsup:

                            Create a working config
                            How to add modules

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

                              @BD0G said in MMM-Lunartic not working:

                              With this approach it hardly seems like we are missing anything by not connecting to the USNO site and downloading them.

                              Visually, you’re not missing much. There is not a static image for every percentage of illumination, whether waxing or waning but it will do for now. However, I like knowing that the images are the most recent even though you can’t see a difference. When the API resumes, I’ll switch back. The fix will always be available. You can continue to use it even when the API resumes.

                              Create a working config
                              How to add modules

                              D 1 Reply Last reply Reply Quote 0
                              • D Offline
                                djarufes
                                last edited by djarufes

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  djarufes @Mykle1
                                  last edited by

                                  @Mykle1 After making the changes mentioned, for some odd reason, I’m just getting “When the Moon hits your eye…”
                                  Not sure how to fix it :/

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

                                    @djarufes

                                    The only change is swapping the MMM-Lunartic.js file with the one that is in the temporary fix folder.

                                    Create a working config
                                    How to add modules

                                    D 1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      djarufes @Mykle1
                                      last edited by

                                      @Mykle1 It seems that changing single quotes to double quotes in the lines below made it work:

                                      module: ‘MMM-Lunartic’,
                                      position: ‘bottom_center’ ,

                                      module: “MMM-Lunartic”,
                                      position: “bottom_center” ,

                                      Not sure why, but thanks! The moon looks incredible O_O

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

                                        @djarufes said in MMM-Lunartic not working:

                                        but thanks! The moon looks incredible

                                        Glad you got it working. The config sample entry in the repo does not have double quotes on those so I don’t know where you got them from. :-)

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