Page 1 of 1

Dashboard not responding

Posted: Sunday 29 July 2018 14:08
by RTJC
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.

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;

Re: Dashboard not responding

Posted: Sunday 29 July 2018 14:16
by rrozema
The config.js is missing from your post. Plus a lot more information is missing from your request for help: with this little information we need to be wizards to see what's wrong. Please provide a list with hardware you're using, domoticz software installed and anything that could be of influence. And most important: make your request for help at least look like you've tried something to fix the issue yourself; so include some things you've already tried and why that didn't work.

Re: Dashboard not responding

Posted: Sunday 29 July 2018 14:29
by HansieNL
@RTJC: Can you add your config.js as code to your post?

Re: Dashboard not responding

Posted: Sunday 29 July 2018 17:15
by RTJC
Hi HansieNL,

done that. Thanks.

@ Rrozema: I get your point but I think you're missing my point to be honest. Let me explain.

It used to work as a basic install. The clean code, without having any API's, Garbage plugin etc etc. Along the way, I have added buttons, scenes and switches. Suddenly it stopped working on my iPad, Android tablet and iMac.

The dashboard seems unresponsive as soon as I hit any buttons. The Buienradar app is working fine, the calendar plugin works but any scenes and switches are not responding.

So I assume it has to do anything with my settings in the config.js file. Maybe I'm missing something so it would be highly appreciated if you guys could look into my file.

I use a Synology NAS but that is not really important I think. Domoticz works 100% (i use the latest version) but the connection between dashticz and domoticz has some problems I think.

Edit: I have also checked all IDX files due to the fact that I have added and deleted some devices along the way. I haven't found any missing IDX'es which are not added in Domoticz.

Re: Dashboard not responding

Posted: Thursday 09 August 2018 23:13
by RTJC
Hi,

I have started from scratch again with the following code:

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://192.168.2.100:8082';
config['user_name'] = 'user_name';
config['pass_word'] = 'pass_word';
config['app_title'] = 'Home Control';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['standard_graph'] = 'month';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = 0;
config['boss_stationclock'] = 'RedBoss';
config['selector_instead_of_buttons'] = 0;
config['auto_positioning'] = 1;
config['use_favorites'] = 1;
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;
It's working on my iMac now, but as soon as I'm using a mobile device, nothing happens. The buttons are activated for a second or 2 but after that they return to their old state.

Any idea?

Re: Dashboard not responding

Posted: Wednesday 15 August 2018 23:09
by RTJC
Hello,

I have made a video from this: https://streamable.com/n4tgb

Any idea? Here my current config.js file:

Code: Select all

var _EDIT_MODE = false;

var config = {}
config['domoticz_ip'] = 'http://192.168.2.100:8082';
config['user_name'] = 'user';
config['pass_word'] = 'pass';
config['app_title'] = 'Home Control';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['auto_positioning'] = 1;
config['use_favorites'] = 1;