The brightness obviously refers to the received value (%s) already.
Now I am wondering if it is possible to connect the transition value somehow to a 2nd (admin) item, without rules. This would enable me to put this selection on an “admin” page and via UI define the transition speeds. It can be done via rules of course (i.e. the dimmer item informs the rule, the rule then sends the actual command via mqtt) but I was wondering if there is any “non-rule” way.
No, you’ll have to use rules. The Channel can only see the one item it’s linked to.
However it might be possible to access other items from a JS transform. I’ve never tried that before but I know other stuff can be got at there like the log actions. However, that’s not really what transformations are for. But that kind of is what rules are for, coordinating between Items.
Thanks, I thought so, but hoped it would be different
ok, might look into that.
Thanks, at the end I guess it would end up being the same outcome and I do not really “need” the string item as it would be just a proxy for what the direct MQTT send via rule would accomplish, or do you see any other benefits?