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 "[no URL]", is invalid.<p>
Reference #9.4d1a1202.1770842591.614394a0
<P>https://errors.edgesuite.net/9.4d1a1202.1770842591.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
BBCWeatherForecast
-
simisv
- Posts: 30
- http://meble-kuchenne.info.pl
- Joined: Wed Oct 19, 2022 7:54 am
- Has thanked: 5 times
- Been thanked: 5 times
-
Steve-Matrix
- Matrix Staff
- Posts: 1747
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 255 times
- Been thanked: 409 times
Re: BBCWeatherForecast
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.
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
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
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
-
chipfryer27
- Valued Contributor
- Posts: 1912
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 415 times
- Been thanked: 641 times
Re: BBCWeatherForecast
Hi
Whilst I haven't looked at the specifics of your string, I have had no issue in using URLs to reach sites.
Regards
Whilst I haven't looked at the specifics of your string, I have had no issue in using URLs to reach sites.
Regards
-
chipfryer27
- Valued Contributor
- Posts: 1912
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 415 times
- Been thanked: 641 times
Re: BBCWeatherForecast
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
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