Page 1 of 1

BBCWeatherForecast

Posted: Wed Feb 11, 2026 8:55 pm
by simisv
Hi

I'm testing the example "BBCWeatherForecastDemo" and is not working .

The GET request sent is :
GET /en/forecast/rss/3day/2643123 HTTP/1.1
Host: weather-broker-cdn.api.bbci.co.uk


The result in Debug Console is :
HTTP/1.0 400 Bad Request
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: text/html
Content-Length: 312
Expires: Wed, 11 Feb 2026 20:43:11 GMT
Date: Wed, 11 Feb 2026 20:43:11 GMT
Connection: close

<HTML><HEAD>
<TITLE>Invalid URL</TITLE>
</HEAD><BODY>
<H1>Invalid URL</H1>
The requested URL "&#91;no&#32;URL&#93;", is invalid.<p>
Reference&#32;&#35;9&#46;4d1a1202&#46;1770842591&#46;614394a0
<P>https&#58;&#47;&#47;errors&#46;edgesuite&#46;net&#47;9&#46;4d1a1202&#46;1770842591&#46;614394a0</P>
</BODY></HTML>

Being an example from Flowcode page I assume that would work without problems .
Maybe this component is outdated ?
Any help would be much appreciated .

Thank you

Re: BBCWeatherForecast

Posted: Thu Feb 12, 2026 9:27 am
by Steve-Matrix
It looks like the IP address in that example is now wrong. I assume the bbc has changed it.

There is supposedly an RSS feed, but I cannot get that to work. I'm getting "service temporarily unavailable" when trying this link:
http://newsrss.bbc.co.uk/weather/foreca ... aysRSS.xml

The following link does return information when used from a browser:
https://weather-broker-cdn.api.bbci.co. ... ay/2643123

But using the actual IP address of that site does not work for me.

Ahhh - I've just found this related topic:
https://www.flowcode.co.uk/forums/viewt ... bbc#p21126

So that example no longer works because of changes to the site which was delivering the data.

Re: BBCWeatherForecast

Posted: Thu Feb 12, 2026 11:51 am
by simisv
Hi

Thank you Steve .
I tested this link "https://weather-broker-cdn.api.bbci.co. ... ss/2647632" yesterday before ,similar to yours in a Chrome browser and I receive data . If I replace the IP address in BBC component with this address "https://weather-broker-cdn.api.bbci.co.uk/" then nothing happens in the simulation console . So I guess that NetworkComms component does not support an address , but only an IP address ? All my projects where I tried to connect to an address using esp32 have failed .

There is any other way to retrieve weather data from ethernet ?

Thank you

Re: BBCWeatherForecast

Posted: Thu Feb 12, 2026 12:03 pm
by chipfryer27
Hi

Whilst I haven't looked at the specifics of your string, I have had no issue in using URLs to reach sites.

Regards

Re: BBCWeatherForecast

Posted: Thu Feb 12, 2026 12:14 pm
by simisv
Hi
Thank you Chipfryer27 for reply . In my case never works . Do you please have a simple demo that is working in simulation ?
I can't imagine what is wrong .
Thank you

Re: BBCWeatherForecast

Posted: Thu Feb 12, 2026 1:28 pm
by chipfryer27
Hi

I can post something later but I haven't done as you are trying to do, visit a feed so to speak, instead I mainly update things such as a service like ThingSpeak, or connect and pass data to a MQTT broker.

Have a look here, where I document connecting to various places such as TS / MQTT / your own server and the like. It may help.

https://www.flowcode.co.uk/forums/viewtopic.php?t=2248

Regards