Dashticz - Show your dashboard and how-to's!

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

Joep123
Posts: 15
Joined: Monday 26 March 2018 18:44
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Joep123 » Monday 02 April 2018 19:42

EdwinK wrote:
Monday 02 April 2018 16:41
[Guess I'm doing something wrong then ;)
Your unit price (0.2032 cents) is not correct, should be 20.32 cents ;)

pelsen
Posts: 2
Joined: Monday 02 April 2018 20:12
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by pelsen » Monday 02 April 2018 20:21

Playing with my Microsoft Surface 2, just started with Dashticz.

Image

I`m having some strange issues around the refresh on the dashboard,

config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

But looks like the intervals is 60min and not sec. I`m running the beta on both (Domoticz and Dashticz).

User avatar
EdwinK
Posts: 1239
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by EdwinK » Monday 16 April 2018 17:13

Joep123 wrote:
Monday 02 April 2018 19:42
EdwinK wrote:
Monday 02 April 2018 16:41
[Guess I'm doing something wrong then ;)
Your unit price (0.2032 cents) is not correct, should be 20.32 cents ;)

See. I told you I did something wrong ;)
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

User avatar
robgeerts
Posts: 1233
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by robgeerts » Thursday 03 May 2018 12:15

WOW great dashboards everybody, I see some really cool ones!
Creator of Dashticz
Do you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a

or donate via PayPal: https://www.paypal.me/robgeerts

Titanium87
Posts: 8
Joined: Saturday 14 February 2015 20:52
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Titanium87 » Thursday 03 May 2018 16:08

Beschuitje wrote:
Friday 16 March 2018 12:51
My final version for now of Dashticz.

Its running on a 13.3 inch Trekstar tablet. That’s pretty big but a deliberate choice because of the Autiplan agenda.
I did however, had to adjust the density of the thing because the webpage didn’t fit on the screen.
IMG_9372.jpg
IMG_9370.jpg

.......
What is the trick to have the graphs filled? Like not just the line..
I have seen some of you have this, but I cant seem to find out how to get this myself.

Vomera
Posts: 20
Joined: Wednesday 06 September 2017 9:11
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Vomera » Sunday 13 May 2018 13:42

Here is my setup! :)

Took me some time. Even when a door opens or closes i see a picture of the door that opens and/or closes with different images (open and closed door). The best way was like there was an option OpenpopupOn and OpenpopupOff. Now i had to make 2 virtual switches for each door sensor to make it work.

Another thing i can't solve is the garbage. It is dark (looks like the button is off) and can't make it normal. Does someone has a solution for it?
It only works if i change the options to false:
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;

But then I get only white text.

Screen 2 is only webcam, so i didn't post it.

config.js
Spoiler: show
var config = {}
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['auto_positioning'] = 0;
config['domoticz_ip'] = 'ip';
config['wu_api'] = 'api';
config['wu_city'] = 'Maastricht';
config['wu_country'] = 'NL';
config['language'] = 'nl_NL';
config['auto_swipe_back_after'] = '60';
config['auto_swipe_back_to'] = 1;
config['last_update'] = 0;
config['hide_topbar'] = 1;
config['calendarlanguage'] = 'nl_NL';
config['use_beaufort'] = 1;
config['garbage_company'] = 'rd4';
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = 'postcode';
config['garbage_street'] = 'street';
config['garbage_housenumber'] = 'nunber';
config['garbage_maxitems'] = '12';
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: '#375b23', name: 'GFT', icon: 'img/garbage/kliko_green.png'},
pmd: {kliko: 'orange', code: '#db5518', name: 'PMD', icon: 'img/garbage/kliko_orange.png'},
rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval', icon: 'img/garbage/kliko_grey.png'},
papier: {kliko: 'blue', code: '#153477', 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'},

};



var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image: 'https://weerdata.weerslag.nl/image/1.0/ ... v=97432224', url: 'https://weerdata.weerslag.nl/image/1.0/ ... v=97432224'}
buttons.webcam = {width:12, isimage:true, refresh:500, image: 'link', url: 'link'}





var blocks = {}
blocks[48] = {} // deurbell
blocks[48]['playsound'] = 'sounds/deurbel.mp3';
blocks[48]['gotoslide'] = 2;
blocks[48]['width'] = 4;
blocks[48]['hide_data'] = true;

blocks[58] = {} // Verwarming
blocks[58]['title'] = 'Verwarming';

blocks['s1'] = {} // alles uit
blocks['s1']['width'] = 4;
blocks['s1']['hide_data'] = true;
blocks['s1']['icon'] = 'fa-bed';

blocks['s3'] = {} // woonkamer alles aan
blocks['s3']['width'] = 6;
blocks['s3']['title'] = 'Woonkamer';
blocks['s3']['hide_data'] = true;

blocks[690] = {} // alarm
blocks[690]['icon'] = 'fa-bell';
blocks[690]['width'] = 4;
blocks[690]['playsoundOn'] = 'sounds/alarm.mp3';

blocks[3537] = {} // brievenbus
blocks[3537]['openpopup'] = {}
blocks[3537]['openpopup']['url'] = 'img/mail.png';
blocks[3537]['openpopup']['auto_close'] = 10800; //seconds
blocks[3537]['hide_data'] = true;
blocks[3537]['playsoundOn'] = 'sounds/mail.mp3';


blocks[3857] = {} //lamp mexx
blocks[3857]['width'] = 4;

blocks['s8'] = {} // rolluik alle omhoog
blocks['s8']['icon'] = 'fa-chevron-up';
blocks['s8']['width'] = 6;
blocks['s8']['hide_data'] = true;

blocks['s9'] = {} // rolluik alle omlaag
blocks['s9']['icon'] = 'fa-chevron-down';
blocks['s9']['width'] = 6;
blocks['s9']['hide_data'] = true;

blocks[951] = {} //windrichting
blocks[951]['width'] = 8;

blocks[3962] = {} //buienradar voorspelling
blocks[3962]['icon'] = 'fa-cloud';
blocks[3962]['title'] = 'Regen voorspelling';
blocks[3962]['width'] = 12;

blocks[1655] = {} //Rolluik voor
blocks[1655]['title'] = 'Voor';
blocks[1655]['width'] = 6;

blocks[1743] = {} //Rolluik achter
blocks[1743]['title'] = 'Achter';
blocks[1743]['width'] = 6;

blocks[3968] = {} //buienradar voorspelling
blocks[3968]['title'] = 'Regen verwachting';
blocks[3968]['width'] = 12;
blocks[3968]['playsoundOn'] = 'sounds/regen.mp3';


blocks[3972] = {} // voordeur open
blocks[3972]['openpopup'] = {}
blocks[3972]['openpopup']['url'] = 'img/voordeuropen.jpg';
blocks[3972]['openpopup']['auto_close'] = 10; //seconds
blocks[3972]['hide_data'] = true;

blocks[3973] = {} // voordeur dicht
blocks[3973]['openpopup'] = {}
blocks[3973]['openpopup']['url'] = 'img/voordeurdicht.jpg';
blocks[3973]['openpopup']['auto_close'] = 10; //seconds
blocks[3973]['hide_data'] = true;

blocks[3975] = {} // achterdeur open
blocks[3975]['openpopup'] = {}
blocks[3975]['openpopup']['url'] = 'img/achterdeuropen.jpg';
blocks[3975]['openpopup']['auto_close'] = 10; //seconds
blocks[3975]['hide_data'] = true;

blocks[3974] = {} // achterdeur dicht
blocks[3974]['openpopup'] = {}
blocks[3974]['openpopup']['url'] = 'img/achterdeurdicht.jpg';
blocks[3974]['openpopup']['auto_close'] = 10; //seconds
blocks[3974]['hide_data'] = true;

blocks[3976] = {} // schuur open
blocks[3976]['openpopup'] = {}
blocks[3976]['openpopup']['url'] = 'img/schuuropen.jpg';
blocks[3976]['openpopup']['auto_close'] = 10; //seconds
blocks[3976]['hide_data'] = true;

blocks[3977] = {} // schuur dicht
blocks[3977]['openpopup'] = {}
blocks[3977]['openpopup']['url'] = 'img/schuurdicht.jpg';
blocks[3977]['openpopup']['auto_close'] = 10; //seconds
blocks[3977]['hide_data'] = true;

blocks[3978] = {} // poort open
blocks[3978]['openpopup'] = {}
blocks[3978]['openpopup']['url'] = 'img/poortopen.jpg';
blocks[3978]['openpopup']['auto_close'] = 10; //seconds
blocks[3978]['hide_data'] = true;

blocks[3979] = {} // poort dicht
blocks[3979]['openpopup'] = {}
blocks[3979]['openpopup']['url'] = 'img/poortdicht.jpg';
blocks[3979]['openpopup']['auto_close'] = 10; //seconds
blocks[3979]['hide_data'] = true;


blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Schakelaars';

blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['title'] = 'Weer';

blocks['blocktitle_3'] = {}
blocks['blocktitle_3']['type'] = 'blocktitle';
blocks['blocktitle_3']['title'] = 'Actueel';

blocks['blocktitle_4'] = {}
blocks['blocktitle_4']['type'] = 'blocktitle';
blocks['blocktitle_4']['title'] = 'Huis Klimaat';

blocks['blocktitle_5'] = {}
blocks['blocktitle_5']['type'] = 'blocktitle';
blocks['blocktitle_5']['title'] = 'Status';

blocks['blocktitle_6'] = {}
blocks['blocktitle_6']['type'] = 'blocktitle';
blocks['blocktitle_6']['title'] = 'Rolluiken';


//Columns defenition
var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1','s1','s3',58,'blocktitle_6','s8','s9',1655,1743,'garbage',3857]
columns[1]['width'] = 4;


columns[2] = {}
columns[2]['blocks'] = ['blocktitle_2','graph_3919',3962,'currentweather','weather']
columns[2]['width'] = 4;

columns[3] = {}
columns[3]['blocks'] = ['clock',buttons.buienradar,buttons.webcam]
columns[3]['width'] = 4;

columns[4] = {}
columns[4]['blocks'] = [buttons.webcam]
columns[4]['width'] = 12;

columns[5] = {}
columns[5]['blocks'] = ['graph_510','graph_511']
columns[5]['width'] = 12;

// weer

columns[6] = {}
columns[6]['blocks'] = ['blocktitle_2',buttons.buienradar,3919,951,118,952,954,955]
columns[6]['width'] = 4;

columns[7] = {}
columns[7]['blocks'] = ['blocktitle_3',buttons.temperatuur,buttons.wind,buttons.zicht,buttons.zon]
columns[7]['width'] = 4;

columns[8] = {}
columns[8]['blocks'] = ['blocktitle_4',3509,3517,3525,3560,585,3513,3087]
columns[8]['width'] = 4;

// status

columns[9] = {}
columns[9]['blocks'] = ['blocktitle_5',48,690,3537,3857,3968,3972,3973,3974,3975,3976,3977,3978,3979]
columns[9]['width'] = 4;


var screens = {}


screens[2] = {}
screens[2]['columns'] = [4]
screens[2]['background'] = 'bg13.jpg';

screens[1] = {}
screens[1]['columns'] = [1,2,3]
screens[1]['background'] = 'bg13.jpg';

screens[3] = {}
screens[3]['columns'] = [5]
screens[3]['background'] = 'bg13.jpg';

screens[4] = {}
screens[4]['columns'] = [6,7,8]
screens[4]['background'] = 'bg13.jpg';

screens[5] = {}
screens[5]['columns'] = [9]
screens[5]['background'] = 'bg13.jpg';
custom.css
Spoiler: show
/*
CUSTOM CSS FILE
*/


h1, h2, h3, h4, h5, h6 {
font-family: 'tahoma';
margin: 0px;
margin-left: 15px;
font-weight: 900;
font-size: 200%;
}


.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:15px;
padding-bottom:15px;
border: 3px solid rgba(255,255,255,0); /* border: 7px -> 3px - Smaller space between blocks */
background: rgba(0,0,0,0.2);
background-clip: padding-box;
}

#graphoutput3919{height:200px;}
#graphoutput510{height:150px;}
#graphoutput511{height:150px;}
#graphoutput3509{height:150px;}
#graphoutput3517{height:150px;}
#graphoutput3568{height:150px;}
#graphoutput3560{height:150px;}

.fa.fa-lightbulb-o.on {color: yellow}
.fa.fa-home.on {color: green}
.fa.fa-home.off {color: red}
.fa.fa-male.on {color: green}
.fa.fa-male.off {color: red}
.fa.fa-female.on {color: green}
.fa.fa-female.off {color: red}
.fa-male:before{font-size: 36px;}
.fa-female:before{font-size: 36px;}
.fa-lightbulb-o:before{font-size: 36px;}
.fa-print:before{font-size: 36px;}
.fa-home:before{font-size: 36px;}

.col-data .title {font-size:20px;}
.col-data span {font-size:10px;}

.standby .clock{font-size:60px !important;}
.standby .weekday,.standby .date{font-size:40px !important;}


div.screen {
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
background-position: center;
color: white;
Image
Image
Image

Venzent
Posts: 30
Joined: Sunday 15 April 2018 13:00
Target OS: Raspberry Pi
Domoticz version: 3.8153
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Venzent » Sunday 13 May 2018 14:07

Really looking cool!!
How did you do the "Voorlopig blijft het droog"-part? Where / how do you define your 3962 block?
Edit: Never mind, found the wiki.... :oops:

Venzent
Posts: 30
Joined: Sunday 15 April 2018 13:00
Target OS: Raspberry Pi
Domoticz version: 3.8153
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Venzent » Sunday 13 May 2018 20:24

Mmmm, got it working on Dashticz, but doesn't seem to project the correct data.
It is raining heavily, but it still says it's not gonna rain.
If I copy-paste the url, it gives a table with times and rainlevels, but nothing is showing up in /var/tmp/rain.tmp (should there appear text in it?)
http://gadgets.buienradar.nl/data/raint ... 9&lon=5.30

User avatar
HansieNL
Posts: 389
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi
Domoticz version: Stable
Location: NL
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by HansieNL » Monday 14 May 2018 1:05

@Venzent: Maybe you can try buienradar lua script viewtopic.php?f=61&t=22010
Blah blah blah

Vomera
Posts: 20
Joined: Wednesday 06 September 2017 9:11
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Vomera » Monday 14 May 2018 11:31

Venzent wrote:
Sunday 13 May 2018 20:24
Mmmm, got it working on Dashticz, but doesn't seem to project the correct data.
It is raining heavily, but it still says it's not gonna rain.
If I copy-paste the url, it gives a table with times and rainlevels, but nothing is showing up in /var/tmp/rain.tmp (should there appear text in it?)
http://gadgets.buienradar.nl/data/raint ... 9&lon=5.30
In 1 of the scripts you have to change the http to https. For me it wasnt working, but changing it to https it gave the right data. Had to wait for the rain haha.
You can also set the debug to True, then you get in the logging of domoticz the same lines of data then when you type the http://gadgets.buienradar.nl/data/raint ... 9&lon=5.30 line.

log.txt
Spoiler: show
2018-05-14 11:34:59.459 (Domoticz) Temp + Humidity (Temp Gang)
2018-05-14 11:35:00.462 LUA: https://gadgets.buienradar.nl/data/rain ... 2&lon=5.72
2018-05-14 11:35:00.559 LUA: Line:000|11:25
2018-05-14 11:35:00.559 LUA: Linetime: 11:25
2018-05-14 11:35:00.559 LUA: Line:000|11:30
2018-05-14 11:35:00.559 LUA: Linetime: 11:30
2018-05-14 11:35:00.559 LUA: Line:000|11:35
2018-05-14 11:35:00.559 LUA: Linetime: 11:35
2018-05-14 11:35:00.559 LUA: Line:000|11:40
2018-05-14 11:35:00.559 LUA: Linetime: 11:40
2018-05-14 11:35:00.559 LUA: Line in time range found
2018-05-14 11:35:00.559 LUA: Rain in timerange: 0
2018-05-14 11:35:00.559 LUA: Total rain now: 0
2018-05-14 11:35:00.559 LUA: Line:000|11:45
2018-05-14 11:35:00.559 LUA: Linetime: 11:45
2018-05-14 11:35:00.559 LUA: Line in time range found
2018-05-14 11:35:00.559 LUA: Rain in timerange: 0
2018-05-14 11:35:00.559 LUA: Total rain now: 0
2018-05-14 11:35:00.559 LUA: Line:000|11:50
2018-05-14 11:35:00.559 LUA: Linetime: 11:50
2018-05-14 11:35:00.559 LUA: Line in time range found
2018-05-14 11:35:00.559 LUA: Rain in timerange: 0
2018-05-14 11:35:00.559 LUA: Total rain now: 0
2018-05-14 11:35:00.559 LUA: Line:000|11:55
2018-05-14 11:35:00.559 LUA: Linetime: 11:55
2018-05-14 11:35:00.559 LUA: Line in time range found
2018-05-14 11:35:00.559 LUA: Rain in timerange: 0
2018-05-14 11:35:00.559 LUA: Total rain now: 0
2018-05-14 11:35:00.559 LUA: Line:000|12:00
2018-05-14 11:35:00.559 LUA: Linetime: 12:00
2018-05-14 11:35:00.559 LUA: Line in time range found
2018-05-14 11:35:00.559 LUA: Rain in timerange: 0
2018-05-14 11:35:00.559 LUA: Total rain now: 0
2018-05-14 11:35:00.559 LUA: Line:000|12:05
2018-05-14 11:35:00.559 LUA: Linetime: 12:05
2018-05-14 11:35:00.559 LUA: Line in time range found
2018-05-14 11:35:00.559 LUA: Rain in timerange: 0
2018-05-14 11:35:00.559 LUA: Total rain now: 0
2018-05-14 11:35:00.559 LUA: Line:000|12:10
2018-05-14 11:35:00.559 LUA: Linetime: 12:10
2018-05-14 11:35:00.559 LUA: Line:000|12:15
2018-05-14 11:35:00.559 LUA: Linetime: 12:15
2018-05-14 11:35:00.559 LUA: Line:000|12:20
2018-05-14 11:35:00.559 LUA: Linetime: 12:20
2018-05-14 11:35:00.559 LUA: Line:000|12:25
2018-05-14 11:35:00.559 LUA: Linetime: 12:25
2018-05-14 11:35:00.559 LUA: Line:000|12:30
2018-05-14 11:35:00.559 LUA: Linetime: 12:30
2018-05-14 11:35:00.559 LUA: Line:000|12:35
2018-05-14 11:35:00.559 LUA: Linetime: 12:35
2018-05-14 11:35:00.559 LUA: Line:000|12:40
2018-05-14 11:35:00.559 LUA: Linetime: 12:40
2018-05-14 11:35:00.559 LUA: Line:000|12:45
2018-05-14 11:35:00.559 LUA: Linetime: 12:45
2018-05-14 11:35:00.559 LUA: Line:000|12:50
2018-05-14 11:35:00.560 LUA: Linetime: 12:50
2018-05-14 11:35:00.560 LUA: Line:000|12:55
2018-05-14 11:35:00.560 LUA: Linetime: 12:55
2018-05-14 11:35:00.560 LUA: Line:000|13:00
2018-05-14 11:35:00.560 LUA: Linetime: 13:00
2018-05-14 11:35:00.560 LUA: Line:000|13:05
2018-05-14 11:35:00.560 LUA: Linetime: 13:05
2018-05-14 11:35:00.560 LUA: Line:000|13:10
2018-05-14 11:35:00.560 LUA: Linetime: 13:10
2018-05-14 11:35:00.560 LUA: Line:000|13:15
2018-05-14 11:35:00.560 LUA: Linetime: 13:15
2018-05-14 11:35:00.560 LUA: Line:000|13:20
2018-05-14 11:35:00.560 LUA: Linetime: 13:20
2018-05-14 11:35:00.560 EventSystem: Script event triggered: /home/pi/domoticz/scripts/lua/script_time_regenverwacht.lua
2018-05-14 11:35:00.564 EventSystem: Script event triggered: /home/pi/domoticz/scripts/lua/script_time_tempbuiten.lua
2018-05-14 11:35:03.701 (E Thermostaat) Thermostat (E-Thermostaat Set)
2018-05-14 11:35:03.702 (E Thermostaat) Temp (Temp E-Thermostaat)
2018-05-14 11:35:03.709 EventSystem: Event triggered: Vloerverwarming ui

Venzent
Posts: 30
Joined: Sunday 15 April 2018 13:00
Target OS: Raspberry Pi
Domoticz version: 3.8153
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Venzent » Monday 14 May 2018 14:08

Thanks for the suggestions. Some further searching on the forum came across a similair issue. Had to put -L after the curl command. That fixed it.

User avatar
Luppie
Posts: 33
Joined: Thursday 08 October 2015 14:23
Target OS: Raspberry Pi
Domoticz version: LastBeta
Location: Netherlands
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Luppie » Tuesday 15 May 2018 22:58

Just started yesterday configuring my dashboard and I have a few questions.
But first let me share my current config:

My setup : :geek:
iiyama PROLITE T2336MSC-B2 Touchscreen connected to a Raspberry Pi 3B (dedicated for dashticz)
Image

CONFIG.js
Spoiler: show
var config = {}
config['domoticz_ip'] = 'https://***.***.net:443';
config['user_name'] = '***';
config['pass_word'] = '****;
config['app_title'] = 'YVERs Home';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'https://cors-anywhere.herokuapp.com/htt ... s/algemeen';
config['news_scroll_after'] = '7';
config['theme'] = 'default';
config['background_image'] = 'img/bg11.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = '';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'day';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'nl-NL';
config['wu_api'] = '';
config['wu_city'] = '';
config['wu_name'] = '';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = 'avalex';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '';
config['garbage_street'] = '';
config['garbage_housenumber'] = '7';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = 31;
config['garbage_width'] = '12';
config['loginEnabled'] = 1;
config['no_rgb'] = '0';
config['auto_positioning'] = '0';
config['use_favorites'] = '0';
config['disable_googleanalytics'] = 1;
config['last_update'] = 1;
config['hide_topbar'] = '0';
config['edit_mode'] = '0';
config['hide_seconds'] = '0';
config['hide_seconds_stationclock'] = '0';
config['use_fahrenheit'] = '0';
config['use_beaufort'] = '0';
config['translate_windspeed'] = 1;
config['static_weathericons'] = '0';
config['hide_mediaplayer'] = '0';
config['garbage_hideicon'] = '0';
config['garbage_icon_use_colors'] = '0';
config['garbage_use_colors'] = 0;
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = 1;



var maps = {}
maps.location = { height: 445, width:12, latitude: 5*.***465, longitude: *.***00, zoom:11 }



var buttons = {}
buttons.buienradar = {width:12, isimage:true, image: 'https://api.buienradar.nl/image/1.0/RadarMapNL?h=384', url: 'https://www.weeronline.nl/Europa/Nederland/********'}
buttons.calendar = {width:4, icon: 'fa-calendar', title: 'Kalender', url: 'https://calendar.google.com/calendar'}
buttons.radio = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.nunl = {width:4, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
buttons.moon= {width:12, isimage:true, refreshimage:60000, image: 'moon'}

/* SCREENS CONFIGURATION */
var screens = {}
screens[1] = {}
screens[1]['columns'] = [1,2,3]

screens[2] = {}
screens[2]['columns'] = [4,5,6]


/* BLOCKS CONFIGURATION */
var blocks = {}
blocks = {}


/* COLUMNS CONFIGURATION */
var columns = {}

columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']



columns[1] = {};
columns[1]['blocks'] = ['stationclock','calendar','garbage',,maps.location, 'news']
columns[1]['width'] = 4;


columns[2] = {}
columns[2]['blocks'] = ['currentweather_big','weather',buttons.buienradar,798,797,684,479]
columns[2]['width'] = 4;

columns[3] = {}
columns[3]['blocks'] = [27,683,772,685,'s1','s2','s3',6,8,3,5,65,10,83,84,18,19,57]
columns[3]['width'] = 4;

columns[4] = {}
columns[4]['blocks'] = ['graph_12','graph_13']
columns[4]['width'] = 4;

columns[5] = {}
columns[5]['blocks'] = [12,13]
columns[5]['width'] = 4;
Screen1:
Image

Screen2:
Image

The questions that I have are:

When using the onscreen editor it screws up my config, so I had to write (copy past from this thread) my own config, is this something known ?
The graphs on screen2 are not showing on my raspbery pi with Ubuntu Mate using Chromium, how can I fix this ?
On my raspberry pi dashticz uses 160% CPU (dashticz itself is hosted on a remote server), is dashticz so heavy ?
After 15 min. idle I have to login again in dashticz, can this time be extended ?
Raspberry Pi2B | RFLink | MySensors Gateway | 18B20 | P1 | 9x KaKu Old | 3x Kaku New | KaKu PIR | 2x Flamingo Smoke Detector | Chuango PIR | Chuango Door Contact |3x Chinese Therm. Hum. Sensor | 2x SelectPlus DoorBell | RPi 7" Touch Control Panel

User avatar
robgeerts
Posts: 1233
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by robgeerts » Tuesday 15 May 2018 23:15

Wow, looks great!!

1.) On-screen editor has some bugs, use the config-file instead for now...
2.) Is there a developer-console-window available? Do you get any errors?
3.) I'm trying to speed up Dashticz as much as I can, its hard to see what causes the load. Are you able to check this by (temporary) disabling blocks, one by one?
4.) The login you see is from Domoticz itself, maybe check those settings or cookie settings in Chromium?
Creator of Dashticz
Do you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a

or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
Luppie
Posts: 33
Joined: Thursday 08 October 2015 14:23
Target OS: Raspberry Pi
Domoticz version: LastBeta
Location: Netherlands
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Luppie » Tuesday 15 May 2018 23:32

Thank you Rob

1.) I'm used to the config file now, so no problem.
2.) I have 2 resources (probably the graphs) not loading because of a 401 error (not authorized), weird thing is that on my Windows Laptop it is loading perfectly using Chrome (see the above screenshots). Changing authentication in Domoticz from login page to basic-auth fixed this for me.
3.) Will try that tomorrow
4.)My Domoticz has no timeout configured, but i found this line in login.js of Dashticz:

Code: Select all

var sessionTimeout = 1; //session timeout after x hour(s)
I have increased this to 24 hours now and will test if this works for me.
Raspberry Pi2B | RFLink | MySensors Gateway | 18B20 | P1 | 9x KaKu Old | 3x Kaku New | KaKu PIR | 2x Flamingo Smoke Detector | Chuango PIR | Chuango Door Contact |3x Chinese Therm. Hum. Sensor | 2x SelectPlus DoorBell | RPi 7" Touch Control Panel

User avatar
Luppie
Posts: 33
Joined: Thursday 08 October 2015 14:23
Target OS: Raspberry Pi
Domoticz version: LastBeta
Location: Netherlands
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Luppie » Thursday 17 May 2018 14:07

A little update on my post:

1)n.a
2) this is fixed now by changing authentication in Domoticz from login page to basic-auth.
3) Still have to test.
4) this is fixed now by setting the timeout in login.js

Vomera wrote:
Sunday 13 May 2018 13:42
Here is my setup! :)

Another thing i can't solve is the garbage. It is dark (looks like the button is off) and can't make it normal. Does someone has a solution for it?
It only works if i change the options to false:
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;

But then I get only white text.
I was having the same issue, the following works for me:

Code: Select all

config['garbage_use_colors'] = 1;
config['garbage_icon_use_colors'] = 1;
I noticed that if the CONFIG.js is generated by dashticz, that the numeric values all get quotes ' ' around them, while they only seems to work without the quotes.
Raspberry Pi2B | RFLink | MySensors Gateway | 18B20 | P1 | 9x KaKu Old | 3x Kaku New | KaKu PIR | 2x Flamingo Smoke Detector | Chuango PIR | Chuango Door Contact |3x Chinese Therm. Hum. Sensor | 2x SelectPlus DoorBell | RPi 7" Touch Control Panel

User avatar
EdwinK
Posts: 1239
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by EdwinK » Thursday 17 May 2018 14:08

Luppie wrote:
Tuesday 15 May 2018 22:58
Image
Nice screen, but too expensive for me.
Last edited by EdwinK on Thursday 17 May 2018 14:58, edited 1 time in total.
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

Vomera
Posts: 20
Joined: Wednesday 06 September 2017 9:11
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Vomera » Thursday 17 May 2018 14:11

The garbage issue is solved by changing the hex numbers of the garbage colors.

User avatar
Luppie
Posts: 33
Joined: Thursday 08 October 2015 14:23
Target OS: Raspberry Pi
Domoticz version: LastBeta
Location: Netherlands
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Luppie » Thursday 17 May 2018 20:39

Is there a way to limit the amount of API calls to Wunderground ?
Right now I have 760 API calls/day, that is an average of every 2 minutes a call, while my WU developer license only allows 500 API calls.

Image
Raspberry Pi2B | RFLink | MySensors Gateway | 18B20 | P1 | 9x KaKu Old | 3x Kaku New | KaKu PIR | 2x Flamingo Smoke Detector | Chuango PIR | Chuango Door Contact |3x Chinese Therm. Hum. Sensor | 2x SelectPlus DoorBell | RPi 7" Touch Control Panel

User avatar
Luppie
Posts: 33
Joined: Thursday 08 October 2015 14:23
Target OS: Raspberry Pi
Domoticz version: LastBeta
Location: Netherlands
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Luppie » Friday 18 May 2018 13:25

robgeerts wrote:
Tuesday 15 May 2018 23:15
Wow, looks great!!

1.) On-screen editor has some bugs, use the config-file instead for now...
2.) Is there a developer-console-window available? Do you get any errors?
3.) I'm trying to speed up Dashticz as much as I can, its hard to see what causes the load. Are you able to check this by (temporary) disabling blocks, one by one?
4.) The login you see is from Domoticz itself, maybe check those settings or cookie settings in Chromium?
I did some tests.

All colums enabled:
Image

Colum 1 disabled:
Image

Colum 1 & 2 disabled:
Image
Raspberry Pi2B | RFLink | MySensors Gateway | 18B20 | P1 | 9x KaKu Old | 3x Kaku New | KaKu PIR | 2x Flamingo Smoke Detector | Chuango PIR | Chuango Door Contact |3x Chinese Therm. Hum. Sensor | 2x SelectPlus DoorBell | RPi 7" Touch Control Panel

User avatar
robgeerts
Posts: 1233
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by robgeerts » Friday 18 May 2018 13:47

So column 2 seems to use the most?
Creator of Dashticz
Do you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a

or donate via PayPal: https://www.paypal.me/robgeerts

Post Reply

Who is online

Users browsing this forum: EdwinK and 1 guest