MCP23017 binding on Openhab 2.4

error
binding
mcp23017
Tags: #<Tag:0x00007f51dc7d33d8> #<Tag:0x00007f51dc7d3270> #<Tag:0x00007f51dc7d3130>

(Tomas) #1

Hello everybody

I am having terrible problems with MCP23017 binding on openhab 2.4.

I’ve followed step by step all the details in docs website but the errors still appear.
Details:
I use openhab 2.4 on RPi 2 B
I Installed wiringPi and Pi4j
I have 2 MCP23017 boards on addresses 20 and 24

I add the MCPs from Paper UI and I get the following logs:

2019-03-02 23:24:35.926 [hingStatusInfoChangedEvent] - ‘mcp23017:mcp23017:ca4d00d5’ changed from UNINITIALIZED to INITIALIZING
2019-03-02 23:24:36.129 [hingStatusInfoChangedEvent] - ‘mcp23017:mcp23017:ca4d00d5’ changed from INITIALIZING to ONLINE

2019-03-02 23:25:00.553 [hingStatusInfoChangedEvent] - ‘mcp23017:mcp23017:4a1fed77’ changed from UNINITIALIZED to INITIALIZING
2019-03-02 23:25:00.570 [hingStatusInfoChangedEvent] - ‘mcp23017:mcp23017:4a1fed77’ changed from INITIALIZING to OFFLINE (CONFIGURATION_ERROR): Tried to access not available I2C bus: Remote I/O error
2019-03-02 23:25:00.586 [hingStatusInfoChangedEvent] - ‘mcp23017:mcp23017:4a1fed77’ changed from OFFLINE (CONFIGURATION_ERROR): Tried to access not available I2C bus: Remote I/O error to ONLINE

As you can see from the logs the first MCP works perfect but for the second one i get an error.
Does anyone knows what is going on?
What am doing wrong?