-
Notifications
You must be signed in to change notification settings - Fork 0
/
midea-ac.yaml
127 lines (112 loc) · 3.01 KB
/
midea-ac.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
esphome:
name: midea-ac
board: d1_mini
platform: esp8266
api:
encryption:
key: !secret doorlock_apikey
ota:
password: !secret ota_pass
remote_transmitter:
pin:
number: 16
carrier_duty_percent: 50%
id: irtx
debug:
update_interval: 10s
text_sensor:
- platform: debug
device:
name: "Device Info"
reset_reason:
name: "Reset Reason"
sensor:
- platform: uptime
name: Uptime
- platform: debug
free:
name: "Heap Free"
fragmentation:
name: "Heap Fragmentation"
block:
name: "Heap Max Block"
loop_time:
name: "Loop Time"
- platform: homeassistant
id: temp_sensor
entity_id: sensor.first_floor_temperature
filters:
- throttle: 10s
- heartbeat: 2min # Maximum interval between updates.
- debounce: 1s
on_value:
midea_ac.follow_me:
temperature: !lambda "return x;"
beeper: false
button:
- platform: template
name: "send follow me"
on_press:
- midea_ac.follow_me:
temperature: !lambda "return id(temp_sensor).state;"
beeper: false
- platform: template
name: "move step"
on_press:
- midea_ac.swing_step:
- platform: restart
name: "Restart"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: "MideaAC Fallback Hotspot"
password: !secret wifi_fallback_password
captive_portal:
web_server:
# Example configuration entry
# Disable logging over UART (required)
logger:
# baud_rate: 0
# UART settings for Midea dongle (required)
uart:
tx_pin: D1 # hardware dependant
rx_pin: D2 # hardware dependant
baud_rate: 9600
id: suart
# Main settings
climate:
- platform: midea
uart_id: suart
transmitter_id: irtx
name: Midea Climate # Use a unique name.
period: 2s # Optional
timeout: 1s # Optional
num_attempts: 3 # Optional
autoconf: true # Autoconfigure most options.
beeper: false # Beep on commands.
visual: # Optional. Example of visual settings override.
min_temperature: 16 °C # min: 16
max_temperature: 30 °C # max: 30
temperature_step: 1 °C # min: 0.5
supported_modes: # Optional. All capabilities in this section may be detected by autoconf.
- FAN_ONLY
- HEAT_COOL
- COOL
- HEAT
- DRY
custom_fan_modes: # Optional
- SILENT
- TURBO
supported_presets: # Optional. All capabilities in this section may be detected by autoconf.
- ECO
- BOOST
- SLEEP
custom_presets: # Optional. All capabilities in this section may be detected by autoconf.
- FREEZE_PROTECTION
supported_swing_modes: # Optional
- VERTICAL
outdoor_temperature: # Optional. Outdoor temperature sensor (may display incorrect values after long inactivity).
name: Outdoor temp
filters:
- filter_out: 102