Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Australia: Add QLD Fuel Watch Data Source #9

Closed
GaryFlynn opened this issue Apr 25, 2024 · 2 comments
Closed

Australia: Add QLD Fuel Watch Data Source #9

GaryFlynn opened this issue Apr 25, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@GaryFlynn
Copy link

Hi @pantherale0

Absolutely loved your HA integration for the UK, however now back in Australia and it looks like only WA Fuel Watch is currently supported. Would it be possible to add the data source QLD Fuel Watch to pyfuelprices and also ha-fuelprices?

https://www.fuelpricesqld.com.au/#developers

@GaryFlynn GaryFlynn changed the title Australia - Add QLD Fuel Watch Data Source Australia: Add QLD Fuel Watch Data Source Apr 25, 2024
@pantherale0 pantherale0 self-assigned this Jun 19, 2024
@pantherale0 pantherale0 added the enhancement New feature or request label Jun 19, 2024
@pantherale0
Copy link
Owner

Docs for official API:

https://www.fuelpricesqld.com.au/documents/FuelPricesQLDDirectAPI(OUT)v1.6.pdf

This module doesn't currently allow passing setup parameters such as an API token to a data source. I might see if I can pull the data from one of these other apps instead, especially as some of the docs are missing / not working for me. Although I am in the UK so that might be a issue perhaps.

https://www.energyandclimate.qld.gov.au/about/initiatives/fuel-price-reporting/apps-websites

Some initial discovery,Fuel Map app uses the following endpoints:

Get stations in an area:

http://www.fuelmap.com.au/app/getprices2.php

Get all stations:

http://www.fuelmap.com.au/app/getstations.php

Get station prices

http://www.fuelmap.com.au/app/getstationprices2.php

@pantherale0
Copy link
Owner

FuelSnoop added for next version

image

pantherale0 added a commit that referenced this issue Jun 27, 2024
add fuelsnoop (#9)
move fuelwatch consts to seperate file
move geocode_reverse_lookup to helpers
add get bounding box to helpers for fuelsnoop
update tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants