before I even had a raspberry pi with openhab2 on it I made a connection diagram of an optocoupler board using a MCP23S17 as a port expander. At the end I would like to trigger several relais via openhab2. My first idea was to write a Pythonscript to do so but since I found the MCP23017-Binding I am wondering if more efficient ways to use a MCP23S17 exist.
So I would like to ask you for ideas how to use a MCP23S17 with openhab2.
Thanks a lot in advance and good start today