forked from dentra/esphome-tion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tion-4s-ble.yaml
190 lines (181 loc) · 7.58 KB
/
tion-4s-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
substitutions:
# tion mac address. setup yours.
tion_mac_address: 00:00:00:00:00:00
# name of the node.
node_name: tion-4s
# name for main climate entity and prefix for all others.
friendly_name: $node_name
# add suffix for node name to have one firmware for many devices.
node_add_mac_suffix: "false"
# wifi settings.
wifi_ssid: !secret wifi_ssid
wifi_password: !secret wifi_password
packages:
tion:
url: https://github.com/dentra/esphome-tion
ref: 2024.1.3 # cant use substitutions here
files:
## Enable additional WiFi signal sensor. Comment next line to disable.
- packages/wifi_signal.yaml
## Enable additional BLE RSSI sensor. Comment next line to disable.
- packages/rssi_signal.yaml
## Enable additional Uptime sensor. Comment next line to disable.
- packages/uptime.yaml
## Enable additional Restart button. Comment next line to disable.
- packages/restart.yaml
## Base climate definition. Do not comment or move or remove.
- packages/tion_4s_climate.yaml
## Enable maximum target temperature to 30°C. Comment next line to disable.
- packages/tion_temperature30c.yaml
## Enable heat_cool mode to workaraund when using Home Assistant turn_on service.
# - packages/tion_enable_heat_cool.yaml
## Uncomment next line to enable additional energy sensor.
# - packages/tion_energy.yaml
## Common configuration settings. Do not comment or move or remove.
- packages/base.yaml
## BLE configuration settings. Do not comment or move or remove.
- packages/esp32_ble.yaml
## Uncomment next line to enable persistent connection runtime control switch.
# - packages/persistent.yaml
## Uncomment next line to enable additional connect switch useful for debugging.
# - packages/connect.yaml
## Uncomment next line to enable additional internal timers support.
# - packages/tion_4s_timers.yaml
## Uncomment next line to enable monitor internal ESP temperature.
# - packages/esp32_temperature.yaml
## Uncomment next line to enable additional debug information.
# - packages/debug.yaml
# Uncomment to enable MQTT connecion.
# WARNINIG: If you leave next api section for logging purpose
# and do not use Home Assistant, you need to uncomment
# reboot_timeout parameter.
# mqtt:
# broker: !secret mqtt_borker
# port: !secret mqtt_port
# username: !secret mqtt_username
# password: !secret mqtt_password
# Enable Home Assistant API connection. Please do not remove to keep logs functioning.
api:
# Uncomment next line if you do not use Home Assistant.
#reboot_timeout: 0s
# WiFi hotspot configuration.
# Comment next 3 lines to enable manual WiFi conviguration via access point.
wifi:
ssid: $wifi_ssid
password: $wifi_password
# Virtual port configuration
vport:
- platform: tion_4s
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 commmands. 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.
climate:
- id: !extend tion_climate
# Required, the name of climate entity
name: None # use friendly_name
# Optional, virtual port id. Default: autodetect
vport_id: tion_ble_vport
# Optional, Temperatire of air before heater, °C (celsius).
outdoor_temperature:
name: "Outdoor Temperature"
# Optional, Buzzer control switch.
buzzer:
name: "Buzzer"
# Optional, Led control switch.
led:
name: "Led"
# Optional, Heater power, W (watt).
heater_power:
name: "Heater power"
# Optional, Total airflow counter, m³ (cubic meters).
#airflow_counter:
# name: "Airflow counter"
# Optional, Recirculation control switch.
recirculation:
name: "Recirculation"
# Optional, Current productivity, m³/h (cubic meters per hour).
productivity:
name: "Productivity"
# Optional, Filter time left counter, days.
filter_time_left:
name: "Filter Time Left"
# Optional, Filter warning state.
filter_warnout:
name: "Filter Warnout"
# Optional, Tion firmware version.
version:
name: "Version"
# Optional, Enable presets. Default: <empty> (no presets)
# Available configurable presets: home, away, boost, comfort, eco, sleep, activity.
# Defaults:
# home : { fan_speed: 2, target_temperature: 20, gate_position: auto, mode: heat }
# away : { fan_speed: 1, target_temperature: 10, gate_position: auto, mode: fan_only }
# boost : { fan_speed: 6, target_temperature: 10, gate_position: auto, mode: fan_only }
# comfort : { fan_speed: 2, target_temperature: 23, gate_position: auto, mode: heat }
# eco : { fan_speed: 1, target_temperature: 16, gate_position: auto, mode: heat }
# sleep : { fan_speed: 1, target_temperature: 18, gate_position: auto, mode: heat }
# activity: { fan_speed: 3, target_temperature: 18, gate_position: auto, mode: heat }
# Boost is a special preset that runs for a period defined by boost_time and then switches back to the previous preset.
# Available mode:
# * off - define but disable preset
# * heat - enable heater
# * fan_only - fan only
# * heat_cool - do not change, use current
# Available gate_position (this option is optional):
# * auto - use current gate position
# * outdoor - set gate position to outdoor air intake (3S and 4S only)
# * indoor - set gate position to indoor air intake (3S and 4S only)
# * mixed - set gate position to mixed air intake (3S only)
presets:
# enable "home" preset and override default settings
home: { fan_speed: 2, target_temperature: 16, gate_position: outdoor, mode: heat }
# enable "away" preset with default settings
away:
# enable "boost" preset with default settings
boost:
# enable "sleep" preset and override default settings
sleep: { fan_speed: 1, target_temperature: 18, gate_position: outdoor, mode: heat }
# Optional, configure boost time
boost_time:
name: "Boost Time"
# Optional, display remaining boost time
boost_time_left:
name: "Boost Time Left"
# Optional, How often query device state. Default: 60s.
update_interval: 60s
# Optional, reset filter button
reset_filter:
name: "Reset Filter"
# Optional, reset filter confirmation. When off then reset_filter will not work.
reset_filter_confirm:
name: "Reset Filter Confirm"
# Optional, Informs about get state problem from breezer.
state_warnout:
name: "State Warnout"
# Optional, Timeout when state_warnout will be informed. Default: 3s.
state_timeout: 3s
# Optional, Timeout to combine update operations. Default: 200ms.
batch_timeout: 200ms
# Optional, Reports Tion's errors (EC) and warnings (WS).
errors:
name: "Errors"
## Uncomment if you plan to use decoded errors/warnings
#text_sensor:
# - platform: template
# id: tion_error_codes
# name: "Error Codes"
## Uncomment if you plan to use reset errors/warnings functionality.
## This feature is experimental and may partially work or no work as expected.
#button:
# - platform: template
# name: "Reset Errors"
# on_press:
# - lambda: id(tion_climate).reset_errors();