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

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Onrust
Posts: 37
Joined: Saturday 24 June 2017 10:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

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

Post by Onrust »

Hi all,

I've been playing with Dasticz last last couple of days (as posted in the General Discussions topic) and had some issues with graphs not being displayed properly. Somehow I managed to fix that, but ran into a different issue with blocks being displayed within the graph after selecting the 'laatste uren' or 'afgelopen maand' view. See screenshots below.

This is the dash I have when opening the page:
Dash-OK.jpeg
Dash-OK.jpeg (73.56 KiB) Viewed 4836 times

This is what I get when selecting 'laatste uren' or 'afgelopen maand'
Dash-error.jpeg
Dash-error.jpeg (72.39 KiB) Viewed 4836 times

What have I been doing wrong here?

Other question: How can I make the white surrounding of the secpanel transparent?


My CONFIG.js:
Spoiler: show
var _LANGUAGE = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ = 'http://username:[email protected]:xxxx';
var _DOMOTICZ_REFRESH = 10; //in seconds
var _DASHTICZ_REFRESH = 30; //in minutes
var _BACKGROUND_IMAGE = 'brushed.jpg'
var _THEME = 'default'; // default = dashticz default theme
/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
//var _HOST_ZIGGO_HORIZON = ''; //e.g. http://192.168.x.x/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND = 'xxxxxx';
var _WEATHER_CITY = 'EHGR';
var _WEATHER_CITYNAME = 'Weer Tilburg'; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY = 'NL';
var _USE_AUTO_POSITIONING = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = false; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT = false;
var _USE_BEAUFORT = true; //Bft instead of m/s
var _TRANSLATE_SPEED = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE = false;
var _LASTUPDATE_FORMAT = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _HIDE_SECONDS_IN_STATIONCLOCK = false;
var _CLOCK_BOSS = 'RedBoss';

var _APIKEY_MAPS = 'xxxx';
var _MAPS_LATITUDE = '51.4946086';
var _MAPS_LONGITUDE = '5.2041633';
var _MAPS_ZOOMLEVEL = '10'

var _AUTO_SWIPEBACK_TO = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME = 900; //seconds


var blocks = {}

blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle'
blocks['blocktitle_1']['title'] = 'Verlichting'



blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle'
blocks['blocktitle_2']['title'] = 'Aanwezig'


blocks['blocktitle_3'] = {}
blocks['blocktitle_3']['type'] = 'blocktitle'
blocks['blocktitle_3']['title'] = 'Deuren/ramen'


blocks[1] = {}
blocks[1]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[1]['title'] = 'Electra verbruik'; //if you want change the name of switch different then domoticz
blocks[1]['icon'] = 'fa-line-chart'; //if you want an other icon instead of the default, choose from: http://fontawesome.io/cheatsheet/
//blocks[1]['image'] = 'bulb_off.png'; //if you want to show an image instead if icon, place image in img/ folder
blocks[1]['switch'] = true; //if you want to switch the title and data
blocks[1]['hide_data'] = false; //if you want to hide the data of this block
blocks[1]['show_lastupdate'] = false; //if you want to show the last update specific for this block
//blocks[1]['playsound'] = 'sounds/ping.mp3'; //play a sound when a device changes
//blocks[1]['protected'] = true; //protect switching manually in Dashticz


blocks[3] = {}
blocks[3]['width'] = 4;
blocks[3]['title'] = 'Temp buiten';
blocks[3]['switch'] = true;
blocks[3]['hide_data'] = false;
blocks[3]['show_lastupdate'] = false;


blocks[6] = {}
blocks[6]['width'] = 4;
blocks[6]['title'] = 'Temp woonkamer';
blocks[6]['switch'] = true;
blocks[6]['hide_data'] = false;
blocks[6]['show_lastupdate'] = false;


blocks[4] = {}
blocks[4]['width'] = 4;
blocks[4]['title'] = 'Temp verdieping 1';
blocks[4]['switch'] = true;
blocks[4]['hide_data'] = false;
blocks[4]['show_lastupdate'] = false;


