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 @sdetweil
      last edited by

      @sdetweil

      I don’t know how I missed that. Thanks again for showing me the error of my ways. :-)

      // Module config defaults.
          defaults: {
              apiKey: "", // Get FREE API key from darksky.net
              tempUnits: "C", // C  or F
              lat: "40.123456", // Latitude
              lng: "-74.123456", // Longitude
              css: "1", // 1=default, 2=Clean, 3=Lord of the Rings, 4=handwriting, 5=Julee, 6=Englebert
              ownTitle: "Current Conditions", // Default = Current Conditions
              useHeader: false, // true if you want a header
              header: "Your Header", // Any text you want. useHeader must be true
              maxWidth: "100%",
              animationSpeed: 3000,
              initialLoadDelay: 4250,
              retryDelay: 2500,
              updateInterval: 5 * 60 * 1000,
      

      Create a working config
      How to add modules

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

        Mykle, kids called me at work today. magic mirror is making weird noises. 😀

        Afraid for hardware failure I went home only to find out mmmbmwds had added sounds and it rained for the first time.

        Would you consider building in a config switch to enable/disable sounds?

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

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

          Rename the mp3 files to something else

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

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

            Would you consider building in a config switch to enable/disable sounds?

            git pull in the MMM-BMW-DS directory and playSounds: "no" in the new config option. :thumbsup:

            Why can’t everything I try to do with modules be that easy?

            Create a working config
            How to add modules

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

              @mykle1 tnx for the quick fix.
              (At last peace returns to the grey havens 😁)

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

              1 Reply Last reply Reply Quote 1
              • R Offline
                RV Knight
                last edited by

                Hi, sorry about bringing back up this old post. I’m currently having issues with it, it’s displaying in the bottom with acquiring you weather but doesn’t go any further than that. I’ve checked the config as far as I can tell but I’m still having issues, would it be possible to have some help? Thanks

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

                  @RV-Knight

                  Please post your config entry for MMM-BMW-DS (in a code block) so I can take a look at it for you. It should look something like this:

                  {
                              disabled: false,
                              module: "MMM-BMW-DS",
                              position: "bottom_bar",
                              config: {
                                  apiKey: "123456789123456789", // Your api key from darksky.net
                                  ownTitle: "Current Conditions",
                                  tempUnits: "F", // C of F
                                  lat: '42.123456',
                                  lng: '-74.123456',
                                  css: "2",
                                  playSounds: "no",
                                  useHeader: false, // true if you want a header
                                  header: "Your header",
                                  maxWidth: "100%",
                              }
                          },
                  

                  You can also start your mirror using npm start dev. Click the Console tab in the window that opens (top left) and report any errors (appearing in RED). You may have to scroll

                  Create a working config
                  How to add modules

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

                    @RV-Knight

                    Have you made any progress?

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • LordyL Offline
                      Lordy
                      last edited by

                      Great Module, i loved

                      Mykle1M 1 Reply Last reply Reply Quote 1
                      • LordyL Offline
                        Lordy
                        last edited by

                        how or where can i enlarge the font and icon?
                        Wie oder wo kann ich die Schrift und das Symbol vergrößern?

                        Mykle1M 1 Reply Last reply Reply Quote 0
                        • LordyL Offline
                          Lordy
                          last edited by

                          thanks, I’ve already found (copy and paste in “custom.css”.

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

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

                            how or where can i enlarge the font and icon?
                            thanks, I’ve already found (copy and paste in “custom.css”.

                            Glad you found your solution. I post below some of the things you can use in custom.css for anyone that cares.

                            .MMM-BMW-DS .header {
                              color: yellow;                 /* Header color. */
                            }
                            
                            .MMM-BMW-DS .image {             /* icon size */
                               width: 1.75%;
                               height: 1.75%;
                               margin-top: 0px;
                               margin-bottom: -10px;
                            }
                            
                            .MMM-BMW-DS .current {
                              color: #FFFFFF;               /* Current text forecast color. Default is white. */
                              font-size: .6em;
                            }
                            
                            .MMM-BMW-DS .summary {
                              color: #FFFFFF;               /* General summary text forecast color. Default is white. */
                              font-size: .6em;  
                              display: none;                /* uncomment to hide */
                            }
                            
                            .MMM-BMW-DS .daily {
                              color: #FFFFFF;               /* Days of the week and hi/lo temp color. Default is white. */
                              font-size: .6em; 
                            }
                            

                            Create a working config
                            How to add modules

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

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

                              Great Module, i loved

                              Thank you, mate. :thumbsup:

                              Create a working config
                              How to add modules

                              1 Reply Last reply Reply Quote 1
                              • C Offline
                                cyberphox
                                last edited by

                                Cool module as always. Is there a setting somewhere for the summary?
                                Mine isn’t showing

                                Full time Dad, DJ and entertainer and lover of technology.

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

                                  @cyberphox

                                  My bad, bro. Was supposed to be showing by default with the ability of hiding the summary via css. So, I made the correction and pushed it to the repo. Do a git pull in the MMM-BMW-DS or install as per the readme and the summary will be displayed by default.

                                  Then, if you want to hide the summary you would add this to your custom.css file.

                                  .MMM-BMW-DS .summary {
                                     display: none; 
                                  }
                                  

                                  Create a working config
                                  How to add modules

                                  1 Reply Last reply Reply Quote 1
                                  • C Offline
                                    cyberphox
                                    last edited by

                                    Awesome! That did it! Thanks so much!

                                    Full time Dad, DJ and entertainer and lover of technology.

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

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

                                      Awesome! That did it! Thanks so much!

                                      You’re welcome, bro! :thumbsup:

                                      Thanks for pointing that out to me.

                                      Create a working config
                                      How to add modules

                                      1 Reply Last reply Reply Quote 1
                                      • G Offline
                                        gonzonia
                                        last edited by

                                        With the end of DarkSky API, I’ve forked this and updated it to use PirateWeather. https://github.com/gonzonia/MMM-BMW-PW

                                        All coding credit goes to @Mykle1 . I pretty much just changed the name and a URL. Pirateweather does not support languages though and that was removed.

                                        Cr4z33C 1 Reply Last reply Reply Quote 1
                                        • Cr4z33C Offline
                                          Cr4z33 @gonzonia
                                          last edited by

                                          @gonzonia any chance you might adapt it for Tomorrow.io (former ClimaCell) users too? :)

                                          G 2 Replies Last reply Reply Quote 0
                                          • G Offline
                                            gonzonia @Cr4z33
                                            last edited by

                                            @Cr4z33 PirateWeather was easy because it uses the same format as DarkSky. If Tomorrow.io does as well then theoretically it could be easy to add a config setting for the URL along with the existing API key setting.

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