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-DBF suddenly does not work

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    12 Posts 3 Posters 6.3k Views 3 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.
    • S Offline
      sdetweil @Volkae
      last edited by sdetweil

      @Volkae it’s 3 years since last update. my guess is the service changed

      I’d post an issue to the module GitHub. but w 3 years since last update I’m not optimistic…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @Volkae Please try my fork:

        git clone https://github.com/KristjanESPERANTO/MMM-DBF

        Let me know if it runs more stable.

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

          @KristjanESPERANTO
          Hey Kristjan,
          thank you for your post.
          Maybe there is a problem with a few stations.
          If it shows “Hamburg HBF” it works correctly since two days,
          if it shows “Hamburg Eidelstedt” it works for a few hours correctly and then it stopps,
          if it shows “Hamburg Elbgaustraße” it does not work (it worked fine before).

          Do you think there is a problem with the data-stream from DB?

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

            I have now run “Hamburg Elbgaustraße” for two hours without any problems.

            Which version of MagicMirror, which of node (node -v) and which of npm (npm -v) do you use?

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

              @KristjanESPERANTO
              Node = v16.19.1
              npm = v8.19.3
              MM is the newest version

              It´s frozen after 20 hours and more. Even after a restart of the raspi MMM-DBF does not show anything (New an old version of MMM-DBF).

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

                A shot in the blue: Update your npm. I have version 9.6.1.

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

                  @KristjanESPERANTO
                  now my npm is 9.6.1 but nothing changed
                  At this moment “Hamburg Eidelstedt” does work, “Hamburg Elbgaustraße” does not work
                  Are you sure that the problem is not the data stream from DB?
                  How long did you test the stations?
                  Sometimes it works fine for more than 15 hours or more…

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

                    Are you sure that the problem is not the data stream from DB?

                    No, I’m not sure. You could contact the operator of the API and ask if he sees anything suspicious at the station.

                    How long did you test the stations?

                    Only 10 hours. At the moment I don’t have the possibility for longer tests.

                    It would be nice if we could find and eliminate the cause of the problem. I just don’t have the capacity to delve deeper into this at the moment. An alternative would be to switch to the following module for this station: https://github.com/KristjanESPERANTO/MMM-PublicTransportHafas

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

                      @KristjanESPERANTO
                      It seems Hamburg Elbgaustraße ist not in the DB-Profile. Cannot find the station-id.

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

                        @Volkae I was able to get the ID easily. I’ll write you a direct message as it doesn’t belong here with this module.

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

                          Now the module works fine but since the last update on yesterday there is a Message on my MM that there is an update for your module available.

                          I did

                          git pull
                          npm install --omit=dev

                          in the module-folder from your module but the update-message is still shown in the MM

                          1 Reply Last reply Reply Quote 0
                          • S sdetweil referenced this topic on

                          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
                          • 1 / 1
                          • 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