Read the statement by Michael Teeuw here.
MMM-UKNationalRail - Rail departure info for specific UK Railway stations
-
@nwootton said in MMM-UKNationalRail - Rail departure info for specific UK Railway stations:
I’d STRONGLY advise you remove your API keys from the JSON. Hate for other people to mis-use your account BTW
Good advise. That’s why I edited his post and replaced several characters with X :)
-
Thanks for the advice and the edits! Didn’t think about that :)
-
@yawns Explains why my email had the key and the post was XXXXXX.
Thought I was losing it!
-
Absolutely love this plugin, just wish it was still being improved :(
-
Hello, i have the module working, i just cant get it to display the title.
{
module: ‘MMM-UKNationalRail’,
position: ‘bottom_left’,
header: ‘Whittlesford Parkway’, //Optional - delete this line to turn OFF the header completely
config: {
stationCode: ‘WLF’, // CRS code for station
app_id: ‘xxxxxxxx’, // TransportAPI App ID
app_key: ‘xxxxxxxxxx’, // TransportAPI App Key
maxResults: 5, //Optional - Maximum results to display.
showOrigin: false //Optional - Show the origin of the train in the table
}any ideas?
-
@dawookie1979 u mean the header?
-
yes the header is not showing
-
Hello,
Does anyone have a multi-station configuration working? I also do not get any headers showing - anyone managed to solve that one?
Thanks in advance
-
Headers have been broken for a while now. Happened after MM version update. Not sure if @nwootton is still working on this or not though.
Also not been able to get multi-station working. The fix I used was just to have 2 modules listed one after each other (ie, duplicate the code in the config file, including API etc). That seems to work fine.
-
Hi Bob,
Thanks for the information. I’ve been playing and have fixed up the header not being shown and in addition have added column headings such as "Platform, To, From, Planned, Actual and Status to the displayed table.
I have seen in the forums elsewhere you do have to have multiple modules in order to get multiple stations which I suppose is OK, but a bit awkward. I may have a look to see if this can be all rolled into one config section.
One other feature I would like to work on is this: My partner travels home eveyday and says what train she is on, but never knows what time it will arrive at our home station - I want to see if it is possible to have a a listing of the possible trains with the departue and arrival times. As I’m very new to all this, it’s going to hurt my head coding it I suspect.