Page 1 of 1

Public transport not showing all results

Posted: Tuesday 04 February 2020 14:31
by Jimster
Hi all, last week I bought a Pi and I'm setting up Dashticz. Works great!
I'm having an issue with the public transport module.
For example, if I choose a station with a lot of trains, station-amsterdam-centraal and I set a destination where not so many trains go to, for example: Beverwijk and I set results to 6, I only get 1 result. It seems like it's only showing results that are available in a period of time, maybe one hour ahead?
Is it possible to get more results?
This is the code I use:

Code: Select all

publictransport.ovinfotrain = { 
 show_via: false,
 title: 'Treinen',
 station: 'station-amsterdam-centraal',
 destination: 'Beverwijk',
 provider: '9292-train',
 interval: '120',
 show_lastupdate: true,
 icon: 'fas fa-train',
 width: 12,
 results: 6
 } 
 

Re: Public transport not showing all results

Posted: Tuesday 04 February 2020 20:48
by Lokonli
Jimster wrote: Tuesday 04 February 2020 14:31 Hi all, last week I bought a Pi and I'm setting up Dashticz. Works great!
I'm having an issue with the public transport module.
For example, if I choose a station with a lot of trains, station-amsterdam-centraal and I set a destination where not so many trains go to, for example: Beverwijk and I set results to 6, I only get 1 result. It seems like it's only showing results that are available in a period of time, maybe one hour ahead?
Is it possible to get more results?
This is the code I use:

Code: Select all

publictransport.ovinfotrain = { 
 show_via: false,
 title: 'Treinen',
 station: 'station-amsterdam-centraal',
 destination: 'Beverwijk',
 provider: '9292-train',
 interval: '120',
 show_lastupdate: true,
 icon: 'fas fa-train',
 width: 12,
 results: 6
 } 
 
I don't think we can change that. We return the data that is provided by the 9292.nl api. This is the only data we get.