LILYGO T-HMI ESP32-S3 2.8 inch ST7789 on ESPHome?

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");

Looks like it’s an i80 bus to the st7789, not SPI. So not supported in ESPHome right now, but there is an external component that should work with it. Try this yaml - not tested but it should be a good start.

esphome:
  name: t-hmi
  platformio_options:
    board_build.flash_mode: dio

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: esp-idf

external_components:
  - source: github://EmbedMe-io/embedme
    components: [i80, io_bus, ili9xxx, spi]
    refresh: 1d

logger:

power_supply:
  - id: backlight
    enable_on_boot: true
    pin:
      number: 38

i80:
  dc_pin: 7
  data_pins: [48, 47, 39, 40, 41, 42, 45, 46]
  wr_pin: 8


psram:
  mode: octal
  speed: 80MHz

display:
  - platform: ili9xxx
    bus_type: i80
    model: st7789v
    cs_pin: 6
    data_rate: 8MHz
    color_order: bgr
    invert_colors: true
    auto_clear_enabled: false
    update_interval: never

lvgl:

unfortunately it doesn’t work