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
      last edited by Mykle1

      Due to Weather Underground closing its free API, and at the suggestion of @cowboysdude, I’ve rewritten MMM-BMW to work with the Darksky api, which still offers a free plan.

      Description:

      Bugger My Weather - Darksky

      • This was designed for use in the bottom_bar position of your MagicMirror

      • Can share bottom bar position with newsfeed module via Hello_Lucy

      See here: https://www.youtube.com/watch?v=mTGoxM6JyBE

      • Minutely updates for current conditions

      • CSS provided for coloring and sizing. Make it your own.

      • 6 Built in font choices

      Click on examples for a better view

      • Default white

      0_1532735545431_1.png

      • Colored and summary hidden

      0_1532735560493_2.png

      Download:

      [card:mykle1/MMM-BMW-DS]

      Version 1.0.1

      Create a working config
      How to add modules

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

        @cowboysdude was kind enough to show me one way of using different fonts in my module. My gratitude to him. Here’s a look. Simply click the image for an expanded, more pleasing view.

        0_1532998146476_21.png

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 2
        • bheplerB Offline
          bhepler Module Developer
          last edited by

          I like this. It’s tight and conveys a lot of information in little real estate.

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

            I like it, then I unliked it…then I liked it again LOL

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

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

              I like this. It’s tight and conveys a lot of information in little real estate.

              Thanks bro. That was definitely my intention.

              Create a working config
              How to add modules

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

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

                I like it, then I unliked it…then I liked it again

                Hahaha. Dude, thanks for your help.

                Create a working config
                How to add modules

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

                  Good afternoon,
                  which format you are using for the LON/LAT koordinates?
                  Iam getting “boring Weather” every time

                  Thanks for respond
                  regards

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

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