esphome: name: esp32-c3-mini friendly_name: esp32-c3-mini esp32: board: esp32-c3-devkitm-1 framework: type: esp-idf # Enable logging logger: # Enable Home Assistant API api: encryption: key: "pGG3hzp3QUGMG1gWkO6hjsAhhiCs8GyI4qOY5V12GPY=" ota: - platform: esphome password: "b36a083936b983a368c61e1706fbe467" wifi: ssid: !secret wifi_ssid password: !secret wifi_password # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Esp32-C3-Mini Fallback Hotspot" password: "oHqcIfdnKI2n" captive_portal: spi: clk_pin: 4 # 4 SCL 핀 mosi_pin: 3 # 6 SDA 핀 (변경) display: - platform: st7789v model: Custom width: 240 height: 320 offset_height: 0 offset_width: 0 dc_pin: 2 reset_pin: 1 cs_pin: 0 eightbitcolor: true rotation: 90 update_interval: 10s lambda: |- it.fill(Color(0, 0, 0)); // 배경 검은색 // 이미지 출력 (좌표 10, 10에 출력) it.image(0, 0, id(my_logo)); // 텍스트와 함께 출력 it.print(50, 250, id(my_font),Color(255, 255, 0), "박향기"); font: - file: "IBMPlexSansKR-Text.ttf" id: my_font size: 65 glyphs: "0123456789:-박향기" image: - file: "zen.png" id: my_logo #resize: 50x50 # 원하는 크기로 조절 type: RGB # 컬러 디스플레이이므로 COLOR 설정esphome