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
    

Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.