Pass parameters from a custom widget to a script

Pretty much you’r restricted to using an item. That’s the basic unit of information transfer in OH and the easiest to achieve. Take a look at the widget and code I posted for scene control and modification and you’ll see an example. The widget sets an item to a string containing an array of data and the rule parses that data from the array and then performs all the necessary work.

1 Like