mqtt-io
mqtt-io copied to clipboard
Add support for `XL9535` relay board
Is your feature request related to a problem? Please describe.
It would be nice if mqtt-io supports XL9535 relay board.
Describe the solution you'd like
Normal integration like other I2C PCF8574 or PCF8575 gpio expanders.
Describe alternatives you've considered
Write the code...
Additional context
I bought a great relay board, with 16 relays, which is enough for all my needs. I would like to have simple and convenient integration.
More info:
- Python module and description https://github.com/mcauser/micropython-xl9535-kxv5-relay
- Datasheet https://www.lcsc.com/datasheet/lcsc_datasheet_2211110930_XINLUDA-XL9535_C561273.pdf
- ESPHome integration https://github.com/esphome/esphome/tree/857a3dcf72d74fa53fba2f6c63f2ceaaec3e5e59/esphome/components/xl9535
- Discussion on micropython https://github.com/orgs/micropython/discussions/13505