esphome-daikin-s21 icon indicating copy to clipboard operation
esphome-daikin-s21 copied to clipboard

esphome with esp32s3 UART not work

Open fantasiataiwan opened this issue 6 months ago • 1 comments

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 ]

  • source: type: local path: /config/custom_components components: [ daikin_s21 ]

uart:

  • id: s21_tx tx_pin: 48 baud_rate: 2400 data_bits: 8 parity: EVEN stop_bits: 2

  • id: s21_rx rx_pin: number: 34 inverted: true baud_rate: 2400 data_bits: 8 parity: EVEN stop_bits: 2

daikin_s21: tx_uart: s21_tx rx_uart: s21_rx

climate:

  • name: "${upper_devicename} Daikin" platform: daikin_s21 visual: temperature_step: 1.0

binary_sensor:

  • platform: status name: "${upper_devicename} Status"

button:

  • platform: safe_mode name: Safe Mode Boot entity_category: diagnostic
  • platform: restart name: "${upper_devicename} Restart"

light:

  • platform: esp32_rmt_led_strip chipset: WS2812 pin: GPIO47 num_leds: 3 rgb_order: GRB rmt_channel: 0 name: "${upper_devicename} RGB LED"

sensor:

  • platform: daikin_s21 inside_temperature: name: "${upper_devicename} Inside Temperature" outside_temperature: name: "${upper_devicename} Outside Temperature" coil_temperature: name: "${upper_devicename} Coil Temperature" fan_speed: name: "${upper_devicename} Fan Speed"

  • platform: wifi_signal name: "${upper_devicename} WiFi Signal" update_interval: 60s

  • platform: uptime name: "${upper_devicename} Uptime" filters:

    • lambda: return x / 3600; unit_of_measurement: "h" accuracy_decimals: 1 text_sensor:
  • platform: version name: "${upper_devicename} ESPHome Version"

  • platform: wifi_info ip_address: name: "${upper_devicename} IP Address"

fantasiataiwan avatar Jan 03 '24 09:01 fantasiataiwan