forked from wichers/esphome-comfoair
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcomfoair.yaml
More file actions
138 lines (121 loc) · 2.92 KB
/
Copy pathcomfoair.yaml
File metadata and controls
138 lines (121 loc) · 2.92 KB
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
esphome:
name: comfoair
platform: ESP8266
board: esp01_1m
# To use locally from this repository, uncomment the 'local' source below
external_components:
- source:
type: git
url: https://github.com/nyxnyx/esphome-comfoair
components: [comfoair]
# - source:
# type: local
# path: components
# components: [comfoair]
wifi:
ssid: 'your-wifi-ssid-here'
password: 'put-your-wifi-password-here'
# Disable UART logging to avoid interference with the ComfoAir communication
logger:
level: DEBUG
baud_rate: 0
# Enable Home Assistant API
api:
password: 'set-an-api-password-here'
ota:
uart:
id: uart_bus
baud_rate: 9600
tx_pin: TX
rx_pin: RX
comfoair:
id: my_comfoair
name: "ComfoAir"
uart_id: uart_bus
# Core Sensors
fan_supply_percentage:
name: "Fan supply (%)"
fan_exhaust_percentage:
name: "Fan exhaust (%)"
fan_speed_supply:
name: "Supply fan speed"
fan_speed_exhaust:
name: "Exhaust fan speed"
# Temperature Sensors
outside_air_temperature:
name: "Outside temperature"
supply_air_temperature:
name: "Supply temperature"
return_air_temperature:
name: "Return temperature"
exhaust_air_temperature:
name: "Exhaust temperature"
enthalpy_temperature:
name: "Enthalpy temperature"
ewt_temperature:
name: "EWT temperature"
reheating_temperature:
name: "Reheating temperature"
kitchen_hood_temperature:
name: "Kitchen hood temperature"
# Status & Binary Sensors
is_bypass_valve_open:
name: "Bypass valve open"
id: comfoair_bypass_real
is_preheating:
name: "Is preheating active"
is_summer_mode:
name: "Is summer mode"
is_supply_fan_active:
name: "Is supply fan active"
is_filter_full:
name: "Is filter full"
id: comfoair_is_filter_full
# Ventilation Levels (required by the card)
return_air_level:
name: "Return level"
supply_air_level:
name: "Supply level"
# Operating Hours
fan_hours_supply:
name: "Supply Fan Hours"
fan_hours_exhaust:
name: "Exhaust Fan Hours"
bypass_hours:
name: "Bypass Hours"
preheater_hours:
name: "Preheater Hours"
filter_hours:
name: "Filter Hours"
ewt_hours:
name: "EWT Hours"
# Automation Features
auto_balance:
name: "Auto Temperature Balance"
# Diagnostics
error_code:
name: "Last Error Code"
binary_sensor:
- platform: template
name: "Is bypas open"
lambda: |-
return id(comfoair_bypass_real).state;
text_sensor:
- platform: template
name: "Filter Status"
lambda: |-
if (id(comfoair_is_filter_full).state) {
return {"Full"};
} else {
return {"Ok"};
}
update_interval: 60s
# Example button to reset the filter timer after maintenance
button:
- platform: template
name: "Reset Filter Timer"
icon: "mdi:filter-remove"
on_press:
then:
- lambda: |-
id(my_comfoair)->reset_filter();