[Solved] HABPanel - Loop through nested group hierarchies

Hi,

i want to loop throug all my items in a group.
The definition is like

Group:DateTime:LATEST           grpMotionDt             "Bewegingssensoren [%1$tT]" <time>

Group   grpMotionDownstairs (grpMotionDt)
Group   grpMotionUpstairs   (grpMotionDt)

DateTime    fgmsHallMotionDt    "Hal [%1$td-%1$tm-%1$tY %1$tT]"         <time>  (grpMotionDownstairs)
DateTime    fgmsCarportMotionDt "Carport [%1$td-%1$tm-%1$tY %1$tT]"     <time>  (grpMotionDt)
DateTime    fgmsHallwayMotionDt "Gang [%1$td-%1$tm-%1$tY %1$tT]"        <time>  (grpMotionUpstairs)
DateTime    kakuLivingMotionDt  "Huiskamer [%1$td-%1$tm-%1$tY %1$tT]"   <time>  (grpMotionDownstairs)
DateTime    kakuBarnMotionDt    "Berging [%1$td-%1$tm-%1$tY %1$tT]"     <time>  (grpMotionDownstairs)

When i loop throught grpMotionDt i get only fgmsCarportMotionDt as item, the other 2 are groups?
I was expecting all the datetime items?

Is it possible what i want or must i add more groups to the items?

I know that in rules it is allMembers, but i want it in habpanel

itemsInGroup(config.group_name)

don’t work …

It’s the only one that’s a member of grpMotionDT. Add grpMotionDT to the others and see if that fixes your problem.

Hi,

That’s fix the problem, but i want use nested group hierarchies …

In the rules it works, but in habpanel not yet :frowning:

Fixed, that’s good.:+1:

For the hierarchies see this post but don’t get your hopes up.