bremor / bureau_of_meteorology

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

Missing barometric pressure #221

Closed VlastiBroucek closed 5 months ago

VlastiBroucek commented 6 months ago

Hello,

I noted that barometric pressure is missing. The reason probably is that for example for Devonport Airport, the API call you use https://api.weather.bom.gov.au/v1/locations/r28jd2/observations does not return that value.

However, there is another possible call http://www.bom.gov.au/fwo/IDT60801/IDT60801.95960.json that returns barometric pressure and some other details.

Have you considered using this call?

FaberO42 commented 5 months ago

+1

Makin-Things commented 5 months ago

The integration uses the API used by the BoM mobile app. It does not provide barometric pressure so it is not available. Unless the BoM decide to include it in the mobile app it will neo ever be added.