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

          @Egnos

          I’m not familiar with MMM-PageSelector so I don’t know how things work within that module.

          Changing pages after a set time is not a feature that I have a use for. I can simply change a page with a voice command any time I want. Feel free to fork the module and make any changes your like. Send a PR if you like.

          I think there are already modules that might do that.

          Create a working config
          How to add modules

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

            HI @Mykle1
            I don’t know why but the module started working!
            I have some questions:

            • How should I modify the config.js to not display the image of the moon but only the text?

            • I am Italian, how can I translate the text?

            • If you want to use “Hello Lucy” to call up the page with my voice, could you recommend a good microphone?

            Thank you so much for your patience.:winking_face:

            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:

              don’t know why but the module started working!

              Uhh, I don’t know why either.

              How should I modify the config.js to not display the image of the moon but only the text?

              Well, you can achieve that this way. Add this to you custom.css file:

              .MMM-Lunartic img.photo {
                display: none;
              }
              

              I am Italian, how can I translate the text?

              You can contribute to this module by replacing the Spanish in the following file with Italian. I will then add it to the module. By doing so, you make Italian available to everyone that uses this module.

              {
              "Distance from Earth's core = ": "Distancia desde la Tierra: ",
              "Distance from sun = ": "Distancia desde el Sol: ",
              "The next full moon is ": "Próxima Luna llena ",
              "The next new moon is ": "Próxima Luna nueva: ",
              "The current moon is ": "La fase actual lleva ",
              "The moon is ": "Esta Luna está  ",
              "% illuminated": "% iluminada",
              " days old": " dias transcurridos",
              "New Moon Phase": "Luna Nueva",
              "Waxing Crescent Moon": "Luna Creciente",
              "First Quarter Half Moon": "Primer cuarto de media luna",
              "Waxing Gibbous Moon": "Luna creciente Gibosa",
              "Full Moon": "Luna Llena",
              "Waning Gibbous Moon": "Luna Gibosa menguante",
              "Third Quarter Half Moon": "Tercer cuarto de Media Luna",
              "Waning Crescent Moon": "Luna creciente menguante",
              "When the Moon hits your eye . . .": "Cuando la Luna ilumina tus ojos . . ."
              }
              

              If you want to use “Hello Lucy” to call up the page with my voice, could you recommend a good microphone?

              Are you using a Pi? I think the PSEye cam works well from what I’ve read here. I really don’t know. I don’t use Pi’s any longer.

              Create a working config
              How to add modules

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

                For you:

                {
                "Distance from Earth's core = ": "Distanza dal nucleo della Terra",
                "Distance from sun = ": "Distanza dal Sole",
                "The next full moon is ": "La prossima Luna piena è",
                "The next new moon is ": "La prossima Luna nuova è",
                "The current moon is ": "La fase lunare corrente è",
                "The moon is ": "La Luna è",
                "% illuminated": "% illuminata",
                " days old": "Giorni trascorsi",
                "New Moon Phase": "Luna Nuova",
                "Waxing Crescent Moon": "Luna Crescente",
                "First Quarter Half Moon": "Primo Quarto di Luna",
                "Waxing Gibbous Moon": "Luna Gibbosa Crescente",
                "Full Moon": "Luna Piena",
                "Waning Gibbous Moon": "Luna Gibbosa Calante",
                "Third Quarter Half Moon": "Ultimo Quarto di Luna",
                "Waning Crescent Moon": "Luna Calante",
                "When the Moon hits your eye . . .": "Quando la Luna illumina i tuoi occhi..."
                }
                

                @Mykle1 said in MMM-Lunartic:

                Are you using a Pi? I think the PSEye cam works well from what I’ve read here. I really don’t know. I don’t use Pi’s any longer.

                No, now for convenience I’m using a virtual machine with VirtualBox, could it work?

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

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

                  MMM-Lunartic now has Italian translation!

                  • Thanks to @Egnos

                  I’m using a virtual machine with VirtualBox, could it work?

                  I have no way of testing that.

                  git pull in the MMM-Lunartic directory ot visit https://github.com/mykle1/MMM-Lunartic

                  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

                    Notice from the USNO api for MMM-Lunartic

                    “This US Naval Observatory Website is undergoing modernization and will be offline starting Thursday, 24 October 2019. The expected completion of work and return of service is estimated as 30 April 2020.”

                    So, hopefully, the module will be back to normal soon.

                    Create a working config
                    How to add modules

                    StoffbeuteluweS 2 Replies Last reply Reply Quote 0
                    • StoffbeuteluweS Offline
                      Stoffbeuteluwe Project Sponsor @Mykle1
                      last edited by

                      @Mykle1 Super… thanks Mykle

                      1 Reply Last reply Reply Quote 0
                      • StoffbeuteluweS Offline
                        Stoffbeuteluwe Project Sponsor @Mykle1
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer
                          last edited by

                          What a surprise! The USNO api has not resumed normal operations by the expected completion date. I’ll keep checking the site but it’s anyone’s guess now. :(

                          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

                            So, I went outside just as the sun was setting a little while ago and noticed the sky had cleared (it has been raining for days) and the moon was shining brightly. Ran inside, got my camera, click!

                            moon.png

                            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

                              From the USNO website.

                              usno.png

                              :(

                              Create a working config
                              How to add modules

                              S StoffbeuteluweS 2 Replies Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @Mykle1
                                last edited by

                                @Mykle1 can’t help myself.alt text

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

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

                                  @sdetweil
                                  :thumbsup:

                                  Create a working config
                                  How to add modules

                                  1 Reply Last reply Reply Quote 0
                                  • StoffbeuteluweS Offline
                                    Stoffbeuteluwe Project Sponsor @Mykle1
                                    last edited by

                                    @Mykle1 Ohh no:disappointed_but_relieved_face:

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

                                      I found this very interesting.

                                      “You’ve never seen the moon like in this ‘all terminator’ image (and you never will).”

                                      "Shadows creep down the banks of every crater on the near-side of the moon, highlighting the pockmarked face of Earth’s gravitationally-bound buddy with a clarity never before seen.

                                      According to photographer Andrew McCarthy, who posted the stunning image to his Instagram in April, there’s a simple explanation for the unprecedented level of detail in his work — this lunar view is actually “impossible.”

                                      “This moon might look a little funny to you, and that’s because it is an impossible scene,” McCarthy wrote on Instagram. “From two weeks of images of the waxing moon, I took the section of the picture that has the most contrast … aligned and blended them to show the rich texture across the entire surface.”

                                      The high-contrast section of the moon that McCarthy referred to is called the “lunar terminator” — the long line in the sand (or regolith, if you prefer) that divides the moon’s Earth-facing side between darkness and light. This terminator line moves around constantly depending on the phase of the moon, revealing or concealing new sections of the lunar surface each day. Because the terminator line heightens the contrast between the light and dark sides of the moon’s face, shadows look elongated and intensified in craters closest to the terminator.

                                      moon.jpg

                                      Create a working config
                                      How to add modules

                                      1 Reply Last reply Reply Quote 1
                                      • Y Offline
                                        yomm
                                        last edited by sdetweil

                                        Hello,

                                        Thanks a lot for your work on this addon.
                                        I would like to hide the information about the distance to get just the image. I read carefully the README but I cannot find this configu trick.
                                        Could you please tell me how ?

                                        Here is my conf :

                                                       {
                                                                disabled: false,
                                                                module: 'MMM-Lunartic',
                                                                position: 'top_center', // Best in left, center, or right regions
                                                                classes: 'scheduler',
                                                                config: {
                                                                        module_schedule: {from: '0 21 * * *', to: '0 8 * * *' },
                                                                        mode: "rotating", // rotating or static
                                                                        image: "current", // animation, current, DayNight or static
                                                                        distance: "km", // miles or km
                                                                        sounds: "no", // 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: "200px",
                                                                        animationSpeed: 10,
                                                                        rotateInterval: 15000,
                                                                }
                                                        },
                                        

                                        Thanks for advance.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @yomm
                                          last edited by

                                          @yomm please edit the post and use the code block, mark the section of text and hit the </> thing above the edit window

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • Y Offline
                                            yomm
                                            last edited by

                                            I got this… its all in the css.

                                            S Mykle1M 2 Replies Last reply Reply Quote 1

                                            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
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 11 / 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