Conversione stringa (String conversion)

This would be a good opportunity for you to get the free Notepad++ utility, load your JSON, set the language to JSON, and browse the JSON Tree.

P.S. It is also a good opportunity to study the ListView component, which can mix images and text.

i have notepad++....check...thanks

I checked, the values of temp_max and temp_min are repeated ... what to think?

Ask openweathermap for your money back?

I didn't pay anything... if you look at the last screenshot, the last 2 lines are different for temp_min and temp_max

There's a saying in computing ...

Garbage In,
Garbage Out.

If your incoming JSON forecast has the same value for min and max temperatures, there is nothing you can do except going to look for a better weather forecaster.

if you noticed the last value of temp_min doesn't show happened after the 12th-13th line

Hello, I thought of adding, next to the icon, the description of the icon (clear sky, rain, clouds ....) (image1). Next to the procedures you created, I added my own (image2) and put it in the block (image3). I get (image4). Where did I go wrong? Thank you



weather,1, description


weather,1, rain, description

in the new value procedure.

The procedure is meant to be general purpose, so it makes no sense to hard code one specific answer in it.

I tried but it says "undefined". I tried to replace the textboxes with labels but still nothing. Maybe the procedure (image1) is incorrect?
Antonio, taking advantage of your kindness, I have not been able to replace the{lat}&lon={lon}&appid={API key}

lat and long by taking them from the two textboxes (image2) called

my API

thanks again for your kindness

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.

1 Like

MyMeteo.aia (109.1 KB)

MyMeteo (1).aia (109.5 KB)

You forgot to add a list of components for the descriptions.

Because you only added a few of those labels, I had to bulletproof the loop index to avoid running past the end of the shortest of your half a dozen component lists.

I leave it to you to extend the component lists as needed.

1 Like

It worked ! Perfect, well done. I'm learning a lot. The only thing I can't do, as already written above, is how to transfer the value of
long_textbox ( longitude value)
latid_textbox (latitude value)
in the place of


inside{lat}&lon={lon}&appid= 1{API key}

I practiced putting 2 fixed values but now we need to put any lat and lon

Thanks again for your availability

Use the blue button to add extra sockets to a JOIN block.
Add these parts ...

The bold parts are variables or components you have to supply, and the rest are text blocks.

1 Like

All right .... thank you very much, alone I would not have made it

Good evening Anthony
Can you edit this block?
I would like to delete all the contents of the 5 lists, but due to how I created the block, the lists are not deleted (data reset)

Thank you for your continued availability

The code you posted deletes the display cases, not the contents of the display cases.

Instead, send an empty list through the code that fills the display cases.

Also, go through the half dozen value procedures

  • icon
  • temp_min
  • temp_max
  • ...

and change all 'not found' to ' ' to clear the displays they feed when given an empty list.