Hi there!
I developed a GPIO Binding for openHAB 3. It is expected to be available in openHAB 3.1.
If you want to test it before the official release, you have to type the following commands in the openHAB console (not the console of your system):
bundle:install https://openhab.jfrog.io/artifactory/libs-pullrequest-local/org/openhab/addons/bundles/org.openhab.binding.gpio/3.1.0-SNAPSHOT/org.openhab.binding.gpio-3.1.0-SNAPSHOT.jar
bundle:start org.openhab.binding.gpio
For usage instructions, please take a look at the README and keep in mind that pigpio needs to be installed on the Raspberry Pi that you want to connect to.
Known problems:
- If pigpio or a remote Raspberry Pi is restarted, the thing needs to be disabled an re-enabled. I am searching for a better solution.
- The installation procress of pigpio on openhabian is not easy enough.
Happy testing!
Best regards,
Nils