Dashticz, alternative dashboard based on HTML, CSS, jQuery
Moderators: leecollings , htilburgs , robgeerts
Lokonli
Posts: 2287 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Thursday 27 January 2022 19:52
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
Dickey
Posts: 25 Joined: Friday 19 April 2019 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Netherlands
Contact:
Post
by Dickey » Thursday 27 January 2022 20:10
Thanks @Lokonli, works like a charme.
Dz-beta | Dashticz 3.8.10 BETA | Tradfri | RF-Link | Z-Wave | Harmony | Unify | P1 |
stephanvdplas
Posts: 76 Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:
Post
by stephanvdplas » 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).
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
JanvdW
Posts: 118 Joined: Saturday 21 December 2019 8:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by JanvdW » Saturday 12 February 2022 18:25
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.
Lokonli
Posts: 2287 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Saturday 12 February 2022 19:19
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.
JanvdW
Posts: 118 Joined: Saturday 21 December 2019 8:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by JanvdW » 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 };
Lokonli
Posts: 2287 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Monday 14 February 2022 22:08
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
stephanvdplas
Posts: 76 Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:
Post
by stephanvdplas » 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
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
Lokonli
Posts: 2287 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Sunday 27 February 2022 19:41
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:
stephanvdplas
Posts: 76 Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:
Post
by stephanvdplas » Saturday 05 March 2022 22:38
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!
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
Lokonli
Posts: 2287 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » 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:
stephanvdplas
Posts: 76 Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:
Post
by stephanvdplas » Saturday 12 March 2022 16:41
Thanks! Works like a charm!
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
stephanvdplas
Posts: 76 Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:
Post
by stephanvdplas » Monday 26 December 2022 15:00
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.
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
Users browsing this forum: No registered users and 1 guest