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 49.5k 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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 3 / 7
                        • 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