This integration connects Home Assistant to the Transport for NSW Car Park API, providing real-time parking availability for Park&Ride car parks. It dynamically fetches the car park list, allowing users to select multiple car parks during setup and edit selections later via the UI.
Whilst I built this integration out of frustration of the poorly built iOS app by NSW Govt, and it is available for free, it did have a cost associated with the build, getting advice on some of the storage of the data and calls. If you find it useful, and can afford it, I would love if you could buy me a coffee as a token of appreciation. Completely voluntary, and thank you in advance. I would also welcome you to share the integration with friends, and spread the love. https://buymeacoffee.com/kelcoffey
- Add this repository as a custom repository in HACS (see below).
- Install the "Transport for NSW Carpark Availability" integration via HACS.
- Configure the integration with your API key and select car parks from the dropdown.
- Register at Transport for NSW Open Data Hub.
- Create an API token in your profile settings.
- During setup, enter your API key and select car parks from the dropdown list (fetched dynamically from the API).
- Edit car park selections via Settings > Devices & Services > TfNSW Car Park > Configure.
To add this integration to HACS:
- In Home Assistant, go to HACS > Integrations.
- Click the three dots (top-right) and select "Custom repositories."
- Enter the repository URL:
https://github.com/kcoffau/AUS_TfNSW_carparks
. - Set the category to "Integration."
- Click "Add," then search for "TfNSW Car Park" and click Download.
- Restart Home Assistant (Settings > System > Restart).
- Add the integration via Settings > Devices & Services > Add Integration.
For issues, please open a ticket at GitHub Issues.
- Ensure you have a valid API key from Transport for NSW.
- The integration fetches the car park list dynamically, so new car parks are automatically included without code updates.
- Debug logs can be enabled in
configuration.yaml
:logger: default: info logs: custom_components.tfnsw_carpark: debug