OK i did read that but i couldent belive it. I thougt all about 2.x was the thing represent lots of items, guess not in this binding then. I cant run the exec 20 times in a row just to fetch 20 values wich are in the same response every time…
I guess im doing a rule insted then
Not in any binding. That is an incorrect understanding of what Things do. A Thing represents a single device (or equivalent). Each control point or information provided is represented by a Channel. A Channel gets linked to an Item.
In the case of the exec binding, the “device” is a script and the Channels provided are for starting the script, input, output, etc. But the binding, being a generic binding, only provides one output channel.
Perhaps someday someone will add something like the caching ability like what is in the 1.x HTTP binding for exec 2.x, but since that capability never existed in the 1.x binding and adding something like that to any 2.x binding will likely be challenging, I suspect no one thought to add it yet.