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 @Fonfon
      last edited by

      @Fonfon said in MMM-Lunartic:

      I’m happy to contribute !

      Great! Thank you. I’ll change those right now

      Create a working config
      How to add modules

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

        @Fonfon said in MMM-Lunartic:

        I’m happy to contribute !

        How about the two words?

        waxing = ? (The moon is waxing)
        waning = ? (The moon is waning)

        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

          Good?

          {
          "Distance from Earth's core = ": "Distance du noyau terrestre = ",
          "Distance from sun = ": "Distance du soleil = ",
          "The next full moon is ": "Prochaine pleine lune: ",
          "The next new moon is ": "Prochaine nouvelle lune: ",
          "The current moon is ": "La lune actuelle a ",
          "The moon is ": "La lune a ",
          "% illuminated": "% illuminée",
          " days old": " jours",
          "waxing": " croissance",
          "waning": "diminue",
          "When the Moon hits your eye . . .": "Quand la lune frappe votre œil. . ."
          }
          

          Create a working config
          How to add modules

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            Fonfon @Mykle1
            last edited by

            Now is good

            @Mykle1 said in MMM-Lunartic:

            Good?

            {
            "Distance from Earth's core = ": "Distance du noyau terrestre = ",
            "Distance from sun = ": "Distance du soleil = ",
            "The next full moon is ": "Prochaine pleine lune: ",
            "The next new moon is ": "Prochaine nouvelle lune: ",
            "The current moon is ": "La lune actuelle a ",
            "The moon is ": "La lune a ",
            "% illuminated": "% illuminée",
            " days old": " jours",
            "waxing": " croissante",
            "waning": "décroissante",
            "When the Moon hits your eye . . .": "Quand la lune frappe votre œil. . ."
            }
            
            Mykle1M 2 Replies Last reply Reply Quote 1
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @Fonfon
              last edited by

              @Fonfon said in MMM-Lunartic:

              Now is good

              You rock! :-)

              Create a working config
              How to add modules

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

                @Fonfon said in MMM-Lunartic:

                Now is good

                Please do this one as well

                “waxing”: “croissance”,
                “waxing gibbous”:“Glacier”,
                “full”: “plein”,
                “wanning gibbous”:“lune gibbeuse décroissante”,
                “third quarter”: “troisième quart”,
                “waning crescent”:“Croissant décroissant”,
                “new”: “Nouveau”,
                “waxing crescent”:“Croissant de cire”,
                “first quarter”:“premier quart”
                

                Create a working config
                How to add modules

                F 1 Reply Last reply Reply Quote 0
                • F Offline
                  Fonfon @Mykle1
                  last edited by

                  I think that’s it
                  @Mykle1 said in MMM-Lunartic:

                  @Fonfon said in MMM-Lunartic:

                  Now is good

                  Please do this one as well

                  “waxing”: “croissante”,
                  “waxing gibbous”:“Gibbeuse croissante”,
                  “full”: “pleine”,
                  “wanning gibbous”:“Gibbeuse décroissante”,
                  “third quarter”: “troisième quartier”,
                  “waning crescent”:“Croissante”,
                  “new”: “Nouvelle”,
                  “waxing crescent”:“Décroissante”,
                  “first quarter”:“premier quartier”
                  
                  Mykle1M 1 Reply Last reply Reply Quote 1
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @Fonfon
                    last edited by

                    @Fonfon said in MMM-Lunartic:

                    I think that’s it

                    Thank you again. I’ll add that to the module right now

                    Create a working config
                    How to add modules

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

                      A special Thank You to @Fonfon for his English to French translation for this module. Bravo!

                      Create a working config
                      How to add modules

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

                        Also, a special Thank You to @cowboysdude for his help and guidance on implementing translations within the module.

                        Create a working config
                        How to add modules

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

                          In the unlikely event that someone else is interested in translating this module to their own language, simply substitute your language translation on the right, replacing the French translation INSIDE the quotes. I will gladly add it to the module.

                          {
                          "Distance from Earth's core = ": "Distance du noyau terrestre = ",
                          "Distance from sun = ": "Distance du soleil = ",
                          "The next full moon is ": "Prochaine pleine lune: ",
                          "The next new moon is ": "Prochaine nouvelle lune: ",
                          "The current moon is ": "La lune actuelle a ",
                          "The moon is ": "La lune a ",
                          "% illuminated": "% illuminée",
                          " days old": " jours",
                          "waxing": " croissance",
                          "waning": "décroissante",
                          "waxing": "croissante",
                          "waxing gibbous":"Gibbeuse croissante",
                          "full": "pleine",
                          "wanning gibbous":"Gibbeuse décroissante",
                          "third quarter": "troisième quartier",
                          "waning crescent":"Croissante",
                          "new": "Nouvelle",
                          "waxing crescent":"Décroissante",
                          "first quarter":"premier quartier",
                          "When the Moon hits your eye . . .": "Quand la lune frappe votre œil. . ."
                          }
                          

                          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

                            Description:

                            Up to the minute information about our Lunar partner, with a splash of EyeCandy, to boot!

                            Update:

                            Now with French translation. Other languages to follow, upon request.

                            Download:

                            [card:mykle1/MMM-Lunartic]

                            Version 1.0.1

                            Create a working config
                            How to add modules

                            1 Reply Last reply Reply Quote 1
                            • F Offline
                              Fonfon
                              last edited by Fonfon

                              Hi !

                              module work great but small mistakes
                              here is the perfect french translation.

                              Distance from Earth’s core = ": "Distance du noyau terrestre = ",
                              "Distance from sun = ": "Distance du soleil = ",
                              "The next full moon is ": "Prochaine pleine lune: ",
                              "The next new moon is ": "Prochaine nouvelle lune: ",
                              "The current moon is ": "La lune actuelle est a ",
                              "The moon is “: “La lune est “,
                              “% illuminated”: “% illuminée”,
                              " days old”: " jours”,
                              “waxing”: " croissante”,
                              “waning”: “décroissante”,
                              “When the Moon hits your eye . . .”: “Quand la lune frappe votre œil. . .”
                              }

                              Other question the text is not perfectly under the animated picture but a little on the left.
                              is it possible to modify that ?

                              thanks Mykle1 ;)

                              Mykle1M 3 Replies Last reply Reply Quote 0
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer @Fonfon
                                last edited by

                                @Fonfon said in MMM-Lunartic:

                                Other question the text is not perfectly under the animated picture but a little on the left.
                                is it possible to modify that ?

                                Good morning Fonfon,

                                Take a look at the MMM-Lunartic.css file in your MMM-Lunartic folder. There you can change the color and positioning of every line of the module. You can also change the position of the animated picture, up, down, left, right. Ideally, you should copy and paste those entries into your custom.css file and do the editing there.

                                Take a screenshot of the module, post it here, and tell me what you want to achieve.

                                By default, all the text is aligned to the left text-align: left;. If you want to center the text under the animated picture, simply change all the text-align: left; to text-align: center;

                                Create a working config
                                How to add modules

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

                                  @Fonfon said in MMM-Lunartic:

                                  here is the perfect french translation.

                                  Fixed, thank you!

                                  git pull in the MagicMirror/modules/MMM-Lunartic folder for the corrected translation

                                  Create a working config
                                  How to add modules

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

                                    @Fonfon said in MMM-Lunartic:

                                    the text is not perfectly under the animated picture but a little on the left.

                                    0_1503853946490_212.JPG

                                    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 Mykle1

                                      Update:

                                      The API I was using for this module is no longer available. What was I to do?

                                      Provide my own API. :^)

                                      So, along with the new API, there is a new config option to view an image of the appearance of the current moon, updated minutely. Courtesy of the U.S. Navy. Salute!

                                      Download:

                                      [card:mykle1/MMM-Lunartic]

                                      Version 1.0.2

                                      Example

                                      0_1509372253508_dd.JPG

                                      Create a working config
                                      How to add modules

                                      1 Reply Last reply Reply Quote 1
                                      • T Offline
                                        thetalentedfool
                                        last edited by thetalentedfool

                                        Noob questions!

                                        1. When I pull the latest files, both the core .js files have Windows control characters in them. (I don’t think this is the source of my problems, but it seems maybe unintentional.)

                                        2. My fresh stock MM install does not like the config files for this module. It’s the only custom module I’ve tried to add in this install. Whenever I add it to my main config, startup throws a config validation error and reverts to the default file. I’m having a hard time debugging it to provide a more precise error, since it’s just failing out at the initial validation stage. Any ideas how I can debug more precisely?

                                        Thanks!

                                        strawberry 3.141S Mykle1M 2 Replies Last reply Reply Quote 1
                                        • strawberry 3.141S Offline
                                          strawberry 3.141 Project Sponsor Module Developer @thetalentedfool
                                          last edited by

                                          @thetalentedfool you can put your config here so we can have a look

                                          Please create a github issue if you need help, so I can keep track

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

                                            @thetalentedfool said in MMM-Lunartic:

                                            I don’t think this is the source of my problems, but it seems maybe unintentional.)

                                            It’s not, but thank you for bringing that to my attention.

                                            The problem is/was completely my fault. In a recent update to the repo, specifically the README file, I failed to place a comma at the end of the image: "animation" line of the config entry. I’ve updated the repo and apologize for the error. Your config entry should now look like this:

                                            {
                                                    module: 'MMM-Lunartic',
                                                    position: 'top_left',                   // Best in left, center, or right regions
                                                    config: { 
                                            		image: "animation",                     // animation, current or static
                                            		distance: "miles",                      // miles or km
                                            		useHeader: false,                       // true if you want a header
                                            		header: "The Lunartic is in my head",   // Any text you want
                                            		maxWidth: "300px",
                                            		animationSpeed: 3000,                   // updated info fades in and out
                                                    }
                                                },
                                            

                                            If you have any further problems or questions, don’t hesitate to post for assistance. Thanks!

                                            Peace

                                            Create a working config
                                            How to add modules

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