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

Show platform #30

Open
pstray opened this issue Dec 26, 2022 · 3 comments
Open

Show platform #30

pstray opened this issue Dec 26, 2022 · 3 comments
Assignees

Comments

@pstray
Copy link

pstray commented Dec 26, 2022

Is it possible to show which platform a train is leaving from? My train isn't always on the same track each time, at least for Oslo S (and also my local station), so it would be nice to have that info on the card.

@jonkristian
Copy link
Owner

@pstray correct me if I'm wrong, but isn't platform in the name of the route, like L1, L2? (you can get the friendly name of the sensor if you don't override the name). I can't see anything else regarding platform being exposed in the sensor, I can only work with what is exposed, so if that data doesn't exist I think this issue should be reported on the entur component. Just need a confirmation here, if I am wrong please provide which attribute you're looking at and how you want it presented :-)

@pstray
Copy link
Author

pstray commented Mar 24, 2023

No, the platform is not in the name. L1, L2, R10, and such is the line name, not the platform.

Not sure if the platform is exposed, but it is definitely in the source data as the sensor can split into platforms.

@jonkristian
Copy link
Owner

Can you provide more details, examples of platform names your train is leaving from, train line id etc..? Also, the info that you're after, can you find it at the stop place registry or entur.no ?

The logic might be in the entur component, but if the data isn't exposed in the sensor(s) there's not much I can do 😞 and it's something that should be handled in the entur component, so it should be reported here.

That being said, if you look at any of the sensors and find some data to work with and explain how you'd like it to behave, I'd be more than happy to help with figuring out a way, for instance maybe a template sensor with filtering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants