when adding a thing in the Paper UI, all channels are added by default.
Is there a way to specify something in the binding, so that only some channels are added by default?
What is your real question? Because there are no channels added. You see the channels that are available in the thing. So therefor I’m guessing you are looking for something else than what you asking for.
I did program the caddx binding. (Alarm panel)
The zone thing for example has 40 channels with various information that is exposed from the panel.
The most basic channel is: “zone_faulted”. (if a door is open or not).
Is it possible to specify something in the thing definition, so that when a thing is added in Paper UI by default only the “zone_faulted” channel is linked instead of unselecting the other 39 channels?
This is a specific behavior of PaperUI as Hans-Jörg mentions.
However you can add the element advanced to channels in the xml. This indicates to the ui these are somewhat more specific type of channels. It’s generally recommend if you have a large number of channels to make a number of them advanced so the user will be presented with the most relevant channels.
PaperUI won’t link advanced channels by default. Although I would not recommend changing it based on how PaperUI handles channels.