ianByrne / HASS-ukho_tides

Home Assistant integration for tide information
MIT License
27 stars 5 forks source link

Idea/Request: AU market #9

Closed weppa closed 1 year ago

weppa commented 1 year ago

@ianByrne I really admire your work! Especially the ApexCharts integration. I was wondering if there's a possibility for you to create a similar project for the AU market, or if you could guide me towards resources to learn and potentially develop a similar project using Python. Thank you so much!

Bureau of Meteorology - Gold Coast Seaway

image

ianByrne commented 1 year ago

Hi @weppa - many thanks for your comment.

I had a quick poke around the BOM website and it looks like it could be a bit tricky - at first glance I was unable to find a public facing API for tide prediction data, although I did note there is one for general weather forecasts and observations.

I did however find this Home Assistant Community forum post which seems to refer to a way to programmatically get tide data, but I am not able to find any documentation, so exploring it would be a bit of work and we might still not be able to get all the data we might want (X days of predictions, etc).

With regards to writing your own integration - this project was my first attempt at doing so, and I mostly followed this guide.

Hope that helps!

weppa commented 1 year ago

Thanks @ianByrne for your prompt response. I found an API over on stormglass.io that has AU data. However, I am still stumped what to do with it, I've attempted to use RESTful to no avail. All I want to achieve is what you did using ApexCharts, presumably using their data_generator option?