-
Notifications
You must be signed in to change notification settings - Fork 0
/
enervent.yaml
211 lines (193 loc) · 4.73 KB
/
enervent.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
esphome:
name: enervent
comment: Garage AHU - Enervent Pingvin EDA
esp8266:
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: !secret ota_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Enervent Fallback Hotspot"
password: !secret esphome_fallback_wifi_password
captive_portal:
## UART definitions
uart:
id: mod_bus
tx_pin: D8
rx_pin: D7
baud_rate: 19200
stop_bits: 1
parity: NONE
modbus:
id: modbus1
modbus_controller:
- id: enervent
address: 0x1
modbus_id: modbus1
setup_priority: -10
switch:
## coils:
- platform: modbus_controller
modbus_controller_id: enervent
id: garage_stop
name: "Garage - STOP"
register_type: coil
address: 0
bitmask: 1
- platform: modbus_controller
modbus_controller_id: enervent
id: garage_away
name: "Garage - Away"
register_type: coil
address: 1
bitmask: 1
- platform: modbus_controller
modbus_controller_id: enervent
id: garage_overpressure
name: "Garage - Overpressure"
register_type: coil
address: 3
bitmask: 1
- platform: modbus_controller
modbus_controller_id: enervent
id: garage_central_vacuum
name: "Garage - Central Vacuum Cleaner"
register_type: coil
address: 5
bitmask: 1
- platform: modbus_controller
modbus_controller_id: enervent
id: garage_manualboost
name: "Garage - Manual Boost"
register_type: coil
address: 10
bitmask: 1
- platform: modbus_controller
modbus_controller_id: enervent
id: garage_summernightcooling
name: "Garage - Summer Night Cooling"
register_type: coil
address: 12
bitmask: 1
## alarms:
- platform: modbus_controller
modbus_controller_id: enervent
id: garage_alarma
name: "Garage - Alarm A"
device_class: switch
entity_category: diagnostic
register_type: read
address: 41
- platform: modbus_controller
modbus_controller_id: enervent
id: garage_alarmb
device_class: switch
entity_category: diagnostic
name: "Garage - Alarm B"
register_type: read
address: 42
sensor:
## temperature sensors:
- platform: modbus_controller
modbus_controller_id: enervent
name: "Garage - Fresh Air"
id: garage_freshair
register_type: holding
address: 6
state_class: measurement
device_class: temperature
unit_of_measurement: "C"
value_type: U_WORD
accuracy_decimals: 1
filters:
- multiply: 0.1
- platform: modbus_controller
modbus_controller_id: enervent
name: "Garage - Supply Air after HRC"
id: garage_supplyhrcair
register_type: holding
address: 7
state_class: measurement
device_class: temperature
unit_of_measurement: "C"
value_type: U_WORD
accuracy_decimals: 1
filters:
- multiply: 0.1
- platform: modbus_controller
modbus_controller_id: enervent
name: "Garage - Supply Air"
id: garage_supplyair
register_type: holding
address: 8
device_class: temperature
unit_of_measurement: "C"
value_type: U_WORD
accuracy_decimals: 1
filters:
- multiply: 0.1
- platform: modbus_controller
modbus_controller_id: enervent
name: "Garage - Waste Air"
id: garage_wasteair
register_type: holding
address: 9
state_class: measurement
device_class: temperature
unit_of_measurement: "C"
value_type: U_WORD
accuracy_decimals: 1
filters:
- multiply: 0.1
- platform: modbus_controller
modbus_controller_id: enervent
name: "Garage - Extract Air"
id: garage_extract
register_type: holding
address: 10
state_class: measurement
device_class: temperature
unit_of_measurement: "C"
value_type: U_WORD
accuracy_decimals: 1
filters:
- multiply: 0.1
## Humidity sensor:
- platform: modbus_controller
modbus_controller_id: enervent
name: "Garage - Exhaust Humidity"
id: garage_extract_humidity
register_type: holding
address: 13
state_class: measurement
device_class: humidity
unit_of_measurement: "%RH"
value_type: U_WORD
## HRC efficiency
- platform: modbus_controller
modbus_controller_id: enervent
name: "Garage - HRC Supply %"
id: garage_hrcsupply
register_type: holding
address: 29
state_class: measurement
device_class: power_factor
unit_of_measurement: "%"
value_type: U_WORD
- platform: modbus_controller
modbus_controller_id: enervent
name: "Garage - HRC Extract %"
id: garage_hrcextract
register_type: holding
address: 30
state_class: measurement
device_class: power_factor
unit_of_measurement: "%"
value_type: U_WORD