updating configuration
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
#===============================================================================
|
||||
# Контроллер кондиционера в гостиной
|
||||
# Wemos D1 mini
|
||||
#===============================================================================
|
||||
substitutions:
|
||||
node_name: ac_childroom # Use a unique name.
|
||||
node_id: ac_childroom # Use a unique id.
|
||||
deviceid: ac_childroom
|
||||
devicename: ac_childroom
|
||||
friendly_node_name: "Кондиционер Детская Старый"
|
||||
|
||||
#===============================================================================
|
||||
# Общий конфиг
|
||||
#===============================================================================
|
||||
esphome:
|
||||
name: ${node_name}
|
||||
friendly_name: ${friendly_node_name}
|
||||
|
||||
esp8266:
|
||||
board: esp12e
|
||||
|
||||
web_server:
|
||||
port: 80
|
||||
auth:
|
||||
username: admin
|
||||
password: superLongP4ss
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
encryption:
|
||||
key: !secret api_encryption_key
|
||||
|
||||
ota:
|
||||
- platform: esphome
|
||||
password: !secret api_encryption_key
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_24_name
|
||||
password: !secret wifi_24_pass
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "${devicename} Fallback Hotspot"
|
||||
password: !secret esphome_captive_pass
|
||||
|
||||
captive_portal:
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
baud_rate: 0 # disable LOG output on UART as UART is used for Sinclair AC unit
|
||||
# level: VERBOSE
|
||||
|
||||
uart:
|
||||
tx_pin: 1
|
||||
rx_pin: 3
|
||||
baud_rate: 4800
|
||||
parity: EVEN
|
||||
|
||||
time:
|
||||
- platform: sntp
|
||||
|
||||
external_components:
|
||||
- source: github://gekkehenkie11/esphome_gree_ac
|
||||
components: [sinclair_ac]
|
||||
refresh: 0s
|
||||
|
||||
climate:
|
||||
- platform: sinclair_ac
|
||||
name: ${devicename}
|
||||
horizontal_swing_select:
|
||||
name: ${devicename} Horizontal Swing Mode
|
||||
vertical_swing_select:
|
||||
name: ${devicename} Vertical Swing Mode
|
||||
display_select:
|
||||
name: ${devicename} Display Mode
|
||||
display_unit_select:
|
||||
name: ${devicename} Display Unit
|
||||
plasma_switch:
|
||||
name: ${devicename} Plasma
|
||||
sleep_switch:
|
||||
name: ${devicename} Sleep
|
||||
xfan_switch:
|
||||
name: ${devicename} X-fan
|
||||
save_switch:
|
||||
name: ${devicename} Save/8 Heat
|
||||
@@ -0,0 +1,69 @@
|
||||
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
|
||||
@@ -0,0 +1,66 @@
|
||||
esphome:
|
||||
name: mainroom_ac
|
||||
|
||||
esp8266:
|
||||
board: esp12e
|
||||
|
||||
# Disable logging over UART (required)
|
||||
logger:
|
||||
baud_rate: 0
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
|
||||
ota:
|
||||
|
||||
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: "Mainroom 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
|
||||
|
||||
# Main settings
|
||||
climate:
|
||||
- platform: midea
|
||||
name: mainroom_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
|
||||
Reference in New Issue
Block a user