Read the statement by Michael Teeuw here.
MMM-PublicTransportHafas: Service Temporarily Unavailable
-
Possible work-around.
Needs travelling via Austria :-)To check if your station is available:
$ cd ~/MagicMirror/modules/MMM-PublicTransportHafas $ npm run query oebb > mmm-publictransporthafas@2.1.13 query > node ./convenience/query_stations.mjs oebb Using hafas-client profile: oebb Enter an address or station name:This will give you a station Id.
Update config.js:
$ vi ~/MagicMirror/config/config.js : : hafasProfile: "oebb", stationID: "<ID>", stationName: "<Stop>", : :For me the list appears again, although I do not see the real-time times, meaning it shows the ⚠ symbol (as set in
noRealtimeDelayString: "⚠",).One can try different hafas-client profiles, listed in:
https://github.com/public-transport/hafas-client/blob/main/p/readme.md
When you are lucky there is a good alternative to db.
-
@othomys said in MMM-PublicTransportHafas: Service Temporarily Unavailable:
Georg-Schwarz-Str./Merseburger-Str.
For you I found this one:
$ npm run query insa Enter an address or station name: Georg-Schwarz Stops found for 'Georg-Schwarz': > Stop: Leipzig, Georg-Schwarz-/Merseburger Str. ID: 12555 Transport product(s): Tram, BusSo your config will be:
hafasProfile: "insa", stationID: "12555", stationName: "Georg-Schwarz-Str./Merseburger-Str.", -
@p1lspeda said in MMM-PublicTransportHafas: Service Temporarily Unavailable:
Höfchen/Listmann
For you, try this:
$ npm run query rmv Using hafas-client profile: rmv Enter an address or station name: Höfchen/Listmann Stops found for 'Höfchen/Listmann': > Stop: MZ Höfchen/Listmann ID: 3029051 Transport product(s): BusConfig:
hafasProfile: "rmv", stationID: "3029051", stationName: "Höfchen/Listmann", -
@evroom what folder to be in??
-
$ cd ~/MagicMirror/modules/MMM-PublicTransportHafas -
@othomys I have a solution, just need a bit time to implement it properly. I’ll try to bring out a new release at the weekend :-)
-
New release 3.0.0 is out 👩💻. Please update the module and test it 🚊⏰😀
-
@KristjanESPERANTO thanks for the update but it is still not working. I haven’t checked the log yet but will let you know later the day.
-
@MZ-BER How did you do the update?
cd ~/MagicMirror/modules/MMM-PublicTransportHafas git pull npm ci -
I did the update and it is looking much better now.
I reverted back to db (npm run query dbis working again).
Only one thing I noticed:
On display (last update 11:15)
11:08 +1.0333333333333334
11:28 +0The 11:08 entry is in the past (
maxUnreachableDepartures: 2,).
The+1.0333333333333334is a bit too much :-)
