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

Scheduled Pinned Locked Moved Utilities
334 Posts 67 Posters 640.8k 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.
  • D Offline
    dan-o
    last edited by Dec 12, 2018, 1:06 AM

    @j-e-f-f came home to see the icon working, which was strange. anyway, grabbed your recent update and it works great. thank you SO MUCH for your time on this :)

    D 1 Reply Last reply Dec 12, 2018, 3:37 AM Reply Quote 0
    • D Offline
      dan-o @dan-o
      last edited by Dec 12, 2018, 3:37 AM

      @dan-o said in MMM-DarkSkyForecast - Yet ANOTHER weather module:

      @j-e-f-f came home to see the icon working, which was strange. anyway, grabbed your recent update and it works great. thank you SO MUCH for your time on this :)

      Looks like I spoke too soon :(. Was working after a restart. Walked by the mirror just now and no icon present.

      J 2 Replies Last reply Dec 12, 2018, 7:58 AM Reply Quote 0
      • J Offline
        j.e.f.f Project Sponsor Module Developer @Smotx
        last edited by Dec 12, 2018, 7:56 AM

        @smotx you can control the width of the module in CSS. It defaults to 300px, but if you need it wider or narrower you can use this:

        .MMM-DarkSkyForecast .module-content {
          width: 250px; /* adjust this to taste */
        }
        
        1 Reply Last reply Reply Quote 0
        • J Offline
          j.e.f.f Project Sponsor Module Developer @dan-o
          last edited by Dec 12, 2018, 7:58 AM

          @dan-o hmmm… will look into this some more. For now, if you disable the animated icons you will at least get the static one reliably.

          1 Reply Last reply Reply Quote 0
          • J Offline
            j.e.f.f Project Sponsor Module Developer
            last edited by Dec 13, 2018, 8:49 AM

            I left this running on my mirror overnight and my main icon disappeared at some point as well, but it was back this morning. I have a few theories as to why.

            The way the animated icons work is that they get drawn real-time by JavaScript, which means I need to wait until the DOM update is finished before executing the draw command. I thought I had licked that with my last update but the combination of the Nunjucks templating system seems to be adding a latency I’m not accounting for.

            Will continue working on this over the next couple of days. Turn off animated icons for now as a work around.

            1 Reply Last reply Reply Quote 0
            • A Offline
              Arjan Project Sponsor
              last edited by Arjan Dec 13, 2018, 5:13 PM Dec 13, 2018, 5:08 PM

              Is it possible to disable the main icon via the config?
              I’m running two configs of MMM-DarkSlyForecast next to each other. One with 9 hour forecast and the other one with 6 day forecast.
              Because of this I have 2 main icons that are the same. See picture below.

              Is it possible to disable one of them via the config?

              0_1544721189173_43b4ccd5-eb05-46ce-8246-680aaf875837-image.png

              J 1 Reply Last reply Dec 13, 2018, 6:11 PM Reply Quote 0
              • J Offline
                j.e.f.f Project Sponsor Module Developer @Arjan
                last edited by Dec 13, 2018, 6:11 PM

                @arjan yes. Here are a few config options for you:

                showCurrentConditions: false will turn off the main icon and the current temparature display (the two big items).
                showExtraCurrentConditions: false will turn off the the additional current conditions immediately below the big icon and temperature.

                This module is programmed it with this type of usage in mind, so it supports multiple instances to work independently. I do something similar on my kitchen display centre.

                A 1 Reply Last reply Dec 13, 2018, 7:45 PM Reply Quote 0
                • A Offline
                  Arjan Project Sponsor @j.e.f.f
                  last edited by Dec 13, 2018, 7:45 PM

                  @j-e-f-f Thanks. I overlooked that one.

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    j.e.f.f Project Sponsor Module Developer @dan-o
                    last edited by Dec 14, 2018, 8:19 PM

                    @dan-o said in MMM-DarkSkyForecast - Yet ANOTHER weather module:

                    Looks like I spoke too soon :(. Was working after a restart. Walked by the mirror just now and no icon present.

                    @dan-o @Smotx I think I’ve licked the disappearing icon issue for good now. I tested a fix on my mirror for 24 hours, and the icon was visible every time I checked up on it. Please do a git pull in the MMM-DarkSkyForecast directory and restart MM. Let me know if it’s fixed.

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      dan-o
                      last edited by Dec 16, 2018, 5:29 PM

                      @j-e-f-f Pulled just now. Will let you know if I run into the issue again!

                      Appreciate ya!

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 33
                      • 34
                      • 7 / 34
                      7 / 34
                      • First post
                        70/334
                        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