Here you are, thank you in advance! I am on the version that was on Github last night around 8 pm.
Code: Select all
var _LANGUAGE = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ = 'http://<removed domoticz ip>:8080';
var _DOMOTICZ_REFRESH = 60; //in seconds
var _DASHTICZ_REFRESH = 15; //in minutes
/*
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 = '<removed api key>';
var _WEATHER_CITY = '<removed city>';
var _WEATHER_COUNTRY = 'NL';
var _USE_AUTO_POSITIONING = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK = true; //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 _STANDBY_AFTER_MINUTES = 1; //enter amount of seconds like: 5 (5 seconds)
var _SCROLL_NEWS_AFTER = 10000; //milliseconds, so 7000 is 7 seconds
var _APIKEY_MAPS = '<removed api key maps>';
var _MAPS_LATITUDE = 52.000000;
var _MAPS_LONGITUDE = 5.300000;
var _MAPS_ZOOMLEVEL = 10;
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'
// Online Radio Stream Plugin, Note: you must enable plugin in column section 'streamplayer', see columns[3]['blocks'] example below.
var _STREAMPLAYER_TRACKS = [
{ "track": 1, "name": "538", "file": "http://vip-icecast.538.lw.triple-it.nl/RADIO538_MP3" },
{ "track": 2, "name": "Veronica", "file": "http://live.icecast.kpnstreaming.nl/skyradiolive-SRGSTR09.mp3" }
];
var buttons = {}
buttons.buienradar = { width: 12, isimage: true, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weer.nl/verwachting/nederland/amersfoort/1812224/' }
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.calendar = { icon: 'fa-calendar', title: 'Kalender', url: 'https://calendar.google.com/calendar/embed?mode=AGENDA&height=600&wkst=1&bgcolor=%23FFFFFF&[email protected]&color=%232952A3' }
buttons.tvgids = { width: 12, icon: 'fa-tv', title: 'TV Gids', url: 'http://<removed ip of tv guide>' }
/*
CUSTOM POSITIONING:
//defining wich blocks to show, de numbers represents the IDX of the device in Domoticz
//only define if you want to use a custom width instead of the default
var blocks = {}
blocks[1] = {}
blocks[1]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[204] = {} //dimmer
blocks[204]['width'] = 12;
blocks[248] = {} //dimmer
blocks[248]['width'] = 12;
blocks[295] = {} //dimmer
blocks[295]['width'] = 12;
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Schakelaars';
//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 = {}
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1',1,2,62,'144_2',204,248,295] //remark: idx 144 produces 2 blocks, so you can use: '144_1' and '144_2' (or of course, just 144 if you want one)
columns[1]['width'] = 5;
columns[2] = {}
columns[2]['blocks'] = ['currentweather_big','weather',5,'144_1']
columns[2]['width'] = 5;
columns[3] = {}
columns[3]['blocks'] = ['clock','sunrise','horizon',buttons.buienradar,buttons.radio,buttons.calendar,buttons.nunl,buttons.nzbget]
columns[3]['width'] = 2;
//if you want to use multiple screens, use the code below:
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg1.jpg';
screens[1]['columns'] = [1,2,3]
//screens[2] = {}
//screens[2]['background'] = 'bg3.jpg';
//screens[2]['columns'] = [4,5,6]
*/
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg1.jpg';
screens[1]['columns'] = [1, 2, 3]
screens[2] = {}
screens[2]['background'] = 'bg1.jpg';
screens[2]['columns'] = [4,5,6]
var blocks = {}
blocks[1] = {}
blocks[1]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[204] = {} //dimmer
blocks[204]['width'] = 12;
blocks[248] = {} //dimmer
blocks[248]['width'] = 12;
blocks[295] = {} //dimmer
blocks[295]['width'] = 12;
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Temperatuur';
blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['title'] = 'Aanwezigheid';
blocks['blocktitle_3'] = {}
blocks['blocktitle_3']['type'] = 'blocktitle';
blocks['blocktitle_3']['title'] = 'Verkeer / Nieuws';
blocks['news_1'] = {}
blocks['news_1']['feed'] = 'https://crossorigin.me/http://www.telegraaf.nl/rss/';
blocks['news_2'] = {}
blocks['news_2']['feed'] = 'https://crossorigin.me/http://www.nu.nl/rss/Algemeen';
blocks['news_3'] = {}
blocks['news_3']['feed'] = 'http://api.buienradar.nl/data/xml/1.0/rssbuienradar';
//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 = {}
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_3', 'traffic', 'trafficmap', 'flightmap','news_1', 'news_2'] //remark: idx 144 produces 2 blocks, so you can use: '144_1' and '144_2' (or of course, just 144 if you want one)
columns[1]['width'] = 5;
columns[2] = {}
columns[2]['blocks'] = ['currentweather_big', 'weather', 5, '144_1', 1, 17, 13, 2, 9, 10]
columns[2]['width'] = 5;
columns[3] = {}
columns[3]['blocks'] = ['clock', 'sunrise', '', buttons.buienradar, 'streamplayer', buttons.radio, buttons.tvgids, buttons.calendar, buttons.flightradar24]
columns[3]['width'] = 2;