Hi I also made my first dashboard with dashticz. What an amazing functionality!
1. my newsitems dont not show
2. my publictransport.ovinfotram does not show
3. i dont want a time stamp with my temperaturesensors
4. my tv s (ping devices), when they are on, i want them the same color as the lightbulbs when they are on
5. my denonvolume selectorbuttons dont fit in the block, can i make them smaller
6. my security devices, i like to have them yellow when on, just as the light bulbs do
Code: Select all
var config = {}
config['domoticz_ip'] = 'http://x.x.x.x';
config['user_name'] = '';
config['pass_word'] = '';
config['app_title'] = 'Domotica familie xxxx';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '60';
config['theme'] = 'default';
config['background_image'] = 'img/bg2.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = '';
config['auto_swipe_back_after'] = '';
config['auto_slide_pages'] = '';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'en_US';
config['calendarurl'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'en-US';
config['wu_api'] = '';
config['wu_city'] = 'Amsterdam';
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'] = '';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '';
config['garbage_street'] = '';
config['garbage_housenumber'] = '';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '';
config['garbage_width'] = '';
config['loginEnabled'] = '0';
config['no_rgb'] = '0';
config['auto_positioning'] = '0';
config['selector_instead_of_buttons'] = '1';
config['use_favorites'] = '0';
config['disable_googleanalytics'] = '0';
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'] = '1';
config['garbage_use_colors'] = '0';
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = '1';
var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"3fm","file":" http://icecast.omroep.nl/3fm-bb-mp3"},
{"track":2,"name":"538","file":"http://18973.live.streamtheworld.com/RADIO538.mp3"},
{"track":3,"name":"Q-Music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp33"},
{"track":4,"name":"Radio10","file":"http://stream.radio10.nl/radio10"},
{"track":5,"name":"Veronica","file":"http://playerservices.streamtheworld.com/api/livestream-redirect/VERONICA.mp3"},
{"track":6,"name":"Skyradio","file":"http://playerservices.streamtheworld.com/api/livestream-redirect/SKYRADIO.mp3"},
]
var publictransport = {}
publictransport.ovinfotrain = { show_via: true, station: 'station-den-haag-centraal', title:'NS-Den Haag centraal', provider: '9292-train', show_lastupdate:true, icon: 'train', width: 5, results: 6 };
publictransport.ovinfotram = { show_via: false, station: 'rijswijk-zh/tramhalte-aletta-jacobsstraat', provider: '9292-tram', show_lastupdate:true, icon: '9292-tram', width:5, results: 6 };
var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-tv', width:12, channels: [1,2,3,4,31,36,37,34,466,420], maxitems: 10 }
var buttons = {}
buttons.radio = {width:8, image: 'radio', title: '/img/radio_on.png', url: 'http://nederland.fm'}
buttons.buienradar = {width:8, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
buttons.webcam = {width:12, isimage:true, refresh:2000, image: 'http://192.168.20.50/cgi-bin/snapshot.cgi?chn=1&u=xxxx&p=xxxxx', url: 'http://192.168.20.50/cgi-bin/snapshot.cgi?chn=1&u=xxxxxx&p=xxxxx'}
//buttons.calendar = {width:4, icon: 'fa-calendar', title: 'Kalender', url: 'https://calendar.google.com/calendar'}
//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'}
var blocks = {}
//
// TITELBLOKKEN
//
blocks['1'] = {}
blocks['1']['type'] = 'blocktitle';
blocks['1']['title'] = 'Scenes';
blocks['1a'] = {}
blocks['1a']['type'] = 'blocktitle';
blocks['1a']['title'] = 'Schakelaars';
blocks['1b'] = {}
blocks['1b']['type'] = 'blocktitle';
blocks['1b']['title'] = 'Tuin';
blocks['2a'] = {}
blocks['2a']['type'] = 'blocktitle';
blocks['2a']['title'] = 'Amusement';
blocks['2b'] = {}
blocks['2b']['type'] = 'blocktitle';
blocks['2b']['title'] = 'Netwerk';
blocks['3'] = {}
blocks['3']['type'] = 'blocktitle';
blocks['3']['title'] = 'Klimaat';
blocks['3b'] = {}
blocks['3b']['type'] = 'blocktitle';
blocks['3b']['title'] = 'Security';
blocks['4'] = {}
blocks['4']['type'] = 'blocktitle';
blocks['4']['title'] = 'Thuis';
blocks['4a'] = {}
blocks['4a']['type'] = 'blocktitle';
blocks['4a']['title'] = 'Tv';
blocks['4b'] = {}
blocks['4b']['type'] = 'blocktitle';
blocks['4b']['title'] = 'Pc en tablet';
//
// WEER
//
blocks[768] = {}
blocks[768]['title'] = 'Vorstalarm 4c';
blocks[768]['hide_data'] = true
blocks[457] = {}
blocks[457]['title'] = 'Temperatuur tuin';
blocks[457]['hide_data'] = true
blocks[948] = {}
blocks[948]['title'] = 'Zuiderpark';
blocks[948]['hide_data'] = true
blocks[455] = {}
blocks[455]['title'] = 'Zolder';
blocks[455]['hide_data'] = true
blocks[1025] = {}
blocks[1025]['title'] = 'Zolder radiator';
blocks[1025]['hide_data'] = true
//
// NEWS FEED
//
blocks['news_2'] = {}
blocks['news_2']['feed'] = 'https://crossorigin.me/http://www.nu.nl/rss/Algemeen';
blocks['news_3'] = {}
blocks['news_3']['feed'] = 'https://crossorigin.me/http://www.nu.nl/rss/Sport';
blocks['news_4'] = {}
blocks['news_4']['feed'] = 'https://cors-anywhere.herokuapp.com/http://feeds.feedburner.com/tweakers/nieuws';
blocks['news_5'] = {}
blocks['news_5']['feed'] = 'https://cors-anywhere.herokuapp.com/http://www.nu.nl/rss';
//
//SCENES
//
blocks['s13'] = {}
blocks['s13']['title'] = 'Sfeerverlichting binnen';
blocks['s13']['hide_data'] = true
blocks['s14'] = {}
blocks['s14']['title'] = 'Nachtverlichting';
blocks['s14']['hide_data'] = true
blocks['s15'] = {}
blocks['s15']['title'] = 'Sfeerverlichting buiten';
blocks['s15']['hide_data'] = true
blocks['s16'] = {}
blocks['s16']['title'] = 'Opstaan';
blocks['s16']['hide_data'] = true
blocks['s18'] = {}
blocks['s18']['title'] = 'Beneden/weg';
blocks['s18']['hide_data'] = true
blocks['s19'] = {}
blocks['s19']['title'] = 'Aanwezigheid';
blocks['s19']['hide_data'] = true
blocks[969] = {}
blocks[969]['title'] = 'Sproei grasveld';
blocks[969]['hide_data'] = true
blocks[972] = {}
blocks[972]['title'] = 'Sproei borders 1';
blocks[972]['hide_data'] = true
blocks[973] = {}
blocks[973]['title'] = 'Sproei borders 2';
blocks[973]['hide_data'] = true
blocks[985] = {}
blocks[985]['title'] = 'Visite';
blocks[985]['hide_data'] = true
blocks[1049] = {}
blocks[1049]['title'] = 'Zolder default heating';
blocks[1049]['hide_data'] = true
//
// SCHAKELAARS
//
blocks[86] = {}
blocks[86]['title'] = 'Rolluik';
blocks[86]['hide_data'] = true
blocks[263] = {}
blocks[263]['title'] = 'Accu';
blocks[263]['hide_data'] = true
blocks[997] = {}
blocks[997]['title'] = 'Lamp TV links';
blocks[997]['hide_data'] = true
blocks[1002] = {}
blocks[1002]['title'] = 'Lantaarn';
blocks[1002]['hide_data'] = true
blocks[1012] = {}
blocks[1012]['title'] = 'Maak een foto';
blocks[1012]['hide_data'] = true
blocks[1005] = {}
blocks[1005]['title'] = 'Wii en Tv';
blocks[1005]['hide_data'] = true
blocks[260] = {}
blocks[260]['title'] = 'Edge router';
blocks[260]['hide_data'] = true
blocks[145] = {}
blocks[145]['title'] = 'Printer';
blocks[145]['hide_data'] = true
//
// ENTERTAINMENT
//
blocks[354] = {}
blocks[354]['title'] = 'Denon volume';
blocks[353] = {}
blocks[353]['title'] = 'Denon source';
blocks[134] = {}
blocks[134]['title'] = 'Denon zenders';
blocks[139] = {}
blocks[139]['title'] = 'Denon mixer';
blocks[277] = {}
blocks[277]['title'] = 'TV Woonkamer';
blocks[277]['icon'] = 'fa-tv'
blocks[277]['hide_data'] = true
blocks[827] = {}
blocks[827]['title'] = 'TV Werkkamer';
blocks[827]['icon'] = 'fa-tv'
blocks[827]['hide_data'] = true
blocks[805] = {}
blocks[805]['title'] = 'TV Niels';
blocks[805]['icon'] = 'fa-tv'
blocks[805]['hide_data'] = true
blocks[675] = {}
blocks[675]['title'] = 'TV Sonia';
blocks[675]['icon'] = 'fa-tv'
blocks[675]['hide_data'] = true
//
// NETWORK
//
blocks[287] = {}
blocks[287]['title'] = 'Zyxel';
blocks[287]['width'] = 3;
blocks[287]['hide_data'] = true
blocks[286] = {}
blocks[286]['title'] = 'Unify';
blocks[286]['width'] = 3;
blocks[286]['hide_data'] = true
blocks[289] = {}
blocks[289]['title'] = 'Qnap';
blocks[289]['width'] = 3;
blocks[289]['hide_data'] = true
blocks[283] = {}
blocks[283]['title'] = 'Edge router';
blocks[283]['width'] = 3;
blocks[283]['hide_data'] = true
blocks[284] = {}
blocks[284]['title'] = 'Ziggo lan';
blocks[284]['width'] = 3;
blocks[284]['hide_data'] = true
blocks[285] = {}
blocks[285]['title'] = 'Ziggo wan';
blocks[285]['width'] = 3;
blocks[285]['hide_data'] = true
//
// SECURITY
//
blocks[273] = {}
blocks[273]['title'] = 'Monique 06';
blocks[273]['hide_data'] = true
blocks[274] = {}
blocks[274]['title'] = 'Peter 06';
blocks[274]['hide_data'] = true
blocks[275] = {}
blocks[275]['title'] = 'Sonia 06';
blocks[275]['hide_data'] = true
blocks[276] = {}
blocks[276]['title'] = 'Niels 06';
blocks[276]['hide_data'] = true
//
// ALARMEN
//
blocks[207] = {}
blocks[207]['title'] = 'Huis afgesloten';
blocks[210] = {}
blocks[210]['title'] = 'Alarm';
blocks[968] = {}
blocks[968]['title'] = 'Rook hal';
blocks[966] = {}
blocks[966]['title'] = 'Rook trap';
blocks[272] = {}
blocks[272]['title'] = 'Alarm knop';
blocks[975] = {}
blocks[975]['title'] = 'Bel tuin';
//
// pc en tablet
//
blocks[786] = {}
blocks[786]['title'] = 'Niels pc ziggo';
blocks[786]['hide_data'] = true
blocks[278] = {}
blocks[278]['title'] = 'Niels pc vlan';
blocks[278]['hide_data'] = true
blocks[279] = {}
blocks[279]['title'] = 'Niels ptb';
blocks[279]['hide_data'] = true
blocks[676] = {}
blocks[676]['title'] = 'Niels pc vlan wifi';
blocks[676]['hide_data'] = true
blocks[280] = {}
blocks[280]['title'] = 'Sonia ptb';
blocks[280]['hide_data'] = true
blocks[282] = {}
blocks[282]['title'] = 'Peter pc vlan';
blocks[282]['hide_data'] = true
blocks[281] = {}
blocks[281]['title'] = 'Peter ptb';
blocks[281]['hide_data'] = true
blocks[678] = {}
blocks[678]['title'] = 'Peter tablet';
blocks[678]['hide_data'] = true
blocks[291] = {}
blocks[291]['title'] = 'Monique tablet';
blocks[291]['hide_data'] = true
blocks[677] = {}
blocks[677]['title'] = 'Sonia tablet';
blocks[677]['hide_data'] = true
//
// KOLOMMEN
//
var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['1','s16','s18','s19','s13','s15','s14',985,'1a',1012,263,997,1002,1005,86,260,145,'1b', 969,972,973]
columns[1]['width'] = 3;
columns[2] = {}
columns[2]['blocks'] = ['2a','streamplayer',tvguide.dutch,354,353,134,139,'2b',287,286,289,283,285,284]
columns[2]['width'] = 3;
columns[3] = {}
columns[3]['blocks'] = ['3','sunrise',buttons.buienradar,457,948,455,1025,1049,'3b',207,210,272,968,966,975,768]
columns[3]['width'] = 3;
columns[4] = {}
columns[4]['blocks'] = ['4',buttons.webcam,274,273,276,275,'4a',277,805,675,'4b',282,281,678,291,786,278,676,279,280,677]
columns[4]['width'] = 3;
columns[5] = {}
columns[5]['blocks'] = ['clock','sunrise',buttons.buienradar,768,457,455,1025,'news_4','news_5',publictransport.ovinfotrain,publictransport.ovinfotram]
columns[5]['width'] = 3;
columns[6] = {}
columns[6]['blocks'] = ['1','s16','s18','s19','s13','s15','s14',969,972,973,985,1049,'1a',1012,263,997,1002,1005,86,260,145]
columns[6]['width'] = 3;
columns[7] = {}
columns[7]['blocks'] = ['2a','streamplayer',tvguide.dutch,354,277,353,827,134,805,139,675,'2b',287,286,289,283,285,284]
columns[7]['width'] = 3;
columns[8] = {}
columns[8]['blocks'] = [buttons.webcam,274,273,276,275,282,281,678,291,786,278,676,279,280,677,'3b',207,210,272,968,966,975]
columns[8]['width'] = 3;
//
// SCHERMEN
//
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg1.jpg';
screens[1]['columns'] = [5,6,7,8]