• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 43.8k 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @flieger4711
    last edited by Mykle1 Aug 2, 2018, 1:11 AM Aug 2, 2018, 1:10 AM

    @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
    • M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by Aug 2, 2018, 2:13 AM

      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 Aug 2, 2018, 10:28 AM

        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

        J M 2 Replies Last reply Aug 2, 2018, 8:16 PM Reply Quote 0
        • J Offline
          justjim1220 Module Developer @flieger4711
          last edited by Aug 2, 2018, 8:16 PM

          @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

          M 1 Reply Last reply Aug 3, 2018, 1:41 AM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @flieger4711
            last edited by Aug 3, 2018, 1:37 AM

            @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
            • M Offline
              Mykle1 Project Sponsor Module Developer @justjim1220
              last edited by Mykle1 Aug 3, 2018, 2:00 AM Aug 3, 2018, 1:41 AM

              @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
              • M Offline
                Mykle1 Project Sponsor Module Developer
                last edited by Aug 4, 2018, 2:37 AM

                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
                • M Offline
                  Mykle1 Project Sponsor Module Developer
                  last edited by Mykle1 Aug 6, 2018, 1:30 AM Aug 6, 2018, 1:30 AM

                  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 Aug 6, 2018, 10:50 AM

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

                    M 1 Reply Last reply Aug 6, 2018, 1:20 PM Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @flieger4711
                      last edited by Aug 6, 2018, 1:20 PM

                      @flieger4711

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

                      Create a working config
                      How to add modules

                      J 1 Reply Last reply Aug 9, 2018, 2:21 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 2 / 7
                      2 / 7
                      • First post
                        12/65
                        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