How to control positioning of multiple blocks from a single IDX Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
marmachine
Posts: 133
Joined: Saturday 26 March 2016 10:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

How to control positioning of multiple blocks from a single IDX

Post 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?
Lokonli
Posts: 2292
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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'
}

marmachine
Posts: 133
Joined: Saturday 26 March 2016 10:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

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

Post by marmachine »

Briljant! Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest