Page 2 of 2
Re: Dashticz - v3.8.10 beta
Posted: Thursday 27 January 2022 19:52
by Lokonli
geertvercamer wrote: ↑Thursday 27 January 2022 18:50
Lokonli wrote: ↑Monday 24 January 2022 22:35
I've fixed a bug. Can you retest?
I don't see an error anymore, but nothing is shown in the block...
Title is right though
resulting HTML:
Code: Select all
<div class="dt_content">
<div class="dt_title">Zonnebeke - Ieper</div>
<div class="dt_state">
<table>
</table>
</div>
</div>
Are you using a destination filter? It's case sensitive now ...
Can you post your block definition? Then I'll check
Re: Dashticz - v3.8.10 beta
Posted: Thursday 27 January 2022 20:10
by Dickey
Thanks @Lokonli, works like a charme.
Re: Dashticz - v3.8.10 beta
Posted: Tuesday 01 February 2022 20:22
by stephanvdplas
Lokonli wrote: ↑Monday 24 January 2022 21:54
I can add a linedirectionnumber (1 or 2) to the output of the Dashticz block if that would be useful.
That would be a perfect idea! +1 for this feature(request).
Re: Dashticz - v3.8.10 beta
Posted: Saturday 12 February 2022 18:25
by JanvdW
Works perfect when there's StopAreaCode. Unfortunately the bus station close to my home (Prof. Waterinklaan in Dordrecht, with tpc 53602050 and 53602060) hasn't one; it shows
I don't know how to fix this.
Re: Dashticz - v3.8.10 beta
Posted: Saturday 12 February 2022 19:19
by Lokonli
You can use tpc code as well. The following block is working:
Code: Select all
blocks['tpctest'] = {
tpc: '53602050',
provider: 'ovapi',
};
The other code (53602060) is working as well.
You have to create two blocks. Currently you can't combine two tpc codes into one block.
Re: Dashticz - v3.8.10 beta
Posted: Saturday 12 February 2022 20:15
by JanvdW
Thanks; that works. I did some experiments and it appears that you can make a combined list of both tpc's with a comma separated list:
Code: Select all
blocks['ovapi'] = { tpc: '53602050,53602060', title:' Prof. Waterinklaan', provider: 'ovapi', show_via: false, icon: 'fas fa-bus', results: 6, width: 6 };
Re: Dashticz - v3.8.10 beta
Posted: Monday 14 February 2022 22:08
by Lokonli
JanvdW wrote: ↑Saturday 12 February 2022 20:15
Thanks; that works. I did some experiments and it appears that you can make a combined list of both tpc's with a comma separated list:
Code: Select all
blocks['ovapi'] = { tpc: '53602050,53602060', title:' Prof. Waterinklaan', provider: 'ovapi', show_via: false, icon: 'fas fa-bus', results: 6, width: 6 };
Funny, I was not even aware of that, but indeed it's working

Re: Dashticz - v3.8.10 beta
Posted: Sunday 20 February 2022 16:14
by stephanvdplas
stephanvdplas wrote: ↑Tuesday 01 February 2022 20:22
Lokonli wrote: ↑Monday 24 January 2022 21:54
I can add a linedirectionnumber (1 or 2) to the output of the Dashticz block if that would be useful.
That would be a perfect idea! +1 for this feature(request).
Am I right that this has not been implemented yet? Could this be implemented in a near (beta) release?
Thanks in advance!
Regards,
Stephan
Re: Dashticz - v3.8.10 beta
Posted: Sunday 27 February 2022 19:41
by Lokonli
stephanvdplas wrote: ↑Sunday 20 February 2022 16:14
stephanvdplas wrote: ↑Tuesday 01 February 2022 20:22
Lokonli wrote: ↑Monday 24 January 2022 21:54
I can add a linedirectionnumber (1 or 2) to the output of the Dashticz block if that would be useful.
That would be a perfect idea! +1 for this feature(request).
Am I right that this has not been implemented yet? Could this be implemented in a near (beta) release?
Thanks in advance!
Regards,
Stephan
Implemented in beta 3.9.2
Add the following block parameter to show the line direction number:
Re: Dashticz - v3.8.10 beta
Posted: Saturday 05 March 2022 22:38
by stephanvdplas
Lokonli wrote: ↑Sunday 27 February 2022 19:41
stephanvdplas wrote: ↑Sunday 20 February 2022 16:14
stephanvdplas wrote: ↑Tuesday 01 February 2022 20:22
That would be a perfect idea! +1 for this feature(request).
Am I right that this has not been implemented yet? Could this be implemented in a near (beta) release?
Thanks in advance!
Regards,
Stephan
Implemented in beta 3.9.2
Add the following block parameter to show the line direction number:
While this works, it is not exactly the answer to my issue. I would like to be able to only show the buses in direction 1 or 2 and hide the buses in the other direction. Can this be used as a filter? Thanks for all the good work!
Re: Dashticz - v3.8.10 beta
Posted: Sunday 06 March 2022 15:22
by Lokonli
ok, I've added the filter. You can use the block parameter 'destination' for this, like:
Code: Select all
blocks['ovapi_dir_filter'] = {
station: 'HrKup',
title:'Bussen direction filter',
provider: 'ovapi',
direction: "1" //filter line direction 1 only
}
or to filter multiple directions:
Re: Dashticz - v3.8.10 beta
Posted: Saturday 12 March 2022 16:41
by stephanvdplas
Thanks! Works like a charm!
Re: Dashticz - v3.8.10 beta
Posted: Monday 26 December 2022 15:00
by stephanvdplas
Lokonli wrote: ↑Sunday 06 March 2022 15:22
ok, I've added the filter. You can use the block parameter 'destination' for this, like:
Code: Select all
blocks['ovapi_dir_filter'] = {
station: 'HrKup',
title:'Bussen direction filter',
provider: 'ovapi',
direction: "1" //filter line direction 1 only
}
or to filter multiple directions:
There seems to be a problem with the ovapi.nl website. The certificate is no longer valid (there is a 1313.nl certificate).
The permalink to the busstation gives no information anymore.
Is there another way to receive the bus information?
Correction: The issue is with EBS, the provider whicht took over the bus transport in our region. They hope to fix it soon.