Read the statement by Michael Teeuw here.
MMM-PublicTransportHafas: Service Temporarily Unavailable
-
@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 :-) -
@KristjanESPERANTO I missed the npm ci. Now it is working as expected. Thank you 😊
-
@evroom said in MMM-PublicTransportHafas: Service Temporarily Unavailable:
The +1.0333333333333334 is a bit too much :-)
I just released version 3.0.1 to fix this 😀
-
@KristjanESPERANTO said in MMM-PublicTransportHafas: Service Temporarily Unavailable:
I just released version 3.0.1 to fix this 😀
At this moment I see an entry in the past with +0.5.
Also saw +0.6.
When turning on debug, I only seedelayvalues of 0, 60 and null, so I wonder where the current 0.5 comes from.
The values forwhenandplannedWhenall have a difference of 0 or 1 minute.It seems that it only affects the first entry in the list, which in my case is the first unreachable in the past.
And it does not really bother me, but it still is odd. -
I did the update
cd ~/MagicMirror/modules/MMM-PublicTransportHafas
git pull
npm cibut it still does not work.
Any idea??
-
pi@magicmirror-buero:~/MagicMirror/modules/MMM-PublicTransportHafas $ npm ci
npm warn deprecated vbb-translate-ids@3.1.0: Deprecated. Use vbb-translate-ids@latest.
npm warn deprecated hafas-client@2.10.4: Deprecated. Use hafas-client@latest. -
@Volkae Looks like you don’t use my fork. I recommend deleting the module and install this: https://github.com/KristjanESPERANTO/MMM-PublicTransportHafas
-
@KristjanESPERANTO said in MMM-PublicTransportHafas: Service Temporarily Unavailable:
deleting the module and install
I think to be more clear, deleting the module folder
-
-
@KristjanESPERANTO
Thank you for your support. I hope to find some time this weekend to implement your suggestion. -
@KristjanESPERANTO , it works. Thanks a lot. :-)
-
Hi, thanks for your update.
I installed your git version and I had to install undici additionally. Is that correct?The MM works but ended starting up again and agin:
0|mm | <— Last few GCs —>
0|mm | [17870:0x2a530000] 119266 ms: Mark-Compact (reduce) 126.9 (128.6) -> 126.4 (128.1) MB, pooled: 0 MB, 791.61 / 0.00 ms (+ 0.9 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 816 ms) (average mu = 0.190, current[17870:0x2a530000] 120521 ms: Mark-Compact 126.9 (128.1) -> 126.5 (128.6) MB, pooled: 0 MB, 1201.60 / 0.00 ms (average mu = 0.113, current mu = 0.043) allocation failure; scavenge might not succeed
0|mm | <— JS stacktrace —>
0|mm | FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
0|mm | ----- Native stack trace -----
0|mm | /home/mirror/MagicMirror/node_modules/electron/dist/electron exited with signal SIGABRTIm using a raspberry pi zero with 512 MB RAM which worked fine in the past.
Also some system information:
0|mm | [2025-02-03 08:57:53.254] [INFO] System information:
0|mm | ### SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model A Plus Rev 1.0; virtual: false
0|mm | ### OS: platform: linux; distro: Raspbian GNU/Linux; release: 11; arch: arm; kernel: 6.1.21-v7+
0|mm | ### VERSIONS: electron: 32.2.7; used node: 22.13.1; installed node: 22.13.1; npm: 10.9.2; pm2: 5.4.3
0|mm | ### OTHER: timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefinedAnyone have the same problem?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
