Closed davidclaeysquinones closed 5 months ago
You can always try else look at gtfs.pro
Hi davidclaeysquinones
Everything worked ? Let us now wich gtfs ( url link to zip ) , ....
Thx Fabien
I tried gtfs.pro and it works fine :) I just wish I was able to filter bus stops.
Now I'm seeing multiple bus stops that are near my house, but actually I only want Lehendakari Aguirre 135.
- type: custom:auto-entities
filter:
include:
- name: '*local_stop_zone.sarriko*'
exclude:
- state: unavailable
- attributes:
stop_name: '! LEHENDAKARI AGUIRRE 135'
card:
type: custom:flex-table-card
clickable: true
max_rows: 10
title: Bilbobus
strict: true
sort_by:
- next_departures_lines
columns:
- hidden: true
data: next_departures_lines
modify: x.departure
- name: Linea
data: next_departures_lines
modify: '''<ha-icon icon='' + x.icon + ''></ha-icon>'' + x.route'
- name: Hora
data: next_departures_lines
modify: x.departure
- name: Parada
data: next_departures_lines
modify: x.stop_name
- name: Direcion
data: next_departures_lines
modify: x.headsign
css:
table+: 'padding: 0px'
card_mod:
style: |
ha-card {
overflow: auto;
max-height: 500px;
}
I guess you have configured a sensor based on gps/location/person.
May be you should try to configure a sensor from "stop A" to "stop B" .... if it better suit your needs. or configure 2 sensors "A->B" and "B->A" ? (That's what i'm using + gps sensor for my phone when i'm travelling...)
Fabien
The flex-table card does not allow to filter on attribute level, the overarching auto-entities (as per its name) will also not do that. The only option I know of (which does not mean there are no others :) )... is filter via markdown https://github.com/vingerha/gtfs2/wiki/5.-Visualizing-the-data#local-stops-and-departures-filtering-certain-routes
Closing as no more feedback
The city of Bilbao provides sources for it's public bus service at this site. Can it be used out of the box ?
Edit: There are even more sources available :
Bilbobus (euskadi.eus) Bilbobus (data.ctb.eus) Metro Bilbao Renfe Cercanias Bus Bilbao-Vitoria
This isn't even the complete list (complete list)