forked from Yogui79/IntexPureSpa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfiguration.yaml
More file actions
192 lines (171 loc) · 5.38 KB
/
configuration.yaml
File metadata and controls
192 lines (171 loc) · 5.38 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
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
---------------------------- Only whirlpool config -------------------------
#Switch MQTT
switch:
- platform: mqtt
command_topic: IntexSpa/Cmd Power on off
state_topic: IntexSpa/Power on
payload_on: "1"
payload_off: "0"
name: "Intex_ON"
- platform: mqtt
command_topic: IntexSpa/Cmd water filter on off
state_topic: IntexSpa/filter on
payload_on: "1"
payload_off: "0"
name: "Intex_Filter"
- platform: mqtt
command_topic: IntexSpa/Cmd bubble on off
state_topic: IntexSpa/Bubble on
payload_on: "1"
payload_off: "0"
name: "Intex_Bubble"
- platform: mqtt
command_topic: IntexSpa/Cmd heater on off
state_topic: IntexSpa/heater on
payload_on: "1"
payload_off: "0"
name: "Intex_Heat"
- platform: mqtt
command_topic: IntexSpa/Cmd decrease
state_topic: IntexSpa/Cmd decrease
payload_on: "1"
payload_off: "0"
name: "Intex_decrease-"
- platform: mqtt
command_topic: IntexSpa/Cmd increase
state_topic: IntexSpa/Cmd increase
payload_on: "1"
payload_off: "0"
name: "Intex_Increase+"
- platform: mqtt
command_topic: IntexSpa/Cmd water jet on off
state_topic: IntexSpa/Water jet on
payload_on: "1"
payload_off: "0"
name: "Intex_Jets"
- platform: mqtt
command_topic: IntexSpa/Cmd sanitizer on off
state_topic: IntexSpa/Sanitizer on
payload_on: "1"
payload_off: "0"
name: "Intex_Sanitizer"
- platform: mqtt
command_topic: IntexSpa/Cmd Reset ESP
state_topic: IntexSpa/Cmd Reset ESP
payload_on: "reset"
payload_off: " "
name: "Reset ESP-script-switch"
- platform: mqtt
command_topic: IntexSpa/Cmd Farenheit Celsius
payload_on: "1"
payload_off: "0"
name: "Change Farenheit/Celsius"
- platform: mqtt
command_topic: IntexSpa/CMD HVAC Modeset
payload_on: "1"
payload_off: "0"
name: "Intex_HVAC_Tamplate_Switch"
- platform: mqtt
command_topic: IntexSpa/Cmd water filter time
state_topic: IntexSpa/filter setup time
name: "Intex_Filter_Timer"
- platform: mqtt
command_topic: IntexSpa/Cmd Sanitizer time
state_topic: IntexSpa/Sanitizer setup time
name: "Intex_Sanitizer_Timer"
#Climate
climate:
- platform: mqtt
name: "Intex_Actual_Temperature"
modes:
- "heat"
- "auto"
current_temperature_topic: "IntexSpa/Actual Temperature"
temperature_command_topic: "IntexSpa/Cmd Temperature Setpoint"
temperature_state_topic: "IntexSpa/Temperature Setpoint"
payload_on: "1"
payload_off: "0"
payload_available: "1"
payload_not_available: "0"
mode_command_topic: "IntexSpa/CMD HVAC Modeset"
mode_state_topic: "IntexSpa/CMD HVAC Modeset"
mode_state_template: >-
{% set values = { '1':'auto', '2':'heat', '3':'cool', '0':'off'} %}
{{ values[value] if value in values.keys() else 'off' }}
mode_command_template: >-
{% set values = { 'auto':'4', 'heat':'5', 'cool':'3', 'off':'0'} %}
{{ values[value] if value in values.keys() else '4' }}
max_temp: "40"
min_temp: "10"
#Sensor
sensor:
- platform: mqtt
name: "Status"
state_topic: "IntexSpa/Error Number"
unit_of_measurement: 'E'
- platform: mqtt
name: "Actual Temperature"
state_topic: "IntexSpa/Actual Temperature"
unit_of_measurement: '°c'
- platform: mqtt
name: "Set Temp."
state_topic: "IntexSpa/Temperature Setpoint"
unit_of_measurement: '°c'
- platform: mqtt
name: "IntexSpa_Communication-with-pump"
state_topic: "IntexSpa/Communication with pump"
- platform: mqtt
name: "Timer"
state_topic: "payload"
- platform: mqtt
name: "Intex/Heater Status"
state_topic: "IntexSpa/heater state"
- platform: mqtt
name: "IntexSpa/Filter Setup Timer"
state_topic: "IntexSpa/filter setup time"
- platform: mqtt
name: "IntexSpa/Desinfektion setup Timer"
state_topic: "IntexSpa/Sanitizer setup time"
#Template Sensor
- platform: template
sensors:
intexstatustemplate:
friendly_name: "Intex Status Template"
value_template: >-
{% if is_state('sensor.status','0') %}
OK
{% else %}
E
{{ states('sensor.status') }}
{% endif %}
- platform: template
sensors:
intexkommunikationmitpumpetemplate:
friendly_name: "Intex Communication with pump - Template"
value_template: >-
{% if is_state('sensor.intexSpa_communication-with-pump','1') %}
OK
{% else %}
Keine Verbindung
{% endif %}
- platform: template
sensors:
intextimerheizdauer:
friendly_name: "Timer"
value_template: >-
{% if is_state('sensor.timer','-1') %}
Aus
{% else %}
{{ states('sensor.timer') }}
{% endif %}
- platform: template
sensors:
settemptest:
friendly_name: "SetTempTest"
value_template: >-
{% if is_state('IntexSpa/Temperature Setpoint',' ') %}
Aus1
{% else %}
{{ states('IntexSpa/Temperature Setpoint') }}
{% endif %}
-------------------------