• 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-forecast-io -- Localized up to the minute weather

Scheduled Pinned Locked Moved Utilities
127 Posts 36 Posters 189.9k Views 38 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
    code999 @lavolp3
    last edited by Dec 2, 2019, 3:46 PM

    @lavolp3 @morozgrafix Thank you both. I like an even look and the bar IMO is unless. when there is a large difference in temp it looks ridiculous. I might add something between numbers to give it some space and cleaner look. I did it mainly for space. I have it on the right side with my calendar taking up most of the screen. Anyway thanks again.
    0_1575301420462_79b125bf-5adb-4b86-85f4-71246bef148e-image.png

    1 Reply Last reply Reply Quote 0
    • C Offline
      code999 @Fifin404
      last edited by Dec 5, 2019, 5:42 PM

      @Fifin404 I would like this also. Did you get it to show?

      F L 2 Replies Last reply Dec 7, 2019, 11:57 AM Reply Quote 0
      • F Offline
        Fifin404 @code999
        last edited by Dec 7, 2019, 11:57 AM

        @code999 NO, I use another module

        1 Reply Last reply Reply Quote 0
        • L Offline
          lavolp3 Module Developer @code999
          last edited by lavolp3 Dec 9, 2019, 8:38 AM Dec 9, 2019, 8:23 AM

          @code999 @Fifin404

          You can add the “C” by putting this into your custom.css

          .MMM-forecast-io .bright:after {
            content: "C";
          }
          

          That adds a “C” after the content of every element with the class “bright”. Luckily the temperature seems to be the only one.

          For the km/h, you would need to change the code of the main .js file, because wind is apparently calculated in m/s and you have to add the conversion factor 3.6 to convert to km/h.
          It’s possible of course but you should then consider forking the whole module and/or create a PR for that.

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

          1 Reply Last reply Reply Quote 0
          • C Offline
            ChickenBeard
            last edited by Dec 11, 2019, 6:22 PM

            Is it possible to have the precipitation graph ONLY? I enabled it (and disabled the general “Forecast”). But it seems like the graph doesn’t update. It will load the “current” graph and just stay there until I restart MM.

            L 1 Reply Last reply Dec 11, 2019, 9:16 PM Reply Quote 0
            • L Offline
              lavolp3 Module Developer @ChickenBeard
              last edited by Dec 11, 2019, 9:16 PM

              @ChickenBeard How did you disable the forecast? Via CSS or by commenting it out in the code?

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

              C 1 Reply Last reply Dec 12, 2019, 7:17 PM Reply Quote 0
              • C Offline
                ChickenBeard @lavolp3
                last edited by lavolp3 Dec 13, 2019, 11:07 AM Dec 12, 2019, 7:17 PM

                @lavolp3 in ~/MagicMirror/config/config.js:

                module: 'MMM-forecast-io',
                                       disabled:false,
                                       position: 'bottom_center',  // This can be any of the regions.
                                       config: {
                                               // See 'Configuration options' for more information.
                                               apiKey: 'xxxxx', // Dark Sky API key.
                                               // Only required if geolocation doesn't work:
                                               latitude:   xxxx,
                                               longitude: xxxx,
                                               ***enablePrecipitationGraph: true,***
                                               ***showForecast:false,***
                                               precipitationGraphWidth: 325,
                                               showWind: false,
                                               showSunriseSunset: false,
                                               ***alwaysShowPrecipitationGraph:true,***
                                               
                                       }
                
                L 1 Reply Last reply Dec 13, 2019, 11:10 AM Reply Quote 0
                • L Offline
                  lavolp3 Module Developer @ChickenBeard
                  last edited by Dec 13, 2019, 11:10 AM

                  @ChickenBeard I can’t see why it wouldn’t update. showForecast only determines if the forecast div is added to the DOM. I have currently no idea.
                  Any error messages in the console?
                  Maybe try

                  debug: true
                  

                  in the config?

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

                  C 1 Reply Last reply Dec 13, 2019, 1:58 PM Reply Quote 0
                  • C Offline
                    ChickenBeard @lavolp3
                    last edited by Dec 13, 2019, 1:58 PM

                    @lavolp3 Will do! Which log does it write to?

                    L 1 Reply Last reply Dec 13, 2019, 2:02 PM Reply Quote 0
                    • L Offline
                      lavolp3 Module Developer @ChickenBeard
                      last edited by Dec 13, 2019, 2:02 PM

                      @ChickenBeard usually this gives extended output to the server-side console in case of node_helper.js or to the browser console in case of the MMM-forecast-io.js.

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

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 9
                      • 10
                      • 11
                      • 12
                      • 13
                      • 13 / 13
                      13 / 13
                      • First post
                        121/127
                        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