So far, I have no idea how I can realize this in OH2. Especially, how can I use two different scripts for one item - one for setting the item and one for reading the item’s status (its possible that the item is changed externally)?
It transpires I hadn’t re-installed the binding since upgrading to Beta5 and I couldn’t get it to work with the Exec2.0 binding with my previous configuration. I’ll have a look through the logs this evening.
I uninstalled the Exec2.0 binding and went back to the 1.9 binding (I have legacy bindings enabled in Configuration -> System -> Extension Management -> Include Legacy (1.x) bindings)
Using my config above I was able to run my exec command successfully.
I’ve now see that the 2.0 binding is still under development so will give it a look at some point in the near future