Hey guys,
I have seen many post discussing problems with new OH2 Exec-bindings but I couldn’t find a satisfying solution.
Simple question:
How would I translate my old item to OH2:
Switch swCoffee "Coffee" <coffee> (gKitchen, gPlugs) {exec=">[ON:/usr/bin/hs100.sh 10.0.0.62 9999 on] >[OFF:/usr/bin/hs100.sh 10.0.0.62 9999 off] <[/usr/bin/hs100.sh 10.0.0.62 9999 check:20000:]"}
CU
mts