Page 1 of 1

Connecting and reading data from api.open-meteo.com

Posted: Mon Jan 19, 2026 2:27 pm
by simisv
Hi guys

I'm trying to read weather data from api.open-meteo.com . I know this should work , since I did it using Arduino IDE . When I try using Flowcode v10 and ESP32_wroom32 , can't connect to the server . Tested on local network using "TCP Terminal" as server on my laptop and esp32 it will connect and send the GET request .
Any reason why can't connect to open-meteo ?

Help please
Thank you

Re: Connecting and reading data from api.open-meteo.com

Posted: Mon Jan 19, 2026 5:31 pm
by BenR
Hello,

Your connecting to HTTPS "https://api.open-meteo.com/" on Port 80. I beleive this should maybe be 443.

Or try connecting to the non encrypted HTTP version instead "http://api.open-meteo.com/" on Port 80.

Re: Connecting and reading data from api.open-meteo.com

Posted: Mon Jan 19, 2026 8:20 pm
by simisv
Hi Ben
Should be http and port 80 , unfortunately no luck . Don't know what Arduino does different .
This is definitely to much for my brain .
Thanks

Re: Connecting and reading data from api.open-meteo.com

Posted: Mon Jan 19, 2026 9:40 pm
by chipfryer27
Hi

From looking at your chart I assume you have issue when the Network Comms component tries to connect. If that fails it won't matter what your api string consists of.

I might be wrong as it has been a while since I last used, but I'm pretty certain you don't need to include "HTTP://" in NetworkComms address. I can (if I rember correctly) connect with just numerical address 123.456.789.123 or a variable such as "abc.com"

Regards

Re: Connecting and reading data from api.open-meteo.com

Posted: Tue Jan 20, 2026 3:40 am
by chipfryer27
Hi

Further to above you seem to be sending out "debug" info over UART2

After you open a socket you send out "Connecting" then attempt to connect using NetworkComms1.

If you the sent out the value of "socket" over UART2 immediately after, you would get notification of success/failure which may help you debug further.

If you cannot connect it doesn't matter what you send later.

Regards