-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathWavinAHC9000V3_example.yaml
More file actions
149 lines (133 loc) · 3.9 KB
/
Copy pathWavinAHC9000V3_example.yaml
File metadata and controls
149 lines (133 loc) · 3.9 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
########################################################################################
# #
# 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_wavinahc9000v3/tree/main #
# #
# Hardware by : Mogens Groth Nicolaisen https://github.com/nic6911/Wavin-AHC-9000-mqtt #
# #
########################################################################################
esphome:
name: wavin
friendly_name: Wavin
esp32:
board: esp32-c3-devkitm-1
framework:
type: esp-idf
external_components:
- source: github://heinekmadsen/esphome_components@main
components: [wavinahc9000v3]
refresh: 0s
logger:
baud_rate: 0 # Disable UART logging
uart:
id: uart_wavin
tx_pin: GPIO21
rx_pin: GPIO20
baud_rate: 38400
stop_bits: 1
parity: NONE
wavinahc9000v3:
id: wavin
uart_id: uart_wavin
flow_control_pin: GPIO3
update_interval: 10s
allow_mode_writes: true
poll_channels_per_cycle: 1
channel_01_friendly_name: "Soveværelse"
#channel_02_friendly_name: "Kontor"
channel_03_friendly_name: "Stue 1"
#channel_04_friendly_name: "Stue 2"
climate:
- platform: wavinahc9000v3
wavinahc9000v3_id: wavin
name: "Soveværelse"
channel: 1
# - platform: wavinahc9000v3
# wavinahc9000v3_id: wavin
# name: "Kontor"
# channel: 2
# use_floor_temperature: true
# strict_mode_writes: true
- platform: wavinahc9000v3
wavinahc9000v3_id: wavin
name: "Stue"
members: [3, 4]
sensor:
# Ch.1 Soveværelse
- platform: wavinahc9000v3
wavinahc9000v3_id: wavin
name: "Soveværelse Batteri"
channel: 1
type: battery
- platform: wavinahc9000v3
wavinahc9000v3_id: wavin
name: "Soveværelse Temperatur"
channel: 1
type: temperature
# # Ch.2 Kontor
# - platform: wavinahc9000v3
# wavinahc9000v3_id: wavin
# name: "Kontor Batteri"
# channel: 2
# type: battery
# - platform: wavinahc9000v3
# wavinahc9000v3_id: wavin
# name: "Kontor Temperatur"
# channel: 2
# type: temperature
# - platform: wavinahc9000v3
# wavinahc9000v3_id: wavin
# name: "Kontor Komfort Setpunkt"
# channel: 2
# type: comfort_setpoint
# - platform: wavinahc9000v3
# wavinahc9000v3_id: wavin
# name: "Kontor Gulvtemperatur"
# channel: 2
# type: floor_temperature
# - platform: wavinahc9000v3
# wavinahc9000v3_id: wavin
# name: "Kontor Gulv Minimum"
# channel: 2
# type: floor_min_temperature
# - platform: wavinahc9000v3
# wavinahc9000v3_id: wavin
# name: "Kontor Gulv Maksimum"
# channel: 2
# type: floor_max_temperature
# Ch.3/4 Stue zone
- platform: wavinahc9000v3
wavinahc9000v3_id: wavin
name: "Stue Temperatur"
channel: 3
type: temperature
- platform: wavinahc9000v3
wavinahc9000v3_id: wavin
name: "Stue Batteri"
channel: 3
type: battery
switch:
- platform: wavinahc9000v3
wavinahc9000v3_id: wavin
name: "Soveværelse Børnelås"
channel: 1
type: child_lock
- platform: wavinahc9000v3
wavinahc9000v3_id: wavin
name: "Stue Børnelås"
channel: 3
type: child_lock
api:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Wavin Fallback Hotspot"
password: ""
captive_portal:
ota:
platform: esphome