MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-forecast-io -- Localized up to the minute weather

    Utilities
    36
    127
    90086
    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
      ChickenBeard last edited by

      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.

      lavolp3 1 Reply Last reply Reply Quote 0
      • lavolp3
        lavolp3 Module Developer @ChickenBeard last edited by

        @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 Reply Quote 0
        • C
          ChickenBeard @lavolp3 last edited by lavolp3

          @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,***
                                         
                                 }
          
          lavolp3 1 Reply Last reply Reply Quote 0
          • lavolp3
            lavolp3 Module Developer @ChickenBeard last edited by

            @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 Reply Quote 0
            • C
              ChickenBeard @lavolp3 last edited by

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

              lavolp3 1 Reply Last reply Reply Quote 0
              • lavolp3
                lavolp3 Module Developer @ChickenBeard last edited by

                @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
                • lavolp3
                  lavolp3 Module Developer last edited by

                  For anyone interested:
                  I have played around with this module quite intensively, implemented the chartjs library and did a few other tweaks and it looks like this now on my mirror.

                  https://imgur.com/ZqJBGLp

                  https://imgur.com/JmxnJ3p

                  Most important changes:

                  • the graph now shows several things:
                    – cloud cover in the background
                    – day and night cycle through different colors
                    – rain amount in the foreground
                  • temperature bars are colored according to temperature scale (currently only °C)
                  • rain amount instead of rain percentage for daily forecast

                  Anyone interested can try out my fork
                  https://github.com/lavolp3/MMM-forecast-io

                  If you install it, don’t forget to do a npm install in the module folder after cloning the module. The Readme has not yet been brought up to date.

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

                  1 Reply Last reply Reply Quote 1
                  • 1
                  • 2
                  • 9
                  • 10
                  • 11
                  • 12
                  • 13
                  • 13 / 13
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy