Hi
Would there be a way to get this information into Home Assistant
https://jp.translink.com.au/plan-your-journey/stops/002846?RouteCode=232&Direction=Outbound
The part I’m looking for is the time to next bus?
Thanks in advance
Hi
Would there be a way to get this information into Home Assistant
https://jp.translink.com.au/plan-your-journey/stops/002846?RouteCode=232&Direction=Outbound
The part I’m looking for is the time to next bus?
Thanks in advance
Hi Hans,
I found this old question while searching for the exact same thing. Did you get this to work?
I’ve tried setting up GTFS (https://www.home-assistant.io/integrations/gtfs/) - I found the Translink GTFS file, but it leads to a range of errors in my log, and no working solution, so trying something else…
Cheers,
Dennis
Hi,
I live in Brisbane as well and tried using an existing HA gtfs realtime integration to do this but it didn’t work because of some of the “special” ways that Translink publish the data in their feed (https://gtfsrt.api.translink.com.au/). So, I updated the code to make it work by adding a few extra features and re-published it at https://github.com/mark1foley/ha-gtfs-rt-v2
Installation is via HACS and there is instructions in the readme. let me know if you have any questions.
Regards,
Mark
Mark
Thank for this. I have loaded and added a Bus and Ferry.
First question, as both sensors for a Ferry and Bus show up, but there is no information (Could it be covid?)
How long would an update realistically take?
Here is my code just for reference.
FYI, I am also in Brisbanne
platform: gtfs_rt
trip_update_url: 'https://gtfsrt.api.translink.com.au/api/realtime/SEQ/TripUpdates'
vehicle_position_url: 'https://gtfsrt.api.translink.com.au/api/realtime/SEQ/VehiclePositions'
departures:
- name: 230 Bus
route: 230
stopid: 2796
icon: mdi:bus
service_type: Bus
- name: Hawthorne Ferry
route: NTHQ
stopid: 317583
icon: mdi:ferry
service_type: Ferry
The translink feed needs the config line
route_delimiter: ‘-’
hi Hans - were you ever able to resolve this? i’ve just downloaded the intergration (was super excited to find it thanks Mark!) but none of my sensors are updating, just getting ‘-’. TIA
@vmeister82 I just got this working for myself after fiddling with the config for a while. Post up what you have and ill see if I can help you.
I never managed to get this to work, so ended up just scraping the ‘Normal’ status for my train line service and just sending me alerts when it changes to something else. Not the best solution but does the job.
Hi @Mark1Foley, I have just started using your repository, amazing! thanks mate. (fellow Brisbanite)
Thanks Mark, from another Brisbanite. Finally got this working.