Code: Select all
config['last_update'] = 0;
Moderators: leecollings, htilburgs, robgeerts
Code: Select all
config['last_update'] = 0;
Code: Select all
.block_2_1 .lastupdate {
display: none;
}
Can you create a new topic for this in the subforum 'Feature requests'? Then we will continue the discussion there.JeroenL wrote: ↑Friday 31 January 2020 16:23 Having Sonos largely integrated into Dashtiz (see below), the last fun part is still missing: AlbumArt
I have the (dynamic) URL to the current AlbumArt in a Domoticz variable (As I have for album, artist and title). Does anyone have an ideas how I can get this variable from Domoticz into my frames block, something like:
url : sonos_albumart
Also I noticed the images vary in size, do they need to get scaled somehow to be placed properly into a frame?
Thanks - Jeroen
Verzonden vanaf mijn iPad met Tapatalk
DOH! Sorry, I didn't see that. makes life a lot easierHansieNL wrote: ↑Thursday 30 January 2020 17:44 Have you tried to set the following config parameter:For full manual: https://dashticz.readthedocs.io/en/master/Code: Select all
config['last_update'] = 0;
Until recently it was only possible to show a graph only once. We are finalizing a big update of the graph module, in which this will be solved as well.edwin1234 wrote: ↑Saturday 08 February 2020 10:43 does someone know why i only see the graphs in my first screen and in the other screens only the device value?
here is the config:
//Definition of blocks
blocks = {}
blocks['myblocktitle'] = {
type: 'blocktitle',
title: 'verlichting'
}
//====titel boven bloks=====
blocks['blocktitle_3'] = {}
blocks['blocktitle_3']['type'] = 'blocktitle';
blocks['blocktitle_3']['title'] = 'Sensoren';
blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['title'] = 'Verbruik';
//====this shows only hours,day,month in graph=========
config['standard_graph'] = 'day';
var columns = {}
columns[2] = {
blocks : ['myblocktitle' , 12, 11, 15, 14, 18, 9,], //zet de titel boven schakelaars
width: 4
}
//--- Screen 1 ---
columns[1] = {
blocks : ['blocktitle_2','graph_9','graph_18',],
width: 4
}
var screens = {}
screens[1] = {}
columns[3] = {
blocks : ['blocktitle_3' , 78, 79, 80, 82, 62,16,],
width: 4
}
//==== soort grafiek bars of points =====
blocks['graph_9'] = {
graph: 'bar',
datasetColors: ['yellow'],
legend:true
}
blocks[120] = {
width: 12
}
var screens = {}
screens['default'] = {}
screens['default']['maxwidth'] = 1920;
screens['default']['maxheight'] = 1080;
screens['default'][1] = {}
screens['default'][1]['background'] = 'bg0.jpg';
screens['default'][1]['columns'] = [1,2,3]
screens['default'][2] = {}
screens['default'][2]['background'] = 'bg9.jpg';
screens['default'][2]['columns'] = [1,]
screens['default'][3] = {}
screens['default'][3]['background'] = 'bg9.jpg';
screens['default'][3]['columns'] = [1,2,]
screens['default'][4] = {}
screens['default'][4]['background'] = 'bg9.jpg';
screens['default'][4]['columns'] = [2,]
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]
screens['phone'] = {}
screens['phone']['maxwidth'] = 750;
screens['phone']['maxheight'] = 1334;
screens['phone'][1] = {}
screens['phone'][1]['background'] = 'bg0.jpg';
screens['phone'][1]['columns'] = [1]
screens['phone'][2] = {}
screens['phone'][2]['background'] = 'bg0.jpg';
screens['phone'][2]['columns'] = [3]
screens['phone'][3] = {}
screens['phone'][3]['background'] = 'bg0.jpg';
screens['phone'][3]['columns'] = [2]
Code: Select all
// Meteo Alarm
blocks[407] = {
icon: 'fas fa-exclamation',
//title: 'Alarm Vandaag',
width: 6
}
blocks[408] = {
icon: 'fas fa-exclamation',
//title: 'Alarm Morgen',
width: 6
}
Code: Select all
blocks[10922] = {} //Meteo Alarm Morgen
blocks[10922]['width'] = 6;
// blocks[10922]['switch'] = true;
blocks[10922]['hide_data'] = true;
Code: Select all
// meteo alarm
function getStatus_10921(idx,value,device){
if(device['Data']=="No Data"){
$('div.block_10921').removeClass('warningyellow').removeClass('warningorange').removeClass('warningred');
blocks['10921']['icon'] = 'far fa-thumbs-up';
}
// geen actie
else if (device['Data']=="Rain-Flood(2)"){
$('div.block_10921').addClass('warningyellow');
blocks['10921']['icon'] = 'fas fa-water';
blocks['10921']['title'] = 'Hoogwater waarschuwing';
}
else if (device['Data']=="Rain-Flood(3)"){
$('div.block_10921').addClass('warningorange');
blocks['10921']['icon'] = 'fas fa-water';
blocks['10921']['title'] = 'Hoogwater waarschuwing';
}
else if (device['Data']=="Rain-Flood(4)"){
$('div.block_10921').addClass('warningred');
blocks['10921']['icon'] = 'fas fa-water';
blocks['10921']['title'] = 'Hoogwater waarschuwing';
}
}
Code: Select all
.block_10921 .value {
color: transparent !important;
}
Users browsing this forum: Google [Bot] and 1 guest