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

Scheduled Pinned Locked Moved Education
266 Posts 30 Posters 355.2k 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.
  • P Offline
    Pr05t3n
    last edited by Nov 20, 2018, 10:27 AM

    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?

    M 1 Reply Last reply Nov 20, 2018, 9:44 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @Pr05t3n
      last edited by Nov 20, 2018, 9:44 PM

      @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
      • B Offline
        bhepler Module Developer
        last edited by Nov 21, 2018, 12:19 AM

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

        M 2 Replies Last reply Nov 21, 2018, 12:48 AM Reply Quote 1
        • M Offline
          Mykle1 Project Sponsor Module Developer @bhepler
          last edited by Nov 21, 2018, 12:48 AM

          @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
          • M Offline
            Mykle1 Project Sponsor Module Developer @bhepler
            last edited by Nov 21, 2018, 1:12 AM

            @bhepler

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

            Create a working config
            How to add modules

            B 1 Reply Last reply Nov 22, 2018, 12:13 PM Reply Quote 1
            • B Offline
              bhepler Module Developer @Mykle1
              last edited by Nov 22, 2018, 12:13 PM

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

              M 1 Reply Last reply Nov 22, 2018, 4:17 PM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @bhepler
                last edited by Nov 22, 2018, 4:17 PM

                @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
                • M Offline
                  Mykle1 Project Sponsor Module Developer @qu1que
                  last edited by Nov 23, 2018, 2:00 AM

                  @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

                  Q 2 Replies Last reply Nov 27, 2018, 12:37 AM Reply Quote 0
                  • R Offline
                    rudibarani Project Sponsor
                    last edited by Nov 25, 2018, 8:10 PM

                    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?

                    M 1 Reply Last reply Nov 25, 2018, 8:40 PM Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @rudibarani
                      last edited by Nov 25, 2018, 8:40 PM

                      @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
                      • 1
                      • 2
                      • 7
                      • 8
                      • 9
                      • 10
                      • 11
                      • 26
                      • 27
                      • 9 / 27
                      9 / 27
                      • First post
                        88/266
                        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