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

Station board integration in Home Assistant? #14

Open
lostcontrol opened this issue May 1, 2022 · 4 comments
Open

Station board integration in Home Assistant? #14

lostcontrol opened this issue May 1, 2022 · 4 comments

Comments

@lostcontrol
Copy link

Hi,

Sorry to open a ticket here but this is probably the place where I can easily reach the right people.

This integration looks cool but unfortunately in HA, you can only setup "connections". I would like to have the "stationboard" mode, where I can just setup the train station in my town and see all the next connections going out from there. Also it would be nice to be able to set the "transportations" parameter to restrict the transportation means.

Looking at the code, I see that OpendataTransportStationboard is already implemented (missing the "transportations" parameter though) but no integration of it in the HA plugin.

Could this be added? Thank you

@lostcontrol
Copy link
Author

lostcontrol commented May 1, 2022

I started something here for transportations (for both connections and stationboard) and type (for stationboard only).

  • transportations is weird, only train seems to work!?
  • when type is set to arrival, the response remains the same and the to field seems to contain the "from" information. Looks a bit weird but seems to work as expected.
  • I notice that the names in the to field are often weird. Not the one you would see at the SBB train station for example.

@ch-michel
Copy link

@fabaff @lostcontrol Any news on this? I would really like to use the stationboard in HA as well.

@ch-michel
Copy link

For anyone that comes across this thead: I found a nice solution on this.
Just go to https://www.oevplus.ch/departures/ and configure your stationboard. Copy the URL and integrate it as Webpage on the HA dashboard.

@lostcontrol
Copy link
Author

For anyone that comes across this thead: I found a nice solution on this. Just go to https://www.oevplus.ch/departures/ and configure your stationboard. Copy the URL and integrate it as Webpage on the HA dashboard.

Nice one @ch-michel. Thank you 👍

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