I’m getting an error when setting up the GPIO binding with a digital input on a recent standard installation. The GPIO output is working however.
I already ran the Fix permissions option in openhabian-config.
- Platform information:
- Hardware: RPI3B+/1Gb RAM/32Gb SD
- OS: openhabian official RPi image/5.15.76
- Java Runtime Environment: OpenJDK 11.0.16
- openHAB version: 3.4.0 release
Thing:
Thing gpio:pigpio-remote:local "Pigpio Local" [host="::1", port=8888] {
Channels:
Type pigpio-digital-input : MyInput [ gpioId=32 ]
Type pigpio-digital-output : MyOutput [ gpioId=23 ]
}
Items:
Switch Sensor1 "Sensor 1 [%s]" <motion> (gSecuritySensor) { channel="gpio:pigpio-remote:local:MyInput", expire="60s,state=OFF" }
Log:
[WARN ] [.binding.gpio.internal.handler.PigpioRemoteHandler] - Failed to initialize gpio:pigpio-remote:local:MyInput: (-41) no permission to update GPIO
openhabian@oh:~ $ groups openhab
openhab : openhab tty dialout audio bluetooth gpio