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

Hamburg-Eidelstedt not working #25

Open
fabsenet opened this issue Jun 22, 2020 · 2 comments
Open

Hamburg-Eidelstedt not working #25

fabsenet opened this issue Jun 22, 2020 · 2 comments

Comments

@fabsenet
Copy link

Not working:

>>> s.connections('Hamburg Burgwedel', 'Hamburg-Eidelstedt')
[]

Working:

>>> s.connections('Hamburg Burgwedel', 'Hamburg-Eidelstedt Zentrum')
[{'details': '...snipped..., 'canceled': False}]

"Hamburg-Eidelstedt" and "Hamburg-Eidelstedt Zentrum" are different stations and I want to have the first one as my target stations but it does not work. Is there something I can do? I am actually using homeassistent but I tried this explicitly in a python shell to pinpoint the issue.

@kennell
Copy link
Owner

kennell commented Jun 22, 2020

Can reproduce and confirm; but don't have a solution at hand right now

@tschechniker
Copy link

Hi,

just found a workaround. Had the same issue and the problem occour when the train station name have multiple matches. Go to https://mobile.bahn.de/bin/mobil/query.exe/dox?country=DEU&rt=1&use_realtime_filter=1&webview=&searchMode=NORMAL and search for your stations. If there is a exact match the search will show the results. Otherwiese it will ask you which station you meant. For me i had to choose the entry with the street name included.

Just copy and paste the selection to your homeassistant config and all works like it should ;)

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

3 participants