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

query_station.mjs #86

Open
darioandreella opened this issue Jun 10, 2024 · 2 comments
Open

query_station.mjs #86

darioandreella opened this issue Jun 10, 2024 · 2 comments

Comments

@darioandreella
Copy link

Hey Ray,

I am enjoying the newly installed MMM-PublicTransportHafas you wrote, it looks and works great!
I live in Denmark and I could adapt it to my needs with satisfying results.

I just wanted to reach out to help with a couple of minor issues:

  1. The script to obtain the StationIDs is, at least in my case:
    "node ./convenience/query_stations.mjs" and not ".js" as on the project's page.
    Any ideas about why? The error makes you obviously go and check, and it's trivial to fix, but still... better to have it right.

  2. If I look for the 2 Danish little stations I need with that script, I get them wrong (a different ID that gives no results). Now, I don't know if it is because it's not up to date or what, but I had to go and fish the StationsID elsewhere to get the module working. In my case, this old MagicMirror Module has them listed with their correct IDs.

  3. Do you have any idea about where to get to the source for these station IDs? I suspect that many stations have multiple IDs, for example one for the train service, one for the busses etc. And proof for this is, that for my station I can only see trains, while I know that there are busses too.

Thanks for what you did, nice job!!

All the best and greetings!
Dario

@KristjanESPERANTO
Copy link

Unfortunately, the raywo no longer responds to issues here. Please try my fork and if you have problems with it, create an issue there.

@darioandreella
Copy link
Author

Thanks @KristjanESPERANTO for point me in the right direction!
That's unfortunate, it should be clarified when a project is not maintained anymore, well unless a disaster has happened.

Already with your version of the documentation I could understand at least in part what the problem was.

I used the profile "rejseplanen" for the Danish transportation instead of the "db" and that was correct to do, but I had to get those IDs right! Now that I got the point, I could get even this module to work correctly, but I already happily switched to yours.

See you there!
And, again, thanks a lot!
Dario

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