Closed xIExodusIx closed 2 years ago
Hi @xIExodusIx :slightly_smiling_face:
I created a hamburg-lines.css
with an adjusted bus symbol. In my test environment it looks like this:
Is this how you wanted it?
Does showAbsoluteTime: false,
in your module config solves your second problem?
Hi @KristjanESPERANTO and greetings to my former colleague ;-) Thanks for your great work!
I'm not sure whether I have the same issue as @xIExodusIx but the lines won't be coloured in my case, too. Here are my settings (for testing, of course):
And this is the result:
Hi former colleague :smile:
that's a different problem - the value for customLineStyles
just has to be "halle"
.
Try this configuration (with some other changes):
{
module: "MMM-PublicTransportHafas",
position: "middle_center",
config: {
hafasProfile: "insa",
stationID: "5067",
stationName: "Haltestelle Burg Giebichenstein",
updatesEvery: 30,
maxUnreachableDepartures: 0,
maxReachableDepartures: 10,
timeInFuture: 360,
timeToStation: 1,
showAbsoluteTime: false,
customLineStyles: "halle",
fadeReachableDepartures: false,
replaceInDirections: { "Halle (Saale), ": "" },
showOnlyLineNumbers: true,
tableHeaderOrder: ["time", "line", "direction", "platform"]
}
},
Hi @KristjanESPERANTO and thanks for your fast reply! I made the changes and it works 👍🏻
@xIExodusIx: I'm closing the issue. If you still have issues, please reopen this one or open a new one :slightly_smiling_face:
I used MMM-HH-LocalTransport before, that works pretty fine, it uses and needs a GEOfox API-Key to run and display bus lines, but this didn't shows the symbol (RB 81) for the trains. The symbols for the buses are shown correctly like we have it here in Hamburg. Please see https://de.wikipedia.org/wiki/Vorlage:%C3%96PNV_Hamburg. It's a picture called Hamburg_Bus-Logo.svg. I tried to load it with the
hamburg-lines.css
, but I failed. Could you help?The second problem I have is that I don't want to see if the bus and/or train is in time (green +0 or gray +?), but I want to see if its to late or more than 0 Minutes to early.
I am not really good in coding, but I try my very best to understand how it all works, and try to solve the problems by myself. But sometimes I need help. Also my English is not really good anymore. School is to far away.