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.
    • 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
                            • Mykle1M Offline
                              Mykle1 Project Sponsor Module Developer
                              last edited by

                              This is what I’m up against at the moment. Try contacting the US Navy and telling them their API for moon images is not configured properly. This should be fun.

                              0_1543197218383_Screenshot from 2018-11-25 20-12-18.png

                              Create a working config
                              How to add modules

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

                                @mykle1 I also had to set an “exception”, as the HTTPS Certificate does not match. Maybe there is an option to ignore this threat.

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

                                  @rudibarani

                                  Yeah, I’m going to avoid using an exception, even if I knew how to do that. As you know, (you messaged me) the API started working again and then was gone again for a short period of time. This is encouraging. I think it means they are working on fixing the API. I’m working on a temporary fix but it will take some time. Lets hope they fix the API before I finish the fix.

                                  Create a working config
                                  How to add modules

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

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • qu1queQ Offline
                                      qu1que Project Sponsor @Mykle1
                                      last edited by

                                      @mykle1

                                      Hahaha, I’ve heard it two or three days days ago, on last full moon. Awesome!! My sister heard it and she was scared with the wolf sound, hahaha.

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

                                        @qu1que

                                        That’s fantastic. However, there is a problem with the API for the images so the module is having trouble at the moment. I’m looking at some options and @rudibarani has been assisting but I’m still hoping they correct the issue soon.

                                        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

                                          Yes, I realised of that module not working, but at the same time, the MMM-SunRiseSet module doesn’t work too. Maybe is the same problem?

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

                                            @qu1que said in MMM-Lunartic:

                                            MMM-SunRiseSet module doesn’t work too. Maybe is the same problem?

                                            Yes, same API, same problem. I’m hoping they fix the API soon. Otherwise, a work-around might be necessary.

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