69 lines
1.9 KiB
YAML
69 lines
1.9 KiB
YAML
esphome:
|
|
name: ac_childroom
|
|
|
|
esp8266:
|
|
board: d1_mini
|
|
|
|
# Disable logging over UART (required)
|
|
logger:
|
|
baud_rate: 0
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
|
|
ota:
|
|
- platform: esphome
|
|
password: !secret api_encryption_key
|
|
|
|
web_server:
|
|
port: 80
|
|
|
|
wifi:
|
|
ssid: !secret wifi_24_name
|
|
password: !secret wifi_24_pass
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Childroom AC Fallback"
|
|
password: !secret esphome_captive_pass
|
|
|
|
# UART settings for Midea dongle (required)
|
|
uart:
|
|
tx_pin: GPIO1 # hardware dependant
|
|
rx_pin: GPIO3 # hardware dependant
|
|
baud_rate: 9600
|
|
debug:
|
|
|
|
# Main settings
|
|
climate:
|
|
- platform: midea
|
|
name: childroom_ac # Use a unique name.
|
|
# transmitter_id: # Optional. Add this option to use IR transmitter.
|
|
period: 1s # Optional
|
|
timeout: 2s # Optional
|
|
num_attempts: 3 # Optional
|
|
autoconf: true # Autoconfigure most options.
|
|
beeper: true # Beep on commands.
|
|
visual: # Optional. Example of visual settings override.
|
|
min_temperature: 17 °C # min: 17
|
|
max_temperature: 30 °C # max: 30
|
|
temperature_step: 1 °C # min: 0.5
|
|
supported_modes: # All capabilities in this section detected by autoconf.
|
|
- FAN_ONLY # This capability is always used.
|
|
- HEAT_COOL
|
|
- COOL
|
|
- HEAT
|
|
- DRY
|
|
custom_fan_modes:
|
|
- SILENT
|
|
- TURBO
|
|
supported_presets: # All capabilities in this section detected by autoconf.
|
|
- ECO
|
|
- BOOST
|
|
- SLEEP # This capability is always used.
|
|
custom_presets: # All capabilities in this section detected by autoconf.
|
|
- FREEZE_PROTECTION
|
|
supported_swing_modes:
|
|
- VERTICAL # This capability is always used.
|
|
- HORIZONTAL
|
|
- BOTH |