MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-PublicTransportHafas: Service Temporarily Unavailable

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    29 Posts 8 Posters 4.6k Views 9 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • evroomE Offline
      evroom @KristjanESPERANTO
      last edited by

      @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 see delay values of 0, 60 and null, so I wonder where the current 0.5 comes from.
      The values for when and plannedWhen all 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.

      MagicMirror version: 2.30.0
      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      Test environment:
      MagicMirror version: v2.30.0
      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      1 Reply Last reply Reply Quote 0
      • V Offline
        Volkae @KristjanESPERANTO
        last edited by

        @KristjanESPERANTO

        I did the update

        cd ~/MagicMirror/modules/MMM-PublicTransportHafas
        git pull
        npm ci

        but it still does not work.

        Any idea??

        V 1 Reply Last reply Reply Quote 0
        • V Offline
          Volkae @Volkae
          last edited by

          @Volkae

          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.

          KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
          • KristjanESPERANTOK Offline
            KristjanESPERANTO Module Developer @Volkae
            last edited by

            @Volkae Looks like you don’t use my fork. I recommend deleting the module and install this: https://github.com/KristjanESPERANTO/MMM-PublicTransportHafas

            S V 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @KristjanESPERANTO
              last edited by

              @KristjanESPERANTO said in MMM-PublicTransportHafas: Service Temporarily Unavailable:

              deleting the module and install

              I think to be more clear, deleting the module folder

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • V Offline
                Volkae @KristjanESPERANTO
                last edited by

                @KristjanESPERANTO

                I deleted the modul folder and made a new install. Now it works.

                Thanks a lot!!

                1 Reply Last reply Reply Quote 1
                • O Offline
                  othomys
                  last edited by

                  @KristjanESPERANTO
                  Thank you for your support. I hope to find some time this weekend to implement your suggestion.

                  O 1 Reply Last reply Reply Quote 1
                  • O Offline
                    othomys @othomys
                    last edited by

                    @KristjanESPERANTO , it works. Thanks a lot. :-)

                    1 Reply Last reply Reply Quote 1
                    • R Offline
                      rotorax
                      last edited by

                      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 SIGABRT

                      Im 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: undefined

                      Anyone have the same problem?

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @rotorax
                        last edited by

                        @rotorax how big is the swap space?

                        free -m

                        Will list that

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        R 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy