• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 2.4k 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.
  • E Offline
    evroom @p1lspeda
    last edited by Jan 10, 2025, 2:25 PM

    @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): Bus
    

    Config:

         hafasProfile: "rmv",
         stationID: "3029051",
         stationName: "Höfchen/Listmann",
    

    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)

    S 1 Reply Last reply Jan 10, 2025, 2:37 PM Reply Quote 1
    • S Offline
      sdetweil @evroom
      last edited by Jan 10, 2025, 2:37 PM

      @evroom what folder to be in??

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Jan 10, 2025, 3:00 PM Reply Quote 0
      • E Offline
        evroom @sdetweil
        last edited by Jan 10, 2025, 3:00 PM

        @sdetweil

        $ cd ~/MagicMirror/modules/MMM-PublicTransportHafas
        

        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 1
        • K Offline
          KristjanESPERANTO Module Developer @othomys
          last edited by Jan 10, 2025, 11:12 PM

          @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 :-)

          K 1 Reply Last reply Jan 11, 2025, 11:17 PM Reply Quote 2
          • K Offline
            KristjanESPERANTO Module Developer @KristjanESPERANTO
            last edited by Jan 11, 2025, 11:17 PM

            New release 3.0.0 is out 👩‍💻. Please update the module and test it 🚊⏰😀

            M 1 Reply Last reply Jan 12, 2025, 8:56 AM Reply Quote 2
            • M Offline
              MZ-BER @KristjanESPERANTO
              last edited by Jan 12, 2025, 8:56 AM

              @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.

              K 1 Reply Last reply Jan 12, 2025, 10:15 AM Reply Quote 0
              • K Offline
                KristjanESPERANTO Module Developer @MZ-BER
                last edited by Jan 12, 2025, 10:15 AM

                @MZ-BER How did you do the update?

                cd ~/MagicMirror/modules/MMM-PublicTransportHafas
                git pull
                npm ci
                
                E M 2 Replies Last reply Jan 12, 2025, 10:27 AM Reply Quote 1
                • E Offline
                  evroom @KristjanESPERANTO
                  last edited by Jan 12, 2025, 10:27 AM

                  @KristjanESPERANTO

                  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:

                  MMM-PublicTransportHafas_20250112_001.png

                  On display (last update 11:15)
                  11:08 +1.0333333333333334
                  11:28 +0

                  The 11:08 entry is in the past (maxUnreachableDepartures: 2,).
                  The +1.0333333333333334 is a bit too much :-)

                  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)

                  K 1 Reply Last reply Jan 12, 2025, 3:20 PM Reply Quote 2
                  • M Offline
                    MZ-BER @KristjanESPERANTO
                    last edited by Jan 12, 2025, 10:27 AM

                    @KristjanESPERANTO I missed the npm ci. Now it is working as expected. Thank you 😊

                    1 Reply Last reply Reply Quote 1
                    • K Offline
                      KristjanESPERANTO Module Developer @evroom
                      last edited by Jan 12, 2025, 3:20 PM

                      @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 😀

                      E V 2 Replies Last reply Jan 12, 2025, 5:51 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        10/29
                        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