MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

Weather Forecast - maxNumberOfDays



  • Re: Problem with Weather forecast

    The current Weather Forecast module does not respect maxNumberOfDays when using the /forecast API. I’ve created PR-1176 to fix this by requesting the max number of days possible via the API and filtering when rendering.

    Unfortunately I do not have access to the original /forecast/daily API and cannot confirm what the default behavior is when not passing in cnt.

    Anyone able to help me test this change to confirm it works with both versions of the API?



    1. What count is return when requesting:
    https://api.openweathermap.org/data/2.5/forecast/daily?id=1234567&APPID=$APPID
    
    1. What is the max count possible:
    https://api.openweathermap.org/data/2.5/forecast/daily?id=1234567&APPID=$APPID&cnt=$COUNT