Hubitat Driver for Australian weather data (observations and forecasts) from your local weather station at the Bureau of Meteorology (BOM).
- Add
bomdriver.groovy
andbomdriver_ftpchild.groovy
to your Hubitat as two new Drivers (underDrivers Code
) - Add a new device for weather to your Hubitat, set device Type to your User driver of 'BoM Weather'
- Configure your ID and WMO numbers:
- Visit BoM Observations and find your closest weather station
- Once you've browsed down to the weather station, your URL will look something like:
http://reg.bom.gov.au/products/IDV60901/IDV60901.94866.shtml
- Copy
IDV60901
and paste it into the Observation ID number field - Copy
94866
and paste it into the Observation WMO number field - Visit BoM Weather Data Feeds - Long form and find your state, then click on the XML link under Precis
- Your URL will look something like:
ftp://ftp.bom.gov.au/anon/gen/fwo/IDV10753.xml
- Copy
IDV10753
and paste it into the Forecast Precis ID number field - Search the XML file for your local station (it's a large file, use text search for eg. "Melbourne" or "Tullamarine"), and you should find the line that looks something like
<area aac="VIC_PT042" description="Melbourne" type="location" parent-aac="VIC_PW007">
- Copy
VIC_PT042
and paste it into the Forecast Precis AAC number field (make sure you copy theaac
not theparent-aac
value)
- Set the polling interval... if the weather station only updates every 30mins, set it to
5,35
to refresh every xx:05 and xx:35 mark of each hour (the BoM hasn't always refreshed its data right on xx:00/xx:30, so you might miss it if you set it to that). Note that forecasts are only updated twice a day, and will only update (on the times you've set) once the 'forecastnextdate' has passed. - Enable auto poll, and enjoy :)
References: Polling function modified from Scottma61's WU driver