Hi, I'm trying to put 1 selector and 1 button switch into Dashticz v2
They have already been configured as such
However, they will appear in Dashticz v2 as the picture below. The selector does not show any options and the button switch does not react when clicked on.
I have spent some time checking this issue and then added config['selector_instead_of_buttons'] = 1;,
but it still doesn't work.
In the name of troubleshooting, the issue, I changed the button switch to a selector switch in Domoticz and what's puzzling is that it still appears the same as the 3rd image above.
Here is my CONFIG.js
`
var config = {}
config['domoticz_ip'] = '';
config['app_title'] = 'Len Home';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['hide_topbar'] = 1;
config['auto_positioning'] = false;
config['selector_instead_of_buttons'] = 1;
Hi, I'm trying to put 1 selector and 1 button switch into Dashticz v2
They have already been configured as such
However, they will appear in Dashticz v2 as the picture below. The selector does not show any options and the button switch does not react when clicked on.
I have spent some time checking this issue and then added config['selector_instead_of_buttons'] = 1;, but it still doesn't work.
In the name of troubleshooting, the issue, I changed the button switch to a selector switch in Domoticz and what's puzzling is that it still appears the same as the 3rd image above.
Here is my CONFIG.js ` var config = {} config['domoticz_ip'] = '';
config['app_title'] = 'Len Home';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['hide_topbar'] = 1;
config['auto_positioning'] = false;
config['selector_instead_of_buttons'] = 1;
var buttons = {} buttons.secBanner = {width:12, icon: 'fa-exclamation-triangle', title: 'Security'} buttons.homeSceneBanner = {width:12, icon: 'fa-home', title: 'Living Room Scenes'} buttons.buienradar = {width:6, isimage:true, image: 'https://api.buienradar.nl/image/1.0/RadarMapNL?w=512&h=512&hist=0&forc=48'}
var blocks = {} blocks['secBlock'] = {} blocks['secBlock']['key'] = 'blocktitle_1'; blocks['secBlock']['type'] = 'blocktitle'; blocks['secBlock']['title'] = 'Security';
blocks[2] = {} blocks[2]['title'] = 'Xiaomi Lights' blocks[2]['width'] = 12; blocks[2]['hide_data'] = true;
blocks[8] = {} blocks[8]['title'] = 'Room Lights' blocks[8]['width'] = 4; blocks[8]['hide_data'] = true;
blocks[9] = {} blocks[9]['title'] = 'Main Door' blocks[9]['width'] = 6; blocks[9]['hide_data'] = true;
blocks[11] = {} blocks[11]['title'] = 'Room Fan' blocks[11]['width'] = 4; blocks[11]['image'] = 'fan_on.png'; blocks[11]['hide_data'] = true;
blocks[19] = {} blocks[19]['title'] = 'Home State' blocks[19]['width'] = 12; blocks[19]['icon'] = 'fa-home'; //blocks[19]['hide_data'] = true;
blocks[20] = {} blocks[20]['title'] = 'Alarm Status' blocks[20]['width'] = 12; blocks[20]['image'] = 'alarm.png'; blocks[20]['hide_data'] = true;
blocks['s1'] = {} blocks['s1']['title'] = 'Movie Scene' blocks['s1']['width'] = 4; blocks['s1']['hide_data'] = true;
var columns = {} columns['bar'] = {} columns['bar']['blocks'] = ['logo','miniclock','settings']
columns[1] = {} columns[1]['blocks'] = ['clock', 'sunrise', buttons.secBanner, 19, 20, 9] columns[1]['width'] = 2;
columns[2] = {} columns[2]['blocks'] = [buttons.homeSceneBanner, 's1', 8, 11, 2, 'currentweather_big'] columns[2]['width'] = 4;
columns[3] = {} columns[3]['blocks'] = [buttons.buienradar] columns[3]['width'] = 4;
var columns_standby = {} columns_standby[1] = {} columns_standby[1]['blocks'] = ['clock','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['tablet'] = {} screens['tablet']['maxwidth'] = 1334; screens['tablet']['maxheight'] = 750; screens['tablet'][1] = {} screens['tablet'][1]['background'] = 'bg9.jpg'; screens['tablet'][1]['columns'] = [1,2,3]
` Am I doing anything wrong here ?