And this is only a full list of all options in this config. On different threats you see some codes to use, but maybe its a good thing to put them all together and refer people to his topic. @robgeerts Maybe you can add this new topic?
Code: Select all
var _LANGUAGE = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ = 'http://192.168.100.3:8081';
var _DOMOTICZ_REFRESH = 5; //in seconds
var _DASHTICZ_REFRESH = 30; //in minutes
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.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND = '';
var _WEATHER_CITY = 'Eindhoven';
var _WEATHER_CITYNAME = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY = 'NL';
var _USE_AUTO_POSITIONING = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //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 = true;
var _LASTUPDATE_FORMAT = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'
var _APIKEY_MAPS = '';
var _MAPS_LATITUDE = '';
var _MAPS_LONGITUDE = '';
var _MAPS_ZOOMLEVEL = 15;
var _AUTO_SWIPEBACK_TO = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME = 10; //seconds
var calendars = {}
calendars.werk = { icalurl: 'https://<URL>’ }
calendars.feest = { icalurl: 'https://<URL>’ }
calendars.combined = [{ color:'red',calendar:calendars.werk}, {color:'#65FC32','calendar':calendars.feest}]
var frames = {}
frames.treinen = {refreshiframe:30000,height:719,frameurl:"http://<URL>”,width:12}
/*
// BUTTONS
*/
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weeronline.nl/Europa/Nederland/Amsterdam/4058223'}
buttons.radio = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.nunl = {width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
buttons.moon = {width:12, isimage:true, refreshimage:60000, image: 'moon'}
/*
// STREAMPLAYER
*/
var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
{"track":2,"name":"538","file":"http://vip-icecast.538.lw.triple-it.nl/RADIO538_MP3"},
{"track":3,"name":"538 Dance Dep","file":"http://vip-icecast.538.lw.triple-it.nl/WEB01_MP3"},
{"track":4,"name":"Slam! Juize","file":"http://stream.radiocorp.nl/web09_mp3"},
{"track":5,"name":"Slam! Boom Room","file":"http://stream.radiocorp.nl/web12_mp3"},
{"track":6,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
{"track":7,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];
/*
// SWITCH
*/
var blocks = {}
blocks[12] = {} // SLAAPKAMER
blocks[12][‘width'] = 6;
blocks[12][‘title'] = '';
blocks[12][‘icon'] = 'fa-cloud';
blocks[12][‘image'] = 'pi3.png';
blocks[12][‘playsound'] = 'sounds/ping.mp3';
blocks[12][‘switch'] = true; //if you want to switch the title and data
blocks[12][‘hide_data'] = true; //if you want to hide the data of this block
blocks[12][‘show_lastupdate'] = true; //if you want to show the last update specific for this block
/*
// NEWS FEED
*/
blocks['news_10'] = {} //
blocks['news_10']['width'] = 12;
blocks['news_10']['feed'] = 'https://crossorigin.me/http://www.nu.nl/rss';
/*
// TITLE
*/
blocks['blocktitle_0'] = {}
blocks['blocktitle_0']['type'] = 'blocktitle';
blocks['blocktitle_0']['title'] = 'Production';
/*
// COLUMNS
*/
var columns = {}
columns[10] = {} //
columns[10]['blocks'] = ['clock','sunrise','blocktitle_0',buttons.calendar,buttons.moon,219,233];
columns[10]['width'] = 2;
columns[20] = {} //
columns[20]['blocks'] = ['blocktitle_10',25,26,19,22,24,27,177,178,73,33];
columns[20]['width'] = 5;
//*
// SCREENS
*/
var screens = {}
screens[1] = {}
screens[1]['background'] = 'plaatje.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[10]['columns'] = [10,30,50,40,100,60,70,400];