• 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.

Weatherforecast Module Help

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 2.7k Views 3 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.
  • A Offline
    Axnick9
    last edited by Oct 30, 2017, 5:52 AM

    So I’m having a problem with the Weatherforecast module… It’s only showing 6 days even though I’m changing maxNumberOfDays in config.js AND weatherforecast.js…
    Image here: https://imgur.com/a/mVIg4 (Day is currently Monday, as confirmed by calender module).
    config.js file:

                    {
                            module: "weatherforecast",
                            position: "top_right",
                            header: "abcWeather Forecast",
                            config: {
                                    maxNumberOfDays: "7",
                                    location: "Melbourne",
                                    locationID: "2158177",  //ID from http://www.op$
                                    appid: "c55eb00ef13017f121a5081bba1dd384"
                            }
    
    

    The weatherforecast.js is the default one available (no edits).
    I also can’t get showRainAmount to work, but I HAVE changed the title (ABCWEATHER…). Thank you if you can help!!
    - Thomas

    S 1 Reply Last reply Oct 30, 2017, 7:43 AM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @Axnick9
      last edited by Oct 30, 2017, 7:43 AM

      @Axnick9 not sure why you get even 6, from the api documentation the free version gets only 5 days http://openweathermap.org/price, so setting the forecast max number of days to a higher number will have no effect, because there is not enough data to display. Max number of days only ensures that not more days get shown

      Please create a github issue if you need help, so I can keep track

      A 1 Reply Last reply Oct 30, 2017, 8:32 AM Reply Quote 0
      • A Offline
        Axnick9 @strawberry 3.141
        last edited by Oct 30, 2017, 8:32 AM

        @strawberry-3.141 Could it be perhaps it shows the current days stats, then 5 days in the future? And is there any way to get around this without paying- perhaps a different service that offers the same thing? If not, all good!

        S M 2 Replies Last reply Oct 30, 2017, 2:56 PM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @Axnick9
          last edited by Oct 30, 2017, 2:56 PM

          @Axnick9 the core team is currently working on a solution that supports multiple providers, stay tuned

          Please create a github issue if you need help, so I can keep track

          1 Reply Last reply Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @Axnick9
            last edited by Oct 30, 2017, 9:46 PM

            @Axnick9 said in Weatherforecast Module Help:

            And is there any way to get around this without paying- perhaps a different service that offers the same thing?

            You could try another weather module in the meantime. There are many of them.

            https://github.com/MichMich/MagicMirror/wiki/MagicMirror²-Modules#3rd-party-modules

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              5/5
              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