Dashticz NOOB question
Posted: Sunday 25 August 2019 13:19
Hi everybody,
I'm using Domoticz for a few years now. While improving my lighting, I thought it would be nice to introduce a dashboard in the living room. I found Dashticz, and it seems very nice. I have it up and running, sort of. But the custom layout doesn't seem te work.
My question
Please help me to be able to customize the layout
Installation
OS: VRM (virtualbox) with Debian 9 and Domoticz 4.10717.
Installation Dashticz_V3: as stated in https://dashticz-v3.readthedocs.io/en/b ... stall.html (manual installation), although with PHP7.3.
What does work
I can access Dashticz, and I see all my favorite devices. I can switch them on and of. At this point my CONFIG.js has only the var config = {} variables filled in (see the CONFIG.js). I have no blocks or columns specified.
What goes wrong
When I specify blocks and/or columns according to either https://dashticz-v3.readthedocs.io/en/b ... tom-layout or the presets in CONFIG_DEFAULS.js, my Dasticz is blank. I can login, I can see the title and I can change the settings. I can't see any blocks, switches or whatever. When I remove any specifications for columns or blocks in CONFIG.js, I can see all my switches again, but not in the layout I want it to be.
CONFIG.js
It probably is something simple I didn't see. But any help is appreciated.
I'm using Domoticz for a few years now. While improving my lighting, I thought it would be nice to introduce a dashboard in the living room. I found Dashticz, and it seems very nice. I have it up and running, sort of. But the custom layout doesn't seem te work.
My question
Please help me to be able to customize the layout
Installation
OS: VRM (virtualbox) with Debian 9 and Domoticz 4.10717.
Installation Dashticz_V3: as stated in https://dashticz-v3.readthedocs.io/en/b ... stall.html (manual installation), although with PHP7.3.
What does work
I can access Dashticz, and I see all my favorite devices. I can switch them on and of. At this point my CONFIG.js has only the var config = {} variables filled in (see the CONFIG.js). I have no blocks or columns specified.
What goes wrong
When I specify blocks and/or columns according to either https://dashticz-v3.readthedocs.io/en/b ... tom-layout or the presets in CONFIG_DEFAULS.js, my Dasticz is blank. I can login, I can see the title and I can change the settings. I can't see any blocks, switches or whatever. When I remove any specifications for columns or blocks in CONFIG.js, I can see all my switches again, but not in the layout I want it to be.
CONFIG.js
Code: Select all
var config = {}
config['domoticz_ip'] = 'http://192.168.2.68:8080';
config['user_name'] = 'xxxx';
config['pass_word'] = 'xxxx';
config['app_title'] = 'Domoticz - Dashticz V3';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['default_cors_url'] = '';
config['dashticz_php_path'] = './vendor/dashticz/';
config['standby_call_url'] = '';
config['standby_call_url_on_end'] = '';
config['theme'] = 'default';
config['background_image'] = 'img/bg2.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = '1';
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = '';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['blink_color'] = '255, 255, 255, 1';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'en_US';
config['calendarurl'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'en-US';
config['wu_api'] = '';
config['wu_city'] = 'Amsterdam';
config['wu_name'] = '';
config['wu_country'] = 'NL';
config['owm_city'] = 'Mainaschaff';
config['owm_name'] = '';
config['owm_country'] = 'de';
config['owm_lang'] = '';
config['owm_cnt'] = '4';
config['idx_moonpicture'] = '';
config['longfonds_zipcode'] = '';
config['longfonds_housenumber'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = '';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '';
config['garbage_street'] = '';
config['garbage_housenumber'] = '';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '';
config['garbage_width'] = '';
config['setpoint_min'] = '5';
config['setpoint_max'] = '40';
config['loginEnabled'] = 0;
config['disable_update_check'] = 0;
config['no_rgb'] = 0;
config['auto_positioning'] = 1; //in this variable '0' doesn't change anything
config['use_favorites'] = 1;
config['disable_googleanalytics'] = 0;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['security_button_icons'] = 0;
config['edit_mode'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['owm_days'] = 0;
config['owm_min'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 0;
config['hide_mediaplayer'] = 0;
config['garbage_hideicon'] = 0;
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = 0;
config['garbage_use_names'] = 0;
config['garbage_use_cors_prefix'] = 1;
//Definition of blocks
blocks = {}
blocks[120] = {
width: 6
}
blocks[121] = {
width: 6
}
//Definition of columns
columns = {}
columns[1] = {
//In this example: No blocks are defined in this column
//This column will be empty
width: 4
}
columns[2] = {
blocks : [120, 121],
width: 8
}
//Definition of screens
screens = {}
screens[1] = {
columns: [1, 2]
}