feature-requests icon indicating copy to clipboard operation
feature-requests copied to clipboard

SX1509 Trigger input support

Open intermittech opened this issue 4 years ago • 3 comments

Describe the problem you have/What new integration you would like

The current SX1509 implementation does not have trigger input support

Please describe your use case for this integration and alternatives you've tried:

A different "competing" chip such as the MCP23017 has the ability to configure a trigger input, although the SX1509 is capable of sending triggers, the functionaliteit does not seem exposed within ESPhome.

Additional context

The SX1509 would be interesting to use when wanting a button panel because of it's integrated LED PWM functionality, for this having trigger signals available would be a benefit vs just pure polling

intermittech avatar Aug 16 '21 21:08 intermittech

Implemented as binary sensor: https://esphome.io/components/sx1509.html#binary-sensor

nagyrobi avatar Jul 08 '22 12:07 nagyrobi

Thnx for the work but maybe the ESPhome documentation hasn't been updated yet?

I see no option to specify an "interrupt pin" like for instance with the mcp23017. This would be a dedicated pin on the ESP which would receive a signal when one of the normal pins of the SX1509 receives an input so that it doesn't have to be constantly polled.

intermittech avatar Jul 09 '22 02:07 intermittech