joshbenner / esphome-daikin-s21

ESPHome Component for Daikin Mini-Splits using the S21 serial port.
GNU General Public License v3.0
64 stars 21 forks source link

esphome with esp32s3 UART not work #16

Open fantasiataiwan opened 9 months ago

fantasiataiwan commented 9 months ago

Hi sir

I tried to use faikin to flash the ESPHome firmware, but UART looked not work. Faikin's GPIO tx/rx is 48/34

ESPHome yaml:

esphome: name: $name comment: $upper_devicename name_add_mac_suffix: false platformio_options: board_build.flash_mode: dio board_build.mcu: esp32s3

esp32: board: esp32-s3-devkitc-1 variant: esp32s3 flash_size: 4MB

framework:

type: esp-idf

version: recommended

external_components:

- source: github://joshbenner/esphome-daikin-s21@main

components: [ daikin_s21 ]

uart:

daikin_s21: tx_uart: s21_tx rx_uart: s21_rx

climate:

binary_sensor:

button:

light:

sensor:

joshbenner commented 9 months ago

I'm not sure what type of failure you're experiencing, and reading your config without being wrapped in a code block is challenging. I'd suggest getting basic UART working without this component first. See the Debugging heading on the ESPHome UART bus page.