iobroker.poolcontrol 1.2.12 → 1.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/README.md +6 -0
  2. package/admin/i18n/de/translations.json +0 -2
  3. package/admin/i18n/es/translations.json +0 -2
  4. package/admin/i18n/fr/translations.json +0 -2
  5. package/admin/i18n/it/translations.json +0 -2
  6. package/admin/i18n/nl/translations.json +0 -2
  7. package/admin/i18n/pl/translations.json +0 -2
  8. package/admin/i18n/pt/translations.json +0 -2
  9. package/admin/i18n/ru/translations.json +0 -2
  10. package/admin/i18n/uk/translations.json +0 -2
  11. package/admin/i18n/zh-cn/translations.json +0 -2
  12. package/io-package.json +16 -15
  13. package/lib/stateDefinitions/actuatorsStates.js +132 -19
  14. package/lib/stateDefinitions/aiChemistryHelpStates.js +28 -11
  15. package/lib/stateDefinitions/aiStates.js +201 -31
  16. package/lib/stateDefinitions/consumptionStates.js +140 -14
  17. package/lib/stateDefinitions/controlStates.js +120 -34
  18. package/lib/stateDefinitions/debugLogStates.js +32 -10
  19. package/lib/stateDefinitions/generalStates.js +28 -4
  20. package/lib/stateDefinitions/heatStates.js +132 -17
  21. package/lib/stateDefinitions/infoStates.js +20 -5
  22. package/lib/stateDefinitions/photovoltaicStates.js +78 -19
  23. package/lib/stateDefinitions/pumpSpeedStates.js +76 -11
  24. package/lib/stateDefinitions/pumpStates.js +100 -15
  25. package/lib/stateDefinitions/pumpStates2.js +36 -9
  26. package/lib/stateDefinitions/pumpStates3.js +92 -23
  27. package/lib/stateDefinitions/pumpStates4.js +120 -30
  28. package/lib/stateDefinitions/runtimeStates.js +74 -10
  29. package/lib/stateDefinitions/solarStates.js +68 -9
  30. package/lib/stateDefinitions/speechStates.js +133 -18
  31. package/lib/stateDefinitions/statisticsStates.js +167 -24
  32. package/lib/stateDefinitions/statusStates.js +92 -12
  33. package/lib/stateDefinitions/temperatureStates.js +117 -18
  34. package/lib/stateDefinitions/timeStates.js +43 -12
  35. package/package.json +1 -1
