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 835.5k 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.
    • C Offline
      chris1971
      last edited by chris1971

      So, I have added the nice module. I have to adjust the size - who can give some tips/ advice to bring the module in shape?

      0_1551897419895_Screenshot1.jpg

      I would like to have it in this shape:

      0_1551897514823_Bild1.jpg

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

        @chris1971

        I think this should do it for you. In your config entry

        forecastLayout: "tiled"

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • C Offline
          chris1971
          last edited by

          Yes, have “tiled” in the config - but the size is not like in the pic…the module is shown over the entire right screen size… pls. refer to the upper picture…

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

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

            Yes, have “tiled” in the config

            Oh, I’m sorry, because your config entry above says, forecastLayout: "table",

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • C Offline
              chris1971
              last edited by

              sorry - I copied the config of an older status…

              lavolp3L 1 Reply Last reply Reply Quote 0
              • lavolp3L Offline
                lavolp3 Module Developer @chris1971
                last edited by lavolp3

                @chris1971 Well the module gets wrapped because it doesn’t have enough space in the right bar.
                You could

                • exclude details in the forecast section (there’s an option)
                • give the right bar more space by determining it’s width with css
                • let the module show only 2 forecast items of each (instead of the 3 you have currently) (also via config options)

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                1 Reply Last reply Reply Quote 0
                • lavolp3L Offline
                  lavolp3 Module Developer
                  last edited by lavolp3

                  And of course you could switch off the long forecast text. I THINK you can do that as well via config options.

                  Go through the options of the module, there’s a LOT to adjust.

                  How to troubleshoot modules
                  MMM-soccer v2, MMM-AVStock

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    chris1971
                    last edited by chris1971

                    thanks- I tried to reduce the size of the long forecast text - do you know how to adjust? I think I have to do this in the DarkSky.css…

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      chris1971
                      last edited by chris1971

                      The adjustment of the width was the key factor… thx…
                      0_1551987141762_20190307_202606.jpg

                      But I do not found out how to adjust the font size or position of the long forecast text… Do I have to do this in the custom.css?

                      This is my try in the custom.css - but seem not to work as expected…

                      }

                      .MMM-DarkSkyForecast .module-content {
                      width: 400px;
                      }

                      .MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .wind-container,
                      .MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item .precipitation-container,
                      .MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item .wind-container {
                      display: none;
                      }
                      }
                      .MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item > span,
                      .MMM-DarkSkyForecast .wrapper.table .forecast-container .header-row > span {
                      font-size: 4px;
                      }
                      }

                      .MMM-DarkSkyForecast .attribution {
                      font-size: 10px;
                      line-height: 5px;
                      color: #333;
                      text-align: left;
                      }

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        chris1971
                        last edited by

                        After several trials I think it’s o.k.
                        Thanks for the support.
                        Chris
                        0_1551993447853_InkedScreenshot_final_LI.jpg

                        1 Reply Last reply Reply Quote 1
                        • CyruS1337C Offline
                          CyruS1337 Project Sponsor
                          last edited by

                          Good Morning all

                          First of all, thank you for the Herrvorrande weather module !!

                          Is it also possible to display different weather forecasts (two different locations)? For example, the locations alternate every 30 seconds.

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

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

                            Apart from that what shall I look to then once there’s an issue between your module and the one of someone else?

                            No idea :) But at least we’ll have a starting point as to where to look. Basically something is causing all of the modules to hide, and it has something to do with an interaction with mine. The only thing my module does to affect anything outside itself is to broadcast weather data whenever it updates to any other modules who want to use it. See if the module is reacting to the DARK_SKY_FORECAST_WEATHER_UPDATE notification.

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

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

                              Is it also possible to display different weather forecasts (two different locations)? For example, the locations alternate every 30 seconds.

                              Not in a rotation, as I believe that is what you are asking for. However you can configure multiple instances of the module, so you could have two forecasts that way. Keep in mind that this doubles the number of requests to the Dark Sky API, so you’ll want to be mindful that you don’t exceed the daily maximum of 1000 requests. You can tune how frequently the module polls for data with the updateInterval configuration parameter.

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

                                @chris1971 Did you run npm install in the MMM-DarkSkyForecast directory? Otherwise, what is the behaviour you are seeing?

                                C 1 Reply Last reply Reply Quote 0
                                • CyruS1337C Offline
                                  CyruS1337 Project Sponsor @j.e.f.f
                                  last edited by

                                  @j-e-f-f That’s too bad. Thanks anyway for the quick answer

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

                                    @j-e-f-f Yes I have executed npm install… everything is running smooth right now. Can you explain how I can set the font size of the forecast text?
                                    It would be great if you could implement time for sunrise/ sunset and a moonphase… :-)

                                    Thanks for the great module!!! Chris

                                    1 Reply Last reply Reply Quote 1
                                    • M Offline
                                      mielu80
                                      last edited by

                                      Hello,
                                      I’ve installed this weather module and I find it very nice but I have a little issue with it,a strange character like a rectangle appear in front of the temperature value. (marked with red in pic)
                                      Does anybody knows what could be the cause ?
                                      Had this issue on an old installation of raspbian + MagicMirror,also have it on a fresh reinstall of raspbian and magic mirror only the config file remained from old installation.
                                      0_1552332048346_Screenshot.png
                                      My config:

                                      <------><------>{
                                      <------><------><------>module: 'MMM-DarkSkyForecast',
                                      <------><------><------>position: 'right',
                                      <------><------><------>classes: 'default everyone',
                                      <------><------><------>disabled: false,
                                      <------><------><------>config: {
                                      <------><------><------><------>apikey: "xxxxx......xxxx....",
                                      <------><------><------><------>latitude: "44.426765",
                                      <------><------><------><------>longitude: "26.102537",
                                      <------><------><------><------>iconset: "5c",
                                      <------><------><------><------>concise: false,
                                      <------><------><------><------>forecastLayout: "table",
                                      <------><------><------><------>showHourlyForecast: true,
                                      <------><------><------><------>hourlyForecastInterval: 12,
                                      <------><------><------><------>maxHourliesToShow: 1,
                                      <------><------><------><------>label_high: "max",
                                      <------><------><------><------>label_low: "min",
                                      <------><------><------><------>label_days: ["Duminica", "Luni", "Mar?i", "Miercuri", "Joi", "Vineri", "Sâmbata"],
                                      <------><------><------><------>showCurrentConditions: true,
                                      <------><------><------><------>showExtraCurrentConditions: true,
                                      <------><------><------><------>label_ordinals: ["N", "NNE", "NE", "ENE", "E", "ESE", "SE", "SSE", "S", "SSV", "SV", "VSV", "V", "VNV", "NV", "NNV"],
                                      <------><------><------><------>maxDailiesToShow: "5",
                                      <------><------><------><------>showSummary: true,
                                      <------><------><------><------>label_timeFormat: "kk:mm",
                                      <------><------><------><------>}
                                      <------><------>},
                                      

                                      Thank you.

                                      richland007R J 2 Replies Last reply Reply Quote 1
                                      • E Offline
                                        epi @lavolp3
                                        last edited by

                                        Great widget!

                                        It just lacks 3 things:

                                        1. Sunrise & sunset data
                                        2. “Feels like”
                                        3. showWindDirectionAsArrow: true as in module: “currentweather”,

                                        Made a sketch -
                                        0_1552418008092_1ef8614a-209a-411a-855e-3191c8e34070-image.png

                                        Cr4z33C 1 Reply Last reply Reply Quote 1
                                        • richland007R Offline
                                          richland007 @mielu80
                                          last edited by

                                          @mielu80 me too… no idea whats up other than that works great

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

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

                                            1. “Feels like”

                                            Indeed comes very handy to me when in Summer.

                                            The weather here is usually very wet and in Summer ie. 35° C give a feeling of 42° C so I wish I could know it before getting out. :sun: :fire:

                                            E 1 Reply Last reply Reply Quote 1

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