Read the statement by Michael Teeuw here.
MMM-DBF suddenly does not work
-
@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?
-
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? -
@KristjanESPERANTO
Node = v16.19.1
npm = v8.19.3
MM is the newest versionIt´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).
-
A shot in the blue: Update your npm. I have version 9.6.1.
-
@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… -
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
-
@KristjanESPERANTO
It seems Hamburg Elbgaustraße ist not in the DB-Profile. Cannot find the station-id. -
@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.
-
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=devin the module-folder from your module but the update-message is still shown in the MM