-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathWavinAHC9000V2_example.yaml
More file actions
194 lines (171 loc) · 7.72 KB
/
Copy pathWavinAHC9000V2_example.yaml
File metadata and controls
194 lines (171 loc) · 7.72 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
########################################################################################
# #
# WAVIN AHC-9000 FLOOR HEATING CONTROLLER SOFTWARE FOR HOME ASSISTANT #
# #
# Code developed by : Heine Koldbro Madsen and Samuel Sieb 2021 #
# #
# https://github.com/heinekmadsen/esphome_components/tree/main/components/wavinAhc9000 #
# #
# Hardware by : Mogens Groth Nicolaisen https://github.com/nic6911/Wavin-AHC-9000-mqtt #
# #
########################################################################################
########################################################################################
# CONFIGURATION PART OF YOUR CHOICE :) #
########################################################################################
substitutions:
# UNIQUE NAME FOR THE DEVICE
device: wavin # Case sensitive!!!
name: Wavin # "Friendly name" - not case sensitive!!!
# CHANNEL friendly names (If using spaces remember to add ")
channel_01_friendly_name: "Channel 01"
channel_02_friendly_name: "Channel 02"
channel_03_friendly_name: "Channel 03"
channel_04_friendly_name: "Channel 04"
channel_05_friendly_name: "Channel 05"
channel_06_friendly_name: "Channel 06"
channel_07_friendly_name: "Channel 07"
channel_08_friendly_name: "Channel 08"
channel_09_friendly_name: "Channel 09"
channel_10_friendly_name: "Channel 10"
channel_11_friendly_name: "Channel 11"
channel_12_friendly_name: "Channel 12"
channel_13_friendly_name: "Channel 13"
channel_14_friendly_name: "Channel 14"
channel_15_friendly_name: "Channel 15"
channel_16_friendly_name: "Channel 16"
# CHANNEL ID´S (ONLY LOWER CASE LETTERS, NO SPACES) used for entity ids
channel_01_id: channel_01
channel_02_id: channel_02
channel_03_id: channel_03
channel_04_id: channel_04
channel_05_id: channel_05
channel_06_id: channel_06
channel_07_id: channel_07
channel_08_id: channel_08
channel_09_id: channel_09
channel_10_id: channel_10
channel_11_id: channel_11
channel_12_id: channel_12
channel_13_id: channel_13
channel_14_id: channel_14
channel_15_id: channel_15
channel_16_id: channel_16
# CHANNEL Alignments (ONLY change if you have offsets in channel vs temperature. Some have reported this if using multiple strings pr. room thermostat)
channel_01_sensor: "0x00"
channel_02_sensor: "0x01"
channel_03_sensor: "0x02"
channel_04_sensor: "0x03"
channel_05_sensor: "0x04"
channel_06_sensor: "0x05"
channel_07_sensor: "0x06"
channel_08_sensor: "0x07"
channel_09_sensor: "0x08"
channel_10_sensor: "0x09"
channel_11_sensor: "0x0A"
channel_12_sensor: "0x0B"
channel_13_sensor: "0x0C"
channel_14_sensor: "0x0D"
channel_15_sensor: "0x0E"
channel_16_sensor: "0x0F"
channel_01: "0x00"
channel_02: "0x01"
channel_03: "0x02"
channel_04: "0x03"
channel_05: "0x04"
channel_06: "0x05"
channel_07: "0x06"
channel_08: "0x07"
channel_09: "0x08"
channel_10: "0x09"
channel_11: "0x0A"
channel_12: "0x0B"
channel_13: "0x0C"
channel_14: "0x0D"
channel_15: "0x0E"
channel_16: "0x0F"
# UPDATE TIME (GATEWAY)
update_interval: 10s
# PIN DEFINITIONS (Should in most cases not be changed)
rx_pin: '20'
tx_pin: '21'
# WiFi settings
ssid_set: !secret wifi_ssid
password_set: !secret wifi_password
########################################################################################
# CODE BELOW SHOULD NOT BE CHANGED #
########################################################################################
esphome:
name: ${device}
esp32:
board: esp32-c3-devkitm-1
framework:
type: arduino
# Enable logging
logger:
baud_rate: 0
# Enable Home Assistant API
api:
ota:
platform: esphome
wifi:
ssid: ${ssid_set}
password: ${password_set}
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Wavin Fallback Hotspot"
password: ""
captive_portal:
uart:
- id: uart_${device}
rx_pin: ${rx_pin}
tx_pin: ${tx_pin}
baud_rate: 38400
stop_bits: 1
parity: NONE
modbus:
- id: ${device}_modbus
uart_id: uart_${device}
flow_control_pin: 3
modbus_controller:
id: ${device}_modbus_controller
address: 1
modbus_id: ${device}_modbus
update_interval: ${update_interval}
packages:
remote_package:
url: https://github.com/heinekmadsen/esphome_components
files:
- components/wavinahc9000v2/configs/basic.yaml # REQUIRED FOR WAVIN AHC 9000
- components/wavinahc9000v2/configs/channel_01.yaml
#- components/wavinahc9000v2/configs/channel_01_comfort.yaml # Only for channels with thermostat with IR sensor
- components/wavinahc9000v2/configs/channel_02.yaml
#- components/wavinahc9000v2/configs/channel_02_comfort.yaml # Only for channels with thermostat with IR sensor
- components/wavinahc9000v2/configs/channel_03.yaml
#- components/wavinahc9000v2/configs/channel_03_comfort.yaml # Only for channels with thermostat with IR sensor
- components/wavinahc9000v2/configs/channel_04.yaml
#- components/wavinahc9000v2/configs/channel_04_comfort.yaml # Only for channels with thermostat with IR sensor
#- components/wavinahc9000v2/configs/channel_05.yaml
#- components/wavinahc9000v2/configs/channel_05_comfort.yaml # Only for channels with thermostat with IR sensor
#- components/wavinahc9000v2/configs/channel_06.yaml
#- components/wavinahc9000v2/configs/channel_06_comfort.yaml # Only for channels with thermostat with IR sensor
#- components/wavinahc9000v2/configs/channel_07.yaml
#- components/wavinahc9000v2/configs/channel_07_comfort.yaml # Only for channels with thermostat with IR sensor
#- components/wavinahc9000v2/configs/channel_08.yaml
#- components/wavinahc9000v2/configs/channel_08_comfort.yaml # Only for channels with thermostat with IR sensor
#- components/wavinahc9000v2/configs/channel_09.yaml
#- components/wavinahc9000v2/configs/channel_09_comfort.yaml # Only for channels with thermostat with IR sensor
#- components/wavinahc9000v2/configs/channel_10.yaml
#- components/wavinahc9000v2/configs/channel_10_comfort.yaml # Only for channels with thermostat with IR sensor
#- components/wavinahc9000v2/configs/channel_11.yaml
#- components/wavinahc9000v2/configs/channel_11_comfort.yaml # Only for channels with thermostat with IR sensor
#- components/wavinahc9000v2/configs/channel_12.yaml
#- components/wavinahc9000v2/configs/channel_12_comfort.yaml # Only for channels with thermostat with IR sensor
#- components/wavinahc9000v2/configs/channel_13.yaml
#- components/wavinahc9000v2/configs/channel_13_comfort.yaml # Only for channels with thermostat with IR sensor
#- components/wavinahc9000v2/configs/channel_14.yaml
#- components/wavinahc9000v2/configs/channel_14_comfort.yaml # Only for channels with thermostat with IR sensor
#- components/wavinahc9000v2/configs/channel_15.yaml
#- components/wavinahc9000v2/configs/channel_15_comfort.yaml # Only for channels with thermostat with IR sensor
#- components/wavinahc9000v2/configs/channel_16.yaml
#- components/wavinahc9000v2/configs/channel_16_comfort.yaml # Only for channels with thermostat with IR sensor
refresh: 0s