I'd like to do something like 1), except I'd like all the "boilers" would be on the same page. That is, a user component I can re-use which (perhaps) has some property I can set once which does the job of the "currentBoiler" string you suggested in 1).
This is how it would work, ideally:
1. make all the channels for a new boiler, prefixed with say "B4_"
2. place the user component (which contains a bunch of sub-components with displays for the boiler)
3. set a property (or similar) on the user component to tell it that its prefix is "B4_"
4. all the sub-components can use "evaluate(prefix + 'RestOfChannelName')"
Can you advise a way to achieve something like this?
I tried to do it by giving all of the components for each boiler an identical component name, which would allow me to give them all a property, but that failed when I realised I need a few of the components to have unique names.
Is there some way to set a property of a group which can be accessed by all the group members?
Or is there a way to loop through all the members of a group from the group's code?