profiles brings us a powerful new way to transform data. How will profiles work on multi binding? So when connecting one item with two channels, will the transformed value be send to the receiving channel? I can’t find any documentation about that.
This is a good question. Based on how I read the docs I would expect the profile to apply the transform to any incoming (from the device to the Item) with the tranform regardless of which channel the data comes from.
I’m trying to come up with a use case where one would use multiple channels on the same Item where both channels update the Item and you wouldn’t be using one of the behavioral profiles like follow.
Do you have a concrete use case?
I’d recommend trying it out experimentally and report back with your findings, or even better add your findings to the docs.
Maybe I’ve misinterpreted how channel linkage is working.
I thought, that when connecting an item with two channels, a command received by the first channel will be send to the second channel. Now I’ve tested this and obviously I’m wrong. So this thread is obsolet.
I’m in the process of thinking about how to make use of link profiles too
I guess, it could be quite helpful for managing voice control of items.
For voice control it’s useful to have the items labeled to “match” natural voice commands, probably even more than one term for the same item (e.g. “lamp”, “light”, “kitchen light” etc.). These “voice-optimized” labels are probably not the best for the sitmap/UI. So we would have another label again just for the UI…
The follow profile could be a simple way to get “alias”-items without the need to replicate channel definitions or even to connect the multiple items pointing to the same thing (channel) by a bunch of rules - correct?
For now, I’m using this concept:
Compared to this DP, the simple “follow” profile does not provide the option to make the forwarding dependend on a condition (e.g. “Is voice control enabled?”).
So thinking about the concept of profiles for that use case immediately arises the question, how to provide “custom profiles”?
Or could we have a “conditional follow-profile” making the follow function dependend on the state of a “gatekeeper” - item.