Page 2 of 2

Re: Dashticz v3.14.1-beta

Posted: Saturday 26 April 2025 13:22
by Lokonli
Renber wrote: Saturday 26 April 2025 12:11
I cannot reproduce the problem.

Can you send me:
1. your block definition from CONFIG.js
2. the json output of the Domoticz device:
http://domoticz-ip:port/json.htm?type=command&param=getdevices&rid=123

with 123 your device id.
is ok: blocks['VLC_Bureau'] = {idx:1386,width:12,title:'VLC'};
is not ok: blocks['VLC Bureau'] = {idx:1386,width:12,title:'VLC'};

"SubType" : "X10",
"SwitchType" : "Media Player",
"SwitchTypeVal" : 17,
"Timers" : "false",
"Type" : "Lighting 1",
"TypeImg" : "Media",
Thanks!

Fixed in latest version.

Re: Dashticz v3.14.1-beta

Posted: Sunday 27 April 2025 9:49
by madpatrick
Lokonli wrote: Saturday 26 April 2025 12:47
madpatrick wrote: Saturday 26 April 2025 11:34 Thanks for the quick fix.

How can i adjust the stop button ?

Code: Select all

.btn-number.stop 				{width: 88px !important;height: 50px !important; border: 1px solid rgba(255,255,255,0.7);background: red; border-radius: 5px;font-size:20px !important;}
When i change the size it doesn't work
I will make styling a bit easier.

Can you add the following to custom.css for testing:

Code: Select all

.mh {
    --col1width: 30px;
    --col2width: 30px;
}

.right2col {
    padding-right: calc(var(--col1width) + var(--col2width) + 8px);
}

.col-button2 {
    width: calc(var(--col1width) + var(--col2width));
}

.col-button2 .btn-number {
    width: var(--col1width);
}

.btn.stop {
    width: var(--col2width);
    font-size:20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Only change below this line*/

.mh {
    --col1width: 60px;
    --col2width: 60px;
}

.mh .btn {
    background-color: #00aaff;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 5px;
}

.mh .btn.stop {
    background-color: red;
}
You can change the width of the up/down and stop button via the two parameters: now they are 60px.
The styling can be done via ".mh .btn", or via ".mh .btn.stop" for the stop button only.

If this is working for you let me know, and I'll include in the next version.
Thanks again.
Now it is working and even llok better.
The stop button is perfect now

DOesn't look easier, but maybe becasue the setup is different i need to get used to it

Re: Dashticz v3.14.1-beta

Posted: Saturday 07 June 2025 21:55
by jake
I updated to today's latest beta and my energy blocks now have all additional title text. For instance, this block:

blocks['240_1'] = {
width: 4,
title: 'Opbrengst',
icon: 'fas fa-sun',
unit: 'W',
switch: true
};

Now shows in Dashticz as:
0W
Opbrengst: nu

other blocks have now extended titles like:
Opbrengst: Vandaag
Verbruik: Energie vandaag
Verbruik: Energieverbruik

How do I get rid of these descriptive texts behind my titles?

Re: Dashticz v3.14.1-beta

Posted: Sunday 08 June 2025 17:06
by Lokonli
jake wrote: Saturday 07 June 2025 21:55 I updated to today's latest beta and my energy blocks now have all additional title text. For instance, this block:

blocks['240_1'] = {
width: 4,
title: 'Opbrengst',
icon: 'fas fa-sun',
unit: 'W',
switch: true
};

Now shows in Dashticz as:
0W
Opbrengst: nu

other blocks have now extended titles like:
Opbrengst: Vandaag
Verbruik: Energie vandaag
Verbruik: Energieverbruik

How do I get rid of these descriptive texts behind my titles?
Add the following:

Code: Select all

showsubtitles: false,

Re: Dashticz v3.14.1-beta

Posted: Sunday 08 June 2025 20:45
by jake
Lokonli wrote: Sunday 08 June 2025 17:06 How do I get rid of these descriptive texts behind my titles?
Add the following:

Code: Select all

showsubtitles: false,
Thank you, that did the trick!