bremor / bureau_of_meteorology

Custom component for retrieving weather information from the Bureau of Meteorology.
MIT License
190 stars 31 forks source link

Undocumented API being retired? #170

Closed tomlut closed 1 year ago

tomlut commented 1 year ago

"This grabs data from an undocumented API that is used to provide data to https://weather.bom.gov.au/"

That page now has the following banner:

"This page will be retired on 14 March 2023 For forecasts, observations, radar and warnings visit bom.gov.au or download the BOM Weather app."

It is not clear if it is just the web page that is being retired or the API too.

bremor commented 1 year ago

I’m thinking it might be time to get my hands dirty again, haha. I’m going to have a crack at sniffing data coming into the BoM app to see where it pulls it’s data from.

Makin-Things commented 1 year ago

The BoM app uses the same api. To sniff it you have to have a rooted android device so you can mitm the https traffic.

bremor commented 1 year ago

You are right, the BoM app is using the same API which is nice. I am able to MITM using Charles Proxy to see decrypted https traffic, much easier than fiddling around with a rooted device :)

tomlut commented 1 year ago

Good news!

thanks for clearing that up.

Makin-Things commented 1 year ago

You are right, the BoM app is using the same API which is nice. I am able to MITM using Charles Proxy to see decrypted https traffic, much easier than fiddling around with a rooted device :)

@bremor Are you able to see the url's they are using for the radar on the mobile app? They changed those to be different from the weather.bom.gov.au website, but I have not had time to do a mitm on it to see what's changed. I suspect this decommissioning will break my radar plugin.