This produces a complete list of all Domoticz devices:
Code: Select all
var config = {}
config['language'] = 'en_US'; //or: en_US, de_DE, fr_FR, hu_HU, it_IT, pt_PT, sv_SV
config['domoticz_ip'] = 'http://***.***.***.***:***';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['user_name'] = '****';
config['pass_word'] = '****';
Code: Select all
var config = {}
config['language'] = 'en_US'; //or: en_US, de_DE, fr_FR, hu_HU, it_IT, pt_PT, sv_SV
config['domoticz_ip'] = 'http://***.***.***.***:***';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['user_name'] = '****';
config['pass_word'] = '****';
//config['use_favorites'] = 0; //Request all Domoticz Devices, not only favorites
//config['auto_positioning'] = 0; // Use 0 this if you have defined your own columns
//Definition of blocks
blocks = {}
blocks[3] = {
width: 6
}
blocks[34] = {
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 : [3, 34],
width: 8
}
//Definition of screens
screens = {}
screens[1] = {
columns: [1, 2]
}