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 showing only two days.

    Scheduled Pinned Locked Moved Troubleshooting
    31 Posts 22 Posters 11.4k Views 21 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.
    • E Offline
      ember1205
      last edited by

      Can anyone explain why the Free API from OpenWeatherMap shows 7 Day Forecast but the discussion here (and what I actually see) is only being able to retrieve 5 days?

      In looking at the documentation from the weather site, it appears that the URL should be constructed differently than how this weather module is building it out. Specifically, the URL should be something like:

      https://api.openweathermap.org/data/2.5/onecall?lat={lat}&lon={lon}&exclude={part}&appid={API key}
      

      But the URL is -actually- being built as:

      https://api.openweathermap.org/data/2.5/forecast?id={id}&appid={API key}
      

      It seems that the URL needs be different?

      1 Reply Last reply Reply Quote 0
      • 1
      • 2
      • 3
      • 4
      • 4 / 4
      • 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