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.7k 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 @flieger4711
      last edited by Mykle1

      @flieger4711

      Here is my config.js entry, showing my lat and long

      {
      	disabled: false,
      	module: "MMM-BMW-DS",
      	position: "bottom_bar",      // bottom_bar is best
      	config: {
      		apiKey: "YOUR API KEY GOES HERE", // Free API key @ darksky.net
      		tempUnits: "F",  // C of F
                      lat: '40.123456', 
                      lng: '-74.123456',  
      	        useHeader: false,   // true if you want a header                 
      		header: "Your header",
      		maxWidth: "100%",
      		}
      	},
      

      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

        Lord of the Rings version? ;-)

        Click on the image for a better view

        0_1533175969411_44.png

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • F Offline
          flieger4711
          last edited by

          Thank you Mykle1, but I live in Germany. Koord: N48… and E008…

          If I put in my Koordinates I get the message “Boring Weather”, but If I take the darksky.net I get the right values:

          https://api.darksky.net/forecast/7146c1592f88d9179586e0fa404aad4b/49.0069,8.4034

          any Idea?
          thanks and best regards

          justjim1220J Mykle1M 2 Replies Last reply Reply Quote 0
          • justjim1220J Offline
            justjim1220 Module Developer @flieger4711
            last edited by

            @flieger4711

            All your info is right there in that link…
            just add it into your code:

            {
            	disabled: false,
            	module: "MMM-BMW-DS",
            	position: "bottom_bar",
            	config: {
            		apiKey: "7146c1592f88d9179586e0fa404aad4b", // Free API key @ darksky.net
            		tempUnits: "C",
                            lat: '49.0069', 
                            lng: '8.4034',  
            	        useHeader: false,           // true if you want a header                 
            		header: "Your header",
            		maxWidth: "100%"
                 }
            },
            

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

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

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

              any Idea?

              I’ve fixed your issue and uploaded the new files to the repo. Please do a git pull in your MMM-BMW-DS directory. Now you can use your latitude and longitude (49.0069 & 8.4034) in the config.js entry. I just tested it for you.

              Thank you for your interest and please let me know that it 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 @justjim1220
                last edited by Mykle1

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

                All your info is right there in that link…
                just add it into your code:

                There was a problem with the API depending on location. I updated the module for @flieger4711. It will now function as intended.

                I don’t know who’s api key that is but it should not be posted in public.

                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

                  Minor Update:

                  Added a css config option with choice of 4 fonts from Google Fonts.

                  Please do a git pull in your MMM-BMW-DS directory or install as per the README here.

                  https://github.com/mykle1/MMM-BMW-DS

                  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

                    Minor Update:

                    • v1.0.2

                    Added 2 more font choices from Google Fonts and cleaned up the function responsible for css file selection, making it easier to quickly add just about any Google Font.

                    If you see a font you like here I can add it to the module upon request. https://fonts.google.com/

                    Please do a git pull in your MMM-BMW-DS directory or install as per the README here.

                    https://github.com/mykle1/MMM-BMW-DS

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      flieger4711
                      last edited by

                      It works now very fine for me.
                      Thanks for your quick assistance
                      best regards

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

                        @flieger4711

                        You’re welcome, friend. Enjoy your MM experience.

                        Create a working config
                        How to add modules

                        justjim1220J 1 Reply Last reply Reply Quote 0
                        • justjim1220J Offline
                          justjim1220 Module Developer @Mykle1
                          last edited by

                          @mykle1

                          here’s my css input…
                          0_1533781243349_Screenshot (24).png

                          "Life's Too Short To Dance With Ugly People"
                          Jim Hallock - 1995

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

                            @justjim1220

                            Ahh, glad you are playing with it. Looks great! :-)

                            Create a working config
                            How to add modules

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

                              Tried to add this to my mirror, but it doesn’t show up on the screen.

                              Mykle1M 1 Reply Last reply Reply Quote 0
                              • 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

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