paveldn / haier-esphome

Haier ac integration for ESPHome
75 stars 13 forks source link

Fan mode #44

Open uKL opened 1 week ago

uKL commented 1 week ago

Is it expected that fan mode and swing mode are not visible with esp32-haier-module.yaml?

paveldn commented 1 week ago

@uKL You need to provide more information: visible where? Home Assistant? Web Interface? What kind of config you are using? Usually, fan and swing modes will not be visible in the web interface just in Home Assistant.

uKL commented 1 week ago

Web Interface. This is my config


substitutions:
  device_name: Haier AC
  device_id: haier_climate
  uart_id: ac_port
  send_wifi: "true"

esphome:
  name: haier
  name_add_mac_suffix: true
  platformio_options:
    upload_speed: 115200

esp32:
  board: esp32dev
  framework:
    type: esp-idf
    sdkconfig_options:
      CONFIG_FREERTOS_UNICORE: y

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

web_server:
  port: 8080
  local: true
  auth:
    username: admin
    password: !secret api_pwd

uart:
  baud_rate: 9600
  tx_pin: 17
  rx_pin: 16
  id: ${uart_id}

logger:
  level: DEBUG

packages:
  local_haier: !include configs/external_components/local_haier.yaml
  haier_base: !include .haier-hon-base.yaml 

I'm gonna use it with MQTT in the long run, without the Home Assistant :)

This is what I see in the Web Intetrface.

Zrzut ekranu 2024-06-19 o 07 19 47

Is it possible to add fan and swing like the manual direction control?

uKL commented 1 week ago

Well, I'll answer myself :) It is available via MQTT so it is possible to add it to the Web UI.