#Anyone viewing a Train timetable in their dashboard?

6 messages · Page 1 of 1 (latest)

bitter island
#

A few months ago I set up National Rail Departure Times integration, however the integration and dashboard cards ( custom:nationalrail-times-card ) aren't looking how I'd like.

The data pulled and displayed only shows next train which isn't nearly as useful as a 60 minute timetable or the next 3-4 trains scheduled on each platform. Not all trains stop at our local station so it may be 30 a minute wait for the next one. Or there might be one 4 minutes behind it. We can't tell right now.

The NextTrain app is a good example of what we'd like to display on the dashboard. Has anyone managed to make something like this in their HomeAssistent?
https://play.google.com/store/apps/details?id=com.verteq.nextrain

vocal dragon
#

I've never used this integration, but if you look in the developer tools at the state of the sensor, what is its value? What attributes does it have? If it reports the next few trains as attributes, there's probably a way to make a card that does what you want without resorting to writing your own.

bitter island
vocal dragon
bitter island
open saffron
#

If the data is in attributes, you can easily pull it all out using a Template on a Markdown or Mushroom template card.