openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.86k stars 3.58k forks source link

[MCP23017] binding non funzionante su Openhab 3 #14280

Closed pin32 closed 1 year ago

pin32 commented 1 year ago

MCP23017 still doesn't work on Openhab3 even pi4j has been updated (11.0.16).

The MCp2017 binding is successfully initialized with all its elements

in the Paper UI it shows the association is online, but in the logs you can see incoming errors saying: java.lang.NullPointerException: null

at com.pi4j.io.gpio.impl.GpioControllerImpl.provisionPin although the same configuration on OH 2 works fine. no test

I got no replies on the telegram group

Current Behavior

I installed the binding for managing the mcp23017 chip (breakbord), the same is configured almost completely automatically and goes online, but the communication channels remain "null". I updated java 11.0.16 and pi4j to version 1.4 but nothing changes. furthermore the items are automatically placed as contacts and not as switches in the part relating to the outputs. openhab version is 3.41

in the logs I have no errors related to binding. it seems that this is completely ignored by openhab

Context

Your Environment

Hilbrand commented 1 year ago

Duplicate of #11253

pin32 commented 1 year ago

I don't know if the problem is fixable or not...