So, mit der folgenden YAML eine ESP-Home Firmware bauen und das fluppt wie doof:
esphome:
name: air-conditioner
platform: ESP8266
board: esp12e
name_add_mac_suffix: true
mqtt:
broker: IP vom MQTT-Broker
port: 1883
username: admin
password: geheimgeheim
wifi:
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "AC-wifi"
password: "slwf01pro"
captive_portal:
# Enable logging
logger:
baud_rate: 0
# Enable Home Assistant API
# api:
ota:
uart:
tx_pin: 1
rx_pin: 3
baud_rate: 9600
climate:
- platform: midea
name: Midea Climate # Use a unique name.
period: 1s # Optional
timeout: 2s # Optional
num_attempts: 3 # Optional
autoconf: true # Autoconfigure most options.
beeper: true # Beep on commands.
action_state_topic:
current_temperature_state_topic:
fan_mode_state_topic:
mode_state_topic:
preset_state_topic:
swing_mode_state_topic:
target_temperature_state_topic:
visual: # Optional. Example of visual settings override.
min_temperature: 17 °C # min: 17
max_temperature: 30 °C # max: 30
temperature_step: 0.5 °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
outdoor_temperature: # Optional. Outdoor temperature sensor (may display incorrect values after long inactivity).
name: Temp
power_usage: # Optional. Power usage sensor (only for devices that support this feature).
name: Power
humidity_setpoint: # Optional. Indoor humidity sensor (only for devices that support this feature).
name: Humidity
web_server:
port: 80
Für das bauen der Binary -> https://smarthomeyourself.de/wiki/esphome/esphome-mit-python-ueber-die-kommandozeile-flashen/
Tschüss China-Cloud