Dashticz is running on my Synology (DS418J). At the moment the display is just my MacBook on 1280x800 screen.
Code: Select all
var config = {}
config['domoticz_ip'] = 'http://192.168.0.11:8080';
config['login_timeout'] = '60';
config['user_name'] = 'Edwin';
config['pass_word'] = '';
//config['app_title'] = '';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_cors_url'] = '';
config['dashticz_php_path'] = './vendor/dashticz/';
config['standby_call_url'] = '';
config['standby_call_url_on_end'] = '';
config['theme'] = 'default'
config['background_image'] = 'img/bg10.jpg';
config['standby_after'] = '0';
config['start_page'] = '1';
config['enable_swiper'] = '0';
config['vertical_scroll'] = '2';
config['auto_swipe_back_to'] = '1';
config['auto_swipe_back_after'] = '0';
config['auto_slide_pages'] = '0';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'day';
config['blink_color'] = '255,0,0,0.5';
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'] = 'xxxxxxxxxx';
//config['gm_zoomlevel'] = '';
//config['gm_latitude'] = 'xx.xxxxxx';
//config['gm_longitude'] = 'xx.xxxxxx';
config['speak_lang'] = 'nl-NL';
config['owm_api'] = '';
config['owm_city'] = 'Rhoon';
config['owm_name'] = 'Rhoon';
config['owm_country'] = 'nl';
config['owm_lang'] = 'nl';
config['owm_cnt'] = '4';
config['owm_days'] = 1;
config['owm_min'] = 1;
config['idx_moonpicture'] = '';
config['longfonds_zipcode'] = '3161LH';
config['longfonds_housenumber'] = '27';
config['garbage_company'] = 'barafvalbeheer';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '3161LH';
config['garbage_street'] = 'Jonkerhof';
config['garbage_housenumber'] = '27';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '4';
config['garbage_width'] = '12';
config['garbage_hideicon'] = 0;
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = 1;
config['garbage_use_names'] = 1;
config['garbage_use_cors_prefix'] = 1;
config['setpoint_min'] = '6';
config['setpoint_max'] = '30';
config['loginEnabled'] = 0;
config['disable_update_check'] = 0;
config['no_rgb'] = 1;
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['disable_googleanalytics'] = 1;
config['last_update'] = 0;
config['hide_topbar'] = 1;
config['security_button_icons'] = 0;
config['edit_mode'] = 0;
config['hide_seconds'] = 1;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 1;
config['hide_mediaplayer'] = 0;
//Graph line colors and point size
config['lineColors'] = ['#EE0000', '#00EE00', '#0000EE'];
config['pointSize'] = ['0'];
//Garbage
config['garbage'] = {
gft: {kliko: 'green', code: '#375b23', name: 'GFT', icon: 'img/garbage/kliko_green.png'},
rest: {kliko: 'grey', code: '#5e5d5c', name: 'Rest', icon: 'img/garbage/kliko_grey.png'},
papier: {kliko: 'blue', code: '#153477', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
};
/*var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"NPO Radio 1","file":"http://icecast.omroep.nl/radio1-bb-mp3"},
{"track":2,"name":"Omroep Brabant","file":"http://streaming.omroepbrabant.nl/mp3hq"},
{"track":3,"name":"Studio Brussel","file":"http://icecast.vrtcdn.be/stubru-high.mp3"},
];
*/
var calendars = {}
calendars.prive = {
maxitems: 5,
url: s',
icon: 'fas fa-calendar-alt'
}
calendars.photography = {
maxitems: 5, icalurl: /basic.ics',
icon: 'fas fa-camera'
}
var buttons = {}
//buttons.buienradar = {key: 'buienradar', width:12, isimage:true, refreshimage:60000, btnimage: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=256&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=51.860074&lng=4.412694&overname=2&zoom=13&naam=Rhoon&size=3&voor=1', framewidth:580, frameheight: 520}
//buttons.log = {key:'log', width:12, image: '../custom/img/dz.png', title: 'Domoticz Log', log:true, level: 1}
//buttons.tvgids = {key: 'tvgids', width:4, image: '../custom/img/tv.png', title: 'TV Gids', url: 'https://www.tvgids24.nl/gadget'}
//buttons.p2000 = {key: 'p2000', width:4, image: '../custom/img/siren.png', title: 'P2000', newwindow:true, url: 'https://monitor.p2000alarm.nl'}
//buttons.fr24 = {key: 'fr24', width:4, image: '../custom/img/fr24.png', title: 'FR24', newwindow:true, url: 'https://flightradar24.com'}
//buttons.books = {key: 'books', width:12, image: '../custom/img/book.png', title: 'Boeken', url: '../clz/book.html'}
//buttons.movies = {key: 'movies', width:12, image: '../custom/img/film.png', title: 'Films', url: '../clz/movie.html'}
//buttons.music = {key: 'music', width:12, image: '../custom/img/music.png', title: 'Muziek', url: '../clz/music.html'}
buttons.IPCam = { width: 6, isimage: true, refreshimage: 60, btnimage: 'http://192.168.0.5/picture/1/current/?_username=admin&_signature=aa7a6254a761770579ac6c2a928970e61826a92e', url: 'http://192.168.0.5'};
buttons.IPCam2 = {width: 6, isimage: true, refreshimage: 60, btnimage: 'http://192.168.0.168/webcapture.jpg?command=snap&channel=1&user=admin&password=tlJwpbo6%20',url: 'http://192.168.0.168/webcapture.jpg?command=snap&channel=1&user=admin&password=tlJwpbo6%20'};
var frames = {}
// frames.volumioplayer = { width:12, height:720, refreshiframe: 1000000, frameurl: "http://XXX.XXX.XXX.XXX/playback"}
//var trafficinfo = {}
// trafficinfo.anwba58 = { key:'anwba58', provider: 'anwb', road:'A58', trafficJams: false, roadWorks: true, radars: false, show_lastupdate:false, icon: 'fas fa-car', width:12, results: 10 };
//var maps = {}
// maps.thuis = { height: 300, link:'http://www.ovzoeker.nl', width:12, latitude: 51.432103, longitude: 4.314068, zoom:10 }
//var tvguide = {}
// tvguide.npo = { key:'tvnpo', image: '../custom/img/tv.png', width:12, channels: [1,2,3], maxitems: 5 }
// tvguide.other = { key:'tvother', image: '../custom/img/tv.png', width:12, channels: [29,18], maxitems: 4 }
var blocks = {}
blocks[49] = { //Thuis
textOff: 'AFWEZIG',
textOn: 'AANWEZIG',
icon: 'fas fa-home',
width: '4'}
// Alive?
blocks[391] = { //PI Hole
hide_data: true, width: 4 }
blocks['v27'] = { //Uptime
title: 'Uptime',
image: 'uptime.png',
switch: true,
width: 12
}
blocks['longfonds'] = {
title: 'Longfonds',
width: 4,
switch: true,
image: 'longfonds.png',
}
blocks['traffic'] = {
icon: 'fas fa-car'
}
blocks[49] = {
title: 'Presence',
width: 12
}
blocks['train'] = {
icon: 'fas fa-train'
}
blocks['streamplayer'] = {
image: '../custom/img/radio.png'
}
blocks['news_nualg'] = {
feed: 'https://www.nu.nl/rss/algemeen',
maxheight: 400,
title: 'Nu.nl' //optional
//icon: 'fas fa-icon'
}
blocks[451] = {
//title: 'Tarief',
width: 12
}
blocks['175_1'] = {
title: 'Buiten temp.',
switch: true,
width: 4
}
blocks[376] = {
title: 'Binnen temp.',
switch: true,
width: 4
}
blocks['1_1'] = {
title: 'Nu',
switch: true,
width: 4
}
blocks['1_2'] = {
title: 'Vandaag (?)',
switch: true,
width: 4
}
blocks['2_1'] = {
title: 'Vandaag (?)',
switch: true,
width: 4
}
blocks['2_2'] = {
title: 'Totaal (?)',
switch: true,
width: 4
}
blocks[407] = {
width: 4,
icon: 'fas fa-exclamation-triangle',
}
blocks[408] = {
width: 4,
icon: 'fas fa-exclamation-triangle',
}
//defining number of columns, their contents en widths
//width can be a number 1 to 12, but total widths of all columns should always be 12
var columns = {}
//--- Topbar ---
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']
//--- Screen 1 ---
columns[1] = {}
columns[1]['blocks'] = [377,380,407,408,'longfonds',284,285,286,287,'s4','s9',389,390,391,392,393,394]
columns[1]['width'] = 5;
columns[2] = {}
columns[2]['blocks'] = ['weather_owm',376,'175_1','1_1','1_2','2_1','2_2',buttons.IPCam,buttons.IPCam2]
columns[2]['width'] = 5;
columns[3] = {}
columns[3]['blocks'] = ['sunrise',49,451,'garbage','v27']
columns[3]['width'] = 2;
//--- Screen 2 ---
columns[4] = {}
columns[4]['blocks'] = [calendars.prive,calendars.photography]
columns[4]['width'] = 5;
columns[5] = {}
columns[5]['blocks'] = ['traffic',publictransport.ovinfobus,'train',publictransport.ovinfotrains]
columns[5]['width'] = 5;
columns[6] = {}
columns[6]['blocks'] = ['stationclock','news_nualg']
columns[6]['width'] = 2;
columns[7] = {}
columns[7]['blocks'] = [frames.volumioplayer]
columns[7]['width'] = 6;
columns[8] = {}
columns[9]['blocks'] = ['news',tvguide.npo,tvguide.other]
columns[9]['width'] = 6;
//--- Standby Screen ---
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock']
columns_standby[1]['width'] = 12;
//--- Multiple screens ---
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg10.jpg';
screens[1]['columns'] = [1,2,3]
screens[2] = {}
screens[2]['background'] = 'bg10.jpg';
screens[2]['columns'] = [4,5,6]
screens[3] = {}
screens[3]['background'] = 'bg10.jpg';
screens[3]['columns'] = [7,8]
Code: Select all
/*
CUSTOM CSS FILE
*/
/* Longfonds */
.longfonds .dt_title {
font-size: 12px !important;
}
.longfonds .dt_state {
font-size: 18px !important;
}
/* Uptime */
.block_v27 {
height: 100% !important;
}
/* MeteoAlarm */
.alertnormal .col-icon {
color: green !important;
}
.alertlight .col-icon {
color: yellow !important;
}
.alertmedium .col-icon {
color: orange !important;
}
.alerthigh .col-icon {
color: red !important;
}
/* Thermostaat Selector */
.block_380 .icon {
width: 85% !important;
height: auto;
}
.block_380 .btn-group {
margin-top: -15px !important;
}
.block_380 .btn {
color: #000000;
background-color: rgba(108,108,108,1.0);
border-color: #000000;
}
.block_380 .btn.active {
color: #000000;
background-color: rgba(255,255,255,0.9);
border-color: #000000;
}
.block_380 .title {
font-size: 0px !important;
}
/* Alles hier onder moet nog gecontroleerd worden */
.transbg[class*="col-xs"] {
border-width: 3px !important;
border-radius: 10px;
background-color: rgba(0,0,0,0.7);
}
/* .transbg[class*="col-xs"].hover:hover {
background-color: rgba(128,128,128,0.3);
} */
/* Placeholder */
/* .block_326 {
background-color: transparent !important;
color: transparent !important;
} */
/* Device blocks */
div.mh {
height:75px;
}
@media (max-width: 975px) {
div.mh {
height:67px;
}
}
/* Dimmer Slider and Handle - Off State */
/*[class*="block_"] .ui-slider-horizontal {
background-color: rgba(255,255,255,0.4);
border-color: transparent;
height: 1px;
top: 5px;
}
[class*="block_"] .ui-slider-handle {
background-color: rgba(108,108,108,1.0);
border-radius: 50%;
border-color: transparent;
height: 15px;
width: 15px;
}
.block_431 .title,
.block_417 .title,
.block_124 .title,
.block_126 .title,
.block_236 .title,
.block_252 .title,
.block_391 .title,
.block_400 .title {
color: rgba(108,108,108,1.0);
}
*/
/* Dimmer Slider and Handle - On State */
/*.slider-on [class*="ui-slider-h"] {
background-color: rgba(255,255,255,1.0);
border-color: transparent;
}
.slider-on .title {
color: rgba(255,255,255,1.0);
}
*/
/* Buttons */
.button {
min-height: 55px;
padding-top: 10px !important;
}
.button .icon {
width: 150% !important;
}
.button .dt_title {
font-size: 125%;
}