to keep this topic alive my latest dashboard it need some tuning but i'am really happy with it everything in one page has still my preference.
Code: Select all
var config = {}
config['domoticz_ip'] = '';
config['login_timeout'] = '0';
config['user_name'] = '';
config['pass_word'] = '';
// config['security_panel_lock'] = 1;
config['app_title'] = '';
config['room_plan'] = '0';
config['domoticz_refresh'] = '1';
config['dashticz_refresh'] = '60';
// 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/background.jpg';
config['standby_after'] = '0';
config['start_page'] = '1';
config['enable_swiper'] = '1';
config['vertical_scroll'] = '0';
config['horizontal_scroll'] = '0';
config['auto_swipe_back_to'] = '1';
config['auto_swipe_back_after'] = '60';
config['auto_slide_pages'] = '0';
config['slide_effect'] = 'fade';
config['standard_graph'] = 'day';
// config['blink_color'] = '255, 255, 255, 1';
config['spot_clientid'] = '';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = '';
config['batteryThreshold'] = 0;
config['speak_lang'] = 'nl-NL';
config['google_api_key'] = '';
config['setpoint_min'] = '5';
config['setpoint_max'] = '40';
config['loginEnabled'] = 0;
config['disable_update_check'] = 1;
config['no_rgb'] = 1;
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['disable_googleanalytics'] = 1;
config['last_update'] = 0;
config['hide_topbar'] = 0;
config['security_button_icons'] = 1;
config['edit_mode'] = 0;
config['hide_seconds'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 0;
config['hide_mediaplayer'] = 0;
config['owm_api'] = '';
config['owm_city'] = '';
config['owm_name'] = 'Weer';
config['owm_country'] = 'nl';
config['owm_lang'] = 'nl';
config['owm_cnt'] = '5';
config['owm_days'] = true;
config['owm_min'] = 1;
config['enable_websocket'] = 1
config['garbage_use_names'] = 1;
config['garbage_use_cors_prefix'] = 1;
config['garbage_mapping'] = {
rest: ['grof', 'grey', 'rest', 'grijs','grijze'],
gft: ['gft', 'tuin', 'refuse bin', 'green', 'groen', 'Biodégradables', 'snoei'],
pmd: ['plastic', 'pmd', 'verpakking', 'kunststof', 'valorlux'],
papier: ['papier', 'blauw', 'blue', 'recycling bin collection'],
};
config['garbage'] = {
gft: {kliko: 'green', code: '#FFFFFF', name: 'GFT', icon: 'img/garbage/kliko_green.png'},
pmd: {kliko: 'orange', code: '#FFFFFF', name: 'Plastic', icon: 'img/garbage/kliko_orange.png'},
rest: {kliko: 'grey', code: '#FFFFFF', name: 'Restafval', icon: 'img/garbage/kliko_grey.png'},
papier: {kliko: 'blue', code: '#FFFFFF', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
};
var max_resolution_desktop = 'default';
var max_resolution_smart = 'tablet';
var p1_elektra_nu = '15_1';
var verbruikt = '15_2';
var temp_serverruimte = '53_1';
var vandaag_geleverd = '15_5';
var grafiek_elektra = '15';
var orcon_status = '75';
var douche = '77';
var eten = '78';
var verbruik_server = '81_1';
var verbruik_accu = '753';
var temp_buiten = '25';
var sonos_keuken = '56';
var sonos_woonkamer = '58';
var deurbel = '71';
var temp_warmtepomp = 'graph_92';
var temp_woonkamer = '102';
var temp_boven = '251';
var temp_server = '131_1';
var temp_babykamer = '123_1';
var temp_badkamer = '115_1';
var hum_woonkamer = '107_2';
var hum_server = '131_2';
var hum_badkamer = '115_2';
var post = '231';
var vloerpomp_beneden = '196';
var vloerpomp_boven = '140';
var ring_verwarming = '205';
var beneden = '391';
var beneden_stand = '388';
var boven = '215';
var boven_stand = '212';
var hue_aanrecht = '286';
var hue_woonkamer = '70';
var hue_keuken_l = '43';
var hue_keuken_r = '35';
var hue_veranda = '239';
var hue_overloop = '142';
var hue_gang = '149';
var hue_slaapkamer = '9';
var zones = '59';
var contact_voordeur = '138';
var contact_schuur = '187';
var contact_poort = '226';
var contact_serre = '147';
var contact_keukenraam = '254';
var securitypanel = '220';
var bui_komt_over = '163';
var en_duurt = '164';
var en_bestaat_uit = '169';
var wind = '158';
var zonnescherm = '240';
var zonnescherm1 = '240';
var douche = '383';
var blocks = {}
blocks
blocks[bui_komt_over] = {
title: 'regen over',
hide_data: false,
hide_lastupdate: true,
icon: 'fas fa-umbrella',
width: 3
}
blocks[en_duurt] = {
title: 'regen duur',
hide_data: false,
hide_lastupdate: true,
icon: 'fas fa-clock',
width: 3
}
blocks[en_bestaat_uit] = {
title: 'mm2 regen',
hide_data: false,
hide_lastupdate: true,
icon: 'fas fa-cloud-rain',
width: 3
}
blocks[contact_voordeur] = {
width: 2,
title: 'voordeur'
}
blocks[contact_schuur] = {
width: 2,
title: 'kantoor'
}
blocks[contact_serre] = {
width: 2,
title: 'serre'
}
blocks[contact_keukenraam] = {
width: 2,
title: 'keuken'
};
blocks[1320] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: ''
}
blocks[1321] = {
width: 2,
switch: false,
hide_data: false,
hide_lastupdate: false,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: ''
}
blocks[312] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: ''
}
blocks[302] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: ''
}
blocks[306] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: 'Internet'
}
blocks[307] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: 'wifi 1'
}
blocks[308] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: 'wifi 2'
}
blocks[309] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: 'wifi 3'
}
blocks[405] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: ''
}
blocks[406] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: ''
}
blocks[407] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: ''
}
blocks[310] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: 'firewall'
}
blocks[408] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: ''
}
blocks[409] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: ''
}
blocks[410] = {
width: 2,
hide_data: false,
hide_lastupdate: true,
imageOn: 'green_ok.png',
imageOff: 'red_cross.png',
title: ''
}
blocks[contact_poort] = {
idx: 1023,
title: 'lampjes',
width: 2,
}
blocks[hue_aanrecht] = {
idx: 286,
type: 'dial',
// subtype: 'updown',
color: '#ebd234',
height: 165,
last_update: true,
width: 3,
title: 'keuken aanrecht'
}
blocks[hue_gang] = {
idx: 149,
type: 'dial',
// subtype: 'updown',
color: '#ebd234',
height: 165,
last_update: true,
width: 3,
title: 'veranda 2'
}
blocks[hue_overloop] = {
idx: 142,
type: 'dial',
// subtype: 'updown',
color: '#ebd234',
height: 165,
last_update: true,
width: 3,
title: 'overloop'
}
blocks[hue_slaapkamer] = {
idx: 9,
type: 'dial',
// subtype: 'updown',
color: '#ebd234',
height: 165,
last_update: true,
width: 3,
title: 'slaapkamer'
}
blocks[hue_woonkamer] = {
idx: 70,
type: 'dial',
// subtype: 'updown',
color: '#ebd234',
height: 165,
last_update: true,
width: 3,
title: 'woonkamer'
}
blocks[hue_keuken_r] = {
idx: 35,
type: 'dial',
// subtype: 'updown',
color: '#ebd234',
height: 165,
last_update: true,
width: 3,
title: 'keuken R'
}
blocks[hue_keuken_l] = {
idx: 43,
type: 'dial',
// subtype: 'updown',
color: '#ebd234',
height: 165,
last_update: true,
width: 3,
title: 'keuken L'
}
blocks[hue_veranda] = {
idx: 239,
type: 'dial',
// subtype: 'updown',
color: '#ebd234',
height: 165,
last_update: true,
width: 3,
title: 'veranda 1'
}
blocks['beneden'] = {
idx: 964,
type: 'dial',
// subtype: 'updown',
width: 3,
temp: 126,
setpoint: 20,
min: 15,
max: 30,
shownumbers: true,
last_update: true,
color: '#57c4d6',
height: 165,
showring: true,
title: 'beneden'
}
blocks[beneden_stand] = {
idx: 961,
type: 'dial',
subtype: 'updown',
width: 3,
color: '#57c4d6',
height: 165,
title: 'beneden'
}
blocks[boven] = {
idx: 215,
type: 'dial',
// subtype: 'updown',
width: 3,
temp: 118,
setpoint: 20,
min: 15,
max: 30,
shownumbers: true,
last_update: true,
color: '#57c4d6',
height: 165,
showring: false,
title: 'boven'
}
blocks[boven_stand] = {
idx: 212,
type: 'dial',
subtype: 'updown',
width: 3,
color: '#57c4d6',
height: 165,
title: 'stand boven'
}
blocks['wind'] = {
idx: 158,
title: 'Wind',
type: 'dial',
// setpoint: 5,
offset: 0,
color: '#57c4d6',
isneedle: true,
showring: false,
showunit: true,
shownumbers: true,
last_update: false,
width: 3,
height: 165
}
blocks['tibbercharge'] = {
idx: 902,
title: 'charge',
// icon: 'fas fa-battery',
width: 2,
// switch: true
}
blocks['bureau_vw'] = {
idx: 1067,
title: 'bureau-heater',
icon: 'fas fa-heater',
width: 3,
switch: true
}
blocks['1067'] = {
idx: 1067,
title: 'bureau-vw',
icon: 'fas fa-heater',
width: 3,
switch: true
}
blocks['verwarming_bg'] = {
idx: 196,
title: 'verwarming',
icon: 'fas fa-heater',
width: 3,
switch: true,
imageOn: 'heating_on.png',
imageOff: 'heating_off.png',
last_update: false,
confirmation: 1
}
blocks[196] = {
title: 'verwarming',
icon: 'fas fa-heater',
width: 3,
switch: true,
imageOn: 'heating_on.png',
imageOff: 'heating_off.png',
last_update: false,
confirmation: 1
}
blocks[vloerpomp_beneden] = {
width: 3,
title: 'vloer verwarming',
switch: true,
hide_data: false,
last_update: false,
imageOn: 'heating_on.png',
imageOff: 'heating_off.png'
}
blocks[vloerpomp_boven] = {
width: 3,
title: 'Cool / Warm',
switch: true,
hide_data: false,
last_update: false,
imageOn: 'heating_on.png',
imageOff: 'heating_off.png'
}
blocks[ring_verwarming] = {
width: 3,
title: 'accu verwarming',
switch: true,
hide_data: false,
last_update: false,
imageOn: 'heating_on.png',
imageOff: 'heating_off.png'
}
blocks[verbruikt] = {
last_update: true,
width: 3,
title: '(24u)',
hide_data: false
}
blocks[temp_woonkamer] = {
last_update: true,
width: 3,
title: 'Beneden',
hide_data: false
}
blocks[temp_boven] = {
last_update: true,
width: 3,
title: 'Boven',
hide_data: false
}
blocks[temp_buiten] = {
width: 3,
title: '',
switch: false,
hide_data: false,
last_update: false
}
blocks[post] = {
width: 2,
hide_lastupdate: true,
title: ''
}
blocks[vandaag_geleverd] = {
width: 2,
title: 'geleverd',
last_update: false,
protected: false,
icon: 'fas fa-bolt'
}
blocks[verbruik_server] = {
width: 4,
last_update: false,
protected: false
}
blocks[orcon_status] = {
width: 5,
last_update: false,
protected: false
}
blocks['wtw'] = {
idx: 73,
title: 'wtw',
width: 3,
last_update: false,
protected: false
}
blocks['wtw1'] = {
idx: 73,
title: 'wtw',
width: 5,
last_update: false,
protected: false
}
blocks[zonnescherm] = {
imageOn: 'blinds_closed.png',
imageOff: 'blinds_open.png',
title: 'zonnescherm',
width: 3,
}
blocks['zonnescherm1'] = {
idx: 240,
imageOn: 'blinds_closed.png',
imageOff: 'blinds_open.png',
title: 'screen',
width: 5,
}
blocks[1194] = {
imageOn: 'Tibber48_On.png',
imageOff: 'Tibber48_Off.png',
title: 'laad uren',
width: 4,
}
blocks['laaduren'] = {
idx: 1194,
imageOn: 'Tibber48_On.png',
imageOff: 'Tibber48_Off.png',
title: 'laad uren',
width: 4,
}
blocks[1003] = {
imageOn: 'Tibber48_On.png',
imageOff: 'Tibber48_Off.png',
title: 'Laden',
width: 2,
}
blocks['laden'] = {
idx: 1003,
imageOn: 'Tibber48_On.png',
imageOff: 'Tibber48_Off.png',
title: 'Laden',
width: 3,
}
blocks['p1'] = {
title: 'verbruik',
//graphTypes: ['v'],
devices: [15,900],
stacked: true,
tooltiptotal: true,
graph: ['bar','bar'],
legend: false,
height: '330',
datasetColors:['rgba(56, 226, 20, 0.5)', 'rgba(66, 145, 182, 0.5)', 'rgba(245, 226, 39, 0.4)', 'rgba(255, 0, 0, 0.5)'],
range:'2 week',
custom : {
"last": {
data: {
usage: 'd.v_15+d.v_900',
generation: '-d.r1_15'
}
},
"afgelopen 24 uur": {
range: 'last',
groupBy: 'hour',
filter: '24 hours',
data: {
usage: 'd.v_15',
generation: '-d.r1_15'
}
},
"2 week": {
range: 'month',
groupBy: 'day',
filter: '14 days',
data: {
usage: 'd.v_15+d.v2_15',
generation: '-d.r1_15-d.r2_15'
}
},
"per jaar": {
range: 'year',
groupBy: 'month',
filter: '12 month',
data: {
usage: 'd.v_15+d.v2_15',
generation: '-d.r1_15-d.r2_15'
}
}
}
},
blocks['graph_15'] = {
title: 'verbruik',
devices: [15,24,753,819,1301],
lineFill: [true, true, true, true],
height: '292',
datasetColors:['rgba(56, 226, 20, 0.4)', 'rgba(66, 145, 182, 0.4)', 'rgba(245, 226, 39, 0.4)', 'rgba(255, 0, 0, 0.4)', 'rgba(255, 224, 224, 0.4)'],
debugbutton: false,
custom : {"last": {
range: 'last',
data: {
pv1: '-d.u_24',
pv2: '-d.u_819',
'huidig verbruik': 'd.v_15+d.v2_15',
netverbruik: 'd.eu_15-d.eg_15',
accuverbruik: '-d.u_753'
}
},
"12": {
range: 'day',
filter: '12 hours',
data: {
pv1: '-d.u_24',
pv2: '-d.u_819',
'huidig verbruik': 'd.v_15+d.v2_15',
netverbruik: 'd.eu_15-d.eg_15',
accuverbruik: '-d.u_753'
}
}
},
legend: true
}
blocks['geohita'] = {
title: '',
width: 12,
devices: [156, 126, 1271],
lineFill: [true, true, true, true],
datasetColors:['rgba(56, 226, 20, 0.4)', 'rgba(66, 145, 182, 0.4)', 'rgba(255, 0, 0, 0.4)'],
debugbutton: false,
height: '292',
range: 'last',
range: 'day',
legend: {
'te_156': 'buiten',
'te_126': 'vloer',
'te_1271': 'warmtepomp'
},
}
blocks['batterystatus'] = {
devices: [697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712],
}
blocks['all_zones'] = {
title: 'Room Temperatures',
devices: [92, 151,102, 126, 156],
groupByDevice: true
}
blocks['garbage'] = {
title: 'containers',
company: 'hvc',
zipcode: '',
street: '',
housenumber: 17,
maxitems: 4,
width: 4
}
blocks['log'] = {
title: 'events',
height: '350px',
width: 12
}
blocks['gmail_calendars'] = {
type: 'calendar',
title: 'agenda',
layout: 1,
icalurl: {
Personal: {
ics: '',
color: 'lightyellow'
},
Business: {
ics: '',
color: 'lightgreen'
}
},
holidayurl: '',
maxitems: 5,
weeks: 5,
refresh: 60,
lastweek: false,
isoweek: false,
fixallday: true,
width: 8
}
///////////////////////////////////////////////////////////////////////////////////////////////// pagina 2 thuisaccu ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
blocks['cell01'] = {
idx: [697],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell01',
values : [
{
idx: 721,
scale: 1,
decimals: 2
},
],
}
blocks['cell02'] = {
idx: [698],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell02',
values : [
{
idx: 722,
scale: 1,
decimals: 3
},
],
}
blocks['cell03'] = {
idx: [699],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell03',
values : [
{
idx: 723,
scale: 1,
decimals: 3
},
],
}
blocks['cell04'] = {
idx: [700],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell04',
values : [
{
idx: 724,
scale: 1,
decimals: 3
},
],
}
blocks['cell05'] = {
idx: [701],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell05',
values : [
{
idx: 725,
scale: 1,
decimals: 3
},
],
}
blocks['cell06'] = {
idx: [702],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell06',
values : [
{
idx: 726,
scale: 1,
decimals: 3
},
],
}
blocks['cell07'] = {
idx: [703],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell07',
values : [
{
idx: 727,
scale: 1,
decimals: 3
},
],
}
blocks['cell08'] = {
idx: [704],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell08',
values : [
{
idx: 728,
scale: 1,
decimals: 3
},
],
}
blocks['cell09'] = {
idx: [705],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell09',
values : [
{
idx: 729,
scale: 1,
decimals: 3
},
],
}
blocks['cell10'] = {
idx: [706],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell10',
values : [
{
idx: 729,
scale: 1,
decimals: 3
},
],
}
blocks['cell11'] = {
idx: [707],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell11',
values : [
{
idx: 730,
scale: 1,
decimals: 3
},
],
}
blocks['cell12'] = {
idx: [708],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell12',
values : [
{
idx: 731,
scale: 1,
decimals: 3
},
],
}
blocks['cell13'] = {
idx: [709],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell13',
values : [
{
idx: 732,
scale: 1,
decimals: 3
},
],
}
blocks['cell14'] = {
idx: [710],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell14',
values : [
{
idx: 733,
scale: 1,
decimals: 3
},
],
}
blocks['cell15'] = {
idx: [711],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell15',
values : [
{
idx: 734,
scale: 1,
decimals: 3
},
],
}
blocks['cell16'] = {
idx: [712],
type: 'dial',
animation: false,
width: 3,
height: 165,
min: 2.5,
max: 3.65,
decimals: 2,
shownumbers: true,
title: 'cell16',
values : [
{
idx: 735,
scale: 1,
decimals: 3
},
],
}
blocks['bt-voltage'] = {
idx: [751],
height: 165,
type: 'dial',
animation: false,
width: 3,
color: '#ebd234',
min: 40,
max: 56,
showring: true,
shownumbers: true,
showunit: true,
splitdial: true,
decimals: 2,
title: 'batt voltage',
values : [
{
idx: 750,
decimals: 3
},
],
}
blocks['bt-percentage'] = {
idx: [759],
height: 165,
type: 'dial',
animation: false,
width: 3,
color: '#ebd234',
setpoint: 0,
min: 0,
max: 100,
showring: true,
shownumbers: true,
showunit: true,
splitdial: true,
decimals: 0,
title: 'batt state',
values : [
{
idx: 944,
showunit: true,
unit:'h',
decimals: 0
},
],
}
blocks['load-L2'] = {
idx: [502],
height: 165,
type: 'dial',
animation: false,
width: 3,
color: '#ebd234',
setpoint: 0,
min: -3000,
max: 3000,
showring: true,
shownumbers: true,
showunit: true,
splitdial: true,
decimals: 0,
title: 'load L2'
}
blocks['pv1-volt'] = {
idx: [673],
height: 165,
type: 'dial',
width: 3,
color: '#ebd234',
min: 0,
max: 400,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
title: 'pv1 voltage'
}
blocks['discharge-watts'] = {
idx: [753],
height: 165,
type: 'dial',
unit: 'W',
animation: false,
width: 3,
color: '#ebd234',
min: -3000,
max: 3000,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 0,
title: '(dis)charge',
values : [
{
idx: 752,
decimals: 2
},
],
}
blocks['pv1-watts'] = {
idx: [24],
height: 165,
type: 'dial',
animation: false,
width: 3,
color: '#ebd234',
min: 0,
max: 3000,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 0,
title: 'pv1 watts'
}
blocks['L1'] = {
title: 'L1 L2 L3',
idx: 15,
height: 165,
type: 'dial',
subtype: 'usage',
width: 3,
inverted: false,
last_update: false,
animation: false
}
blocks['L2'] = {
idx: [23],
height: 165,
type: 'dial',
subtype: 'usage',
animation: false,
width: 3,
color: '#ebd234',
min: 0,
max: 4000,
inverted: true,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 0,
title: 'Levering L2',
values : [
{
idx: 30,
decimals: 0
},
],
}
blocks['L3'] = {
idx: [24],
height: 165,
type: 'dial',
animation: false,
width: 3,
color: '#ebd234',
min: 0,
max: 4000,
inverted: true,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 0,
title: 'Levering L3',
values : [
{
idx: 31,
decimals: 0
},
],
}
blocks['bt-charge-a'] = {
idx: [752],
height: 165,
type: 'dial',
animation: false,
width: 3,
color: '#ebd234',
min: -60,
max: 60,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 2,
title: 'charging amps'
}
blocks['amp-available'] = {
idx: [760],
height: 165,
type: 'dial',
animation: false,
width: 3,
color: '#ebd234',
min: 0,
max: 320,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 0,
title: 'Amps available'
}
blocks['bms-temp'] = {
idx: [758],
height: 165,
type: 'dial',
width: 3,
color: '#ebd234',
min: 0,
max: 50,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 0,
title: 'bms temp'
}
blocks['cel-voltage'] = {
idx: [750],
height: 165,
type: 'dial',
animation: false,
width: 3,
color: '#ebd234',
min: 0,
max: 4,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 3,
title: 'cel voltage'
}
blocks['cel-delta'] = {
idx: [749],
height: 165,
type: 'dial',
width: 3,
color: '#ebd234',
min: 0,
max: 0.5,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 3,
title: 'cel delta'
}
blocks['inverter-load'] = {
idx: [814],
type: 'dial',
animation: false,
height: 165,
width: 3,
color: '#ebd234',
min: 0,
max: 100,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 0,
title: 'inverter load',
values : [
{
idx: 813,
decimals: 0
},
],
}
blocks['tibber'] = {
idx: [1196],
type: 'dial',
dialimage: 'img/Tibber48_On.png',
subtype: 'Text',
height: 165,
width: 3,
color: '#ebd234',
min: 0,
max: 2,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 3,
title: 'Kwh prijs',
values : [
{
title: '',
idx: 1195,
decimals: 3
},
{
title: '',
idx: 1192,
decimals: 3
},
],
}
blocks['uitblaas-temp'] = {
idx: [102],
type: 'dial',
height: 165,
width: 3,
color: '#ebd234',
min: 0,
max: 40,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 1,
title: 'uitblaas temp'
}
blocks['temp-beneden'] = {
idx: [126],
type: 'dial',
height: 165,
width: 3,
color: '#ebd234',
min: 0,
max: 40,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 1,
title: 'temp beneden'
}
blocks['temp-boven'] = {
idx: [118],
type: 'dial',
height: 165,
width: 3,
color: '#ebd234',
min: 0,
max: 40,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 1,
title: 'temp boven'
}
blocks['temp-kantoor'] = {
idx: [110],
type: 'dial',
height: 165,
width: 3,
color: '#ebd234',
min: 0,
max: 40,
showring: true,
shownumbers: true,
fixed: false,
splitdial: true,
decimals: 1,
title: 'temp kantoor'
}
blocks['temp-buiten'] = {
idx: [157],
type: 'dial',
height: 165,
width: 3,
min: -40,
max: 40,
showring: true,
shownumbers: false,
fixed: false,
decimals: 1,
title: 'temp buiten'
}
blocks['verbruik-omvormer'] = {
title: "verbruik BAT AC",
idx: '813',
icon: 'fas fa-car-battery',
format:true,
width:3,
decimals: 0
}
blocks['teruglevering'] = {
idx: '15_2',
title:"pv1: <UsageDeliv>",
value: "werkelijk: <NettCounterToday>",
width: 3,
format:true,
decimals: 2
}
blocks['teruglevering1'] = {
idx: '15_2',
title:"pv1: <UsageDeliv>",
value: "werkelijk: <NettCounterToday>",
width: 5,
format:true,
decimals: 2
}
blocks['pv1'] = {
idx: '24',
unit: ' Watt',
title: "pv1",
width: 3,
decimals: 0,
icon: 'fas fa-sun',
}
blocks['verwachting'] = {
idx: '1293',
title: "",
width: 12,
icon: 'fas fa-sun',
}
blocks['pv2'] = {
idx: '817',
unit: ' W',
title: "pv2",
width: 3,
decimals: 0,
icon: 'fas fa-sun',
}
blocks['warmtenet'] = {
idx: [1266],
height: 165,
width: 3,
color: '#ebd234',
title: "GJ verbruik",
type: 'dial',
values: [
{
value: 'CounterToday',
decimals: 3,
unit: 'vandaag',
},
],
min: -10,
max: 10,
splitdial:true, //0 in the top
shownumbers: true,
showvalue: true //to hide the total counter (=default main value)
}
blocks['weather'] = {
type: 'weather',
layout: 4,
count: 3,
name: 'Emmeloord',
lang: 'nl',
scale: '1',
width: 6,
showDetails: false,
showHourly: false,
showWind: true,
colors: {
cloud: 'orange',
light_cloud: 'orange',
dark_cloud: 'orange',
}
}
buttons = {}
buttons.camvoor = {
width: 6,
isimage: true,
refresh: 0.5,
forcerefresh: true,
refreshiframe: 0.5,
btnimage: '',
url: ''
}
buttons.camachter = {
width: 6,
isimage: true,
refresh: 0.5,
forcerefresh: true,
refreshiframe: 0.5,
btnimage: '',
url: ''
}
var frames = {}
frames.sonos = {
frameurl:"",
height: 235,
scrollbars: false,
}
frames.buienradar = {
frameurl:"",
aspectratio: 1,
scaletofit: 250,
scrollbars: false,
// forcerefresh: 1,
width: 6
}
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock']
columns[1] = {}
columns[1]['blocks'] = [frames.buienradar, 'weather', 'graph_15', hue_woonkamer, hue_keuken_l, hue_keuken_r, hue_aanrecht, hue_slaapkamer, hue_overloop, hue_veranda, hue_gang, 1320, 1321, 310,306,307,308,309,302,405,406,407,408,409,410]
columns[1]['width'] = 4;
columns[2] = {}
columns[2]['blocks'] = ['L1', 'L2', 'L3', 'bt-voltage', 'bt-percentage','discharge-watts', 'inverter-load', 'tibber', 'teruglevering', 'pv2', 1194, 1003, contact_voordeur, contact_keukenraam, contact_serre, contact_schuur, contact_poort, post, bui_komt_over, en_duurt, 'wtw', zonnescherm, 'verwarming_bg', ring_verwarming, vloerpomp_boven, 'bureau_vw', buttons.camvoor, buttons.camachter, frames.sonos, 'log']
columns[2]['width'] =4;
columns[3] = {}
columns[3]['blocks'] = ['p1', 'geohita', 'wind', 'beneden', beneden_stand, 'warmtenet', 'uitblaas-temp', 'temp-beneden', 'temp-boven', 'temp-kantoor', 'gmail_calendars', 'garbage']
columns[3]['width'] = 4;
columns[4] = {}
columns[4]['blocks'] = [ ]
columns[4]['width'] = 4;
columns[5] = {}
columns[5]['blocks'] = ['15', '22', '23', '24', '819', '900', 'batterystatus']
columns[5]['width'] = 4;
columns[6] = {}
columns[6]['blocks'] = ['cell01','cell08','cell09','cell16','cell02','cell07','cell10','cell15','cell03','cell06','cell11','cell14','cell04','cell05','cell12','cell13', 'cel-delta']
columns[6]['width'] = 4;
columns[7] = {}
columns[7]['blocks'] = ['900', hue_woonkamer, hue_keuken_l, hue_keuken_r, hue_aanrecht, hue_slaapkamer, hue_overloop, hue_veranda, hue_gang]
columns[7]['width'] = 4;
columns[8] = {}
columns[8]['blocks'] = [buttons.camvoor, buttons.camachter, 'teruglevering1', 'pv2', 'laden', 'L1', 'bt-percentage','discharge-watts', 'tibber','temp-buiten', 'temp-beneden', 'uitblaas-temp', 'temp-boven', 'zonnescherm1', 'wtw1', contact_voordeur, contact_keukenraam, contact_serre, contact_schuur, vloerpomp_boven, bui_komt_over, 'gmail_calendars', 'garbage', 'graph_15',310,306,307,308,309,302,405,406,407,408,409,410, 'cell01','cell08','cell09','cell16','cell02','cell07','cell10','cell15','cell03','cell06','cell11','cell14','cell04','cell05','cell12','cell13', 'cel-delta', 'batterystatus']
columns[8]['width'] =4;
columns[9] = {}
columns[9]['blocks'] = ['900', bui_komt_over, en_duurt, 'zonnescherm', vloerpomp_boven, contact_voordeur, contact_keukenraam, vloerpomp_beneden, 'bureau-vw', 196, 'tibber-charge', 'wind', 'beneden', beneden_stand, boven, 'uitblaas-temp', 'temp-beneden', 'temp-boven', 'temp-kantoor', 'gmail_calendars', 'garbage', 'alarmmeldingen']
columns[9]['width'] = 4;
var screens = {}
screens['default'] = {}
screens['default']['maxwidth'] = 3560;
screens['default']['maxheight'] = 3440;
screens['default'][1] = {}
screens['default'][1]['background'] = 'hack2.jpg';
screens['default'][1]['columns'] = [1,2,3]
screens['default'][2] = {}
screens['default'][2]['background'] = 'bg9.jpg';
screens['default'][2]['columns'] = [5,6,7]
screens['tablet'] = {}
screens['tablet']['maxwidth'] = 900;
screens['tablet']['maxheight'] = 2340;
screens['tablet'][1] = {}
screens['tablet'][1]['background'] = '';
screens['tablet'][1]['columns'] = [8]