• 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 356.4k 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.
  • C Offline
    cowboysdude Module Developer @mumblebaj
    last edited by cowboysdude Jul 21, 2019, 2:06 PM Jul 21, 2019, 2:05 PM

    @mumblebaj said in MMM-Lunartic:

    @Mykle1 It says :
    This site can’t be reached api.usno.navy.mil’s server IP address could not be found. from South Africa. I guess that it’s restricted somehow.

    That’s very possible…it could be blocked by your ISP OR the Navy could block the traffic to your server.

    Try putting this in a browser window and see if you get results from that…

    https://mykle.herokuapp.com/moon

    M 1 Reply Last reply Jul 22, 2019, 2:43 PM Reply Quote 1
    • E Offline
      electros Project Sponsor
      last edited by Jul 21, 2019, 4:37 PM

      Works… UK

      1 Reply Last reply Reply Quote 2
      • M Offline
        mumblebaj Module Developer @cowboysdude
        last edited by Jul 22, 2019, 2:43 PM

        @cowboysdude That returned the following result:
        {"age":19.928838935009,"illumination":72.74035463065,"stage":"waning","DFCOE":403666.04,"DFS":151987757.36,"FM":{"UT":1563313171.7967,"DT":"21:39:31-16 Jul 2019"},"NNM":{"UT":1564629175.4546,"DT":"3:12:55-1 Aug 2019"}}

        Check out my modules at: https://github.com/mumblebaj?tab=repositories

        M 1 Reply Last reply Jul 23, 2019, 12:49 AM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @mumblebaj
          last edited by Jul 23, 2019, 12:49 AM

          @mumblebaj

          That’s the return from my API for the data. The image comes from the USNO API

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • S Offline
            Stoffbeuteluwe Project Sponsor @Mykle1
            last edited by Jul 27, 2019, 5:59 AM

            @Mykle1 now the image is not loading…

            M 1 Reply Last reply Jul 27, 2019, 11:55 PM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @Stoffbeuteluwe
              last edited by Mykle1 Jul 28, 2019, 12:43 AM Jul 27, 2019, 11:55 PM

              @Stoffbeuteluwe said in MMM-Lunartic:

              now the image is not loading…

              Yes, I see. The USNO API is having trouble at the moment. “api.usno.navy.mil refused to connect.”

              I will see what i can find out.

              in the meantime, you can use the MMM-Lunartic.js file that is inside the ‘temporary fix’ folder in the module folder. This will give you pictures until the api becomes functional again

              Create a working config
              How to add modules

              S M 2 Replies Last reply Jul 28, 2019, 5:56 AM Reply Quote 0
              • S Offline
                Stoffbeuteluwe Project Sponsor @Mykle1
                last edited by Jul 28, 2019, 5:56 AM

                @Mykle1 ok thanks

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mumblebaj Module Developer @Mykle1
                  last edited by Jul 28, 2019, 2:57 PM

                  @Mykle1 Thanks. I set it to “animation” and it is working now.

                  Check out my modules at: https://github.com/mumblebaj?tab=repositories

                  M 1 Reply Last reply Jul 28, 2019, 11:37 PM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @mumblebaj
                    last edited by Jul 28, 2019, 11:37 PM

                    @mumblebaj said in MMM-Lunartic:

                    Thanks. I set it to “animation” and it is working now.

                    yes because that uses a local .gif file that is included with the module.the alternate module.js file also uses local pix for just such an occasion. either will work. for now, the the usno api is still being a pain in the butt

                    Create a working config
                    How to add modules

                    M 1 Reply Last reply Jul 29, 2019, 2:33 PM Reply Quote 0
                    • M Offline
                      mumblebaj Module Developer @Mykle1
                      last edited by Jul 29, 2019, 2:33 PM

                      @Mykle1 No problem. Thanks for a really nice module.

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories

                      M 1 Reply Last reply Jul 29, 2019, 11:43 PM Reply Quote 1
                      • 1
                      • 2
                      • 15
                      • 16
                      • 17
                      • 18
                      • 19
                      • 26
                      • 27
                      • 17 / 27
                      17 / 27
                      • First post
                        162/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