This is cool - thank you for developing it. May I help testing? I didn’t compiled the latest source yet but started with the last jar-file of the binding that I could find (org.openhab.binding.gpio-3.1.0-SNAPSHOT.jar). I defined things / items (Contact and Switch to test) via file and via gui - they went online - unfortunately the item state stays “NULL”. A direct call “pigs r 18” shows the current state of the gpio intput (0/1). Logging with debug didn’t showed me additional hints. Sorry for being so silly … What should I do next, how can I help you best with testing?
Edit: In between I compiled the binding locally / while loading “things” the following error occurred:
020-12-29 13:28:47.110 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while calling thing handler factory 'org.openhab.binding.gpio.internal.GPIOHandlerFactory@11ed1e9': class org.openhab.core.thing.internal.ThingImpl cannot be cast to class org.openhab.core.thing.Bridge (org.openhab.core.thing.internal.ThingImpl and org.openhab.core.thing.Bridge are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @f3b790)
java.lang.ClassCastException: class org.openhab.core.thing.internal.ThingImpl cannot be cast to class org.openhab.core.thing.Bridge (org.openhab.core.thing.internal.ThingImpl and org.openhab.core.thing.Bridge are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @f3b790)