Closed lboue closed 1 week ago
Interrupts via expanders are not supported. Expanders have their own interrupt pin, but since it is not connected and not supported in esphome it cannot detect interrupt so this cannot work.
@randybb Technically, it works with this board and this screen. In fact, it works when programmed with Arduino or CircuitPython. This is a limitation of ESPHome and not of the PCA9554 chip.
If your program is polling GPIOs constantly, then yes, but once you start using interrupts, then such approach is not going to work.
There's no benefit to using the interrupt pin on an expander. If you have to query the expander to get the pin state, then you might as well just query the touch screen directly.
The problem
Hello.
I'm looking for the right ESPHome syntax to configure a touchscreen connected via a PCA9554 I/O expander. This is the YAML config:
And I am getting this error:
[pca9554] is an invalid option for [interrupt_pin]. Please check the indentation.
I didn't find it here:
Regards
Which version of ESPHome has the issue?
2024.4.2
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.5.1
What platform are you using?
ESP32-IDF
Board
Adafruit Qualia ESP32-S3
Component causing the issue
touchscreen
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
Testing with this screen: Round RGB 666 TTL TFT Display - 2.1" 480x480 - Capacitive Touch - TL021WVC02CT-B1323