forked from dentra/esphome-tion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtion-3s-uart.yaml
173 lines (165 loc) · 6.66 KB
/
tion-3s-uart.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
substitutions:
# name of the node.
node_name: tion-3s
# 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"
# board
board: esp01_1m
# uart configuration
# make sure to use YOUR pins!
tx_pin: TX
rx_pin: RX
baud_rate: "115200"
# uart proxy configuration (optional)
# make sure to use YOUR pins!
proxy_tx_pin: GPIO15
proxy_rx_pin: GPIO13
proxy_baud_rate: "115200"
# 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 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_3s_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
## Comment to disable uart proxy support.
- packages/tion_3s_proxy.yaml
## Antifrize protection. Automatically turns on the heater at a temperature of 0°C and below.
- packages/tion_3s_enable_antifrize.yaml
## Turn the breezer off before enable heat mode.
- packages/tion_3s_enable_off_before_heat.yaml
## Common configuration settings. Do not comment or move or remove.
- packages/base.yaml
## Change to packages/esp32.yaml if you want to use ESP32.
- packages/esp8266.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_3s_uart
id: tion_uart_vport
uart_id: uart_tion
## Optional, Interval between sending commmands. Set to 0ms to send one command per loop.
# command_interval: 20ms
## 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_uart_vport
# Optional, Temperatire of air before heater, °C (celsius).
outdoor_temperature:
name: "Outdoor Temperature"
# Optional, Buzzer control switch.
buzzer:
name: "Buzzer"
# Optional, Air Intake control.
air_intake:
name: "Air Intake"
# 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: 30s
# 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"