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-BMW-DS (A different kind of weather module)

    Scheduled Pinned Locked Moved Utilities
    65 Posts 13 Posters 57.6k Views 11 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 @jorgeb1502
      last edited by

      @jorgeb1502

      Please post your config.js entry for this module in a code block so I can have a look at it. xxxxxx out your apiKey before posting

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • J Offline
        jorgeb1502
        last edited by jorgeb1502

        Never mind. Found a typo in the config. Working now. Is it possible to use this with a different language?

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

          @jorgeb1502 said in MMM-BMW-DS (A different kind of weather module):

          Is it possible to use this with a different language?

          I think the API does offer the data in different languages. I will take a look at that, and when time permits, I’ll update the module.

          EDIT:

          I’ll post the update tomorrow. I’m done for the night.

          Create a working config
          How to add modules

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

            @jorgeb1502

            I’ve completed the update. The module now has language translations straight from the API itself. Please do a git pull in your MMM-BMW-DS directory or install as per the readme. There is an amended config entry in the readme so please take note of that.

            Let me know how that works for you.

            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

              Update

              Now with full language support from the Darksky API.

              Download:

              [card:mykle1/MMM-BMW-DS]

              Version 1.0.3

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 1
              • J Offline
                jorgeb1502
                last edited by

                Works perfectly! Thanks!

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

                  @jorgeb1502

                  You’re welcome, mate. Have fun! :-)

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 1
                  • cirdanC Offline
                    cirdan
                    last edited by

                    Like it mykle, even an lord of the rings theme

                    Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

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

                      @cirdan

                      Thank you, my friend. :-)

                      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

                        Fixed an issue that was brought to my attention by github user 73cirdan. I don’t know if he is the same as @cirdan but I would guess they are one and the same person. My thanks!

                        Do a git pull for the updated file or install as per the readme

                        Create a working config
                        How to add modules

                        J 1 Reply Last reply Reply Quote 1
                        • cirdanC Offline
                          cirdan
                          last edited by

                          Yep, that’s me, thanks for the fix mate

                          Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                          1 Reply Last reply Reply Quote 1
                          • J Offline
                            jorgeb1502 @Mykle1
                            last edited by

                            @mykle1

                            I have another request for this module. Is it possible to show the time in 24h instead of am/pm?

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

                              @jorgeb1502 said in MMM-BMW-DS (A different kind of weather module):

                              Is it possible to show the time in 24h instead of am/pm?

                              Let me take a look at it. That should not be a problem. :-)

                              Create a working config
                              How to add modules

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

                                @jorgeb1502

                                Feature

                                This really should have been included from the beginning. I guess it just didn’t cross my mind. Anyway, . . .

                                The module will now read the timeFormat: 12, (or 24) of your config and display the correct time format.

                                Do a git pull or install as per the readme

                                EDIT: Thanks CBD!

                                Create a working config
                                How to add modules

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

                                  Minor Update

                                  **Now with sound support for rain, thunder and wind

                                  Download:

                                  [card:mykle1/MMM-BMW-DS]

                                  Version 1.0.4

                                  You can use your own mp3 sound files as long as you name them rain.mp3, thunder.mp3 and wind.mp3 and place them in the sounds folder of the module itself.

                                  git pull or install as per the readme

                                  Create a working config
                                  How to add modules

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

                                    i just installed this module, and the default CSS causes the display to take over the entire screen…

                                    css:1, fixes it… I ‘assume’ the default should be 1?

                                    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 said in MMM-BMW-DS (A different kind of weather module):

                                      i just installed this module, and the default CSS causes the display to take over the entire screen…
                                      css:1, fixes it… I ‘assume’ the default should be 1?

                                      Sorry the module is giving you trouble. You should not have a “default.css” file at all. In the css folder of the module there should only be 6 css files, named:

                                      MMM-BMW-DS1.css
                                      MMM-BMW-DS2.css
                                      MMM-BMW-DS3.css
                                      MMM-BMW-DS4.css
                                      MMM-BMW-DS5.css
                                      MMM-BMW-DS6.css
                                      

                                      Maybe the way I implemented this, or documented this, is not very clear. I do apologize for that. If you have a suggestion for cleaning this up I would appreciate that, or if the problem is something else then please assist me in understanding and correcting.

                                      Create a working config
                                      How to add modules

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

                                        your readme

                                          css: "1",                         // 1-6 (default, Clean, Lord of the Rings, Handwriting, etc)
                                        

                                        ok, what is ‘default’?

                                        ie, the setting if one doesn’t chose anything?

                                        if I do not supply the line above, what value will be used

                                        the screen shots show a line at the bottom of the page, so I ASSUME this must be the ‘default’ behavior…

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

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

                                          @sdetweil said in MMM-BMW-DS (A different kind of weather module):

                                          if I do not supply the line above, what value will be used

                                          Ok, I see. I’m off to dinner right now but I will correct that when I return. I’m sorry for the trouble and thank you for pointing that out to me.

                                          Create a working config
                                          How to add modules

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

                                            @sdetweil

                                            Ok, this is what I’ve done. I don’t know if this is the proper way of doing it but it does work.

                                            // Gets correct css file from config.js
                                                getStyles: function() {
                                                  if(this.config.css != ""){
                                                    return ["modules/MMM-BMW-DS/css/MMM-BMW-DS" + this.config.css + ".css"];
                                                  } else {
                                                    return ["modules/MMM-BMW-DS/css/MMM-BMW-DS1.css"]; // default.css
                                                  }
                                                },

                                            Create a working config
                                            How to add modules

                                            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
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • 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