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 (fixed temporarily)

    Scheduled Pinned Locked Moved Troubleshooting
    9 Posts 3 Posters 2.4k Views 4 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by Mykle1

      Sorry for the delay. I was hoping the API was going to be fixed quickly. Such is not the case. So, in the meantime, you can do a git pull in the MMM-Lunartic directory. In the module folder you will find a new folder named “temporary fix.” Inside that folder is ANOTHER MMM-Lunartic.js file. This is the one you want to use. Rename the one at the root of the module folder and move the new one there. When the API corrects the security issue, we’ll go back to the original.

      Yes, I know what you’re thinking. “What the HELL is Mykle doing?” Just felt like doing it the hard way. :-)

      https://github.com/mykle1/MMM-Lunartic

      0_1543809119735_432.png

      Click on image for better view

      Create a working config
      How to add modules

      VarguitV 1 Reply Last reply Reply Quote 0
      • VarguitV Offline
        Varguit @Mykle1
        last edited by

        Hi @mykle1

        Still not working, maybe some misssing png’s inside PIX folder?
        Looking at yout temporary js file I’ve seen references to png files

         img.src = "modules/MMM-Lunartic/pix/waxcres5.png";
        

        but none of them are inside PIX folder.

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

          @varguit said in MMM-Lunartic (fixed temporarily):

          but none of them are inside PIX folder.

          You’re absolutely right. Nice catch. I neglected to upload the png files. So, now add forgetful to my slow and stupid profile. :-)

          Do another git pull in the MMM-Lunartic directory or install as per the readme. I just uploaded the png files.

          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

            NOTE

            There will be times when the moon images do not update when the illumination percentage changes as there is not a png file for each. In this case, some png files will represent more than one illumination. It was very time consuming collecting all the images. However, this should not be a problem as the illumination percentage will change several times in a 24 hour period so updates to the image will happen.

            I’m not thrilled with this temporary fix but it will do for now. As soon as the API issues are corrected the module will go back to its original functionality.

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer
              last edited by

              HEY where are the pictures?

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

                @cowboysdude said in MMM-Lunartic (fixed temporarily):

                HEY where are the pictures?

                There in there now. Sorry dude!

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • cowboysdudeC Offline
                  cowboysdude Module Developer
                  last edited by

                  I can’t find them

                  1 Reply Last reply Reply Quote 1
                  • cowboysdudeC Offline
                    cowboysdude Module Developer
                    last edited by

                    OH sorry probably have to actually INSTALL the module first, don’t I? LOL

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

                      @cowboysdude

                      No, they will magically appear on your mirror. ;-)

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 1
                      • 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