Group summary value from specific item

Hi,

We can add some function for display summary value for group item.
For example AVG of all value in group.

I want to display the specific item value from group as summary - it is possible?

Eg. I have group about electric values:

Group electric

Number voltage "[%.1f V]" ... (electric) 
Number current "[%.1f A]" ... (electric)
Number power  "[%.1f W]" .. (electric)

I would display value from item “power”, as you see sum, avg and so on is not applicable for this group.

I don’t think you can do that. The Group is a rollup of the Items in the group and there is no way I know of to specify a specific Item’s value as the value of the Group.

You can fake it by using Frames on the sitemap instead of the Group:

Text item=power label="Electric [%.1f W]" {
    Frame {
        Text item=voltage
        Text item=current
        Text item=power
    }
}

In your rules, just use power instead of the Group if you need its value.

1 Like

I add another frame on top level and now looks the same as group.
Thanks for hint.

Frame { 
    Text item=power label="Electric [%.1f W]" {
        Frame {
           Text item=voltage
           Text item=current
           Text item=power
       }
   }
}

This would be a great addition to the capabilities. I often find myself wanting to display the status of one of the items within a group on the screen
Example
I have a Pioneer AVR and it would be great to be able to easily display the current status of the source item without having to build out a manual frame each time in the sitemap as required today.

Especially as i want to show the receive to appear in multiple places.

Group gAVReciever “Family Room AV Reciever” (gMultimedia,gFamilyRooom)
Switch AV_Pwr “Power” (gAVReciever) { pioneeravr="INIT:living…}
Switch AV_Mute “Mute” (gAVReciever) { pioneeravr="INIT:living…}
Number AV_Source “Source [%.1f]” (gAVReciever)

Thanks

Hi, I also would need exactly this group option very often to avoid building large static sitemaps instead of dynamically created through the item definition.

Something like Group:Number:Val(item) would be great

1 Like