very nicely done!
I would love to use the same temperature icons.
Any way in sharing those?
Keep up the good work.
regards,
ikkezelf
Moderators: leecollings, htilburgs, robgeerts
Code: Select all
var config = {}
config['domoticz_ip'] = 'http://192.168.0.254:8080';
config['app_title'] = 'Zentrale';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['language'] = 'de_DE'; //or: en_US, de_DE, fr_FR, hu_HU, it_IT, pt_PT, sv_SE
var buttons = {}
buttons.page1 = { width:12, title:'page 1', slide:1}
buttons.page2 = { width:12, title:'page 2', slide:2}
buttons.page3 = { width:12, title:'page 3', slide:3}
var blocks = {}
var columns = {}
columns['menu'] = {}
columns['menu']['blocks'] = [ buttons.page1, buttons.page2, buttons.page3]
columns['menu']['width'] = 1;
columns[1] = {}
columns[1]['blocks'] = ['currentweather_big','weather']
columns[1]['width'] = 5;
columns[2] = {}
columns[2]['blocks'] = ['s1','s2','s3','s4','menu']
columns[2]['width'] = 8;
columns[3] = {}
columns[3]['blocks'] = [2,5,23,'menu']
columns[3]['width'] = 8;
columns[4] = {}
columns[4]['blocks'] = [8,24,25,'menu']
columns[4]['width'] = 8;
columns[5] = {}
columns[5]['blocks'] = [9,26,27,'menu']
columns[5]['width'] = 8;
columns[6] = {}
columns[6]['blocks'] = [11,29,'menu']
columns[6]['width'] = 8;
columns[7] = {}
columns[7]['blocks'] = [12,14,28,'menu']
columns[7]['width'] = 8;
columns[8] = {}
columns[8]['blocks'] = [33,36,22,31,'menu']
columns[8]['width'] = 8;
columns[9] = {}
columns[9]['blocks'] = [16,30,'menu']
columns[9]['width'] = 8;
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
var screens = {}
screens[1] = {}
screens[1]['background'] = 'sc1.jpg';
screens[1]['columns'] = [2]
screens[2] = {}
screens[2]['background'] = 'sc1.jpg';
screens[2]['columns'] = [3]
screens[3] = {}
screens[3]['background'] = 'sc1.jpg';
screens[3]['columns'] = [4]
screens[4] = {}
screens[4]['background'] = 'sc1.jpg';
screens[4]['columns'] = [5]
screens[5] = {}
screens[5]['background'] = 'sc1.jpg';
screens[5]['columns'] = [6]
screens[6] = {}
screens[6]['background'] = 'sc1.jpg';
screens[6]['columns'] = [7]
screens[7] = {}
screens[7]['background'] = 'sc1.jpg';
screens[7]['columns'] = [8]
screens[8] = {}
screens[8]['background'] = 'sc1.jpg';
screens[8]['columns'] = [9]
Code: Select all
screens[1]['columns'] = ['menu', 1, 2, 3]
To double the width, try:DarkG wrote: ↑Sunday 04 October 2020 22:35 On my tablet it shows this way. How can I make the left menu bigger? So that the Text will be in it?
Width is set to 12
var buttons = {}
buttons.page1 = { width:12, title:'Favoriten', slide:1}
buttons.page2 = { width:12, title:'Wohnzimmer', slide:2}
buttons.page3 = { width:12, title:'Esszimmer', slide:3}
buttons.page4 = { width:12, title:'Kueche', slide:4}
buttons.page5 = { width:12, title:'Badezimmer', slide:5}
buttons.page6 = { width:12, title:'Aussen', slide:6}
buttons.page7 = { width:12, title:'Schlafraum', slide:7}
buttons.page8 = { width:12, title:'Umkleide', slide:8}
buttons.page9 = { width:12, title:'Heizung', slide:9}
buttons.page10 = { width:12, title:'Verbrauch', slide:10}
buttons.page11 = { width:12, title:'Hauptbild', slide:11}
20201004_223211.jpg
Code: Select all
columns['menu']['width'] = 2;
Code: Select all
var userHome = 'One';
// custom = One
// custom_2 = Two
// custom_3 = Tree
// custom_4 = Four
// custom_5 = Five
// custom_6 = Six
// custom_7 = iPad
var config = {}
config['domoticz_ip'] = 'http://192.168.xxx.xxx:xxxx';
config['login_timeout'] = '60';
config['user_name'] = userHome;
config['pass_word'] = 'XXXXXXXXXXX';
Code: Select all
if (userHome == 'One' || userHome == 'Two') {
// Slaapkamer One en Two en Tree
screens[max_resolution_smart][3] = {}
screens[max_resolution_smart][3]['background'] = 'bg9.jpg';
screens[max_resolution_smart][3]['columns'] = [22,220]
}
That option gives great new possibilities.Lokonli wrote: ↑Friday 23 October 2020 20:29 I can add a query string to the Dashticz url, like:
http://<dashticz-ip:port/?user='One'
and then you can use the parameters in Dashticz CONFIG.js via for instance dashticzParam['user']
Then you don't have to create additional folders, and copy CONFIG.js.
Would this be useful?
Try latest beta. Load a different config file via:HansieNL wrote: ↑Saturday 24 October 2020 9:00That option gives great new possibilities.Lokonli wrote: ↑Friday 23 October 2020 20:29 I can add a query string to the Dashticz url, like:
http://<dashticz-ip:port/?user='One'
and then you can use the parameters in Dashticz CONFIG.js via for instance dashticzParam['user']
Then you don't have to create additional folders, and copy CONFIG.js.
Would this be useful?
Code: Select all
http://<dashticz ip:port>/?cfg=CONFIG.2.js
Code: Select all
http://<ip-address>:<port>/dashticz/?cfg=CONFIG.cov19.js&css=custom.cov19.css
This is indeed much better.HansieNL wrote: ↑Saturday 24 October 2020 9:00That option gives great new possibilities.Lokonli wrote: ↑Friday 23 October 2020 20:29 I can add a query string to the Dashticz url, like:
http://<dashticz-ip:port/?user='One'
and then you can use the parameters in Dashticz CONFIG.js via for instance dashticzParam['user']
Then you don't have to create additional folders, and copy CONFIG.js.
Would this be useful?
Code: Select all
blocks['my_multi_plant'] = {
devices: [44, 83, 87, 91],
range: 'month',
height: [200]}
Code: Select all
[data-id='my_multi_plant'].graph .graphheader {
display: none
}
You can play with following settings:Chris12 wrote: ↑Saturday 31 October 2020 12:16 Hi, running the latest beta (3.6.6) and I was wondering if I can change the page slide buttons/dots to another color? Especially the inactive page slider are hardly seen when using a dark background. Can the inactive dots color be manipulated via the custom.css file?
Maybe a nice enhancement would be that the color can be set per page, so you can have different colors based on the backgroud (morning/noon/afternoon/night). And maybe the dot can be build like a circle with an outer line and fill, which can be different colors as well?
Code: Select all
.-pagination-bullet.swiper-pagination-bullet-active {
opacity: 0.2 !important;
}
.swiper-pagination-bullet {
opacity: 0.8 !important;
}
Users browsing this forum: No registered users and 1 guest