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 problem

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 3 Posters 2.6k 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @sgault
      last edited by Mykle1

      @sgault

      There is something odd going on with that module (I think). I can’t get it to display more than 7 days, but everything below that value works as expected. Notice that maxNumberOfDays: 7, has no quotes.

      {
      			module: "weatherforecast",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				location: "New York",
      				locationID: "5128581",
      				appid: "YOUR API KEY",
                      maxNumberOfDays: 7,
                      colored: true,
      			}
      		},

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • S Offline
        sgault
        last edited by

        I took out the entry from my custom.css and put it in the config.js like it’s supposed to be. I’ve been getting the same results anything 5 or under works just fine. Don’t tell me I’ve been beating my head against the wall unnecessarily. Ugh.

        Mykle1M 1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @sgault
          last edited by

          @sgault

          Don’t kill the messenger (me). I didn’t go it!

          Create a working config
          How to add modules

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            Charley Module Developer @Mykle1
            last edited by

            With the free option of openweathermaps the maximum is 5 days.

            MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @Charley
              last edited by

              @charley

              I get 7. I’m special. :-)

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • 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