I have bought this display: TDisplay S3 T-HMI – LILYGO®
Can anyone tell me if it’s supported by ESPHome at this stage?
The supplied examples in the GitHub - Xinyuan-LilyGO/T-Display-S3 repo is so complex I can’t even figure out what the mosi and clk pins are.
Many thanks for any help!
my yaml
esphome:
name: tdisplay
friendly_name: tdisplay
platformio_options:
upload_speed: 921600
build_flags:
- -DTFT_INVERSION_OFF=0
- -DTFT_WIDTH=240
- -DTFT_HEIGHT=320
- -DTFT_RD=43
- -DTFT_D0=48
- -DTFT_D1=47
- -DTFT_D2=39
- -DTFT_D3=40
- -DTFT_D4=41
- -DTFT_D5=42
- -DTFT_D6=45
- -DTFT_D7=46
# - -DTFT_BL=38
# - -DTFT_BACKLIGHT_ON=HIGH
external_components:
- source: github://landonr/lilygo-tdisplays3-esphome
components: [tdisplays3]
esp32:
board: esp32-s3-devkitc-1
variant: esp32s3
framework:
type: arduino
logger:
api:
reboot_timeout: 0s
ota:
platform: esphome
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: "tdisplay-poc Fallback Hotspot"
web_server:
time:
- platform: homeassistant
id: ha_time
output:
- platform: ledc
pin: GPIO38
id: gpio38
frequency: 2000
light:
- platform: monochromatic
output: gpio38
name: "Backlight"
restore_mode: RESTORE_DEFAULT_ON
color:
- id: my_red
red: 100%
green: 0%
blue: 0%
font:
- file: "gfonts://Roboto"
id: roboto
size: 30
display:
- platform: tdisplays3
id: my_display
height: 320
width: 240
update_interPreformatted textval: 1s
rotation: 90
lambda: |-
it.printf(64, 0, id(roboto), TextAlign::TOP_CENTER, "Hello World");