How is it possible to have TWO different representations of the same block?

Moderators: leecollings, htilburgs, robgeerts

Post Reply
lastofthejediknights
Posts: 24
Joined: Tuesday 27 March 2018 14:17
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: uk
Contact:

How is it possible to have TWO different representations of the same block?

Post by lastofthejediknights »

Hi,
I have a custom layout, where I am using the dial representation of several blocks, including a thermostat.
This all looks nice, however getting a easy / decent small change to the setpoint on an iPad mounted to a wall, isn't easy.
How might I be able to show the "standard" representation, with it's up/down buttons on the same page, ideally just below the "Dial", or is there another method of creating some UP/DOWN buttons to change the value?

Many thanks
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How is it possible to have TWO different representations of the same block?

Post by Lokonli »

If you remove "type: 'dial'" from the block definition you will get a normal block. It will look like this:
thermostat.jpg
thermostat.jpg (7.22 KiB) Viewed 1541 times
That is the only existing alternative representation at the moment.

What I could add relatively easy is an up-down dial for thermostats comparable to the blinds dial:
dialblinds.jpg
dialblinds.jpg (14.49 KiB) Viewed 1541 times
Would that work?
lastofthejediknights
Posts: 24
Joined: Tuesday 27 March 2018 14:17
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: uk
Contact:

Re: How is it possible to have TWO different representations of the same block?

Post by lastofthejediknights »

Hi,

Oh, Yes that would be great, just what I would ideally want.
I understand the "normal" non dial type, and am using it for several items, but the thermostat dial, with effectively up and down buttons, would be great.

Many Thanks
Nigel
lastofthejediknights
Posts: 24
Joined: Tuesday 27 March 2018 14:17
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: uk
Contact:

Re: How is it possible to have TWO different representations of the same block?

Post by lastofthejediknights »

Hi,

Thankyou for the 3.9 update.
Does this enable a solution as you mention above regarding the Blinds type dial?
If so could you possibly show a config example for a thermostat?

Regards Nigel
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How is it possible to have TWO different representations of the same block?

Post by Lokonli »

lastofthejediknights wrote: Friday 18 February 2022 9:58 Hi,

Thankyou for the 3.9 update.
Does this enable a solution as you mention above regarding the Blinds type dial?
If so could you possibly show a config example for a thermostat?

Regards Nigel
No, not yet.
lastofthejediknights
Posts: 24
Joined: Tuesday 27 March 2018 14:17
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: uk
Contact:

Re: How is it possible to have TWO different representations of the same block?

Post by lastofthejediknights »

Many Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests