Installing ESPhome on GEEKMAGIC Smart Weather Clock (smalltv/pro)

Hi,

Was just trying to do some reverse engineering on this hwd with same intention to use it with ESPhome this week end…
For the display connection I came-up with the following pins connection:

|1| GND
|2| GP0 → D/C
|3| GND → CS ? tied to GND
|4| GP14 → SCK
|5| GP13 → MOSI
|6| GP2 - > reset ?
|7| VCC
|8| GND
|9| GP5 → Back-light Anode through P MOSFet
|10| GND → Back-light Cathode

I’ll have a try tomorrow in esphome with something like:

esphome:
  name: small-tv
  friendly_name: small-tv

esp8266:
  board: esp12e

.../...

font:
  - file: 'OpenSans-Regular.ttf'
    id: font1
    size: 20
color:
    - id: color_green
      red: 0%
      green: 100%
      blue: 0%
spi:
  clk_pin: GPIO14
  mosi_pin: GPIO13

display:
  - platform: st7789v
    model: "Adafruit Funhouse 240x240"
    dc_pin: GPIO0
    reset_pin: GPIO02
    lambda: |-
      it.printf(0, 0, id(font1), id(color_green),"Test");