Adding a function

Sorry, I didn't know that.
To answer your question, I should try that library, but I haven't the time....
There are hardware multiplexers for the i2c-bus, but perhaps you know that already.