Reusable Sitemap Sections

What about this Howto: Generate similar item/sitemap configurations using templates ?

I believe that the ungrateful soul followed up with a thanks.

Thanks,

Chuck

Hello,

Script is one solution.

Another possibility might be using groups in a clever way. You include only the group in all 4 sitemaps. The real content of the group you configure in the item file(s).

https://www.openhab.org/docs/configuration/sitemaps.html#element-type-group

Doing so changes on one place (the item files) will change appearance of all 4 sitemaps.

Regards
Ralf

There’s a relatively simple way. Create a sitemap for each of your ‘re-usable’ sections and then use
Webview url=“http://192.168.0.183:8080/basicui/app?sitemap=RSSI” height=19
This displays the RSSI sitemap within the ‘master’ sitemap. You only need to make the changes in the child sitemaps and they’ll automatically update in the master sitemaps

Thanks to all for all kind of solution, in next days I will try each one of them so I can find the one that fit to my need.

Marco

Because someone must be willing to spend his time and needs to be proficient enough in openHAB programming. openHAB is a volunteer-driven project. Dunno why you ask me that after 1yr+ but
I’m already contributing my share.