Read the statement by Michael Teeuw here.
MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn
-
@Klinge The problem lies in your settings. First you listed
timeToStation
twice. The last setting will apply which is60
. Next you state that you only want to see departures within the next 10 minutes (timeInFuture
). That will lead to only unreachable departures. Of course it is a bug that the module crashes. I will fix that with the next update.But for now you can bring your mirror to work if you set
timeInFuture
to a higher value. Maybe you should use60
. That way the module has enough departures to choose from. -
Damn it! So a Layer 8 problem ;-) Now it works. Thank you, for your quick help.
-
@Klinge There is now also an update available which will prevent this “layer 8 problem“. ;)
-
@raywo In my config i set
maxUnreachableDepartures: 2,
,timeToStation: 15,
andtimeInFuture: 90,
. This morning (8:00 o’clock) there were two trains within maxUnreachableDepartures. 7:54 +0, and 8:05 +2. I think the 7:54 shouldn’t be there. Yes, the train is unreachable (15), but he is gone already :). -
@raywo
Thank you. Now it can be configured by someone like me ;-) -
Thanks, @raywo Works like a charm. Well done also w.r.t documentation, the convenience script for retrieving stationID, and customization! Awesome work.
-
@raywo Thank you for the module! It works great. Since I used the MMM-PublicTransportDB and there I had some issues with delay-calculation and excluding from busses. But here everything is working fine. Thanks a lot!
-
Thanks also from my side… this is exact the module I was looking for. Is there a way to change the “STR” into “Tram”? Thanks for your help.
-
@onkelbobby If your mirror displays
"STR"
your transport provider sends it that way.One way to suppress that would be to set the option
showOnlyLineNumbers
totrue
and providing a custom css file with a rule like so:.str11:before { content: "Tram "; }
-
@raywo said in MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn:
.str11:before {
content: "Tram ";
}works perfectly…
thank you for the prompt support :-)