forked from wichers/esphome-comfoair
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomfoair.yaml
262 lines (249 loc) · 5.84 KB
/
comfoair.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
esphome:
name: comfoair
platform: ESP8266
board: nodemcu
# Disable uart logging
logger:
baud_rate: 0
sensor:
binary_sensor:
- platform: gpio
pin:
number: GPIO4
mode:
input: true
pullup: true
name: "Mode button"
filters:
- invert:
- delayed_on: 10ms
on_multi_click:
- timing:
- ON for at most 1s
- OFF for at most 1s
- ON for at most 1s
- OFF for at least 0.2s
then:
lambda: "id(comfoair_climate).set_level(3);"
- timing:
- ON for 1s to 2s
- OFF for at least 0.5s
then:
lambda: "id(comfoair_climate).set_level(1);"
- timing:
- ON for at most 1s
- OFF for at least 0.5s
then:
lambda: "id(comfoair_climate).set_level(2);"
uart:
- id: uart_bus
baud_rate: 9600
tx_pin: TX
rx_pin: RX
- id: uart_proxy
baud_rate: 9600
tx_pin: GPIO5
rx_pin: GPIO14
external_components:
- source:
type: git
url: https://github.com/julianpas/esphome-comfoair
components: ["comfoair"]
button:
- platform: restart
id: reset_button
name: "Reset Comfoair"
- platform: template
id: filter_reset_button
name: "Reset Filter"
on_press:
then:
lambda: "id(comfoair_climate).reset_filters();"
switch:
- platform: gpio
pin: GPIO12
name: "LED Green Light"
id: green_led_gpio
- platform: gpio
pin: GPIO13
name: "LED Blue Light"
id: blue_led_gpio
- platform: gpio
pin: GPIO15
name: "LED Red Light"
id: red_led_gpio
comfoair:
id: comfoair_climate
name: "ComfoAir 310 SL"
uart_id: uart_bus
proxy_uart: uart_proxy
red_led: red_led_gpio
green_led: green_led_gpio
blue_led: blue_led_gpio
type:
name: "type"
size:
name: "size"
intake_fan_speed:
name: "intake_fan_speed"
exhaust_fan_speed:
name: "exhaust_fan_speed"
intake_fan_speed_rpm:
name: "intake_fan_speed_rpm"
exhaust_fan_speed_rpm:
name: "exhaust_fan_speed_rpm"
ventilation_level:
name: "ventilation_level"
bypass_present:
name: "bypass_present"
bypass_valve:
name: "bypass_valve"
bypass_valve_open:
name: "bypass_valve_open"
preheating_state:
name: "preheating_state"
outside_air_temperature:
name: "outside_air_temperature"
supply_air_temperature:
name: "supply_air_temperature"
return_air_temperature:
name: "return_air_temperature"
exhaust_air_temperature:
name: "exhaust_air_temperature"
enthalpy_temperature:
name: "enthalpy_temperature"
ewt_temperature:
name: "ewt_temperature"
reheating_temperature:
name: "reheating_temperature"
kitchen_hood_temperature:
name: "kitchen_hood_temperature"
return_air_level:
name: "return_air_level"
supply_air_level:
name: "supply_air_level"
supply_fan_active:
name: "supply_fan_active"
filter_status:
name: "filter_status"
filter_full:
name: "is_filter_full"
enthalpy_present:
name: "enthalpy_present"
ewt_present:
name: "ewt_present"
options_present:
name: "options_present"
fireplace_present:
name: "fireplace_present"
kitchen_hood_present:
name: "kitchen_hood_present"
postheating_present:
name: "postheating_present"
postheating_pwm_mode_present:
name: "postheating_pwm_mode_present"
preheating_present:
name: "preheating_present"
bypass_factor:
name: "bypass_factor"
bypass_step:
name: "bypass_step"
bypass_correction:
name: "bypass_correction"
bypass_open_hours:
name: "bypass_open_hours"
preheating_hours:
name: "preheating_hours"
level0_hours:
name: "level0_hours"
level1_hours:
name: "level1_hours"
level2_hours:
name: "level2_hours"
level3_hours:
name: "level3_hours"
preheating_valve:
name: "preheating_valve"
frost_protection_active:
name: "frost_protection_active"
frost_protection_hours:
name: "frost_protection_hours"
frost_protection_minutes:
name: "frost_protection_minutes"
frost_protection_level:
name: "frost_protection_level"
filter_hours:
name: "filter_hours"
motor_current_bypass:
name: "motor_current_bypass"
motor_current_preheating:
name: "motor_current_preheating"
summer_mode:
name: "summer_mode"
p10_active:
name: "p10_active"
p11_active:
name: "p11_active"
p12_active:
name: "p12_active"
p13_active:
name: "p13_active"
p14_active:
name: "p14_active"
p15_active:
name: "p15_active"
p16_active:
name: "p16_active"
p17_active:
name: "p17_active"
p18_active:
name: "p18_active"
p19_active:
name: "p19_active"
p90_active:
name: "p90_active"
p91_active:
name: "p91_active"
p92_active:
name: "p92_active"
p93_active:
name: "p93_active"
p94_active:
name: "p94_active"
p95_active:
name: "p95_active"
p96_active:
name: "p96_active"
p97_active:
name: "p97_active"
bathroom_switch_on_delay_minutes:
name: "bathroom_switch_on_delay_minutes"
bathroom_switch_off_delay_minutes:
name: "bathroom_switch_off_delay_minutes"
l1_switch_off_delay_minutes:
name: "l1_switch_off_delay_minutes"
boost_ventilation_minutes:
name: "boost_ventilation_minutes"
filter_warning_weeks:
name: "filter_warning_weeks"
rf_high_time_short_minutes:
name: "rf_high_time_short_minutes"
rf_high_time_long_minutes:
name: "rf_high_time_long_minutes"
extractor_hood_switch_off_delay_minutes:
name: "extractor_hood_switch_off_delay_minutes"
# Enable Home Assistant API
api:
encryption:
key: !secret comfoair_encryption_key
ota:
password: !secret comfoair_ota_password
platform: esphome
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Comfoair Fallback Hotspot"
password: !secret comfoair_ap_password
captive_portal: