Open fantasiataiwan opened 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.
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:
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:
binary_sensor:
button:
light:
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:
platform: version name: "${upper_devicename} ESPHome Version"
platform: wifi_info ip_address: name: "${upper_devicename} IP Address"