@@ -27,7 +27,10 @@ async function createPumpStates3(adapter) {
27
27
  await adapter.setObjectNotExistsAsync('pump.learning', {
28
28
  type: 'channel',
29
29
  common: {
30
- name: 'Pump learning values (analysis & normal range)',
30
+ name: {
31
+ en: 'Pump learning values (analysis & normal range)',
32
+ de: 'Pumpen-Lernwerte (Analyse & Normalbereich)',
33
+ },
31
34
  },
32
35
  native: {},
33
36
  });
@@ -38,8 +41,14 @@ async function createPumpStates3(adapter) {
38
41
  await adapter.setObjectNotExistsAsync('pump.learning.learned_avg_power_w', {
39
42
  type: 'state',
40
43
  common: {
41
- name: 'Learned average power consumption',
42
- desc: 'Average pump power consumption across all learning cycles (W)',
44
+ name: {
45
+ en: 'Learned average power consumption',
46
+ de: 'Gelernte durchschnittliche Leistungsaufnahme',
47
+ },
48
+ desc: {
49
+ en: 'Average pump power consumption across all learning cycles (W)',
50
+ de: 'Durchschnittliche Pumpenleistungsaufnahme ueber alle Lernzyklen hinweg (W)',
51
+ },
43
52
  type: 'number',
44
53
  role: 'value.power',
45
54
  unit: 'W',
@@ -60,8 +69,14 @@ async function createPumpStates3(adapter) {
60
69
  await adapter.setObjectNotExistsAsync('pump.learning.learned_avg_flow_lh', {
61
70
  type: 'state',
62
71
  common: {
63
- name: 'Learned average flow',
64
- desc: 'Average actual flow across all learning cycles (L/h)',
72
+ name: {
73
+ en: 'Learned average flow',
74
+ de: 'Gelernter durchschnittlicher Durchfluss',
75
+ },
76
+ desc: {
77
+ en: 'Average actual flow across all learning cycles (L/h)',
78
+ de: 'Durchschnittlicher realer Durchfluss ueber alle Lernzyklen hinweg (L/h)',
79
+ },
65
80
  type: 'number',
66
81
  role: 'value.flow',
67
82
  unit: 'l/h',
@@ -82,8 +97,14 @@ async function createPumpStates3(adapter) {
82
97
  await adapter.setObjectNotExistsAsync('pump.learning.normal_range_power_low', {
83
98
  type: 'state',
84
99
  common: {
85
- name: 'Power normal range (lower limit)',
86
- desc: 'Lower limit of the normal power range (W)',
100
+ name: {
101
+ en: 'Power normal range (lower limit)',
102
+ de: 'Normalbereich Leistung (untere Grenze)',
103
+ },
104
+ desc: {
105
+ en: 'Lower limit of the normal power range (W)',
106
+ de: 'Untere Grenze des normalen Leistungsbereichs (W)',
107
+ },
87
108
  type: 'number',
88
109
  role: 'value.min',
89
110
  unit: 'W',
@@ -101,8 +122,14 @@ async function createPumpStates3(adapter) {
101
122
  await adapter.setObjectNotExistsAsync('pump.learning.normal_range_power_high', {
102
123
  type: 'state',
103
124
  common: {
104
- name: 'Power normal range (upper limit)',
105
- desc: 'Upper limit of the normal power range (W)',
125
+ name: {
126
+ en: 'Power normal range (upper limit)',
127
+ de: 'Normalbereich Leistung (obere Grenze)',
128
+ },
129
+ desc: {
130
+ en: 'Upper limit of the normal power range (W)',
131
+ de: 'Obere Grenze des normalen Leistungsbereichs (W)',
132
+ },
106
133
  type: 'number',
107
134
  role: 'value.max',
108
135
  unit: 'W',
@@ -123,8 +150,14 @@ async function createPumpStates3(adapter) {
123
150
  await adapter.setObjectNotExistsAsync('pump.learning.normal_range_flow_low', {
124
151
  type: 'state',
125
152
  common: {
126
- name: 'Flow normal range (lower limit)',
127
- desc: 'Lower limit of the normal flow range (L/h)',
153
+ name: {
154
+ en: 'Flow normal range (lower limit)',
155
+ de: 'Normalbereich Durchfluss (untere Grenze)',
156
+ },
157
+ desc: {
158
+ en: 'Lower limit of the normal flow range (L/h)',
159
+ de: 'Untere Grenze des normalen Durchflussbereichs (L/h)',
160
+ },
128
161
  type: 'number',
129
162
  role: 'value.min',
130
163
  unit: 'l/h',
@@ -142,8 +175,14 @@ async function createPumpStates3(adapter) {
142
175
  await adapter.setObjectNotExistsAsync('pump.learning.normal_range_flow_high', {
143
176
  type: 'state',
144
177
  common: {
145
- name: 'Flow normal range (upper limit)',
146
- desc: 'Upper limit of the normal flow range (L/h)',
178
+ name: {
179
+ en: 'Flow normal range (upper limit)',
180
+ de: 'Normalbereich Durchfluss (obere Grenze)',
181
+ },
182
+ desc: {
183
+ en: 'Upper limit of the normal flow range (L/h)',
184
+ de: 'Obere Grenze des normalen Durchflussbereichs (L/h)',
185
+ },
147
186
  type: 'number',
148
187
  role: 'value.max',
149
188
  unit: 'l/h',
@@ -164,8 +203,14 @@ async function createPumpStates3(adapter) {
164
203
  await adapter.setObjectNotExistsAsync('pump.learning.deviation_power_percent', {
165
204
  type: 'state',
166
205
  common: {
167
- name: 'Power deviation (%)',
168
- desc: 'Current deviation of power consumption from the average value',
206
+ name: {
207
+ en: 'Power deviation (%)',
208
+ de: 'Leistungsabweichung (%)',
209
+ },
210
+ desc: {
211
+ en: 'Current deviation of power consumption from the average value',
212
+ de: 'Aktuelle Abweichung der Leistungsaufnahme vom Durchschnittswert',
213
+ },
169
214
  type: 'number',
170
215
  role: 'value.percent',
171
216
  unit: '%',
@@ -183,8 +228,14 @@ async function createPumpStates3(adapter) {
183
228
  await adapter.setObjectNotExistsAsync('pump.learning.deviation_flow_percent', {
184
229
  type: 'state',
185
230
  common: {
186
- name: 'Flow deviation (%)',
187
- desc: 'Current deviation of flow from the average value',
231
+ name: {
232
+ en: 'Flow deviation (%)',
233
+ de: 'Durchflussabweichung (%)',
234
+ },
235
+ desc: {
236
+ en: 'Current deviation of flow from the average value',
237
+ de: 'Aktuelle Abweichung des Durchflusses vom Durchschnittswert',
238
+ },
188
239
  type: 'number',
189
240
  role: 'value.percent',
190
241
  unit: '%',
@@ -205,8 +256,14 @@ async function createPumpStates3(adapter) {
205
256
  await adapter.setObjectNotExistsAsync('pump.learning.tolerance_percent', {
206
257
  type: 'state',
207
258
  common: {
208
- name: 'Tolerance for normal range detection (%)',
209
- desc: 'Deviation still considered normal before a warning is triggered',
259
+ name: {
260
+ en: 'Tolerance for normal range detection (%)',
261
+ de: 'Toleranz fuer Normalbereichserkennung (%)',
262
+ },
263
+ desc: {
264
+ en: 'Deviation still considered normal before a warning is triggered',
265
+ de: 'Abweichung, die noch als normal gilt, bevor eine Warnung ausgeloest wird',
266
+ },
210
267
  type: 'number',
211
268
  role: 'level',
212
269
  unit: '%',
@@ -227,8 +284,14 @@ async function createPumpStates3(adapter) {
227
284
  await adapter.setObjectNotExistsAsync('pump.learning.status_text', {
228
285
  type: 'state',
229
286
  common: {
230
- name: 'Status assessment',
231
- desc: 'Text-based assessment of the current pump behavior (e.g. "within normal range", "noticeably low")',
287
+ name: {
288
+ en: 'Status assessment',
289
+ de: 'Statusbewertung',
290
+ },
291
+ desc: {
292
+ en: 'Text-based assessment of the current pump behavior (e.g. "within normal range", "noticeably low")',
293
+ de: 'Textbasierte Bewertung des aktuellen Pumpenverhaltens (z. B. "im Normalbereich", "auffaellig niedrig")',
294
+ },
232
295
  type: 'string',
233
296
  role: 'text',
234
297
  read: true,
@@ -248,8 +311,14 @@ async function createPumpStates3(adapter) {
248
311
  await adapter.setObjectNotExistsAsync('pump.learning.learning_cycles_total', {
249
312
  type: 'state',
250
313
  common: {
251
- name: 'Total number of learning cycles',
252
- desc: 'Number of pump runs included in the learning calculation',
314
+ name: {
315
+ en: 'Total number of learning cycles',
316
+ de: 'Gesamtanzahl der Lernzyklen',
317
+ },
318
+ desc: {
319
+ en: 'Number of pump runs included in the learning calculation',
320
+ de: 'Anzahl der Pumpenlaeufe, die in die Lernberechnung einbezogen wurden',
321
+ },
253
322
  type: 'number',
254
323
  role: 'value',
255
324
  read: true,
@@ -30,7 +30,10 @@ async function createPumpStates4(adapter) {
30
30
  await adapter.setObjectNotExistsAsync('pump.pressure', {
31
31
  type: 'channel',
32
32
  common: {
33
- name: 'Pump pressure sensor (filter pressure)',
33
+ name: {
34
+ en: 'Pump pressure sensor (filter pressure)',
35
+ de: 'Pumpendrucksensor (Filterdruck)',
36
+ },
34
37
  },
35
38
  native: {},
36
39
  });
@@ -41,8 +44,14 @@ async function createPumpStates4(adapter) {
41
44
  await adapter.setObjectNotExistsAsync('pump.pressure.current_bar', {
42
45
  type: 'state',
43
46
  common: {
44
- name: 'Current pressure (bar)',
45
- desc: 'Measured current filter pressure in bar',
47
+ name: {
48
+ en: 'Current pressure (bar)',
49
+ de: 'Aktueller Druck (bar)',
50
+ },
51
+ desc: {
52
+ en: 'Measured current filter pressure in bar',
53
+ de: 'Gemessener aktueller Filterdruck in bar',
54
+ },
46
55
  type: 'number',
47
56
  role: 'value.pressure',
48
57
  unit: 'bar',
@@ -65,8 +74,14 @@ async function createPumpStates4(adapter) {
65
74
  await adapter.setObjectNotExistsAsync('pump.pressure.previous_bar', {
66
75
  type: 'state',
67
76
  common: {
68
- name: 'Previous pressure (bar)',
69
- desc: 'Last known filter pressure before the current measurement',
77
+ name: {
78
+ en: 'Previous pressure (bar)',
79
+ de: 'Vorheriger Druck (bar)',
80
+ },
81
+ desc: {
82
+ en: 'Last known filter pressure before the current measurement',
83
+ de: 'Zuletzt bekannter Filterdruck vor der aktuellen Messung',
84
+ },
70
85
  type: 'number',
71
86
  role: 'value.pressure',
72
87
  unit: 'bar',
@@ -91,8 +106,14 @@ async function createPumpStates4(adapter) {
91
106
  await adapter.setObjectNotExistsAsync('pump.pressure.normal_min_bar', {
92
107
  type: 'state',
93
108
  common: {
94
- name: 'Normal pressure MIN (bar)',
95
- desc: 'Lower limit of the normal pressure range. Values below are considered too low.',
109
+ name: {
110
+ en: 'Normal pressure MIN (bar)',
111
+ de: 'Normaldruck MIN (bar)',
112
+ },
113
+ desc: {
114
+ en: 'Lower limit of the normal pressure range. Values below are considered too low.',
115
+ de: 'Untere Grenze des normalen Druckbereichs. Werte darunter gelten als zu niedrig.',
116
+ },
96
117
  type: 'number',
97
118
  role: 'level',
98
119
  unit: 'bar',
@@ -115,8 +136,14 @@ async function createPumpStates4(adapter) {
115
136
  await adapter.setObjectNotExistsAsync('pump.pressure.normal_max_bar', {
116
137
  type: 'state',
117
138
  common: {
118
- name: 'Normal pressure MAX (bar)',
119
- desc: 'Upper limit of the normal pressure range. Values above are considered elevated.',
139
+ name: {
140
+ en: 'Normal pressure MAX (bar)',
141
+ de: 'Normaldruck MAX (bar)',
142
+ },
143
+ desc: {
144
+ en: 'Upper limit of the normal pressure range. Values above are considered elevated.',
145
+ de: 'Obere Grenze des normalen Druckbereichs. Werte darueber gelten als erhoeht.',
146
+ },
120
147
  type: 'number',
121
148
  role: 'level',
122
149
  unit: 'bar',
@@ -143,8 +170,14 @@ async function createPumpStates4(adapter) {
143
170
  await adapter.setObjectNotExistsAsync('pump.pressure.status_text', {
144
171
  type: 'state',
145
172
  common: {
146
- name: 'Status message',
147
- desc: 'Assessment of the pressure (e.g. normal / high / backwash required)',
173
+ name: {
174
+ en: 'Status message',
175
+ de: 'Statusmeldung',
176
+ },
177
+ desc: {
178
+ en: 'Assessment of the pressure (e.g. normal / high / backwash required)',
179
+ de: 'Bewertung des Drucks (z. B. normal / hoch / Rueckspuelung erforderlich)',
180
+ },
148
181
  type: 'string',
149
182
  role: 'text',
150
183
  read: true,
@@ -158,8 +191,14 @@ async function createPumpStates4(adapter) {
158
191
  await adapter.setObjectNotExistsAsync('pump.pressure.status_text_diagnostic', {
159
192
  type: 'state',
160
193
  common: {
161
- name: 'Diagnostics',
162
- desc: 'Detailed diagnostics based on trend and learning values',
194
+ name: {
195
+ en: 'Diagnostics',
196
+ de: 'Diagnose',
197
+ },
198
+ desc: {
199
+ en: 'Detailed diagnostics based on trend and learning values',
200
+ de: 'Detaillierte Diagnose basierend auf Trend- und Lernwerten',
201
+ },
163
202
  type: 'string',
164
203
  role: 'text',
165
204
  read: true,
@@ -173,8 +212,14 @@ async function createPumpStates4(adapter) {
173
212
  await adapter.setObjectNotExistsAsync('pump.pressure.last_update', {
174
213
  type: 'state',
175
214
  common: {
176
- name: 'Last update',
177
- desc: 'Timestamp of the last pressure update',
215
+ name: {
216
+ en: 'Last update',
217
+ de: 'Letzte Aktualisierung',
218
+ },
219
+ desc: {
220
+ en: 'Timestamp of the last pressure update',
221
+ de: 'Zeitstempel der letzten Druckaktualisierung',
222
+ },
178
223
  type: 'string',
179
224
  role: 'date',
180
225
  read: true,
@@ -190,7 +235,10 @@ async function createPumpStates4(adapter) {
190
235
  await adapter.setObjectNotExistsAsync('pump.pressure.learning', {
191
236
  type: 'channel',
192
237
  common: {
193
- name: 'Learning values (pump pressure behavior)',
238
+ name: {
239
+ en: 'Learning values (pump pressure behavior)',
240
+ de: 'Lernwerte (Pumpendruckverhalten)',
241
+ },
194
242
  },
195
243
  native: {},
196
244
  });
@@ -199,8 +247,14 @@ async function createPumpStates4(adapter) {
199
247
  await adapter.setObjectNotExistsAsync('pump.pressure.learning.learned_min_bar', {
200
248
  type: 'state',
201
249
  common: {
202
- name: 'Learned minimum (bar)',
203
- desc: 'Lowest pressure frequently occurring during stable operation',
250
+ name: {
251
+ en: 'Learned minimum (bar)',
252
+ de: 'Gelernter Mindestwert (bar)',
253
+ },
254
+ desc: {
255
+ en: 'Lowest pressure frequently occurring during stable operation',
256
+ de: 'Niedrigster Druck, der waehrend des stabilen Betriebs haeufig auftritt',
257
+ },
204
258
  type: 'number',
205
259
  unit: 'bar',
206
260
  role: 'value',
@@ -215,8 +269,14 @@ async function createPumpStates4(adapter) {
215
269
  await adapter.setObjectNotExistsAsync('pump.pressure.learning.learned_max_bar', {
216
270
  type: 'state',
217
271
  common: {
218
- name: 'Learned maximum (bar)',
219
- desc: 'Highest pressure frequently occurring during stable operation',
272
+ name: {
273
+ en: 'Learned maximum (bar)',
274
+ de: 'Gelernter Hoechstwert (bar)',
275
+ },
276
+ desc: {
277
+ en: 'Highest pressure frequently occurring during stable operation',
278
+ de: 'Hoechster Druck, der waehrend des stabilen Betriebs haeufig auftritt',
279
+ },
220
280
  type: 'number',
221
281
  unit: 'bar',
222
282
  role: 'value',
@@ -231,8 +291,14 @@ async function createPumpStates4(adapter) {
231
291
  await adapter.setObjectNotExistsAsync('pump.pressure.learning.avg_bar', {
232
292
  type: 'state',
233
293
  common: {
234
- name: 'Rolling average pressure (bar)',
235
- desc: 'Calculated average of the latest measurements',
294
+ name: {
295
+ en: 'Rolling average pressure (bar)',
296
+ de: 'Gleitender Durchschnittsdruck (bar)',
297
+ },
298
+ desc: {
299
+ en: 'Calculated average of the latest measurements',
300
+ de: 'Berechneter Durchschnitt der letzten Messungen',
301
+ },
236
302
  type: 'number',
237
303
  unit: 'bar',
238
304
  role: 'value',
@@ -247,8 +313,14 @@ async function createPumpStates4(adapter) {
247
313
  await adapter.setObjectNotExistsAsync('pump.pressure.learning.trend_rising', {
248
314
  type: 'state',
249
315
  common: {
250
- name: 'Trend rising (0–1)',
251
- desc: 'Indicates how strongly the pressure is rising',
316
+ name: {
317
+ en: 'Trend rising (0-1)',
318
+ de: 'Trend steigend (0-1)',
319
+ },
320
+ desc: {
321
+ en: 'Indicates how strongly the pressure is rising',
322
+ de: 'Zeigt an, wie stark der Druck ansteigt',
323
+ },
252
324
  type: 'number',
253
325
  role: 'indicator',
254
326
  read: true,
@@ -262,8 +334,14 @@ async function createPumpStates4(adapter) {
262
334
  await adapter.setObjectNotExistsAsync('pump.pressure.learning.trend_falling', {
263
335
  type: 'state',
264
336
  common: {
265
- name: 'Trend falling (0–1)',
266
- desc: 'Indicates how strongly the pressure is falling',
337
+ name: {
338
+ en: 'Trend falling (0-1)',
339
+ de: 'Trend fallend (0-1)',
340
+ },
341
+ desc: {
342
+ en: 'Indicates how strongly the pressure is falling',
343
+ de: 'Zeigt an, wie stark der Druck faellt',
344
+ },
267
345
  type: 'number',
268
346
  role: 'indicator',
269
347
  read: true,
@@ -277,8 +355,14 @@ async function createPumpStates4(adapter) {
277
355
  await adapter.setObjectNotExistsAsync('pump.pressure.learning.trend_stability', {
278
356
  type: 'state',
279
357
  common: {
280
- name: 'Trend stability (0–1)',
281
- desc: 'Indicates how stable the pressure is overall',
358
+ name: {
359
+ en: 'Trend stability (0-1)',
360
+ de: 'Trendstabilitaet (0-1)',
361
+ },
362
+ desc: {
363
+ en: 'Indicates how stable the pressure is overall',
364
+ de: 'Zeigt an, wie stabil der Druck insgesamt ist',
365
+ },
282
366
  type: 'number',
283
367
  role: 'indicator',
284
368
  read: true,
@@ -292,8 +376,14 @@ async function createPumpStates4(adapter) {
292
376
  await adapter.setObjectNotExistsAsync('pump.pressure.learning.reset', {
293
377
  type: 'state',
294
378
  common: {
295
- name: 'Reset learning system',
296
- desc: 'Resets all learning values (min/max/avg/trend) to the current pressure',
379
+ name: {
380
+ en: 'Reset learning system',
381
+ de: 'Lernsystem zuruecksetzen',
382
+ },
383
+ desc: {
384
+ en: 'Resets all learning values (min/max/avg/trend) to the current pressure',
385
+ de: 'Setzt alle Lernwerte (Min/Max/Durchschnitt/Trend) auf den aktuellen Druck zurueck',
386
+ },
297
387
  type: 'boolean',
298
388
  role: 'button',
299
389
  read: true,
@@ -20,7 +20,10 @@ async function createRuntimeStates(adapter) {
20
20
  await adapter.setObjectNotExistsAsync('runtime', {
21
21
  type: 'channel',
22
22
  common: {
23
- name: 'Pump runtime',
23
+ name: {
24
+ en: 'Pump runtime',
25
+ de: 'Pumpenlaufzeit',
26
+ },
24
27
  },
25
28
  native: {},
26
29
  });
@@ -29,7 +32,14 @@ async function createRuntimeStates(adapter) {
29
32
  await adapter.setObjectNotExistsAsync('runtime.total', {
30
33
  type: 'state',
31
34
  common: {
32
- name: 'Total runtime (formatted)',
35
+ name: {
36
+ en: 'Total runtime (formatted)',
37
+ de: 'Gesamtlaufzeit (formatiert)',
38
+ },
39
+ desc: {
40
+ en: 'Formatted total runtime of the pump',
41
+ de: 'Formatierte Gesamtlaufzeit der Pumpe',
42
+ },
33
43
  type: 'string',
34
44
  role: 'text',
35
45
  read: true,
@@ -47,7 +57,14 @@ async function createRuntimeStates(adapter) {
47
57
  await adapter.setObjectNotExistsAsync('runtime.today', {
48
58
  type: 'state',
49
59
  common: {
50
- name: 'Today runtime (formatted)',
60
+ name: {
61
+ en: 'Today runtime (formatted)',
62
+ de: 'Heutige Laufzeit (formatiert)',
63
+ },
64
+ desc: {
65
+ en: 'Formatted runtime of the pump for today',
66
+ de: 'Formatierte Laufzeit der Pumpe fuer heute',
67
+ },
51
68
  type: 'string',
52
69
  role: 'text',
53
70
  read: true,
@@ -66,7 +83,14 @@ async function createRuntimeStates(adapter) {
66
83
  await adapter.setObjectNotExistsAsync('runtime.start_count_today', {
67
84
  type: 'state',
68
85
  common: {
69
- name: 'Pump starts today',
86
+ name: {
87
+ en: 'Pump starts today',
88
+ de: 'Pumpenstarts heute',
89
+ },
90
+ desc: {
91
+ en: 'Number of pump starts counted today',
92
+ de: 'Anzahl der heute gezaehlten Pumpenstarts',
93
+ },
70
94
  type: 'number',
71
95
  role: 'value',
72
96
  read: true,
@@ -84,7 +108,14 @@ async function createRuntimeStates(adapter) {
84
108
  await adapter.setObjectNotExistsAsync('runtime.current_session', {
85
109
  type: 'state',
86
110
  common: {
87
- name: 'Current runtime (since switched on)',
111
+ name: {
112
+ en: 'Current runtime (since switched on)',
113
+ de: 'Aktuelle Laufzeit (seit Einschalten)',
114
+ },
115
+ desc: {
116
+ en: 'Current runtime since the pump was switched on',
117
+ de: 'Aktuelle Laufzeit seit dem Einschalten der Pumpe',
118
+ },
88
119
  type: 'string',
89
120
  role: 'text',
90
121
  read: true,
@@ -102,7 +133,14 @@ async function createRuntimeStates(adapter) {
102
133
  await adapter.setObjectNotExistsAsync('runtime.season_total', {
103
134
  type: 'state',
104
135
  common: {
105
- name: 'Total runtime current season (formatted)',
136
+ name: {
137
+ en: 'Total runtime current season (formatted)',
138
+ de: 'Gesamtlaufzeit aktuelle Saison (formatiert)',
139
+ },
140
+ desc: {
141
+ en: 'Total runtime of the pump for the current season',
142
+ de: 'Gesamtlaufzeit der Pumpe fuer die aktuelle Saison',
143
+ },
106
144
  type: 'string',
107
145
  role: 'text',
108
146
  read: true,
@@ -120,14 +158,26 @@ async function createRuntimeStates(adapter) {
120
158
  // --- Kanal circulation ---
121
159
  await adapter.setObjectNotExistsAsync('circulation', {
122
160
  type: 'channel',
123
- common: { name: 'Circulation' },
161
+ common: {
162
+ name: {
163
+ en: 'Circulation',
164
+ de: 'Umwaelzung',
165
+ },
166
+ },
124
167
  native: {},
125
168
  });
126
169
 
127
170
  await adapter.setObjectNotExistsAsync('circulation.daily_total', {
128
171
  type: 'state',
129
172
  common: {
130
- name: 'Daily circulation volume',
173
+ name: {
174
+ en: 'Daily circulation volume',
175
+ de: 'Taegliches Umwaelzvolumen',
176
+ },
177
+ desc: {
178
+ en: 'Circulation volume accumulated today',
179
+ de: 'Heutiges Gesamtumwaelzvolumen',
180
+ },
131
181
  type: 'number',
132
182
  role: 'value.volume',
133
183
  unit: 'l',
@@ -141,7 +191,14 @@ async function createRuntimeStates(adapter) {
141
191
  await adapter.setObjectNotExistsAsync('circulation.daily_required', {
142
192
  type: 'state',
143
193
  common: {
144
- name: 'Required daily circulation volume',
194
+ name: {
195
+ en: 'Required daily circulation volume',
196
+ de: 'Erforderliches taegliches Umwaelzvolumen',
197
+ },
198
+ desc: {
199
+ en: 'Required circulation volume for the current day',
200
+ de: 'Erforderliches Umwaelzvolumen fuer den aktuellen Tag',
201
+ },
145
202
  type: 'number',
146
203
  role: 'value.volume',
147
204
  unit: 'l',
@@ -159,7 +216,14 @@ async function createRuntimeStates(adapter) {
159
216
  await adapter.setObjectNotExistsAsync('circulation.daily_remaining', {
160
217
  type: 'state',
161
218
  common: {
162
- name: 'Remaining circulation volume today',
219
+ name: {
220
+ en: 'Remaining circulation volume today',
221
+ de: 'Verbleibendes Umwaelzvolumen heute',
222
+ },
223
+ desc: {
224
+ en: 'Remaining circulation volume still needed for today',
225
+ de: 'Verbleibendes Umwaelzvolumen, das heute noch benoetigt wird',
226
+ },
163
227
  type: 'number',
164
228
  role: 'value.volume',
165
229
  unit: 'l',