pulse_counter to allow pin via gpio expanders pcf8574, mcp230xx, mcp23sxx #3620
Unanswered
mstuczko
asked this question in
Component enhancements
Replies: 1 comment
-
|
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Component name
pulse_counter
Link to component documentation on our website
https://esphome.io/components/sensor/pulse_counter/
Describe the enhancement
Hey Team.
Recently GPIO expanders received interrupt handling, thanks to indicating a gpio that is connected to interrupt pin of the expander.
It would be best, if expanders could be used for pulse counter.
Per documentation, interrupt helps by reading and caching the state.
I suspect that adding "expanders with supported interrupts" should be fairly possible.
Use cases
Examples - flow meters could be connected via expanders.
Anything else?
See: interrupt_pin
https://esphome.io/components/pcf8574/
https://esphome.io/components/mcp230xx/
https://esphome.io/components/mcp23sxx/
esphome/esphome#11959
esphome/esphome#15445
Beta Was this translation helpful? Give feedback.
All reactions