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-NOAA - Another Weather Module

    Scheduled Pinned Locked Moved System
    690 Posts 77 Posters 2.9m Views 70 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.
    • MrBorgM Offline
      MrBorg @cowboysdude
      last edited by

      @cowboysdude Wow this one is difficult. I’m not sure where I can adjust this. You see my MMM-module part and my translation-files below (notice also “Lør” is correct but “Søn” is wrong).

      0_1509738559684_097dfce2-ccc9-4ff6-a303-ecbe4ae0ba3a-image.png

      0_1509738570808_f8a2f1b4-7d84-4e7b-b752-04cec642fbf5-image.png

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

        You guys are certainly keeping him busy. :-)

        Create a working config
        How to add modules

        tbbearT 1 Reply Last reply Reply Quote 2
        • tbbearT Offline
          tbbear Module Developer @Mykle1
          last edited by

          @Mykle1 he might get bored … lol

          Robert the Bear

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

            Being bored…is not an issue :) My new board just came for my 3d printer sooooooo …
            The last one caught on fire…yes caught on fire… so my new one and my mosfet is here and I’m gonna be playing with that tonight :)

            Thanks @tbbear and @sean for giving a hand :)

            As @tbbear pointed out there may be some issues with the translation files not working correctly… the pi is a funny beast to say the least :)

            SO if you are having issues I would take your translation file and use your keyboard in your language and re-type it that seems to be solving a lot of problems :)

            1 Reply Last reply Reply Quote 0
            • MrBorgM Offline
              MrBorg @MrBorg
              last edited by

              @MrBorg Well now it is solved (thanks to @tbbear) editing translation file in nano did the trick. So now it looks so fine (perfect from my OCD point of view)

              0_1509744205684_fb99128f-731d-4d69-bc9e-6c5a811ca4a3-image.png

              And i have attached a new corrected da.json file with some minor improvements.

              [0_1509744254495_da.json](Uploader 100%)

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

                @tbbear said in MMM-NOAA - Another Weather Module:

                he might get bored … lol

                Him? Not a chance! :-)

                Create a working config
                How to add modules

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

                  @MrBorg Thank you!! @tbbear for solving this riddle! :)

                  Your file didn’t upload but that’s okay just go to github and copy over the da.json file and do a pull request then I’ll approve it :)

                  Now back to my 3d printer repairs :) LOL

                  MrBorgM 1 Reply Last reply Reply Quote 1
                  • MrBorgM Offline
                    MrBorg @cowboysdude
                    last edited by

                    @cowboysdude Hi Uploads are disabled.
                    File uploads require push access to this repository.

                    Mykle1M cowboysdudeC 2 Replies Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @MrBorg
                      last edited by

                      @MrBorg

                      Fork the repo
                      Make your changes
                      Make a Pull Request

                      Create a working config
                      How to add modules

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

                        @MrBorg You can edit a file and do a pull request :)

                        MrBorgM 1 Reply Last reply Reply Quote 0
                        • N Offline
                          nobita @cowboysdude
                          last edited by nobita

                          @cowboysdude, How to Convert name of month (in number) to short or long word like as
                          1= Jan,2=Feb …
                          0_1509876332152_ask.jpg

                          Thanks for all your hints many time, because I’m beginer not expert in program

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

                            @nobita You’re welcome :)

                            I would have to change the code to do that…That would take a bit of rewriting…

                            1 Reply Last reply Reply Quote 0
                            • MrBorgM Offline
                              MrBorg @cowboysdude
                              last edited by

                              @cowboysdude Hi I have made my first fork and pull request on GitHub ever. A new DA-translation file is ready for you.

                              Mykle1M cowboysdudeC 2 Replies Last reply Reply Quote 3
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer @MrBorg
                                last edited by

                                @MrBorg said in MMM-NOAA - Another Weather Module:

                                Hi I have made my first fork and pull request on GitHub ever

                                Yeah, that’s the ticket! :-)

                                Create a working config
                                How to add modules

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

                                  @MrBorg Thank you my friend…approved :) And Thank you!!!

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

                                    Testing out something new… stay tuned.

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

                                      Thanks @tbbear for testing this for me…[AND updating the css for the icons]

                                      We now have Night icons :)

                                      0_1510543744008_nighttime.png

                                      Other changes:
                                      When there is no wind the wind info won’t show up. No sense seeing: Wind: 0 :)

                                      do your git pull to update main js, css and icons

                                      Enjoy!

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

                                        @Snille SO a question for you …do you know how to work with a Promise?

                                        We are trying to translate the alerts in natives languages and we are getting back a promise but do not know how to process that.

                                        Any help would be great!!

                                        Thank you!

                                        This is what we have:

                                        var foo = translate(alerts.description, {from: 'en', to: this.config.lang}).then(function(resexp) { return resexp });
                                        
                                        

                                        this is the return:

                                        0_1511321212138_primise.png

                                        How can I do that and get the pending promise?

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

                                          With a HUGE THanks @tbbear who did ALL the work on the alerts!!

                                          Now the alerts come back in your native language!!

                                          Get your fresh update here:

                                          https://github.com/cowboysdude/MMM-NOAA

                                          by going to your

                                          MagicMirror/modules/MMM-NOAA
                                          git pull

                                          Thank you @tbbear for ALL the work on this!!! Excellent addition!

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

                                            @cowboysdude said in MMM-NOAA - Another Weather Module:

                                            Thank you @tbbear for ALL the work on this!!! Excellent addition!

                                            Then I guess everyone should thank him, including me. Thanks Robert! How nice of you to contribute. You rock!

                                            Create a working config
                                            How to add modules

                                            1 Reply Last reply Reply Quote 3

                                            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
                                            • 15
                                            • 16
                                            • 17
                                            • 18
                                            • 19
                                            • 34
                                            • 35
                                            • 17 / 35
                                            • 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