Page 1 of 1

How to control positioning of multiple blocks from a single IDX

Posted: Friday 02 August 2019 9:30
by marmachine
Hi,

I'm currently setting up a dashticz panel and i wanted to place multiple temperature sensors on one row and the humidity on each sensor below them. When you have (virtually) individual sensors, each with a unique IDX in Domoticz, then this is quite simple. But in my situation i have a multisensor which has a combined value of temperature and humidity, when adding this sensor to the Dash, i get them both.

Is it possible to control this so i can position them individually in a specific order, block, row and/or column?

Re: How to control positioning of multiple blocks from a single IDX

Posted: Friday 02 August 2019 13:01
by Lokonli
marmachine wrote: Friday 02 August 2019 9:30 Hi,

I'm currently setting up a dashticz panel and i wanted to place multiple temperature sensors on one row and the humidity on each sensor below them. When you have (virtually) individual sensors, each with a unique IDX in Domoticz, then this is quite simple. But in my situation i have a multisensor which has a combined value of temperature and humidity, when adding this sensor to the Dash, i get them both.

Is it possible to control this so i can position them individually in a specific order, block, row and/or column?
yes. If your device id is 15, then use the following IDs for the subdevices:
'15_1', '15_2', '15-3'

You can define a block with these ids, and add them to a column:

Code: Select all

blocks['15_1'] = {
	title: 'First subdevice'
}


Re: How to control positioning of multiple blocks from a single IDX

Posted: Saturday 03 August 2019 9:38
by marmachine
Briljant! Thanks!