got an issue an i hope someone can help me. Basically I’m trying to realize a one-push-button with mappings. But there is one problem, I group all my items, so they don’t appear in my sitemap.
Here is are my item & sitemap-date
Item:
//---------------------------------
Group MeinZuhause_Home "Mein Zuhause" <house>
//---------------------------------
Group MeinZuhause_Erdgeschoss "Erdgeschoss" <groundfloor> (MeinZuhause_Home)
//---------------------------------
Group MeinZuhause_Erdgeschoss_Buero "Büro" <desk> (MeinZuhause_Home, MeinZuhause_Erdgeschoss)
//---------------------------------
Switch MeinZuhause_Funktion_Beamerfunktion "Beamerfunktion" (MeinZuhause_Erdgeschoss_Buero) {lcn="[ON:myhome:KEYS.0.20.A3.MAKE]", expire="1s,command=OFF"}
Right now when you put “group” items in sitemaps and click on it, OH lists all group member with their default parameters (“mappings” is not a default, so without it).
You would need to explicitly model the hierarchy and list the group members you want to show up, then add mappings for that item, so it’s like
// Erdgeschoss Ebene
Frame label="Erdgeschoss"
{
// Erdgeschossräume
Group item=MeinZuhause_Erdgeschoss_Buero label="Büro" {
Switch item=MeinZuhause_Funktion_Beamerfunktion label="Beamerfunktion" mappings=[ON="Ausführen"]
...
(all other group members you want to show up)
...
}
}
Didn’t try, eventually you need to select a new (fresh) group name.
Thanks for your response. It would work but I try to avoid this setting, because later on the sitemap will contain more rooms and more Floors. And if I do I can’t ensure a nice overview. Later on it should look like this.
if you create your sitemap “by hand” you wont lose your overview, you would create it
i dont like “group items” in my sitemap at all, because nothing gets sorted the way i like it - so you get a better overview by creating it yourself - but its a lot of more work to be done
No. You can create exactly the same GUI that you would be getting with the “automatic” group items, plus
you can reorder and parametrize group member items.
Groups still show up as a single entry you need to click on before its members are shown (on a new page).
you get the exact same (even better) results in the BasicUI - but u get a lot of more lines in the sitemap,
keep it clean and well sorted and all is fine…
check my Astro Sitemap - its all handmade, only “Datensatzgruppe Astro” (bottom 2nd screenshot) is a Group Item for all my “gAstro”-Data = unsorted