Dashboard not responding
Posted: Sunday 29 July 2018 14:08
Hi,
please find below the config.js file for my dashboard. It is not responding at all. When I click on a scene, the scene looks like it is activated on screen for a few seconds, and then it will be deactivated again. This is only on screen. In real life, the lights remain off and nothing happens.
Any idea what might cause this problem?
Thanks for helping me out.
please find below the config.js file for my dashboard. It is not responding at all. When I click on a scene, the scene looks like it is activated on screen for a few seconds, and then it will be deactivated again. This is only on screen. In real life, the lights remain off and nothing happens.
Any idea what might cause this problem?
Thanks for helping me out.
Code: Select all
var config = {}
config['language'] = 'nl_NL';
config['domoticz_ip'] = 'http://192.168.2.100:8082';
config['user_name'] = 'admin';
config['pass_word'] = 'pass';
config['loginEnabled'] = 0;
config['app_title'] = 'Home Control';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'https://cors-anywhere.herokuapp.com/http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['standby_after'] = 0;
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = 0;
config['slide_effect'] = 'slide';
config['standard_graph'] = 'month';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['boss_stationclock'] = 'BlackBoss';
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['last_update'] = 0;
config['hide_topbar'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['settings_icons'] = ["settings","fullscreen"];
config['garbage_company'] = 'mijnafvalwijzer';
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = 'ZIPCODE';
config['garbage_street'] = 'STREET';
config['garbage_housenumber'] = '00000';
config['garbage_maxitems'] = '3';
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: '#375b23', name: 'GFT', icon: 'img/garbage/kliko_green.png'},
pmd: {kliko: 'orange', code: '#db5518', name: 'PMD', icon: 'img/garbage/kliko_orange.png'},
rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval', icon: 'img/garbage/kliko_grey.png'},
papier: {kliko: 'blue', code: '#153477', 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'},
};
var frames = {}
frames.weather = {refreshiframe:300000,height:230,frameurl:"//forecast.io/embed/#lat=51.8697&lon=6.3817&name=Gendringen&color=#00aaff&font=Helvetica&fontColor=#ffffff&units=si&text-color=#fff&",width:12}
var calendars = {}
calendars.business = { maxitems: 5, icalurl: 'https://CALERNDARURL }
var _ICALENDAR_DATEFORMAT = 'DD.MM.YYYY HH:mm'; //'friendly', 'MM.DD.YYYY HH:mm', 'DD.MM.YYYY HH:mm', 'YYYY.MM.DD HH:mm'
var _ICALENDAR_LOCALE = 'nl_NL'; //en,hu, etc.
var buttons = {}
buttons.buienradar = {width:6, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'https://www.weeronline.nl/Europa/Nederland/Gendringen/4057748'}
buttons.radio = {width:6, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.nunl = {width:6, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
var blocks = {}
blocks['s2'] = {} //scene or group
blocks['s2']['width'] = 4;
blocks['s3'] = {} //scene or group
blocks['s3']['width'] = 4;
blocks['s4'] = {} //scene or group
blocks['s4']['width'] = 4;
blocks[44] = {}
blocks[44]['width'] = 6;
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Schakelaars';
blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['title'] = 'Scenes';
var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_2','s2','s3','s4','blocktitle_1','1','15','29','50','64','77'] //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'] = 4;
columns[2] = {}
columns[2]['blocks'] = [frames.weather, 'news']
columns[2]['width'] = 4;
columns[3] = {}
columns[3]['blocks'] = ['clock','sunrise',buttons.buienradar,'44_1','44_2',buttons.radio,buttons.nunl,calendars.business,'garbage']
columns[3]['width'] = 4;