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.
    • StoffbeuteluweS Offline
      Stoffbeuteluwe Project Sponsor @Mykle1
      last edited by

      @Mykle1 thanks 🙏

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

        @Stoffbeuteluwe

        This is a quote from their website. Upper left of the page. https://www.usno.navy.mil/USNO/astronomical-applications/data-services

        The USNO websites aa.usno.navy.mil, ad.usno.navy.mil, aristarchus.usno.navy.mil, maia.usno.navy.mil, rorf.usno.navy.mil, toshi.usno.navy.mil, and tycho.usno.navy.mil are undergoing modernization efforts. The expected completion of the work and the estimated return of service is Fall 2020, subject to change due to potential impacts of COVID-19.

        Create a working config
        How to add modules

        qu1queQ StoffbeuteluweS T 3 Replies Last reply Reply Quote 0
        • qu1queQ Offline
          qu1que Project Sponsor @Mykle1
          last edited by qu1que

          @Mykle1

          I already feel a little sorry for the coronavirus. It always takes the blame for many things that cannot be done. [It’s a joke :face_with_stuck-out_tongue_winking_eye: ]

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

            @qu1que said in MMM-Lunartic:

            @Mykle1

            I already feel a little sorry for the coronavirus. It always takes the blame for many things that cannot be done. [It’s a joke :face_with_stuck-out_tongue_winking_eye: ]

            EVERYONE blames the virus for all the things that they don’t do LOL I’m tired of it.

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

              @Mykle1 Thanks for the News…hope it will work in 2021. :face_with_stuck-out_tongue_winking_eye:

              1 Reply Last reply Reply Quote 1
              • T Offline
                trividar @Mykle1
                last edited by

                @mykle1 Is this module working again or still down? thx

                Z cowboysdudeC 2 Replies Last reply Reply Quote 0
                • Z Offline
                  Zoltan @trividar
                  last edited by

                  @trividar The module works fine if you use the moon pictures that comes with the installation (The temporary fix method). My country is blocked from the navy site so that never worked for me historically

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    trividar @Zoltan
                    last edited by

                    @zoltan Thanks thank you for your answer, you are right the module works perfectly.
                    Just one more question, how can I set it up, that the information (just next full moon date) is unter the moon picture not on the left side inside the moon?
                    Bildschirmfoto 2021-11-11 um 09.05.19.png

                    Thank you

                    Z 1 Reply Last reply Reply Quote 0
                    • Z Offline
                      Zoltan @trividar
                      last edited by

                      @trividar I am not too sure on that one.
                      One thing that you can be on the lookout with this module is the following. There is two pictures missing if i remember correctly. You will have to edit your js file to fix this. just compare your available picture names with the names in the js file that is being called

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

                        @trividar Still down…

                        1 Reply Last reply Reply Quote 1
                        • B Offline
                          brianlove
                          last edited by

                          Any updates or is there a way to pull from another source? Mine isn’t working…

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            Anthony Project Sponsor
                            last edited by

                            @Mykle1 Hello there. I know that this is a very old topic but I want ask you something about a part of code you have inside this modules js and you have comment that we can copy paste this part of code into any module we want to control with voice. I mean this part of code:

                              notificationReceived: function(notification, payload) {
                                    if (notification === 'HIDE_MOON') {
                                        this.hide(1000);
                                        //    this.updateDom(300);
                                    } else if (notification === 'SHOW_MOON') {
                                        this.show(1000);
                                        //   this.updateDom(300);
                                    }
                            
                                },
                            

                            My question is that I must paste the code into the any module’s .js folder or somewhere else? If I paste it into the module’s .js folder won’t it be deleted after next update? Thank you in advance.

                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              sdetweil @Anthony
                              last edited by

                              @Anthony he is not available currently. yes there is that risk. but you could fork the module repo, add that code to the module .js file , and submit a pull request back to the module author to get that code included.

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              A 1 Reply Last reply Reply Quote 0
                              • A Offline
                                Anthony Project Sponsor @sdetweil
                                last edited by

                                @sdetweil Thank you for your rapid reply. This a very good tool for me where I am not familiar with coding. I will do it. Thank you again.

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  DezHak
                                  last edited by

                                  Super cool, def gonna check this out asap! Thanks for sharing.

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

                                    I need to update this module. Is there a preferred way to do so?

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sdetweil @BD0G
                                      last edited by

                                      @BD0G said in MMM-Lunartic:

                                      update this module.

                                      updating ANY/EVERY module is the same

                                      cd ~/MagicMirror/modules/module_name
                                      git pull

                                      if there is a package.json after git pull, do
                                      npm install

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

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

                                        @sdetweil OK. Perfect. Been out of the game for a while so I might have known that but forgotten.

                                        I ran into a commit changes or stash message.

                                        pi@MagicMirror:~/MagicMirror/modules/MMM-Lunartic $ git pull
                                        Updating c977e14…00655ab
                                        error: Your local changes to the following files would be overwritten by merge:
                                        MMM-Lunartic.js
                                        Please commit your changes or stash them before you merge.
                                        error: The following untracked working tree files would be overwritten by merge:
                                        package.json
                                        Please move or remove them before you merge.
                                        Aborting

                                        Just sudo git pull ? Then since it mentions the package.json do an npm install?

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @BD0G
                                          last edited by

                                          @BD0G someone has edited the source file…

                                          NEVER do this, as your changes WILL be lost
                                          ALL configuration is done in config.js

                                          git diff

                                          to detemine WHAT changes were made…

                                          then to restore the file (and lose the changes)

                                          git checkout MMM-Lunartic.js

                                          same with package.json

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

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

                                            @sdetweil pi@MagicMirror:~/MagicMirror/modules/MMM-Lunartic $ git diff
                                            diff --git a/MMM-Lunartic.js b/MMM-Lunartic.js
                                            index 1520d0a…df2718c 100644
                                            — a/MMM-Lunartic.js
                                            +++ b/MMM-Lunartic.js
                                            @@ -38,9 +38,7 @@ Module.register(“MMM-Lunartic”, {
                                            es: “translations/es.json”,
                                            de: “translations/de.json”,
                                            sv: “translations/sv.json”,

                                            •        nl: "translations/nl.json",
                                              
                                            •        gl: "translations/gl.json",
                                              
                                            •        ca: "translations/ca.json",
                                              
                                            •        nl: "translations/nl.json"
                                                 };
                                              
                                              },

                                            @@ -50,16 +48,16 @@ Module.register(“MMM-Lunartic”, {
                                            requiresVersion: “2.1.0”,

                                                     //  Set locale.
                                            
                                            •    this.url = "https://mykle.herokuapp.com/moon";
                                              
                                            • // this.url = this.getUrl();
                                              :
                                            S 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
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 13 / 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