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-DarkSkyForecast - Yet ANOTHER weather module

    Scheduled Pinned Locked Moved Utilities
    334 Posts 67 Posters 836.0k Views 74 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.
    • michael5rM Offline
      michael5r Module Developer @kwabenalexx
      last edited by

      @kwabenalexx Add:

      units: 'us'
      

      to the DarkSkyForecast config to switch to imperial units. It’s the default for darksky, but not the default for this module.

      K J 2 Replies Last reply Reply Quote 0
      • K Offline
        kwabenalexx @michael5r
        last edited by

        @michael5r i added that to the config file and i get ‘‘Please create a config File’’ page

        1 Reply Last reply Reply Quote 0
        • K Offline
          kwabenalexx
          last edited by

          it’s fixed. thanks for all your help. i had to add a comma (,)

          1 Reply Last reply Reply Quote 0
          • J Offline
            j.e.f.f Project Sponsor Module Developer @michael5r
            last edited by

            @michael5r said in MMM-DarkSkyForecast - Yet ANOTHER weather module:

            Add:
            units: ‘us’

            to the DarkSkyForecast config to switch to imperial units. It’s the default for darksky, but not the default for this module.

            Yeah I did that intentionally because I’m Canadian and Imperial units make no sense to me ;)

            1 Reply Last reply Reply Quote 0
            • J Offline
              j.e.f.f Project Sponsor Module Developer
              last edited by

              Hi folks

              Just wanted to let you know that with the latest update of this module, I’ve modified it to use the Nunjucks HTML templating system. This means as of version 1.6 of MMM-DarkSkyForecast, you’ll need to run it on MagicMirror 2.2.0 or later. It won’t run at all on older versions.

              If you’re running an older version of MagicMirror and you still want to use my module, then please download the source for version 1.5 from here:

              https://github.com/jclarke0000/MMM-DarkSkyForecast/releases/tag/v1.5

              Note that I will not update v1.5 with any new features or bug fixes. All future development work will be done against v1.6 and above. If you want the latest and greatest, then you’ll need to update MagicMirror.

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

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • S Offline
                  Smotx
                  last edited by Smotx

                  hello,

                  how to reduce space between lines ?

                  alt text

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    j.e.f.f Project Sponsor Module Developer @Smotx
                    last edited by

                    @smotx said in MMM-DarkSkyForecast - Yet ANOTHER weather module:

                    hello,

                    how to reduce space between lines ?

                    alt text

                    I’m assuming you mean the lines in the forecast when using the table layout. Here’s how:

                    .MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item > span,
                    .MMM-DarkSkyForecast .wrapper.table .forecast-container .header-row > span {
                      height: 40px;  /* Adjust this to taste */
                    }
                    

                    At some point you will be limited by the size of the icons, in which case if you want to go smaller, you can do this:

                    .MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item .forecast-icon {
                      width: 30px;
                      height: 30px; /* adjust these to taste */
                    }
                    

                    Finally, if it’s still not small enough for you, make the font size smaller like so:

                    .MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item > span,
                    .MMM-DarkSkyForecast .wrapper.table .forecast-container .header-row > span {
                      font-size: 17px;  /* Adjust this to taste */
                    }
                    
                    S 1 Reply Last reply Reply Quote 0
                    • M Offline
                      Messel
                      last edited by

                      Hi all, I love this module, but I updated to the latest version today, and my main icon disappeared. It just shows the temperature, no animated sun or (most likely) rain icon.

                      Can anyone see what is wrong?

                      This is my config:

                      {
                      module: “MMM-DarkSkyForecast”,
                      header: “Værmeldingen”,
                      position: “top_right”,
                      classes: “default everyone”,
                      disabled: false,
                      config: {
                      apikey: “XXXX”,
                      latitude: “62.737709”,
                      longitude: “7.160910”,
                      maxDailiesToShow: “2”,
                      showHourlyForecast: false,
                      label_days: [“Søndag”, “Mandag”, “Tirsdag”, “Onsdag”, “Torsdag”, “Fredag”, “Lørdag”],
                      label_high: “Høy”,
                      label_low: “Lav”,
                      iconset: “3c”,
                      concise: false,
                      forecastLayout: “tiled”
                      }

                      J 1 Reply Last reply Reply Quote 0
                      • S Offline
                        Smotx @j.e.f.f
                        last edited by

                        @j-e-f-f

                        Thx but, i have changed 3 settings on /home/pi/MagicMirror/modules/MMM-DarkSkyForecast/MMM-DarkSkyForecast.css

                        after reboot nothing has changed :(

                        it’s not MMM-DarkSkyForecast.css ?

                        J 1 Reply Last reply Reply Quote 0
                        • D Offline
                          dan-o
                          last edited by

                          @j-e-f-f

                          Same issue as @Messel - main icon has disappeared since updating just now. I’m on the latest version of MM, using icon set 4c.

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            j.e.f.f Project Sponsor Module Developer @Smotx
                            last edited by

                            @smotx Put the CSS into MagicMirror/css/custom.css

                            S 1 Reply Last reply Reply Quote 0
                            • J Offline
                              j.e.f.f Project Sponsor Module Developer @Messel
                              last edited by

                              @messel I just tried your exact config, and it worked for me just fine. What version of MM are you running?

                              M 1 Reply Last reply Reply Quote 0
                              • M Offline
                                Messel @j.e.f.f
                                last edited by

                                @j-e-f-f

                                Sorry for the late answer, I was sleeping :) and that probably did the trick, because the main icon is back. I don’t know what happened. Doesn’t matter, I’m happy. Thanks

                                J 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  Smotx @j.e.f.f
                                  last edited by

                                  @j-e-f-f

                                  Ok but nothing change^^.

                                  thanks anyway

                                  J 1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    j.e.f.f Project Sponsor Module Developer @Messel
                                    last edited by

                                    @messel I’ve since been able to replicate your problem. Has to do with the animated icon dray command. In some cases it gets executed before the DOM is updated. I’m working on a fix.

                                    J 1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      j.e.f.f Project Sponsor Module Developer @j.e.f.f
                                      last edited by

                                      @messel @dan-o I think I’ve fixed your issue. Do a git pull in the MMM-DarkSkyForecast directory and restart MM.

                                      1 Reply Last reply Reply Quote 1
                                      • J Offline
                                        j.e.f.f Project Sponsor Module Developer @Smotx
                                        last edited by

                                        @smotx said in MMM-DarkSkyForecast - Yet ANOTHER weather module:

                                        @j-e-f-f

                                        Ok but nothing change^^.

                                        thanks anyway

                                        Can you post a screenshot of what you’re trying to change? I think I might be giving you incorrect instructions.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          Smotx @j.e.f.f
                                          last edited by Smotx

                                          @j-e-f-f

                                          I want to reduce free space identified by “red areas” on this screen :

                                          alt text

                                          J 2 Replies Last reply Reply Quote 0
                                          • J Offline
                                            j.e.f.f Project Sponsor Module Developer @Smotx
                                            last edited by

                                            @smotx screenshot didn’t come through. You don’t need to host the image on Imagur. You can upload it directly when editing your post. Just drag it in, or hit the cloud/upload icon.

                                            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
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 17 / 17
                                            • 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