-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathduplexvent.yaml
More file actions
212 lines (179 loc) · 4.67 KB
/
Copy pathduplexvent.yaml
File metadata and controls
212 lines (179 loc) · 4.67 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
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
esphome:
name: duplexvent
esp32:
board: esp32-c3-devkitm-1
framework:
type: arduino
# Enable logging
logger:
baud_rate: 0
# Enable Home Assistant API
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Duplexvent Fallback Hotspot"
password: "12345678"
captive_portal:
uart:
rx_pin: 20
tx_pin: 21
parity: NONE
baud_rate: 9600
id: uart_modbus
stop_bits: 1
modbus:
id: modbus_id
flow_control_pin: 3
uart_id: uart_modbus
modbus_controller:
id: duplexvent_modbus_controller
address: 1
modbus_id: modbus_id
update_interval: 10s
external_components:
- source: github://Jopand/esphome_components@develop
refresh: 0s
nilan:
select:
- platform: modbus_controller
modbus_controller_id: duplexvent_modbus_controller
name: "Set operation mode"
id: duplex_set_operation_mode
address: 100
force_new_range: true
use_write_multiple: true
optionsmap:
"Standard" : 0
"VOD" : 1
sensor:
###########################
#### HOLDING REGISTERS ####
###########################
- platform: modbus_controller
modbus_controller_id: duplexvent_modbus_controller
name: "Return temperature"
id: duplex_return_temp
unit_of_measurement: °C
accuracy_decimals: 1
device_class: temperature
register_type: holding
address: 20
filters:
- multiply: 0.1
- platform: modbus_controller
modbus_controller_id: duplexvent_modbus_controller
name: "Supply temperature"
id: duplex_supply_temp
unit_of_measurement: °C
accuracy_decimals: 1
device_class: temperature
register_type: holding
address: 21
filters:
- multiply: 0.1
- platform: modbus_controller
modbus_controller_id: duplexvent_modbus_controller
name: "Alarm code"
id: duplex_alarm_code
register_type: holding
address: 2
# - platform: modbus_controller
# modbus_controller_id: duplexvent_modbus_controller
# name: "Supply temperature"
# id: duplex_supply_temp
# unit_of_measurement: °C
# accuracy_decimals: 1
# device_class: temperature
# register_type: holding
# address: 22
# filters:
# - multiply: 0.1
# - platform: modbus_controller
# modbus_controller_id: duplexvent_modbus_controller
# name: "Panel temperature"
# id: duplex_panel_temp
# unit_of_measurement: °C
# accuracy_decimals: 1
# device_class: temperature
# register_type: holding
# address: 23
# filters:
# - multiply: 0.1
# - platform: modbus_controller
# modbus_controller_id: duplexvent_modbus_controller
# name: "Humidity"
# id: duplex_humidity
# unit_of_measurement: '%'
# accuracy_decimals: 1
# device_class: humidity
# register_type: holding
# address: 29
# filters:
# - multiply: 0.1
- platform: modbus_controller
modbus_controller_id: duplexvent_modbus_controller
name: "Exhaust fan speed"
id: duplex_exhaust_fan_speed
unit_of_measurement: '%'
icon: "mdi:percent"
accuracy_decimals: 1
register_type: holding
address: 6
filters:
- multiply: 1
- platform: modbus_controller
modbus_controller_id: duplexvent_modbus_controller
name: "Inlet fan speed"
id: duplex_inlet_fan_speed
unit_of_measurement: '%'
icon: "mdi:percent"
accuracy_decimals: 1
register_type: holding
address: 5
filters:
- multiply: 1
number:
- platform: modbus_controller
modbus_controller_id: duplexvent_modbus_controller
name: "Ventilation speed set"
id: duplex_ventilation_speed_set
register_type: holding
min_value: 0
max_value: 3
step: 1.0
address: 101
#force_new_range: true
#use_write_multiple: true
- platform: modbus_controller
modbus_controller_id: duplexvent_modbus_controller
name: "Temperature set"
id: duplex_target_temperature_set
register_type: holding
min_value: 18
max_value: 28
step: 1.0
address: 128
#force_new_range: true
#use_write_multiple: true
multiply: 1
switch:
- platform: modbus_controller
modbus_controller_id: duplexvent_modbus_controller
name: "On/Off state"
id: duplex_on_off_state
register_type: holding
bitmask: 1
#force_new_range: true
#use_write_multiple: true
address: 1
climate:
- platform: nilan
name: Duplexvent
current_temp_sensor_id: duplex_supply_temp
target_temp_sensor_id: duplex_target_temperature_set
fan_speed_sensor_id: duplex_ventilation_speed_set
mode_select_id: duplex_set_operation_mode