Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Process http weather forecast json request with microcontrollers with oly a few K of ram

Ulrich Springer Apr 02, 2018 06:05PM BST

Hi, is it possible to divide a weather forecast request in a couple of smaller requests?
The json memeory footprint of the weather forcast with cnt = 40 is too big. Is there a method for requesting forecast data in "chunks" e.g. form 1 to 8, then from 9 to 16, and so on?

Ulrich Springer
- Germany -

Up 0 rated Down
Pavel Zuykov Apr 03, 2018 08:12AM BST OpenWeatherMap Agent

Hello Ulrich,

Thanks for the request.

You can limit the number of records providied by forecast API using cnt parameter.

Like this:

This is the only possible way.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found