Dial - termostat - colour of the ring

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
Krenstik
Posts: 45
Joined: Saturday 13 June 2020 12:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Dial - termostat - colour of the ring

Post by Krenstik »

Hi,

I play with my current screen and I add also a thermostat to the dial, but it can show some colour?

For example blue for temp under 20 and red over?
Snímek obrazovky 2022-12-12 155452.jpg
Snímek obrazovky 2022-12-12 155452.jpg (91.66 KiB) Viewed 270 times
Last edited by Krenstik on Saturday 28 January 2023 19:57, edited 1 time in total.
willemd
Posts: 631
Joined: Saturday 21 September 2019 17:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: The Netherlands
Contact:

Re: Dial - termostat - clour of the ring

Post by willemd »

The manual shows a "setpoint" definition as well as "slice.primary", "slice.secondary" for dials. Does that work for thermostat?
Krenstik
Posts: 45
Joined: Saturday 13 June 2020 12:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dial - termostat - clour of the ring

Post by Krenstik »

If I update blocks:

blocks['tt'] = { idx: '147', type: 'dial', width: 1, title: 'Pracovna', subtype: 'updown', setpoint: 15, };

it looks same,

when I remove subtype, I get a normal thermostat:
Snímek obrazovky 2022-12-12 192854.jpg
Snímek obrazovky 2022-12-12 192854.jpg (33.56 KiB) Viewed 258 times
Krenstik
Posts: 45
Joined: Saturday 13 June 2020 12:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dial - termostat - clour of the ring

Post by Krenstik »

so i change color of the selectors, but any idea how to change a dial, subtype up-down outer ring ?
dial heating.png
dial heating.png (42.38 KiB) Viewed 219 times
In the first case, just simple under and over 20 °C ? :-)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest