-
Notifications
You must be signed in to change notification settings - Fork 8
/
airiana_confg.yml
176 lines (151 loc) · 4.39 KB
/
airiana_confg.yml
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
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
history:
exclude:
entity_globs:
- sensor.*
- binary_sensor.*
logger:
default: warning
logs:
custom_components.kia_uvo: debug
recorder:
# purge_keep_days: 25
# db_url: sqlite:///dev/shm/database
include:
entities:
- binary_sensor.shower_mode
- sensor.rh
- sensor.power_transfer
exclude:
entity_globs:
- sensor.*
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#HOMEKIT
homekit:
- filter:
#include_domains:
# - living_room
include_entity_globs:
- sensor.*
#include_entities:
#- demo.demo
#Rest commands to airiana
rest_command:
toggle_pressure:
url: "http://airiana.local:8000/command?7"
method: "get"
toggle_auto:
url: "http://airiana.local:8000/command?1"
method: "get"
force_vent:
url: "http://airiana.local:8000/command?8"
method: "get"
fire_start:
url: "http://airiana.local:8000/command?9"
method: "get"
vent_high:
url: "http://airiana.local:8000/command?99"
method: "get"
vent_norm:
url: "http://airiana.local:8000/command?98"
method: "get"
vent_low:
url: "http://airiana.local:8000/command?97"
method: "get"
toggle_exchanger:
url: "http://airiana.local:8000/command?0"
method: "get"
auto_off:
url: "http://airiana.local:8000/command?14"
method: "get"
# MQTT sensors from Airiana
mqtt:
binary_sensor:
- state_topic: "airiana"
name: "Shower mode"
value_template: "{{ value_json.shower }}"
payload_off: "false"
payload_on: "true"
- name: "Cooling mode"
state_topic: "airiana"
value_template: "{{ value_json.coolingMode }}"
payload_off: "false"
payload_on: "true"
- name: "Rotor Active"
state_topic: "airiana"
value_template: "{{ value_json.rotorActive }}"
payload_off: "no"
payload_on: "yes"
sensor:
- name: "Exhaust"
state_topic: "airiana"
device_class: "temperature"
value_template: "{{ value_json.exhaust | round(2)}}"
unit_of_measurement: " C"
- name: "Rotor speed"
state_topic: "airiana"
value_template: "{{ value_json.rotorSpeed }}"
unit_of_measurement: "%"
- name: "Inlet"
state_topic: "airiana"
device_class: "temperature"
unit_of_measurement: "°C"
value_template: "{{ value_json.inlet | round(2) }}"
- name: "Extract"
state_topic: "airiana"
device_class: "temperature"
unit_of_measurement: "°C"
value_template: "{{ value_json.extract | round(2) }}"
- name: "Supply"
device_class: "temperature"
state_topic: "airiana"
unit_of_measurement: "°C"
value_template: "{{ value_json.supply | round(2) }}"
- name: "ref RH%"
device_class: "humidity"
state_topic: "airiana"
unit_of_measurement: "%"
value_template: "{{ value_json.referenceHumidity | round(2) }}"
- name: "RH%"
unique_id: "rh"
device_class: "humidity"
state_topic: "airiana"
unit_of_measurement: "%"
value_template: "{{ value_json.measuredHumidity | round(2) }}"
- name: "Ambient Pressure"
device_class: "pressure"
state_topic: "airiana"
unit_of_measurement: "hPa"
value_template: "{{ value_json.pressure | round(0) }}"
- name: "Exchanger Efficiency"
state_topic: "airiana"
unit_of_measurement: "%"
value_template: "{{ value_json.efficiency | round(0) }}"
- name: "Filter remaining"
state_topic: "airiana"
unit_of_measurement: "%"
value_template: "{{ value_json.filterPercentRemaining | round(0) }}"
- name: "Filter time"
state_topic: "airiana"
unit_of_measurement: "days"
value_template: "{{ value_json.filterInstalledDays | round(0) }}"
- name: "Electric power"
state_topic: "airiana"
unit_of_measurement: "W"
unique_id: "airiana.elec-power"
device_class: power
value_template: "{{ value_json.electricPower | round(0) }}"
- name: "Power transfer"
state_topic: "airiana"
state_class: "measurement"
unit_of_measurement: "W"
unique_id: "airiana.energyXfer"
device_class: energy
value_template: "{{ value_json.energyXfer | round(0) }}"