Re: Dashticz - General Discussions
Posted: Thursday 12 October 2017 19:00
Thank you but still nor work ..
Open source Home Automation System
https://forum.domoticz.com/
Code: Select all
columns[4] = {} //SALON
columns[4]['blocks'] = ['salon',95,17,7,7,'18_2',4,33,47,27,'mauri',66,64,63,65,62,'bebeto']
columns[4]['width'] = 4;
Maybe you can try to put the next line in your config.JSDAVIZINHO wrote: ↑Sunday 15 October 2017 17:57 Hello again.
Im very happy with dashticz!, is amazing!!
Since yesterday im trying to configure a dashboard for my house and i make some progress but i have a little problem.
This 2 items mi CONFIG.jsThe 2 items are the idx 47 and 27Code: Select all
columns[4] = {} //SALON columns[4]['blocks'] = ['salon',95,17,7,7,'18_2',4,33,47,27,'mauri',66,64,63,65,62,'bebeto'] columns[4]['width'] = 4;
47 = "Purificador"
27 = "Sa_Boton"
In domoticz both items are config as "select button".
I need this items are select button because I need to be more small than actual and follow the style of the rest blocks in "4 width.
Any idea?
thanks a lot and sorry for my poor english![]()
Code: Select all
config['selector_instead_of_buttons'] = 1;
htilburgs wrote: ↑Monday 16 October 2017 8:55Maybe you can try to put the next line in your config.JSDAVIZINHO wrote: ↑Sunday 15 October 2017 17:57 Hello again.
Im very happy with dashticz!, is amazing!!
Since yesterday im trying to configure a dashboard for my house and i make some progress but i have a little problem.
This 2 items mi CONFIG.jsThe 2 items are the idx 47 and 27Code: Select all
columns[4] = {} //SALON columns[4]['blocks'] = ['salon',95,17,7,7,'18_2',4,33,47,27,'mauri',66,64,63,65,62,'bebeto'] columns[4]['width'] = 4;
47 = "Purificador"
27 = "Sa_Boton"
In domoticz both items are config as "select button".
I need this items are select button because I need to be more small than actual and follow the style of the rest blocks in "4 width.
Any idea?
thanks a lot and sorry for my poor english![]()
Then you get a dropdown menu for the selector.Code: Select all
config['selector_instead_of_buttons'] = 1;
selector.PNG
hi again.htilburgs wrote: ↑Monday 16 October 2017 8:55 Maybe you can try to put the next line in your config.JS
Then you get a dropdown menu for the selector.Code: Select all
config['selector_instead_of_buttons'] = 1;
selector.PNG
Code: Select all
var _EDIT_MODE = false;
var config = {}
config['domoticz_ip'] = 'http://192.168.1.4:8084';
config['app_title'] = 'Dashticz davizinho';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://estaticos.elmundo.es/elmundo/rss/portada.xml';
config['news_scroll_after'] = '7';
config['standby_after'] = 0;
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '30';
config['auto_slide_pages'] = 0;
config['slide_effect'] = 'slide';
config['standard_graph'] = 'month';
config['language'] = 'es_ES';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'es_ES';
config['calendarurl'] = 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = 'api';
config['gm_zoomlevel'] = 4;
config['gm_latitude'] = '40.4989948';
config['gm_longitude'] = '-3.6610076';
config['wu_api'] = 'api';
config['wu_city'] = 'pws:IMLASTAB2';
config['wu_name'] = 'Las Tablas';
config['wu_country'] = 'ES';
config['idx_moonpicture'] = 0;
config['switch_horizon'] = 0;
config['host_nzbget'] = 'http://192.168.1.4:8084';
config['spot_clientid'] = 'api';
config['selector_instead_of_buttons'] = 1;
config['auto_positioning'] = 0;
config['use_favorites'] = 1;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 1;
config['hide_mediaplayer'] = 0;
var maps = {}
maps.location = { height: 800, width:12, latitude: 40.4989948, longitude: -3.6610076, zoom:15 }
var frames = {}
frames.weather = {height:526,frameurl:"https://gadgets.buienradar.nl/gadget/zoommap/?lat=40.4165&lng=-3.70256&overname=2&zoom=11&naam=madrid&size=3&voor=0",width:12}
frames.floorplan = {height:800,frameurl:"http://davizinho.myvnc.com:8084/#/Floorplans",width:36}
var blocks = {}
blocks['router'] = {} //ROUTER
blocks['router']['width'] = 12;
blocks['router']['type'] = 'blocktitle';
blocks['router']['title'] = 'Router ASUS AC88U'
blocks['nas'] = {} //NAS SYNOLOGY
blocks['nas']['width'] = 12;
blocks['nas']['type'] = 'blocktitle';
blocks['nas']['title'] = 'NAS Synology'
blocks['salon'] = {} //SALON
blocks['salon']['width'] = 12;
blocks['salon']['type'] = 'blocktitle';
blocks['salon']['title'] = 'Salon'
blocks['dormitorio'] = {} //DORMITORIO
blocks['dormitorio']['width'] = 12;
blocks['dormitorio']['type'] = 'blocktitle';
blocks['dormitorio']['title'] = 'Dormitorio'
blocks['mauri'] = {} //MAURI
blocks['mauri']['width'] = 4;
blocks['mauri']['type'] = 'blocktitle';
blocks['mauri']['title'] = 'Mauri'
blocks['bebeto'] = {} //Bebeto
blocks['bebeto']['width'] = 4;
blocks['bebeto']['type'] = 'blocktitle';
blocks['bebeto']['title'] = 'Bebeto'
blocks['frikyroom'] = {} //Frikyroom
blocks['frikyroom']['width'] = 4;
blocks['frikyroom']['type'] = 'blocktitle';
blocks['frikyroom']['title'] = 'Frikyroom'
blocks['terraza'] = {} //Terraza
blocks['terraza']['width'] = 4;
blocks['terraza']['type'] = 'blocktitle';
blocks['terraza']['title'] = 'Terraza'
blocks['entrada'] = {} //Entrada
blocks['entrada']['width'] = 4;
blocks['entrada']['type'] = 'blocktitle';
blocks['entrada']['title'] = 'Entrada'
blocks['pasillo'] = {} //Pasillo
blocks['pasillo']['width'] = 4;
blocks['pasillo']['type'] = 'blocktitle';
blocks['pasillo']['title'] = 'Pasillo'
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']
columns[1] = {}
columns[1]['blocks'] = ['currentweather_big','weather',frames.weather]
columns[1]['width'] = 4;
columns[2] = {}
columns[2]['blocks'] = ['spotify']
columns[2]['width'] = 4;
columns[3] = {}
columns[3]['blocks'] = [maps.location]
columns[3]['width'] = 4;
columns[4] = {}
columns[4]['blocks'] = [frames.floorplan]
columns[4]['width'] = 12;
/*
columns[5] = {}
columns[5]['blocks'] = ['spotify']
columns[5]['width'] = 4;
columns[6] = {}
columns[6]['blocks'] = [maps.location]
columns[6]['width'] = 4;
columns[4] = {}
columns[4]['blocks'] = [buttons.buienradar,'sunrise','spotify',buttons.nos,buttons.tweakers,buttons.nunl]
columns[4]['width'] = 2;
columns[5] = {}
columns[5]['blocks'] = [buttons.domoticz,'sunrise']
columns[5]['width'] = 2;
columns[6] = {}
columns[6]['blocks'] = ['traffic','train',maps.sonenbreugel]
columns[6]['width'] = 5;
*/
columns[7] = {} //SALON
columns[7]['blocks'] = ['salon',95,17,7,7,'18_2',4,33,47,27,'mauri',66,64,63,65,62,'bebeto']
columns[7]['width'] = 4;
columns[8] = {} //DORMITORIO y FRIKYROOM
columns[8]['blocks'] = ['dormitorio',96,14,31,40,'15_2',38,6,'frikyroom',97,48,51,49]
columns[8]['width'] = 4;
columns[9] = {} //TERRAZA Y ENTRADA Y PASILLO
columns[9]['blocks'] = ['terraza',1,12,29,'2_2',39,45,29,'entrada',10,35,'pasillo',20,23,21]
columns[9]['width'] = 4;
columns[10] = {} //ROUTER
columns[10]['blocks'] = ['router',89,67,68,71,70,69]
columns[10]['width'] = 4;
columns[11] = {} //NAS
columns[11]['blocks'] = ['nas',72,77,78,73,90,85,74,91,86,75,92,87,76,93,88]
columns[11]['width'] = 4;
columns[13] = {}
columns[13]['blocks'] = ['log','news_1','news_2']
columns[13]['width'] = 5;
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','currentweather_big','weather']
columns_standby[1]['width'] = 12;
var screens = {}
screens['default'] = {}
screens['default']['maxwidth'] = 1920;
screens['default']['maxheight'] = 1080;
screens['default'][1] = {}
screens['default'][1]['background'] = 'bg9.jpg';
screens['default'][1]['columns'] = [1,2,3]
screens['default'][2] = {}
screens['default'][2]['background'] = 'bg9.jpg';
screens['default'][2]['columns'] = [4]
screens['default'][3] = {}
screens['default'][3]['background'] = 'bg9.jpg';
screens['default'][3]['columns'] = [7,8,9]
screens['default'][4] = {}
screens['default'][4]['background'] = 'bg9.jpg';
screens['default'][4]['columns'] = [10,11,12]
screens['tablet'] = {}
screens['tablet']['maxwidth'] = 1024;
screens['tablet']['maxheight'] = 768;
screens['tablet'][1] = {}
screens['tablet'][1]['background'] = 'bg9.jpg';
screens['tablet'][1]['columns'] = [1]
screens['tablet'][2] = {}
screens['tablet'][2]['background'] = 'bg9.jpg';
screens['tablet'][2]['columns'] = [2]