Pi4J / pi4j-v1

DEPRECATED Java I/O library for Raspberry Pi (GPIO, I2C, SPI, UART)
http://www.pi4j.com
Apache License 2.0
1.31k stars 448 forks source link

problem with openhab on pi4: not handling mcp23017 #553

Open pin32 opened 1 year ago

pin32 commented 1 year ago

hi, I'm using a PI4 with great satisfaction that runs me openhab. I encounter a problem with the management (through the appropriate binding) of a mcp23017 device. I can interact with the component from the terminal but from OH I can't draw and send the states of the pins. I write here even if in fact the problem is elsewhere, hoping that some user like me has already come across the same problem and maybe solved it. thanks for the replies. Joseph

pin32 commented 1 year ago

have a nice Sunday. I did 1000 tests but I can't get it to work... updated lava 11.0.16. updated pi4j 1.40. added openhab user to i2c group. installed binding from ui. the result is always the same: ucite/entrate=null. Does anyone have any ideas that might help me? Joseph