-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
tion-lt-ble.yaml
238 lines (219 loc) · 7.69 KB
/
tion-lt-ble.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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
substitutions:
# Tion mac address. Setup yours.
tion_mac_address: 00:00:00:00:00:00
# Name of the node. Don't use underscores!
# https://esphome.io/guides/faq.html#why-shouldn-t-i-use-underscores-in-my-device-name
node_name: tion-lite
# Name for the main entity and prefix for all others.
friendly_name: $node_name
# Change to sntp if you plan to use MQTT and tion_energy package.
time_platform: homeassistant
# WiFi settings.
wifi_ssid: !secret wifi_ssid
wifi_password: !secret wifi_password
# WiFi Access Point password.
wifi_ap_password: tion-0123-lt
packages:
tion:
url: https://github.com/dentra/esphome-tion
ref: 2024.8.0 # cant use substitutions here
files:
## You can enable or disable some of the features listed below.
## The disabled feature starts with # symbol.
## The indentation before uncommented package is very important!
## Additional WiFi signal sensor.
- packages/wifi_signal.yaml
## Additional BLE RSSI sensor.
- packages/rssi_signal.yaml
## Additional Uptime sensor.
- packages/uptime.yaml
## Additional Restart button.
- packages/restart.yaml
## Unlock Tion 30°C heating.
#- packages/tion_temperature30c.yaml
## Additional energy sensor.
## !!! Be sure to change substitutions.time_platform to "sntp" if you use it with MQTT.
# - packages/tion_energy.yaml
## Common configuration settings. Do not comment or move or remove!
- packages/base.yaml
## Change to esp32_s3.yaml/esp32_c3.yaml to use with ESP32-S3/ESP32-C3 chip.
- packages/esp32_ble.yaml
## Persistent connection runtime control switch.
# - packages/persistent.yaml
## Additional connect switch useful for debugging.
# - packages/connect.yaml
## Internal ESP32 temperature sensor.
# - packages/esp32_temperature.yaml
## Lilygo T-Dongle S3 internal LED and button support
# - packages/lilygo.yaml
## Web server support.
# - packages/web_server.yaml
## Additional debug information.
# - packages/debug.yaml
# Uncomment to enable MQTT connection.
# mqtt:
# broker: !secret mqtt_broker
# port: !secret mqtt_port
# username: !secret mqtt_username
# password: !secret mqtt_password
# discovery: false # remove or set to true if you plan to use with Home Assistant
# Enable Home Assistant API connection. Please disable if you use MQTT
api:
# WiFi access point configuration.
wifi:
# Comment next 2 lines to enable manual WiFi configuration via access point.
ssid: $wifi_ssid
password: $wifi_password
# Comment next 2 lines to set access point without password.
ap:
password: $wifi_ap_password
# To completely remove access point remove previous two lines and uncomment next one.
#ap: !remove
# Virtual port configuration
vport:
- platform: tion_lt_ble
id: tion_ble_vport
ble_client_id: tion_ble_client
## Optional, Do not disconnect after receiving state. Default: false.
persistent_connection: false
## Optional, Allow to disable other BLE device scanning when breezer is already connected. Default: false.
# disable_scan: false
## Optional, Interval between sending commands. Set to 0ms to send one command per loop.
# command_interval: 100ms
## Optional, Command queue size. Default: 10.
# command_queue_size: 16
# Main climate component configuration.
# See detailed description and additional parameters at CONFIGURATION.md
tion:
type: lt
id: tion_api
# Optional, use vport_id with multiple breezers.
vport_id: tion_ble_vport
# Optional, How often query device state. Default: 15s.
update_interval: 60s
# Optional, Timeout to combine update operations. Default: 200ms.
batch_timeout: 200ms
# Optional, Timeout to enable state problem sensor. Must be less than update_interval. Default: 3s.
state_timeout: 30s
# Optional, Updates sensor values on any state response or only if they have been changed. Default: false.
force_update: false
# Optional, Enable presets. Default: <empty> (no presets)
# You can define any number of presets with any name.
# In Home assistant climate entity presets with names home, away, boost, comfort,
# eco, sleep and activity are automatically translated to your native language and assign icons.
# Preset configuration:
# name_of_your_preset:
# fan_speed: 1 # remove or set to 0 to use current state
# temperature: 16 # remove or set to 0 to use current state
# heater: False # remove to use current state
# power: True #
# Uncomment next 4 lines to enable example presets.
# presets:
# home: { fan_speed: 2, temperature: 16, heater: False }
# away: { fan_speed: 1, temperature: 10, heater: False }
# sleep: { fan_speed: 1, temperature: 18 }
# Optional, configure hardware button presets. Factory defaults are: 2/4/6, 10/20/25 °C
#button_presets:
# fan_speed: [1, 3, 5]
# temperature: [12, 18, 24]
################################################################################
#
# Next sections set are only example configuration.
#
# In most cases it is enough, but if you prefer to customize please refer to
# CONFIGURATION.md for full set of available entities and options.
#
################################################################################
climate:
- platform: tion
id: tion_climate
name: None # use friendly_name
# add HEAT_COOL mode to support turn_on without touching current heater mode.
enable_heat_cool: True
sensor:
# Temperature of air before heater, °C (celsius).
- platform: tion
id: tion_outdoor_temperature
type: outdoor_temperature
name: Outdoor Temperature
# Optional, Heater power, W (watt).
- platform: tion
id: tion_heater_power
type: heater_power
name: Heater power
# Current productivity, m³/h (cubic meters per hour).
- platform: tion
id: tion_productivity
type: productivity
name: Productivity
# Filter time left counter.
- platform: tion
id: tion_filter_time_left_days
type: filter_time_left_days
name: Filter Time Left
# Boost time left sensor.
- platform: tion
id: tion_boost_time_left
type: boost_time_left
name: Boost Time Left
switch:
# Buzzer control switch.
- platform: tion
id: tion_buzzer
type: sound
name: Buzzer
# Boost/Turbo switch.
- platform: tion
id: tion_boost
type: boost
name: Boost
# Optional, Heater state when boost enabled. If not set current state will be used.
#heater: False
# Optional, Target heater temperature state when boost enabled.
# If not set or set to 0 - current target temperature will be used.
#temperature: 10
number:
# Configure boost time.
- platform: tion
id: tion_boost_time
type: boost_time
name: Boost Time
initial_value: 20min
restore_value: true
select:
binary_sensor:
# Informs about state receiving problem from the breezer.
- platform: tion
id: tion_state_problem
type: state
name: State Problem
# Gate state control.
- platform: tion
id: tion_gate_state
type: gate
name: Gate State
# Filter warning state.
- platform: tion
id: tion_filter_worn_out
type: filter
name: Filter Worn Out
text_sensor:
# Tion firmware version.
- platform: tion
id: tion_firmware_version
type: firmware_version
name: Version
# Reports Tion's errors (EC) and warnings (WS).
- platform: tion
id: tion_errors
type: errors
name: Errors
button:
# Reset filter button.
- platform: tion
id: tion_reset_filter
type: reset_filter
name: Reset Filter
# Reset filter confirmation. When off then reset_filter will not work.
confirm:
name: Reset Filter Confirm