• 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 678.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.
  • L Offline
    lavolp3 Module Developer @Cr4z33
    last edited by Jan 21, 2019, 10:05 PM

    @cr4z33 it is shown if you include

    concise: false 
    

    into the config.
    That’s the way to show more info.
    If you want to ONLY show the wind direction you would have to manipulate the .js file manually in line 429

          windSpeed: Math.round(speed) + " " + this.getUnit("windSpeed") + (!this.config.concise ? " " + this.getOrdinal(bearing) : ""),
    

    into

          windSpeed: Math.round(speed) + " " + this.getUnit("windSpeed") + " " + this.getOrdinal(bearing),
    

    In my case this unfortunately messes up the layout a bit. But it seems to work.

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

    C J 2 Replies Last reply Jan 22, 2019, 8:54 AM Reply Quote 0
    • C Offline
      Cr4z33 @lavolp3
      last edited by Jan 22, 2019, 8:54 AM

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

      @cr4z33 it is shown if you include

      concise: false 
      

      into the config.
      That’s the way to show more info.

      That’s already perfect thanks! :thumbs_up_medium-light_skin_tone:

      1 Reply Last reply Reply Quote 0
      • J Offline
        j.e.f.f Project Sponsor Module Developer @richland007
        last edited by Jan 23, 2019, 5:40 PM

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

        @j-e-f-f Thank you for your reply.
        Do you want my entire MM config.js file or just the MMM-DarkSkyForecast part of it??
        D

        Just the dark sky portion.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jackoliver361
          last edited by Jan 23, 2019, 6:44 PM

          Hey i have your module working but when i also add the MMM-Awsome-alexa module it moves to this location even though ive set it to display in the top_right. It goes into the right location when mmm-awesome-alexa is removed. Any ideas ? 0_1548268916774_problem.JPG

          J 1 Reply Last reply Jan 26, 2019, 11:38 AM Reply Quote 0
          • J Offline
            j.e.f.f Project Sponsor Module Developer @lavolp3
            last edited by j.e.f.f Jan 26, 2019, 6:31 PM Jan 26, 2019, 11:36 AM

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

            If you want to ONLY show the wind direction you would have to manipulate the .js file manually in line 429

            Or you can write rules to hide things in your custom.css file. That way your change doesn’t get overwritten by a module update. I’ve wrapped everything in a css class, so you can pick and choose what is displayed. Start MM in dev mode and you can use the inspector to figure out the class names, or examine MMM-DarkSkyForecast.njk to see the HTML layout and the classes applied.

            For example, let’s say you wanted the wind direction, but not the max wind speed. First set concise: false in the module’s config. Then hide the max speed as follows:

            MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .wind-gusts {
                display: none;
            }
            

            Make sure to take a look at .MMM-DarkSkyForecast.css to see hoe specific the existing rule is. Yours needs to be at least as specific if you want it to override the default. For example, this would not have worked:

            MMM-DarkSkyForecast .wind-gusts {
                display: none;
            }
            

            since the existing rule is more specific:

            MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .wind-gusts {
                display: block;
            }
            
            1 Reply Last reply Reply Quote 1
            • J Offline
              j.e.f.f Project Sponsor Module Developer @jackoliver361
              last edited by Jan 26, 2019, 11:38 AM

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

              Hey i have your module working but when i also add the MMM-Awsome-alexa module it moves to this location even though ive set it to display in the top_right. It goes into the right location when mmm-awesome-alexa is removed. Any ideas ?

              This is strange behaviour… Does this happen regardless of where you specify awesome-alexa to be? For example if you specify that it should be bottom_center does it still mess up Dark Sky?

              J 1 Reply Last reply Jan 30, 2019, 10:55 AM Reply Quote 0
              • B Offline
                btorres79
                last edited by Jan 27, 2019, 11:44 PM

                Sorry for this noob question but is it possible to change the temperature display from celsius to farenheit?

                J 1 Reply Last reply Jan 28, 2019, 7:12 AM Reply Quote 0
                • N Offline
                  nobita @j.e.f.f
                  last edited by Jan 28, 2019, 4:16 AM

                  from your info " …this module requires MagicMirror version 2.2.0 or later…"
                  so How can I know my version of Magic Mirror?
                  Thanks so much

                  J 1 Reply Last reply Jan 29, 2019, 8:12 PM Reply Quote 0
                  • J Offline
                    j.e.f.f Project Sponsor Module Developer @btorres79
                    last edited by Jan 28, 2019, 7:12 AM

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

                    Sorry for this noob question but is it possible to change the temperature display from celsius to farenheit?

                    yep. Set units: "us" in your config.

                    B 1 Reply Last reply Jan 28, 2019, 4:14 PM Reply Quote 0
                    • B Offline
                      btorres79 @j.e.f.f
                      last edited by Jan 28, 2019, 4:14 PM

                      @j-e-f-f Thanks for the info. I will give it a go. Thanks for creating an awesome module.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 8
                      • 9
                      • 10
                      • 11
                      • 12
                      • 33
                      • 34
                      • 10 / 34
                      10 / 34
                      • First post
                        96/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