Raspberry Pi3 Openhab2 GPIO - not working - please help

Did you consider to use the exce binding to control the pi?

For me that works well to read 1-wire sensors. But I have not yet tried to use it for output purposes.
I was following this tutorial GPIO 1-Wire Temp sensors on Raspberry Pi with openHABian

What are the major steps?

  1. Write a shell script to read the sensors
  2. Put in in the /ets/openhab/scripts directory
  3. Test this file (can be done on the pi)
  4. use the exec binding to run it from OH