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 3.0k 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

      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

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @Axnick9
        last edited by

        @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 Reply Quote 0
        • A Offline
          Axnick9 @strawberry 3.141
          last edited by

          @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!

          strawberry 3.141S Mykle1M 2 Replies Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @Axnick9
            last edited by

            @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
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @Axnick9
              last edited by

              @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

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                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