I am trying to setup OpenHab for the first time on the Raspberry Pi. The web interface loads find and I have started creating by sitemap and items files. However, I cannot get OpenHab to control a pin. I have added the io and binding gpio addons to the addons folder and added the ‘openhab’ user to the ‘gpio’ group. But checking the logs I get the following error message:
Error occured while creating backend object for item Greenhouse_Fan, exception: /sys/class/gpio/gpio27/active_low
I am having the same issue with gpio pin 17 from time to time.
When this happens i am unable to set the value for the pin even as root get “echo: write error: Operation not permitted”.
And the permissions are correctly set.