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

      Wait, let me fix this.

      Ok, those entries must be made OUTSIDE the body. I’ve corrected it for you.

      /*****************************************************
       * Magic Mirror                                      *
       * Custom CSS                                        *
       *                                                   *
       * By Michael Teeuw http://michaelteeuw.nl           *
       * MIT Licensed.                                     *
       *                                                   *
       * Add any custom CSS below.                         *
       * Changes to this files will be ignored by GIT. *
       *****************************************************/
      
       body {
      
       }
      
      .MMM-Lunartic .xsmall.bright {
         font-size:28px;
      }
      
      .MMM-Lunartic img.photo {
      /*  display: none;              uncomment if you don't want an image */
        width: 100%;                /* adjust size of moon picture */
        margin-left: 0px;          /* Precisely align moon picture with these */
        margin-right: 0px;
        margin-top: 0px;         /* -41px for current. -21px for animation or static. */
        margin-bottom: -11px;      /* -51px for current. -21px for animation or static. */
      }
      
      .MMM-Lunartic header {
        border-bottom: none;
        text-align: center;
        color: cyan;
      }
      
      .MMM-AlexaControl .img { 
        height: 30px;
        width: 30px;
      }
      
      

      Next step, I come to your house and fix it for you. :-)

      Create a working config
      How to add modules

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

        @BD0G said in MMM-Lunartic:

        I praise your willingness to respond with such a helpfulness!

        I started on this forum with no knowledge of coding at all. There were people willing to help me then. I still ask for help when I need it. So, this is my way of thanking the people that help(ed) me. :thumbsup:

        Create a working config
        How to add modules

        B 1 Reply Last reply Reply Quote 2
        • B Offline
          BD0G @Mykle1
          last edited by

          @Mykle1 When can you be here? LOL.

          Mykle1M 1 Reply Last reply Reply Quote 0
          • B Offline
            BD0G @Mykle1
            last edited by

            @Mykle1 If I get stuck I always ask for assistance and realize that we all cannot know everything about anything. We are all learning. I appreciate your willingness to help ! I am sure you will see lots mode posts by me. :)

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

              @BD0G

              I’m here. I’ll send you a private message

              Create a working config
              How to add modules

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

                We are all here…

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

                  @cowboysdude said in MMM-Lunartic:

                  We are all here…

                  Now I’m here. Now I’m there.

                  Create a working config
                  How to add modules

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

                    You are truly an International man of mystery.

                    B 1 Reply Last reply Reply Quote 0
                    • B Offline
                      BD0G @cowboysdude
                      last edited by

                      @cowboysdude He helped me resolve the issue so its looking goooooooood!

                      1 Reply Last reply Reply Quote 1
                      • V Offline
                        Vauxdvihl
                        last edited by

                        Unfortunately no image is shown
                        And i am not able to reach the linked homepage here (location germany)
                        Is there a workaround?
                        Thanks a lot

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

                          @Vauxdvihl said in MMM-Lunartic:

                          Unfortunately no image is shown
                          And i am not able to reach the linked homepage here (location germany)
                          Is there a workaround?

                          Yes, the API is down. However, there is a workaround. (temporary fix)

                          1. Do a “git pull” in the MMM-Lunartic directory to make sure the module is up to date
                          2. Rename your current MMM-Lunartic.js file to MMM-Lunartic.bak
                          3. You will now notice a folder named “temporary fix” inside the module folder. Inside the “temporary fix” folder is another MMM-Lunartic.js file. Copy and paste that to the root of the MMM-Lunartic folder.
                          4. Restart MM

                          Create a working config
                          How to add modules

                          E 1 Reply Last reply Reply Quote 0
                          • V Offline
                            Vauxdvihl
                            last edited by

                            @Mykle1
                            :thumbs_up:
                            Thanks a lot
                            it works

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

                              @Vauxdvihl said in MMM-Lunartic:

                              Thanks a lot

                              You’re welcome. :thumbsup:

                              it works

                              A minor miracle. :-)

                              Create a working config
                              How to add modules

                              1 Reply Last reply Reply Quote 0
                              • E Offline
                                Egnos @Mykle1
                                last edited by

                                @Mykle1 said in MMM-Lunartic:

                                @Vauxdvihl said in MMM-Lunartic:

                                Unfortunately no image is shown
                                And i am not able to reach the linked homepage here (location germany)
                                Is there a workaround?

                                Yes, the API is down. However, there is a workaround. (temporary fix)

                                1. Do a “git pull” in the MMM-Lunartic directory to make sure the module is up to date
                                2. Rename your current MMM-Lunartic.js file to MMM-Lunartic.bak
                                3. You will now notice a folder named “temporary fix” inside the module folder. Inside the “temporary fix” folder is another MMM-Lunartic.js file. Copy and paste that to the root of the MMM-Lunartic folder.
                                4. Restart MM

                                Hi @Mykle1,
                                I tried to do your work around but I only see this writing: “When the Moon hits your eye…”

                                This is my configuration:

                                {
                                			disabled: false,
                                			module: 'MMM-Lunartic',
                                			//position: 'bottom_center', // Best in left, center, or right regions
                                			pages: {Prova: "top_left"},
                                			config: {
                                				mode: "rotating", // rotating or static
                                				image: "current", // animation, current, DayNight or static
                                				distance: "miles", // 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,
                                					}
                                		},
                                

                                Could you help me?

                                Many thanks!

                                My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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

                                  @Egnos

                                  I’m surprised you even saw “When the Moon hits your eye…” at all.

                                  I don’t know where this came from --> pages: {Prova: “top_left”},

                                  This works:

                                  {
                                  			disabled: false,
                                  			module: 'MMM-Lunartic',
                                  			position: 'bottom_center', // Best in left, center, or right regions
                                  		//	pages: {Prova: "top_left"},
                                  			config: {
                                  				mode: "rotating", // rotating or static
                                  				image: "current", // animation, current, DayNight or static
                                  				distance: "miles", // 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,
                                  					}
                                  		},
                                  

                                  Create a working config
                                  How to add modules

                                  E 1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    Egnos @Mykle1
                                    last edited by

                                    @Mykle1 said in MMM-Lunartic:

                                    hen the Moon hits your eye…” at

                                    Thanks @Mykle1.
                                    My MM has multiple pages and uses the “MMM-Page-Selector” module.
                                    Using the configuration below I should display your module on the “Prova” page, but showing only "When the Moon hits your eye…”

                                    pages: {Prova: "top_left"},
                                    

                                    All other modules (about 21 …) respect this rule …

                                    Could you do something?

                                    Thanks a lot!

                                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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

                                      @Egnos

                                      Well, first a question. Does it work with the default config entry after you’ve done the temporary fix?

                                      Create a working config
                                      How to add modules

                                      E 1 Reply Last reply Reply Quote 0
                                      • E Offline
                                        Egnos @Mykle1
                                        last edited by Egnos

                                        @Mykle1 said in MMM-Lunartic:

                                        @Egnos

                                        Well, first a question. Does it work with the default config entry after you’ve done the temporary fix?

                                        Yes, if you comment the line

                                        //	pages: {Prova: "top_left"},
                                        

                                        the module seems to work correctly.

                                        I did this test using a new “config.js”, without the other 21 modules.
                                        It is also possible that Lunartic conflicts with some other module.
                                        Here are the modules I installed:

                                        MMM-iFrame-Ping
                                        MMM-Page-Selector
                                        MM-orrery
                                        MMM-DarkSkyForecast
                                        MMM-ISS
                                        MMM-RTSPStream
                                        planetrise
                                        MMM-EARTH-Live
                                        MMM-ISS-Live
                                        MMM-Screencast
                                        MMM-Formula1
                                        MMM-Lunartic
                                        MMM-SoccerLiveScore
                                        MMM-Globe
                                        MMM-MyCommute
                                        mmm-suncalc
                                        MMM-GoogleMapsTraffic
                                        MMM-page-indicator
                                        MMM-Voice-Commands

                                        Thanks.

                                        My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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

                                          @Egnos said in MMM-Lunartic:

                                          It is also possible that Lunartic conflicts with some other module.

                                          Sure, it’s possible. Anything is possible. However, Lunartic works, without issue, with every other module (as far as I know). I don’t use MMM-Page-Selector. I use Hello-Lucy for my page selections and Lunartic lives happily there. No issues. No conflicts.

                                          With that said, I’ll see if I can discover anything.

                                          In the meantime, you can uncomment the pages: {Prova: "top_left"}, line and start you mirror with npm start dev. Report any errors from the dev console that appears.

                                          Create a working config
                                          How to add modules

                                          E 1 Reply Last reply Reply Quote 0
                                          • E Offline
                                            Egnos @Mykle1
                                            last edited by Egnos

                                            @Mykle1 Hello Lucy allows you to create pages like MMM-Page Selector?

                                            Is it possible to change the pages automatically after a set time?

                                            Many thanks @Mykle1.

                                            PS: I try your advice as soon as possible!👍

                                            My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                            Mykle1M 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
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 13
                                            • 14
                                            • 7 / 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