blocks[68] = {}
blocks[68]['width'] = 6;
blocks[68]['title'] = 'Woonkamer';
blocks[68]['image'] = 'bulbyellow_on.png';
blocks[68]['switch'] = false;
blocks[68]['hide_data'] = false;
blocks[68]['show_lastupdate'] = false;


blocks[69] = {}
blocks[69]['width'] = 6;
blocks[69]['title'] = 'Voordeur';
blocks[69]['switch'] = false;
blocks[69]['hide_data'] = false;
blocks[69]['show_lastupdate'] = false;


blocks[70] = {}
blocks[70]['width'] = 6;
blocks[70]['title'] = 'Eetkamer';
blocks[70]['switch'] = false;
blocks[70]['hide_data'] = false;
blocks[70]['show_lastupdate'] = false;


blocks[108] = {}
blocks[108]['width'] = 4;
blocks[108]['title'] = 'Vriezer';
blocks[108]['icon'] = 'fa-line-chart';
blocks[108]['switch'] = true;
blocks[108]['hide_data'] = true;
blocks[108]['show_lastupdate'] = false;


blocks[111] = {}
blocks[111]['width'] = 4;
blocks[111]['title'] = 'Marc';
blocks[111]['icon'] = 'fa-male';
blocks[111]['switch'] = false;
blocks[111]['hide_data'] = false;
blocks[111]['show_lastupdate'] = false;


blocks[172] = {}
blocks[172]['width'] = 4;
blocks[172]['title'] = 'Astrid';
blocks[172]['icon'] = 'fa-female';
blocks[172]['switch'] = false;
blocks[172]['hide_data'] = false;
blocks[172]['show_lastupdate'] = false;


blocks[173] = {}
blocks[173]['width'] = 4;
blocks[173]['title'] = 'Thomas';
blocks[173]['icon'] = 'fa-male';
blocks[173]['switch'] = false;
blocks[173]['hide_data'] = false;
blocks[173]['show_lastupdate'] = false;


blocks[114] = {}
blocks[114]['width'] = 6;
blocks[114]['title'] = 'Slapen';
blocks[114]['switch'] = false;
blocks[114]['hide_data'] = false;
blocks[114]['show_lastupdate'] = false;


blocks[144] = {}
blocks[144]['width'] = 6;
blocks[144]['title'] = 'Raam voor';
blocks[144]['switch'] = false;
blocks[144]['hide_data'] = false;
blocks[144]['show_lastupdate'] = false;


blocks[148] = {}
blocks[148]['width'] = 6;
blocks[148]['title'] = 'Slaapkamer voor';
blocks[148]['switch'] = false;
blocks[148]['hide_data'] = false;
blocks[148]['show_lastupdate'] = false;


blocks[151] = {}
blocks[151]['width'] = 6;
blocks[151]['title'] = 'Voordeur';
blocks[151]['switch'] = false;
blocks[151]['hide_data'] = false;
blocks[151]['show_lastupdate'] = false;


blocks[155] = {}
blocks[155]['width'] = 6;
blocks[155]['title'] = 'Tuindeur';
blocks[155]['switch'] = false;
blocks[155]['hide_data'] = false;
blocks[155]['show_lastupdate'] = false;


blocks[174] = {}
blocks[174]['width'] = 12;
blocks[174]['title'] = 'Ventilatie';
blocks[174]['switch'] = true;
blocks[174]['hide_data'] = false;
blocks[174]['show_lastupdate'] = false;




var trashcan = {}
trashcan.afvalwijzer = { maxitems: 1, trashapp: 'mijnafvalwijzer', width:6, zipcode:'xxxx', housenumber:'xx' }


var frames = {}
frames.secpanel = {height:390,frameurl:"http://192.168.x.x:xxxx/secpanel/index.html",width:12}


var buttons = {}
buttons.buienradar = {width:5, isimage:true, refreshimage:3600000, image: 'http://api.buienradar.nl/image/1.0/Rada ... =285&h=256', url: 'http://www.weeronline.nl/Europa/Nederla ... rg/4058675'}
//buttons.floorplans = {width:6, isimage:false, refresh:10000, image:'', url:'http://192.168.x.x:xxxx/#/Floorplans'}
//buttons.nunl = {width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
buttons.webcam = {width:12, isimage:true, refresh:1000, image: 'https://xx/record/current.jpg', url: 'https://xx/record/current.jpg'}


var columns = {}

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1',68,70,69,114,'blocktitle_3',151,155,144,148,'blocktitle_2',111,172,173]
columns[1]['width'] = 3;

columns[2] = {}
columns[2]['blocks'] = ['graph_1','1_1','1_2','108_2','3_1','6_1','4_1',174]
columns[2]['width'] = 5;

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

columns[4] = {}
columns[4]['blocks'] = []
columns[4]['width'] = 6;

columns[5] = {}
columns[5]['blocks'] = ['trafficmap',buttons.buienradar,trashcan.afvalwijzer]
columns[5]['width'] = 6;


//if you want to use multiple screens, use the code below:

var screens = {}
screens[1] = {}
screens[1]['background'] = 'brushed.jpg';
//screens[1]['background_morning'] = 'bg_morning.jpg';
//screens[1]['background_noon'] = 'bg_noon.jpg';
//screens[1]['background_afternoon'] = 'bg_afternoon.jpg';
//screens[1]['background_night'] = 'bg_night.jpg';
screens[1]['columns'] = [1,2,3]

screens[2] = {}
screens[2]['background'] = 'brushed.jpg';
screens[2]['columns'] = [4,5]

And custom.css:
Spoiler: show
/*
CUSTOM CSS FILE
*/


/*
Hoeken afronden
*/

.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: 7px solid rgba(255,255,255,0)
background: rgba(0,0,0,0.2);
background-clip: padding-box;
border-radius: 15px;
}


/*
Verkleinen iframes
*/

iframe {
-moz-transform: scale(0.65, 0.65);
-webkit-transform: scale(0.65, 0.65);
-o-transform: scale(0.65, 0.65);
-ms-transform: scale(0.65, 0.65);
-transform: scale(0.65, 0.65);
-moz-transform-origin: top left;
-webkit-transform-origin: top left;
-o-transform-origin: top left;
-ms-transform-origin: top left;
transform-origin: top left;
height:700px !important;
width:50vw !important;
overflow:hidden !important;
}


.transbg.col-xs-12 {
overflow:hidden !important;
}



/*
Hoogte grafieken
*/

#graphoutput1 { height:282px;}



.trafficmap {
height: 100%;
}
.col-xs-1.block_trafficmap,
.col-xs-2.block_trafficmap
, .col-xs-3.block_trafficmap, .col-xs-4.block_trafficmap, .col-xs-5.block_trafficmap, .col-xs-6.block_trafficmap, .col-xs-7.block_trafficmap, .col-xs-8.block_trafficmap, .col-xs-9.block_trafficmap, .col-xs-10.block_trafficmap, .col-xs-11.block_trafficmap, .col-xs-12.block_trafficmap {

padding-left: 13px !important;
padding-right: 13px !important;
height:400px !important;
}
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

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

Post by EdwinK »

I like your setup. I don't know how, but I don't have the 'uren' problem anymore. Do you hve the latest beta? Maybe that changed things
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Onrust
Posts: 37
Joined: Saturday 24 June 2017 10:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

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

Post by Onrust »

EdKo66 wrote:I like your setup.
Thnx! :)
EdKo66 wrote:I don't know how, but I don't have the 'uren' problem anymore. Do you hve the latest beta? Maybe that changed things
It's the latest beta I think, I installed it on July 6.
pollefinario
Posts: 21
Joined: Wednesday 10 February 2016 12:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by pollefinario »

Found this super forum post yesterday, already working on my own dash.
Does anybody got it working with Sonos yet? That would be great! Thanks
dycati
Posts: 26
Joined: Sunday 09 July 2017 20:50
Target OS: Windows
Domoticz version:
Contact:

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

Post by dycati »

If made my own version of dashticz in Angular because of the Drawbacks of Jquery

Image

Its a work in progress, so NOT everything is supported at this moment.. 8-)

https://github.com/danielalmering/DomoDash
Last edited by dycati on Monday 10 July 2017 12:38, edited 1 time in total.
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

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

Post by EdwinK »

Great :)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

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

Post by Derik »

@ Dycati.

Nice job...
Please can you ex plane the ANWB part??
Like this in my config...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
dycati
Posts: 26
Joined: Sunday 09 July 2017 20:50
Target OS: Windows
Domoticz version:
Contact:

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

Post by dycati »

Sure just put the following url 'https://www.anwb.nl/feeds/gethf'' on the Settings/Traffic section and it should display the current traffic jams..

You can copy alot of settings from this screenshot https://raw.githubusercontent.com/danie ... ttings.png
Last edited by dycati on Monday 10 July 2017 12:39, edited 1 time in total.
jmvdijk
Posts: 2
Joined: Monday 10 July 2017 11:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by jmvdijk »

dycati wrote:If made my own version of dashticz in Angular because of the Drawbacks of Jquery

Its a work in progress, so NOT everything is supported at this moment.. 8-)

https://github.com/danielalmering/dashticz_v3
Can you explain how you add the Spotify module in your Dashboard?

tnx!
dycati
Posts: 26
Joined: Sunday 09 July 2017 20:50
Target OS: Windows
Domoticz version:
Contact:

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

Post by dycati »

Sure first add the 'Spotify' to your blocks then just go to https://developer.spotify.com/my-applic ... plications
And add a application(domoticz) then you will get A Client ID just copy that in your settings.

Then add the correct redirect url like so ''http://192.168.192.22:8887//#" and fill in your username to get the playlist you got at spotify..

If you got any question just pm me!!

PS Just added Google Calendar to beta version...
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22: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 »

dycati wrote:If made my own version of dashticz in Angular because of the Drawbacks of Jquery
Image
Its a work in progress, so NOT everything is supported at this moment.. 8-)
https://github.com/danielalmering/dashticz_v3
Always great to see when other developers like your work and want to create a new and better version!
Although, I dont like you are using the name 'Dashticz v3'... People might get confused, basically my Dashticz and yours are 2 different dashboards... I'm still working on v2 wich will have some new features coming up.
dycati
Posts: 26
Joined: Sunday 09 July 2017 20:50
Target OS: Windows
Domoticz version:
Contact:

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

Post by dycati »

Sure it will give it its own name, no problem
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

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

Post by remb0 »

WOW spotify and a settings page.
Great work. I hope rob will add also the settingspage.

this it the advantage of opensource I think! :)
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

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

Post by Derik »

remb0 wrote:WOW spotify and a settings page.
Great work. I hope rob will add also the settingspage.

this it the advantage of opensource I think! :)

The settingspage is very nice feature,,, hope rob will...
Or perhaps work together guys..
One great bash better then 2 wit different features..
No hard feelings just a great dash :-)
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22: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 »

Well, indeed, I was already working on a spotify-widget, settings page and draggable blocks (instead of arranging via config.js).
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

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

Post by Trigun »

Cant wait Rob!! :)


Sent from my iPhone using Tapatalk
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

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

Post by Derik »

mmmm

Make love guys.....:-)
Perhaps there wil be a new born :-)
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Onrust
Posts: 37
Joined: Saturday 24 June 2017 10:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

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

Post by Onrust »

robgeerts wrote:Well, indeed, I was already working on a spotify-widget, settings page and draggable blocks (instead of arranging via config.js).
Sounds great!
Onrust
Posts: 37
Joined: Saturday 24 June 2017 10:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

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

Post by Onrust »

@robgeerts, any chance of looking into the issue I have with graphs, or is this going to be fixed in one of the upcoming betas anyway? :)
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22: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 »

The order of my todo-list (except for the small bugfixes I do in between:
1.) RGB-lamp support (just bought one to play with)
2.) Graph fixes
3.) Etc. etc. ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest