PCF8575 - PCF8575 General Description and simple driver example
Deadly simple to be used with Arduino IDE, ESP Basic, NodeMCU, ESPEasy, etc
Look also below at the ESPBasic driver examples, hard to find a easier to be used port expander IC:
- PCF8574 I2C I/O Expander Driver example - Mutually-exclusive switch
- PCF8574 I2C I/O 8 x independent switches example
Available on Tindie: https://www.tindie.com/products/nEXT_EVO1/universal-ac-mains-dimmer-mpdmv41/