You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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.
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
The text was updated successfully, but these errors were encountered:
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.
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:
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.
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.
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
The text was updated successfully, but these errors were encountered: