Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

User avatar
HansieNL
Posts: 457
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by HansieNL » Wednesday 24 October 2018 17:52

houtumj wrote:
Wednesday 24 October 2018 16:04
Is www.dashticz.nl down???
Garbage not working anymore
See viewtopic.php?f=67&t=24907
Blah blah blah

User avatar
gielie
Posts: 239
Joined: Tuesday 12 January 2016 12:40
Target OS: Raspberry Pi
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Dashticz - General Discussions

Post by gielie » Thursday 25 October 2018 9:48

After the changes concerning dashticz.nl i cant get the garbage/ical working again but that's another problem, my dashticz is also super super slow.
is anybody having the same problem.
- Vision ZU1401 USB Stick
- Aeotec MultiSensor 6
- FIBARO FGS222
- FIBARO FGWPE Wall Plug
- Everspring AN157
- Neo CoolCam Power plug
- Neo CoolCam PIR Sensor
- Popp Smoke Detector
- Toon
- Kodi Media Server

poudenes
Posts: 598
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Dashticz - General Discussions

Post by poudenes » Thursday 25 October 2018 9:50

gielie wrote:
Thursday 25 October 2018 9:48
After the changes concerning dashticz.nl i cant get the garbage/ical working again but that's another problem, my dashticz is also super super slow.
is anybody having the same problem.

http://www.domoticz.com/forum/viewtopic ... 87#p195387
RPi3 with OSMC - RPi3 with Domoticz - Dashticz - MiLight - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

edge
Posts: 10
Joined: Wednesday 02 September 2015 14:04
Target OS: Raspberry Pi
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by edge » Friday 26 October 2018 11:19

I managed to got the scripts working again. But somehow the fontawesome icons aren't working.

fas fa-calendar-alt
fa-calendar-alt
fas.fa-calendar-al

All without luck :(

poudenes
Posts: 598
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Dashticz - General Discussions

Post by poudenes » Friday 26 October 2018 11:32

edge wrote:
Friday 26 October 2018 11:19
I managed to got the scripts working again. But somehow the fontawesome icons aren't working.

fas fa-calendar-alt
fa-calendar-alt
fas.fa-calendar-al

All without luck :(
check https://fontawesome.com/icons?d=gallery

some names are changed. I corrected mine and have icons back
RPi3 with OSMC - RPi3 with Domoticz - Dashticz - MiLight - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

rgroothuis
Posts: 208
Joined: Friday 03 April 2015 17:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by rgroothuis » Sunday 04 November 2018 14:28

Two questions on the Dashboard I'm working on, see screenshot:

1) How can I decrease the height of each button? (So that I get more rows on my small screen)

2) How can I get the text on the button to the right of the icon?
Screen Shot 2018-11-04 at 13.26.43.png
Screen Shot 2018-11-04 at 13.26.43.png (62.15 KiB) Viewed 383 times

Lokonli
Posts: 111
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli » Sunday 04 November 2018 19:16

What is your screen size?
Can you show how you defined your 'buttons' in your CONFIG.js?
Which version of Dashticz are you using? If you are using master, then I recommend to switch to the latest beta.

rgroothuis
Posts: 208
Joined: Friday 03 April 2015 17:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by rgroothuis » Sunday 04 November 2018 20:32

Lokonli wrote:
Sunday 04 November 2018 19:16
What is your screen size?
Can you show how you defined your 'buttons' in your CONFIG.js?
Which version of Dashticz are you using? If you are using master, then I recommend to switch to the latest beta.
The buttons config is:

var buttons = {}
buttons.nunl = {key: 'nunl', width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.nos = {key: 'nos', width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}
buttons.webcam1 = { key: 'cam1', width:6, isimage:true, refresh:2000, image: 'http://192.168.0.175:88/cgi-bin/CGIProx ... pwd=yyyyyy', url: 'http://ip_url_to_webcam'}
buttons.webcam2 = { key: 'cam2', width:6, isimage:true, refresh:2000, image: 'http://192.168.0.173:88/cgi-bin/CGIProx ... wd=yyyyyyy'}
buttons.buienradar = { key: 'buienradar', width:12, isimage:true, refresh:6000, image: 'http://api.buienradar.nl/image/1.0/Rada ... =256&h=256', url:'https://gadgets.buienradar.nl/gadget/zo ... e=3&voor=1'}


I'm on the master branch indeed but not on the latest version. Going to do an update soon.

Lokonli
Posts: 111
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli » Sunday 04 November 2018 22:12

Add the following to custom/custom.css:

Code: Select all

.buttons-nunl, .buttons-nos, .imgblock {
  padding-top: 1px !important;
  padding-bottom: 1px !important;
  border-top: 1px !important;
  border-bottom: 1px !important;
}
and with a smaller font as well:

Code: Select all

.buttons-nunl, .buttons-nos, .imgblock {
  padding-top: 1px !important;
  padding-bottom: 1px !important;
  border-top: 1px !important;
  border-bottom: 1px !important;
  font-size: 6px !important;
}

.buttons-nunl .title, .buttons-nos .title {
font-size: 6px !important;
}

rgroothuis
Posts: 208
Joined: Friday 03 April 2015 17:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by rgroothuis » Wednesday 07 November 2018 14:06

Lokonli wrote:
Sunday 04 November 2018 22:12
Add the following to custom/custom.css:

Code: Select all

.buttons-nunl, .buttons-nos, .imgblock {
  padding-top: 1px !important;
  padding-bottom: 1px !important;
  border-top: 1px !important;
  border-bottom: 1px !important;
}
and with a smaller font as well:

Code: Select all

.buttons-nunl, .buttons-nos, .imgblock {
  padding-top: 1px !important;
  padding-bottom: 1px !important;
  border-top: 1px !important;
  border-bottom: 1px !important;
  font-size: 6px !important;
}

.buttons-nunl .title, .buttons-nos .title {
font-size: 6px !important;
}
That doesn't make a change to my dashboard, strange!

if I use:

Code: Select all

/* Background blocks */
.transbg.col-xs-1,
.transbg.col-xs-2,
.transbg.col-xs-3,
.transbg.col-xs-4,
.transbg.col-xs-5,
.transbg.col-xs-6,
.transbg.col-xs-7,
.transbg.col-xs-8,
.transbg.col-xs-9,
.transbg.col-xs-10,
.transbg.col-xs-11,
.transbg.col-xs-12 {
	padding-top:12px;
	padding-bottom:12px;
	border: 1px solid rgba(255,255,255,0); /* border: 7px -> 3px - Smaller space between blocks */
	background-clip: padding-box;
	height: 76px;  <<<<<<<<<===========
}

I added height to this setting I can influence the height of a number of boxes, but it also messes up the size of other boxes.
Screen Shot 2018-11-07 at 13.03.53.jpg
Screen Shot 2018-11-07 at 13.03.53.jpg (197.86 KiB) Viewed 292 times

Lokonli
Posts: 111
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli » Wednesday 07 November 2018 14:18

Which Dashticz version are you using?
Can you post your custom.css that you used for the screen shot in the previous post?

rgroothuis
Posts: 208
Joined: Friday 03 April 2015 17:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by rgroothuis » Wednesday 07 November 2018 14:22

Lokonli wrote:
Wednesday 07 November 2018 14:18
Which Dashticz version are you using?
Can you post your custom.css that you used for the screen shot in the previous post?
Sure, here it is, thanks for trying to help.

Code: Select all

.fa.fa-lightbulb-o.on {color: yellow}
.fa.fa-home.on {color: green}
.fa.fa-home.off {color: red}

.fa.fa-bell.on {color: green}
.fa.fa-bell.off {color: red}

.sunrise	{ font-size: 25px; font-size: 1vw; color: yellow;} 
.wi-sunrise:before	{ color: yellow; font-size: 25px; font-size: 1vw;}	
.sunset	{ font-size: 25px; font-size: 1vw; color: orange;}	
.wi-sunset:before	{ color: orange; font-size: 25px; font-size: 1vw;}	


/* Background blocks */
.transbg.col-xs-1,
.transbg.col-xs-2,
.transbg.col-xs-3,
.transbg.col-xs-4,
.transbg.col-xs-5,
.transbg.col-xs-6,
.transbg.col-xs-7,
.transbg.col-xs-8,
.transbg.col-xs-9,
.transbg.col-xs-10,
.transbg.col-xs-11,
.transbg.col-xs-12 {
	padding-top:12px;
	padding-bottom:12px;
	border: 1px solid rgba(255,255,255,0); /* border: 7px -> 3px - Smaller space between blocks */
	background-clip: padding-box;
}

div.mh.titlegroups {
    height: 42px !important;		/* default height=75px */
    padding-top: 1px;			/* center text for new height */
}

.title { 
    font-size:13px;
}

Lokonli
Posts: 111
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli » Wednesday 07 November 2018 20:18

And your dashticz version?
Looking at the .fa. statement in your custom.css I assume you are using Master or and old beta. In that case I would recommend to switch to the latest beta.

rgroothuis
Posts: 208
Joined: Friday 03 April 2015 17:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by rgroothuis » Thursday 08 November 2018 11:16

Lokonli wrote:
Wednesday 07 November 2018 20:18
And your dashticz version?
Looking at the .fa. statement in your custom.css I assume you are using Master or and old beta. In that case I would recommend to switch to the latest beta.
I'm using the Master but not yet the latest version. Dashticz is indicating that there is a new version. I didn't upgrade yet as I understood you need to install it on a different machine with a browser because of PHP support. I don't want that, I want to keep it on my Domoticz Raspberry.

Lokonli
Posts: 111
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli » Thursday 08 November 2018 12:42

rgroothuis wrote:
Thursday 08 November 2018 11:16
Lokonli wrote:
Wednesday 07 November 2018 20:18
And your dashticz version?
Looking at the .fa. statement in your custom.css I assume you are using Master or and old beta. In that case I would recommend to switch to the latest beta.
I'm using the Master but not yet the latest version. Dashticz is indicating that there is a new version. I didn't upgrade yet as I understood you need to install it on a different machine with a browser because of PHP support. I don't want that, I want to keep it on my Domoticz Raspberry.
That's no problem.
Dashticz used 'dashticz.nl' for some functionality (some garbage companies, calendar, tvguide, traffic info). The server 'dashticz.nl' is down. This functionality now is integrated within Dashticz beta, but then indeed you need a PHP enabled webserver. If you don't use the functionality previously provided by 'dashticz.nl' then there is no need for PHP. So there should be no problem running dashticz beta on the domoticz webserver.
If you would like to have the new PHP features then it's pretty easy to install Apache on the same Raspberry as well. See the wiki for instructions.

rgroothuis
Posts: 208
Joined: Friday 03 April 2015 17:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by rgroothuis » Thursday 08 November 2018 12:49

Lokonli wrote:
Thursday 08 November 2018 12:42
rgroothuis wrote:
Thursday 08 November 2018 11:16
Lokonli wrote:
Wednesday 07 November 2018 20:18
And your dashticz version?
Looking at the .fa. statement in your custom.css I assume you are using Master or and old beta. In that case I would recommend to switch to the latest beta.
I'm using the Master but not yet the latest version. Dashticz is indicating that there is a new version. I didn't upgrade yet as I understood you need to install it on a different machine with a browser because of PHP support. I don't want that, I want to keep it on my Domoticz Raspberry.
That's no problem.
Dashticz used 'dashticz.nl' for some functionality (some garbage companies, calendar, tvguide, traffic info). The server 'dashticz.nl' is down. This functionality now is integrated within Dashticz beta, but then indeed you need a PHP enabled webserver. If you don't use the functionality previously provided by 'dashticz.nl' then there is no need for PHP. So there should be no problem running dashticz beta on the domoticz webserver.
If you would like to have the new PHP features then it's pretty easy to install Apache on the same Raspberry as well. See the wiki for instructions.
Thanks for the feedback. I'm still learning on Dashticz, I was not even aware of the dashticz.nl server. Which functionality requires the PHP functionality? Is there an overview? Based on this I can consider if I want to setup a separate PHP web server.

Lokonli
Posts: 111
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli » Thursday 08 November 2018 14:55

rgroothuis wrote:
Thursday 08 November 2018 12:49
Lokonli wrote:
Thursday 08 November 2018 12:42
rgroothuis wrote:
Thursday 08 November 2018 11:16
I'm using the Master but not yet the latest version. Dashticz is indicating that there is a new version. I didn't upgrade yet as I understood you need to install it on a different machine with a browser because of PHP support. I don't want that, I want to keep it on my Domoticz Raspberry.
That's no problem.
Dashticz used 'dashticz.nl' for some functionality (some garbage companies, calendar, tvguide, traffic info). The server 'dashticz.nl' is down. This functionality now is integrated within Dashticz beta, but then indeed you need a PHP enabled webserver. If you don't use the functionality previously provided by 'dashticz.nl' then there is no need for PHP. So there should be no problem running dashticz beta on the domoticz webserver.
If you would like to have the new PHP features then it's pretty easy to install Apache on the same Raspberry as well. See the wiki for instructions.
Thanks for the feedback. I'm still learning on Dashticz, I was not even aware of the dashticz.nl server. Which functionality requires the PHP functionality? Is there an overview? Based on this I can consider if I want to setup a separate PHP web server.
It's needed for Calendar and for some (not all) garbage collection companies. (and hopefully in the next beta: integrated CORS proxy)

User avatar
mvveelen
Posts: 683
Joined: Friday 31 October 2014 11:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by mvveelen » Saturday 10 November 2018 18:25

I'm having problems with both the garbage as the calendar after upgrading to the latest Beta on my RPi3. I have PHP running on the RPi, but do I have to change something in the settings to get it working again?

PHP 7.0.30-0+deb9u1 (cli) (built: Jun 14 2018 13:50:25) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.30-0+deb9u1, Copyright (c) 1999-2017, by Zend Technologies

Code: Select all

config['garbage_company'] = 'hvc';
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = 'my ZIP code';
config['garbage_street'] = 'My street name;
config['garbage_housenumber'] = 'my house number';
config['garbage_maxitems'] = '4';
config['garbage_width'] = '12';
config['garbage_hideicon'] = 0;
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;
config['garbage_use_cors_prefix'] = true;
config['garbage'] = {
    gft: {kliko: 'green', code: '#FFFFFF', name: 'GFT', icon: 'img/garbage/kliko_green.png'},
    pmd: {kliko: 'orange', code: '#FFFFFF', name: 'Plastic', icon: 'img/garbage/kliko_orange.png'},
    rest: {kliko: 'grey', code: '#FFFFFF', name: 'Restafval', icon: 'img/garbage/kliko_grey.png'},
    papier: {kliko: 'blue', code: '#FFFFFF', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
    kca: {kliko: 'red', code: '#b21807', name: 'Chemisch afval', icon: 'img/garbage/kliko_red.png'},
    brown: {kliko: 'brown', code: '#7c3607', name: 'Bruin', icon: 'img/garbage/kliko_brown.png'},
    black: {kliko: 'black', code: '#000000', name: 'Zwart', icon: 'img/garbage/kliko_black.png'},
    milieu: {kliko: 'yellow', code: '#f9e231', name: 'Geel', icon: 'img/garbage/kliko_yellow.png'},
    kerstboom: {kliko: 'green', code: '#375b23', name: 'Kerstboom', icon: 'img/garbage/tree.png'},

};

RPi3 + RFXCOM rfxtrx433E + Xiaomi Gateway + Philips HUE Lights + Nefit Easy + Dashticz v2 + Domoticz latest Beta

Lokonli
Posts: 111
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli » Saturday 10 November 2018 19:04

mvveelen wrote:
Saturday 10 November 2018 18:25
I'm having problems with both the garbage as the calendar after upgrading to the latest Beta on my RPi3. I have PHP running on the RPi, but do I have to change something in the settings to get it working again?

PHP 7.0.30-0+deb9u1 (cli) (built: Jun 14 2018 13:50:25) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.30-0+deb9u1, Copyright (c) 1999-2017, by Zend Technologies

Code: Select all

config['garbage_company'] = 'hvc';
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = 'my ZIP code';
config['garbage_street'] = 'My street name;
config['garbage_housenumber'] = 'my house number';
config['garbage_maxitems'] = '4';
config['garbage_width'] = '12';
config['garbage_hideicon'] = 0;
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;
config['garbage_use_cors_prefix'] = true;
config['garbage'] = {
    gft: {kliko: 'green', code: '#FFFFFF', name: 'GFT', icon: 'img/garbage/kliko_green.png'},
    pmd: {kliko: 'orange', code: '#FFFFFF', name: 'Plastic', icon: 'img/garbage/kliko_orange.png'},
    rest: {kliko: 'grey', code: '#FFFFFF', name: 'Restafval', icon: 'img/garbage/kliko_grey.png'},
    papier: {kliko: 'blue', code: '#FFFFFF', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
    kca: {kliko: 'red', code: '#b21807', name: 'Chemisch afval', icon: 'img/garbage/kliko_red.png'},
    brown: {kliko: 'brown', code: '#7c3607', name: 'Bruin', icon: 'img/garbage/kliko_brown.png'},
    black: {kliko: 'black', code: '#000000', name: 'Zwart', icon: 'img/garbage/kliko_black.png'},
    milieu: {kliko: 'yellow', code: '#f9e231', name: 'Geel', icon: 'img/garbage/kliko_yellow.png'},
    kerstboom: {kliko: 'green', code: '#375b23', name: 'Kerstboom', icon: 'img/garbage/tree.png'},

};

I can help, but dId you already try the installation instructions in the wiki?
https://www.domoticz.com/wiki/Dashticz_ ... stallation
If you still encounter issues, please let me know so I can improve the wiki.

User avatar
mvveelen
Posts: 683
Joined: Friday 31 October 2014 11:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by mvveelen » Saturday 10 November 2018 20:29

Ehhhhh, yes? It worked until the latest update. I read something about running your own server or something?
RPi3 + RFXCOM rfxtrx433E + Xiaomi Gateway + Philips HUE Lights + Nefit Easy + Dashticz v2 + Domoticz latest Beta

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest