Code: Select all
var config = {}
config['language'] = 'nl_NL';
config['domoticz_ip'] = 'http://xxx.xxx.xxx.xxx:xxxxxx';
config['user_name'] = 'xxxxxxxxxxxx';
config['pass_word'] = 'xxxxxxxxxxx';
config['app_title'] = 'Huis bediening';
config['dashticz_php_path']='./vendor/php/';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '180';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '15';
config['standby_after'] = '10';
config['auto_swipe_back_to'] = '1';
config['auto_swipe_back_after'] = '600';
config['auto_slide_pages'] = '0';
config['slide_effect'] = 'slide'; /*slide' or 'fade' or 'cube' or 'coverflow' or 'flip' */
config['standard_graph'] = 'month';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = 'https://calendar.google.com/calendar/ical/xxxxxx%40gmail.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/basic.ics';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['selector_instead_of_buttons'] = 1;
config['auto_positioning'] = 0;
config['use_favorites'] = 1;
config['last_update'] = 1;
config['hide_topbar'] = 1;
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['logo'] = '';
config['last_update'] = 0;
config['gm_api'] = '';
config['boss_stationclock'] = 'BlackBoss'; /*NoBoss / BlackBoss / RedBoss / ViennaBoss */
config['hide_seconds_stationclock'] = 0;
/* Luchtkwaliteit*/
config['longfonds_zipcode'] = 'xxxxxx';
config['longfonds_housenumber'] = 'xxxxx';
/*OpenWeather */
config['owm_api'] = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
config['owm_city'] = 'xxxxxxxxx';
config['owm_name'] = '';
config['owm_country'] = 'nl';
config['static_weathericons'] = 1;
config['owm_api'] = '';
config['owm_city'] = 'xxxxxxxx';
config['owm_lang'] = '';
config['owm_cnt'] = '4';
/*Vuilnis Module */
config['dashticz_php_path']='./vendor/dashticz/';
config['garbage_company'] = 'cure';
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = 'xxxxxxx';
config['garbage_street'] = 'xxxxx';
config['garbage_housenumber'] = 'xxx';
config['garbage_maxitems'] = '12';
config['garbage_width'] = '12';
config['garbage_hideicon'] = 0;
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;
config['garbage_use_cors_prefix'] = true;
config['garbage'] = {
gft: {kliko: 'green', code: '#FF8C00', name: 'GFT', icon: 'img/garbage/kliko_brown.png'},
pmd: {kliko: 'orange', code: '#db5518', name: 'PMD', icon: 'img/garbage/kliko_orange.png'},
rest: {kliko: 'grey', code: '#7CFC00', name: 'Restafval', icon: 'img/garbage/kliko_green.png'},
papier: {kliko: 'blue', code: '#00BFFF', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
kca: {kliko: 'red', code: '#b21807', name: 'Chemisch afval', icon: 'img/garbage/kliko_red.png'},
brown: {kliko: 'brown', code: '#7c3607', name: 'Bruin', icon: 'img/garbage/kliko_brown.png'},
black: {kliko: 'black', code: '#000000', name: 'Zwart', icon: 'img/garbage/kliko_black.png'},
milieu: {kliko: 'yellow', code: '#f9e231', name: 'Geel', icon: 'img/garbage/kliko_yellow.png'},
kerstboom: {kliko: 'green', code: '#375b23', name: 'Kerstboom', icon: 'img/garbage/tree.png'},}
/*Graph*/
config['lineColors'] = ['#f1c40f', '#40e0d0', '#eee'];
config['pointFillColors'] = ['#e00', '#0e0', '#00e'];
/*iFrames*/
var frames = {}
frames.weather = {refreshiframe:10000,height:230,frameurl:"https://forecast.io/embed/#lat=xx.xxxxxx&lon=x.xxxxxx&name=xxxxx&country=NL&lang=nl&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si",width:12}
frames.secpanel = {refreshiframe:10000000,height:375,frameurl:"http://xxxxx.xxx.xxx.xxx:xx/secpanel/", width:12}
frames.windfinder = {refreshiframe:10000000,height:200, frameurl:"https://nl.windfinder.com/#11/xx.xxxx/x.xxxx/sfc", width:6}
/* frames.photo = {refreshiframe:10000,height:900,frameurl:"http://xxx.xxx.xxx.xxx:xxx/xxxx/xxxx/xxxxxx/xxxxx",width:12}*/
/*MAPS*/
/*
var maps = {}
maps.location = { height: 256, width:12, latitude: xx.xxxxxxx, longitude: x.xxxxxxx, zoom:10 }
*/
/*Kalender*/
var calendars = {}
calendars.private = { fontsize:28, image:'/icons/calendar.png', maxitems: 10, icalurl: 'https://calendar.google.com/calendar/ical/[email protected]/xxxxxxxxxxxxxxxx/basic.ics' }
/*Internet Radio*/
/*var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"NPO Radio 2","file":"http://icecast.omroep.nl/radio2-bb-mp3"},
{"track":2,"name":"Radio Rijnmond","file":"http://d2e9xgjjdd9cr5.cloudfront.net/icecast/rijnmond/radio-mp3"},
{"track":3,"name":"Sublime FM","file":"http://Stream.sublimefm.nl/SublimeFM_mp3 "},
{"track":4,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
{"track":5,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
{"track":6,"name":"Omroep Brabant","file":"http://streaming.omroepbrabant.nl/mp3"},];
*/
/*TVgids*/
var tvguide = {}
tvguide.dutch = { key:'dutch', icon: "fa fa-television", width:12, channels: [1,2,3,4,5,37,6,7,92,460,34,413,29,18], maxitems: 10 }
/*Knoppen*/
var buttons = {}
buttons.buienradar = {key: 'buienradar' , width:12, isimage:true, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=300&h=256'}
buttons.windfinder = {key: 'windfinder' , width:12, isimage:true, image: 'https://nl.windfinder.com/#11/xx.xxxxxx/x.xxxxx/sfc'}
buttons.ipcam1 = {key: 'cam1' , width:12, isimage:true, refreshimage: 1000, image: 'http://xxxxx:xxxxx/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xxxx&pwd=xxxxx'}
buttons.ipcam2 = {key: 'cam2' , width:12, isimage:true, image: ' https://spacetrack.eu/iss/globe.php?114126457&'}
buttons.ipcam3 = {key: 'cam3' , width:12, isimage:true, image: 'rtsp://admin:xxxxx@xxxxxx:554/onvif1'}
buttons.storms = {key: 'iss', width:12, isimage:true, refreshimage:60000, image: 'https://burze.dzis.net/burze_europa_anim.gif' }
buttons.domoticz = {key: 'log' , width:4, icon:'fa fa-microchip', title: 'Domoticz Log', log:true, level: 2}
buttons.school = {key: 'school' , width:12, image:'img/icons/school.png', title: 'School site, met handige informatie', url:'https://www.xxxxxx.nl/',framewidth:580, frameheight: 520}
buttons.vakantie = {key: 'vakantie' , width:12, image:'img/icons/vakantie3.png', title: 'School Vakanties voor alle regios', url: 'https://opendata.rijksoverheid.nl/v1/sources/rijksoverheid/infotypes/schoolholidays/schoolyear/2018-2019?output=html',framewidth:580, frameheight: 520}
buttons.energie = {key: 'EnergiePag', width:12, image: 'img/icons/huisenergie.png', title: 'Ga naar Energie' ,slide:2 }
buttons.home = {key: 'Homepag' , width:12, image: 'img/icons/thuispag.png', title: 'Ga naar Thuis Scherm' ,slide:1 }
buttons.bedien = {key: 'Bedinepag' , width:12, image: 'img/icons/bediening1.png', title: 'Ga naar Huis Besturing' ,slide:3 }
buttons.energieS = {key: 'EnergiePagS',width:4, image: 'img/icons/huisenergie.png', title: 'Ga naar Energie' ,slide:2 }
buttons.homeS = {key: 'HomepagS' , width:4, image: 'img/icons/thuispag.png', title: 'Ga naar Thuis Scherm' ,slide:1 }
buttons.bedienS = {key: 'BedinepagS', width:4, image: 'img/icons/bediening1.png', title: 'Ga naar Huis Besturing' ,slide:3 }
/*buttons.verkeer = { width:12, isimage:true, image:'https://www.anwb.nl/verkeer/verkeerstool.js', url: 'https://www.anwb.nl/verkeer/'}*/
/*buttons.moon = {key: 'moon'width:12, isimage:true, refreshimage:60000, image: 'moon'}*/
/*buttons.radio = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}*/
buttons.honeywell = {key: 'honeywell', width:12, isimage:true, image:'img/icons/HoneywellThermostaat.png', title: 'Honeywell Thermostaat' }
buttons.secpanel = {key: 'secpanel', width:12, image:'http://xxx.xxx.xxx.xxx:xxxx/secpanel/', title:'Alarm Panel'}
/*Blokken*/
var blocks = {}
blocks['news_1'] = {}
blocks['news_1']['feed'] = 'http://www.nu.nl/rss/Algemeen';
blocks['news_1']['icon'] = "fa fa-rss-square";
blocks['news_1']['maxheight'] = 250;
blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://www.nu.nl/rss/tech';
blocks['news_2']['icon'] = 'fa fa-rss-square'
blocks['news_2']['maxheight'] = 250;
blocks['longfonds'] = {}
blocks['longfonds']['width'] = 4;
blocks['sunrise'] = {}
blocks['sunrise']['width'] = 6;
blocks['s1'] = {}
blocks['s1']['title'] = 'Alle Lampen UIT'
blocks['s1']['width'] = 6;
blocks['s2'] = {}
blocks['s2']['title'] = 'Alle Lampen AAN'
blocks['s2']['width'] = 6;
/* Sommige images uitgeschakeld, want deze knipperen de hele tijd, terug naar icoontjes .... */
/* HET WEER - BUIENRADAR */
blocks[290] = {}
blocks[290]['title'] = 'Buiten Temperatuur';
/* blocks[290]['image'] = '';*/
blocks[290]['width'] = 4;
blocks[291] = {}
blocks[291]['title'] = 'Luchtvochtigheid Buiten';
/* blocks[291]['image'] = '';*/
blocks[291]['width'] = 4;
blocks[292] = {}
blocks[292]['title'] = 'Luchtdruk Buiten';
/* blocks[292]['image'] = '';*/
blocks[292]['width'] = 4;
blocks[293] = {}
blocks[293]['title'] = 'Windkracht';
/* blocks[293]['image'] = '';*/
blocks[293]['width'] = 4;
blocks[294] = {}
blocks[294]['title'] = 'Zicht';
blocks[294]['icon'] = 'fa fa-eye';
/* blocks[294]['image'] = '';*/
blocks[294]['width'] = 4;
blocks[295] = {}
blocks[295]['title'] = 'UV Straling';
blocks[295]['icon'] = 'fa fa-sun-o';
/* blocks[295]['image'] = '';*/
blocks[295]['width'] = 4;
blocks[296] = {}
blocks[296]['title'] = 'Regenval Actueel';
/* blocks[296]['image'] = '';*/
blocks[296]['width'] = 4;
blocks[297] = {}
blocks[297]['title'] = 'Regen Voorspelling';
/* blocks[297]['image'] = '';*/
blocks[297]['icon'] = 'fa fa-umbrella';
blocks[297]['width'] = 4;
blocks[298] = {}
blocks[298]['title'] = 'Weer Voorspelling';
/* blocks[298]['image'] = '';*/
blocks[298]['icon'] = 'fa fa-sun-cloud';
blocks[298]['width'] = 6;
blocks[298]['switch'] = true;
/* Bliksemteller*/
blocks[149] = {}
blocks[149]['title'] = 'Bliksem straal 50 km';
blocks[149]['width'] = 6;
/*blocks[149]['image'] = '/icons/lightningcloud.png';*/
/* blocks[149]['hide_data'] = true;*/
blocks[149]['icon'] = 'fa fa-bolt';
/* Gevoels temperatuur, Windchill */
blocks[121] = {}
blocks[121]['title'] = '';
blocks[121]['icon'] = 'fa fa-thermometer-half';
/*blocks[121]['image'] = '/icons/windchill.png';*/
blocks[121]['width'] = 6;
/* Kamer Thermostaat */
/*Huiskamer Temperatuur */
blocks[128] = {}
blocks[128]['title'] = 'Temp. Woonk. Therm.';
/* blocks[128]['image'] = '/icons/thermostemp.png'*/
blocks[128]['width'] = 6;
/*Buiten Tempratuur Via Thermostaat */
blocks[129] = {}
blocks[129]['title'] = 'Temp. Buiten Thermostaat';
/*blocks[129]['image'] = '/icons/thermobuiten.png';*/
blocks[129]['width'] = 6;
/*Ingestelde Huiskamer Temperatuur*/
blocks[131] = {}
blocks[131]['title'] = 'Ingestelde Temperatuur';
/*blocks[131]['image'] = '/icons/HoneywellThermostaat.png';*/
blocks[131]['width'] = 6;
/*CV aan of uit */
blocks[130] = {}
blocks[130]['width'] = 6;
blocks[130]['title'] = 'Programma Kachel';
/* Temperaturen Luchtdruk Luchtvochtigheid*/
/* Xiaomi Humidity Sensor Temp Pressure Woonkamer*/
blocks[146]={}
blocks[146]['title'] = 'Luchtv. Woonkamer';
/* blocks[146]['image'] = '/icons/guage48.png'*/ ;
blocks[146]['width'] = 6;
blocks[147]={}
blocks[147]['title'] = 'Luchtdr. Woonkamer';
blocks[147]['width'] = 6;
blocks[145]={}
blocks[145]['title'] = 'Temp. Woonkamer';
blocks[145]['width'] = 6;
/* Xiaomi Humidity Sensor Temp Pressure Zoe*/
blocks[160]={}
blocks[160]['title'] = 'Luchtv. Kamer Zoë';
/*blocks[160]['image'] = '/icons/guage48.png';*/
blocks[160]['width'] = 6;
blocks[161]={}
blocks[161]['title'] = 'Luchtdr. Kamer Zoë';
blocks[161]['width'] = 6;
blocks[159]={}
blocks[159]['title'] = 'Temp. Kamer Zoë';
blocks[159]['width'] = 6;
/* Xiaomi Humidity Sensor Temp Pressure Lara*/
blocks[156]={}
blocks[156]['title'] = 'Luchtv. Kamer Lara';
/*blocks[156]['image'] = '/icons/guage48.png';*/
blocks[156]['width'] = 6;
blocks[157]={}
blocks[157]['title'] = 'Luchtdr. Kamer Lara';
blocks[157]['width'] = 6;
blocks[155]={}
blocks[155]['title'] = 'Temp. Kamer Lara';
blocks[155]['width'] = 6;
/* Xiaomi Humidity Sensor Temp Pressure Badkamer*/
blocks[286]={}
blocks[286]['title'] = 'Luchtv. Badkamer';
/*blocks[286]['image'] = '/icons/guage48.png';*/
blocks[286]['width'] = 6;
blocks[287]={}
blocks[287]['title'] = 'Luchtdr. Badkamer';
blocks[287]['width'] = 6;
blocks[285]={}
blocks[285]['title'] = 'Temp. Badkamer';
blocks[285]['width'] = 6;
/* Xiaomi Humidity Sensor Temp Pressure CV ruimte*/
blocks[221]={}
blocks[221]['title'] = 'Luchtv. CV Ruimte';
/*blocks[221]['image'] = '/icons/guage48.png';*/
blocks[221]['width'] = 6;
blocks['222_3']={}
blocks['222_3']['title'] = 'Luchtdr. CV Ruimte';
blocks['222_3']['width'] = 6;
blocks[223]={}
blocks[223]['title'] = 'Temp. CV Ruimte';
blocks[223]['width'] = 6;
/*P1 Smartmeter Elektr */
/* KWh verbruik actueel */
blocks['94_1'] ={}
blocks['94_1']['title'] = 'Energie Actueel';
blocks['94_1']['width'] = 4;
blocks['94_1']['switch'] = true;
/* Verbruik KWh Vandaag */
blocks['94_2'] ={}
blocks['94_2']['title'] = 'Energie vandaag';
blocks['94_2']['width'] = 4;
blocks['94_2']['switch'] = true;
/* Totale KWh verbruik */
blocks['94_3'] ={}
blocks['94_3']['title'] = 'Energie Totaal';
blocks['94_3']['width'] = 4;
blocks['94_3']['switch'] = true;
/*blocks['94_3']['image'] = 'current48.png';*/
/* Binnenkomend Voltage */
blocks[95] ={}
blocks[95]['width'] = 4;
blocks[95]['title'] = 'Inkomend Voltage';
blocks[95]['switch'] = true;
/* blocks[95]['image'] = 'current48.png'; */
/* Gas meter verbruik vandaag */
blocks['96_1'] ={}
blocks['96_1']['width'] = 4;
blocks['96_1']['title'] = 'Gas Vandaag';
blocks['96_1']['switch'] = true;
/*blocks['96_1']['image'] = '/icons/Gas48.png';*/
/* Gasmeter verbruik totaal */
blocks['96_2'] ={}
blocks['96_2']['width'] = 4;
blocks['96_2']['title'] = 'Gas Totaal';
blocks['96_2']['switch'] = true;
/*Kosten Energie*/
/*Elektra vandaag*/
blocks['134'] ={}
blocks['134']['width'] = 6;
blocks['134']['title'] = 'Elektra Kosten Vandaag';
blocks['134']['switch'] = false;
/*Gas vandaag */
blocks['135'] ={}
blocks['135']['width'] = 6;
blocks['135']['title'] = 'Gas Kosten Vandaag';
blocks['135']['switch'] = false;
/*Elektra totaal*/
blocks['136'] ={}
blocks['136']['width'] = 6;
blocks['136']['title'] = 'Elektra Kosten Totaal';
blocks['136']['switch'] = false;
/*Gas totaal */
blocks['137'] ={}
blocks['137']['width'] = 6;
blocks['137']['title'] = 'Gas Kosten Totaal';
blocks['137']['switch'] = false;
/* Verlichtingen, Dimmers en Verlichting schakelaars*/
/* Xiaomi Gateway Kleuren */
blocks[1] = {}
blocks[1]['width'] = 6;
/* Xiaomi Ringtone Selector */
blocks[3] = {}
blocks[3]['width'] = 6;
/* Alle Lampen AAN*/
blocks[233] = {}
blocks[233]['title'] = 'Alle Lampen AAN';
/*blocks[233]['image'] = '/icons/YeeLight48_On.png';*/
blocks[233]['width'] = 4;
/* Alle Lampen UIT*/
blocks[234] = {}
blocks[234]['title'] = 'Alle Lampen UIT';
/*blocks[234]['image'] = '/icons/YeeLight48_Off.png';*/
blocks[234]['width'] = 4;
/* Keukenraam lampen*/
blocks[177] = {}
blocks[177]['title'] = 'Keuken Raam Lampen';
/*blocks[177]['image'] = '/icons/PhilipsLED48_On.png'; */
blocks[177]['width'] = 4;
/* Aanrecht lampen*/
blocks[172] = {}
blocks[172]['title'] = 'Aanrecht Lampen';
/*blocks[172]['image'] = '/icons/PhilipsLED48_On.png' ;*/
blocks[172]['width'] = 4;
/* Kidstafel LED*/
blocks[208] = {}
blocks[208]['title'] = 'Kidstafel LED';
/*blocks[208]['image'] = '/icons/RGB-LED48_On.png';*/
blocks[208]['width'] = 4;
/* TV lampen LED Strip midden op kast*/
blocks[178] = {}
blocks[178]['title'] = 'LED Strip TV Kast';
/*blocks[178]['image'] = '/icons/RGB-LED48_On.png';*/
blocks[178]['width'] = 4;
/* TV lampen LED Links */
blocks[239] = {}
blocks[239]['title'] = 'LED TV Links';
/*blocks[239]['image'] = '/icons/YeeLight48_On.png';*/
blocks[239]['width'] = 4;
/* TV lampen LED Links */
blocks[240] = {}
blocks[240]['title'] = 'LED TV Rechts';
/*blocks[240]['image'] = '/icons/YeeLight48_On.png';*/
blocks[240]['width'] = 4;
/* Kamerraam lampen*/
blocks[174] = {}
blocks[174]['title'] = 'Kamerraam Lampen';
/*blocks[174]['image'] = '/icons/PhilipsLED48_On.png';*/
blocks[174]['width'] = 4;
/* Bank lampen*/
blocks[236] = {}
blocks[236]['title'] = 'Bank Lamp';
/*blocks[236]['image'] = '/icons/YeeLight48_On.png';*/
blocks[236]['width'] = 4;
/* Eettafel lampen*/
blocks[175] = {}
blocks[175]['title'] = 'Eettafel Lampen';
/*blocks[175]['image'] = '/icons/PhilipsLED48_On.png';*/
blocks[175]['width'] = 4;
/* Wand lampen*/
blocks[182] = {}
blocks[182]['title'] = 'Wandlampen';
/*blocks[182]['image'] = '/icons/TL-848_On.png';*/
blocks[182]['width'] = 4;
/* Kastlamp*/
blocks[235] = {}
blocks[235]['title'] = 'Kastlamp';
/*blocks[235]['image'] = 'img/icons/YeeLight48_On.png';*/
blocks[235]['width'] = 4;
/* Kleurenbuis*/
blocks[185] = {}
blocks[185]['title'] = 'Kleurenbuis';
/* blocks[185]['image'] = '/icons/RGB-LED48_On.png';*/
blocks[185]['width'] = 4;
/* Tuin lampen*/
blocks[190] = {}
blocks[190]['title'] = 'Tuin Lampen';
blocks[190]['width'] = 4;
/* Deur en raam Sensoren */
/* Xiaomi Raam Sensor */
blocks[218] = {}
blocks[218]['title'] = 'Kleine Kamertje';
blocks[218]['width'] = 6;
blocks[218]['image'] = '/icons/Windowanje.png';
/* Xiaomi Raam Sensor */
blocks[224] = {}
blocks[224]['title'] = 'Slaapkamer';
blocks[224]['width'] = 6;
blocks[224]['image'] = '/icons/WindowPaars.png';
/* Xiaomi Deursensor */
blocks[99] = {}
blocks[99]['title'] = 'Voordeur';
blocks[99]['width'] = 6;
/* Xiaomi Raam Sensor */
blocks[100] = {}
blocks[100]['title'] = 'Keukenraam'
blocks[100]['width'] = 6;
blocks[100]['image'] = '/icons/WindowLBlauw.png';
/* Xiaomi Deur Sensor */
blocks[154] = {}
blocks[154]['title'] = 'Bijkeukendeur'
blocks[154]['width'] = 6;
/* Xiaomi Zoe kamer Sensor */
blocks[283] = {}
blocks[283]['title'] = "Zoë's Kamer"
blocks[283]['width'] = 6;
blocks[283]['image'] = '/icons/WindowRose.png';
/* Xiaomi Garage deur Sensor */
blocks[282] = {}
blocks[282]['title'] = 'Garage Deur'
blocks[282]['width'] = 6;
/* Overige Schakelaars/*
/* Xiaomi Boiler Schakelaar */
blocks[152] = {}
blocks[152]['title'] = 'Boiler Aan/Uit'
blocks[152]['image'] = '/icons/Boiler48_On.png'
blocks[152]['width'] = 12;
/* Xiaomi Mech. Afzuiging Fan */
blocks[150] = {}
blocks[150]['title'] = 'Mechanische Afzuiging Huis Ventilator'
blocks[150]['image'] = '/icons/Venting48_On.png'
blocks[150]['width'] = 12;
/*SYSTEEM INFORMATIE*/
/* Gebr. Ruimte HDD */
blocks[276] = {}
blocks[276]['title'] = 'Temp. CPU'
blocks[276]['width'] = 6;
/* CPU temp */
blocks[277] = {}
blocks[277]['title'] = 'Temp. HDD'
blocks[277]['width'] = 6;
/* Temp meterkast */
blocks[279] = {}
blocks[279]['title'] = 'Temp. Domotica-PC Ruimte'
blocks[279]['width'] = 6;
/* Hum Meterkast */
blocks[280] = {}
blocks[280]['title'] = 'Luchtv. Domotica-PC Ruimte'
blocks[280]['width'] = 6;
/*Home Fencing*/
blocks[143] = {}
blocks[143]['title'] = 'xxxxx'
blocks[143]['width'] = 6;
blocks[143]['image'] = '/icons/papa.png'
blocks[143]['hide_data'] = true;
blocks[144] = {}
blocks[144]['title'] = 'xxxxx'
blocks[144]['width'] = 6;
blocks[144]['image'] = '/icons/mama.png'
blocks[144]['hide_data'] = true;
blocks[257] = {}
blocks[257]['title'] = 'Huis Alarm Actief';
/* blocks[257]['image'] = '';*/
blocks[257]['icon'] = 'fa fa-home';
blocks[257]['width'] = 6;
/* Alarm Paneel */
blocks[151] = {}
blocks[151]['title'] = 'Alarm Paneel'
/* blocks[151]['image'] = '/icons/Venting48_On.png'*/
blocks[151]['width'] = 12;
/*Block-Header*/
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Gas en Elektra Verbruik'
blocks['blocktitle_1']['width'] = 12;
blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['title'] = 'Kamer Thermostaat'
blocks['blocktitle_2']['width'] = 12;
blocks['blocktitle_2']['image'] = 'icons/calendar.png';
blocks['blocktitle_3'] = {}
blocks['blocktitle_3']['type'] = 'blocktitle';
blocks['blocktitle_3']['title'] = 'Verlichting'
blocks['blocktitle_3']['width'] = 12;
blocks['blocktitle_4'] = {}
blocks['blocktitle_4']['type'] = 'blocktitle';
blocks['blocktitle_4']['title'] = 'Agenda / Kalender'
blocks['blocktitle_4']['icon'] = 'fas.fa-calendar' /*Laatste wijziging, waarom werkt dit niet ?*/
blocks['blocktitle_4']['width'] = 12;
blocks['blocktitle_5'] = {}
blocks['blocktitle_5']['type'] = 'blocktitle';
blocks['blocktitle_5']['icon'] = 'fa-calendar' /*Laatste wijziging, waarom werkt dit niet ?*/
blocks['blocktitle_5']['title'] = 'Nieuws / Files / Weer'
blocks['blocktitle_5']['width'] = 12;
blocks['blocktitle_6'] = {}
blocks['blocktitle_6']['type'] = 'blocktitle';
blocks['blocktitle_6']['title'] = 'Huis Klimaat'
blocks['blocktitle_6']['width'] = 12;
blocks['blocktitle_7'] = {}
blocks['blocktitle_7']['type'] = 'blocktitle';
blocks['blocktitle_7']['title'] = 'Systeem Informatie'
blocks['blocktitle_7']['width'] = 12;
blocks['camtitle_1'] = {}
blocks['camtitle_1']['type'] = 'blocktitle';
blocks['camtitle_1']['title'] = 'Camera'
blocks['camtitle_1']['width'] = 12;
/*Columns*/
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']
columns[1] = {}
columns[1]['blocks'] = ['currentweather_big_owm',buttons.ipcam1,farmes.secpanel,257,99,100,154,224,218,283,282] //remark: idx 144 produces 2 blocks, so you can use: '144_1' and '144_2' (or just 144 if you want one)
columns[1]['width'] = 3;
columns[2] = {}
columns[2]['blocks'] = [ buttons.school, buttons.vakantie,'garbage',calendars.private, 'news_1',tvguide.dutch]
columns[2]['width'] = 3;
columns[3] = {}
columns[3]['blocks'] = ['traffic',121,149,'longfonds',290,291,292,293,294,295,296,297,298,'sunrise','s1','s2']
columns[3]['width'] = 4;
columns[4] = {}
columns[4]['blocks'] = ['stationclock','clock',143,144,buttons.storms,buttons.buienradar,buttons.energie]
columns[4]['width'] = 2;
columns[5] = {}
columns[5]['blocks'] = ['blocktitle_6',128,145,159,155,146,160,156,147,131,130]
columns[5]['width'] = 4;
columns[6] = {}
columns[6]['blocks']=['96_1','96_2',95,'graph_96',135,137,150,152,buttons.home]
columns[6]['width'] = 4;
columns[7] = {}
columns[7]['blocks'] = ['94_1','94_2','94_3','graph_94',134,136,buttons.bedien]
columns[7]['width'] = 4;
columns[8] = {}
columns[8]['blocks'] = ['clock']
columns[8]['width'] = 1;
columns[9] = {}
columns[9]['blocks'] = ['blocktitle_3',233,234,177,172,208,178,174,215,175,182,213,185,190]
columns[9]['width'] = 6;
columns[10] = {}
columns[10]['blocks'] = []
columns[10]['width'] = 1;
columns[11] = {}
columns[11]['blocks'] = ['blocktitle_7',276,277,279,280,buttons.homeS,buttons.domoticz,buttons.energieS]
columns[11]['width'] = 4;
/*
columns[12] = {}
columns[12]['blocks'] = [buttons.home,buttons.energie]
columns[12]['width'] = 3;
*/
columns[31] = {}
columns[31]['blocks'] = columns[9]['blocks']
columns[31]['width'] = 12;
/*Standby*/
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['weather_owm','clock','94_1','96_1',128,145,159,155,146,160,156,147,157,161]
columns_standby[1]['width'] = 12;
/*screens*/
var screens = {}
screens['default'] = {}
screens['default']['maxwidth'] = 1920;
screens['default']['maxheight'] = 1080;
screens['default'][1] = {}
screens['default'][1]['background'] = 'bg27a.jpg';
screens['default'][1]['columns'] = [3,1,2,4]
screens['default'][2] = {}
screens['default'][2]['background'] = 'bg27a.jpg';
screens['default'][2]['columns'] = [6,5,7]
screens['default'][3] = {}
screens['default'][3]['background'] = 'bg27a.jpg';
screens['default'][3]['columns'] = [10,9,11]
screens['default'][4] = {}
screens['default'][4]['background'] = 'bg27a.jpg';
screens['default'][4]['columns'] = [10,9,11]
/*Default 2 screen test*/
screens['default2'] = {}
screens['default2']['maxwidth'] = 1600;
screens['default2']['maxheight'] = 1200;
screens['default2'][1] = {}
screens['default2'][1]['background'] = 'bg27a.jpg';
screens['default2'][1]['columns'] = [3,1,2,4]
screens['default2'][2] = {}
screens['default2'][2]['background'] = 'bg27a.jpg';
screens['default2'][2]['columns'] = [6,5,7]
screens['default2'][3] = {}
screens['default2'][3]['background'] = 'bg27a.jpg';
screens['default2'][3]['columns'] = [10,9,11]
screens['default2'][4] = {}
screens['default2'][4]['background'] = 'bg27a.jpg';
screens['default2'][4]['columns'] = [10,9,11]
/* Screen Tablet/Phone*/
screens['phone'] = {}
screens['phone']['maxwidth'] = 360;
screens['phone']['maxheight'] = 672;
screens['phone'][1] = {}
screens['phone'][1]['background'] = 'bg10.jpg';
screens['phone'][1]['columns'] = [1,2,3,4]
screens['phone'][2] = {}
screens['phone'][2]['background'] = 'bg10.jpg';
screens['phone'][2]['columns'] = [6,5,7]
screens['phone'][3] = {}
screens['phone'][3]['background'] = 'bg10.jpg';
screens['phone'][3]['columns'] = [10,31,11]
screens['phone'][4] = {}
screens['phone'][4]['background'] = 'bg10.jpg';
screens['phone'][4]['columns'] = [10,31,11]