• 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 349.9k 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 yawns Nov 15, 2018, 3:32 PM Nov 14, 2018, 5:25 PM

    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,
    
    M 1 Reply Last reply Nov 15, 2018, 1:00 AM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @Pr05t3n
      last edited by Mykle1 Nov 15, 2018, 1:52 AM Nov 15, 2018, 1:00 AM

      @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 Nov 15, 2018, 2:16 PM Reply Quote 1
      • P Offline
        Pr05t3n @Mykle1
        last edited by Pr05t3n Nov 15, 2018, 2:19 PM Nov 15, 2018, 2:16 PM

        @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.

        M 2 Replies Last reply Nov 16, 2018, 1:52 AM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @Pr05t3n
          last edited by Mykle1 Nov 16, 2018, 1:58 AM Nov 16, 2018, 1:52 AM

          @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 Nov 17, 2018, 7:48 AM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @Pr05t3n
            last edited by Nov 16, 2018, 1:53 AM

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

              0_1542334862279_Luna.png

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • R Offline
                rudibarani Project Sponsor
                last edited by Nov 17, 2018, 12:22 AM

                @Mykle1: Thank you for this nice module!

                M 1 Reply Last reply Nov 17, 2018, 1:17 AM Reply Quote 1
                • M Offline
                  Mykle1 Project Sponsor Module Developer @rudibarani
                  last edited by Nov 17, 2018, 1:17 AM

                  @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 Nov 17, 2018, 7:58 AM Nov 17, 2018, 7:48 AM

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

                    Traceroute tells me that they are firewalled

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

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