Hi,
I’m tinkering with a LilyGO T-HMI board and I have things working fine with ESPHome as long as I power up the board via USB-C. The board also has a separate 5V DC connector, but I cannot make it work when I supply power that way.
Looking at the designs from Github and some example code it looks like I’d need to set GPIO14 HIGH to power on the board. I have a similar situation with another board from LiliGO (T-Display S3) and in that case I added the following configuration to make it work:
esphome:
...
on_boot:
- priority: 90
then:
- output.turn_on: lcd_power_on
...
output:
- platform: gpio
pin: GPIO15
id: lcd_power_on
But, for this T-HMI board, the same trick doesn’t work. The board is just dead in the water. It does not power on the display, nor turns on any LED, nor connect to the WiFi.
From a hardware perspective, I did try with a very small Arduino sketch and it seems to power on when I set GPIO14 HIGH. But it does not work when I do it via esphome/on_boot
. I even tried increasing the priority of on_boot
to various values between 800 and -100, but with no success.
What else can I try? I cannot debug things via USB, because the board would power up via USB if I connect the cable.
Is there a way to maybe set a GPIO high “before” on_boot
?
Thank you!