iobroker.poolcontrol 1.3.32 → 1.3.34
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.
- package/README.md +28 -14
- package/admin/i18n/uk.json +5 -5
- package/io-package.json +27 -27
- package/lib/helpers/chemistryOrpHelper.js +279 -17
- package/lib/helpers/chemistryPhHelper.js +279 -17
- package/lib/helpers/chemistryTdsHelper.js +279 -17
- package/lib/helpers/debugLogHelper.js +17 -2
- package/lib/helpers/runtimeHelper.js +22 -0
- package/lib/helpers/solarExtendedHelper.js +29 -0
- package/lib/helpers/solarHelper.js +20 -2
- package/lib/helpers/solarLogbookHelper.js +34 -2
- package/lib/i18n/de.json +2 -1
- package/lib/i18n/en.json +2 -1
- package/lib/i18n/es.json +2 -1
- package/lib/i18n/fr.json +2 -1
- package/lib/i18n/it.json +2 -1
- package/lib/i18n/nl.json +2 -1
- package/lib/i18n/pl.json +2 -1
- package/lib/i18n/pt.json +2 -1
- package/lib/i18n/ru.json +2 -1
- package/lib/i18n/uk.json +2 -1
- package/lib/i18n/zh-cn.json +2 -1
- package/lib/stateDefinitions/chemistryOrpStates.js +19 -2
- package/lib/stateDefinitions/chemistryPhStates.js +19 -2
- package/lib/stateDefinitions/chemistryTdsStates.js +19 -2
- package/lib/stateDefinitions/runtimeStates.js +13 -1
- package/lib/stateDefinitions/solarExtendedStates.js +22 -0
- package/lib/stateDefinitions/solarStates.js +23 -0
- package/package.json +2 -2
package/lib/i18n/pt.json
CHANGED
|
@@ -403,5 +403,6 @@
|
|
|
403
403
|
"circulation_plausibility_power_warning": "A potência da bomba é excessivamente elevada em relação à potência máxima configurada.",
|
|
404
404
|
"circulation_plausibility_flow_warning": "O caudal calculado é excessivamente elevado em relação ao caudal nominal configurado.",
|
|
405
405
|
"circulation_plausibility_daily_total_jump_warning": "O volume diário de circulação aumentou mais rapidamente do que seria fisicamente plausível.",
|
|
406
|
-
"circulation_plausibility_multiple_warnings": "Existem vários avisos de plausibilidade da circulação ativos."
|
|
406
|
+
"circulation_plausibility_multiple_warnings": "Existem vários avisos de plausibilidade da circulação ativos.",
|
|
407
|
+
"circulation_plausibility_disabled": "A verificação de plausibilidade da circulação está desativada."
|
|
407
408
|
}
|
package/lib/i18n/ru.json
CHANGED
|
@@ -403,5 +403,6 @@
|
|
|
403
403
|
"circulation_plausibility_power_warning": "Мощность насоса слишком велика по сравнению с настроенной максимальной мощностью.",
|
|
404
404
|
"circulation_plausibility_flow_warning": "Расчётный поток слишком велик по сравнению с настроенным номинальным потоком.",
|
|
405
405
|
"circulation_plausibility_daily_total_jump_warning": "Суточный объём циркуляции увеличился быстрее, чем это физически возможно.",
|
|
406
|
-
"circulation_plausibility_multiple_warnings": "Активны несколько предупреждений проверки достоверности циркуляции."
|
|
406
|
+
"circulation_plausibility_multiple_warnings": "Активны несколько предупреждений проверки достоверности циркуляции.",
|
|
407
|
+
"circulation_plausibility_disabled": "Проверка достоверности циркуляции отключена."
|
|
407
408
|
}
|
package/lib/i18n/uk.json
CHANGED
|
@@ -403,5 +403,6 @@
|
|
|
403
403
|
"circulation_plausibility_power_warning": "Потужність насоса надто висока відносно налаштованої максимальної потужності.",
|
|
404
404
|
"circulation_plausibility_flow_warning": "Розрахований потік надто високий відносно налаштованого номінального потоку.",
|
|
405
405
|
"circulation_plausibility_daily_total_jump_warning": "Добовий обсяг циркуляції збільшився швидше, ніж це фізично можливо.",
|
|
406
|
-
"circulation_plausibility_multiple_warnings": "Активні кілька попереджень перевірки правдоподібності циркуляції."
|
|
406
|
+
"circulation_plausibility_multiple_warnings": "Активні кілька попереджень перевірки правдоподібності циркуляції.",
|
|
407
|
+
"circulation_plausibility_disabled": "Перевірку правдоподібності циркуляції вимкнено."
|
|
407
408
|
}
|
package/lib/i18n/zh-cn.json
CHANGED
|
@@ -403,5 +403,6 @@
|
|
|
403
403
|
"circulation_plausibility_power_warning": "泵功率相对于配置的最大功率异常偏高。",
|
|
404
404
|
"circulation_plausibility_flow_warning": "计算出的流量相对于配置的额定流量异常偏高。",
|
|
405
405
|
"circulation_plausibility_daily_total_jump_warning": "每日循环量增长速度超过物理合理范围。",
|
|
406
|
-
"circulation_plausibility_multiple_warnings": "存在多个循环合理性警告。"
|
|
406
|
+
"circulation_plausibility_multiple_warnings": "存在多个循环合理性警告。",
|
|
407
|
+
"circulation_plausibility_disabled": "循环合理性检查已禁用。"
|
|
407
408
|
}
|
|
@@ -897,8 +897,25 @@ async function createChemistryOrpStates(adapter) {
|
|
|
897
897
|
de: 'ORP-Historienwerte',
|
|
898
898
|
},
|
|
899
899
|
desc: {
|
|
900
|
-
en: '
|
|
901
|
-
de: '
|
|
900
|
+
en: 'Bounded short-term JSON history of valid ORP samples: up to 7 days, 672 samples, and 64 KB.',
|
|
901
|
+
de: 'Begrenzte JSON-Kurzzeithistorie gültiger ORP-Messwerte: bis zu 7 Tage, 672 Samples und 64 KB.',
|
|
902
|
+
},
|
|
903
|
+
type: 'string',
|
|
904
|
+
role: 'json',
|
|
905
|
+
read: true,
|
|
906
|
+
write: false,
|
|
907
|
+
def: '[]',
|
|
908
|
+
persist: true,
|
|
909
|
+
});
|
|
910
|
+
|
|
911
|
+
await createState(adapter, 'chemistry.orp.history.daily_json', {
|
|
912
|
+
name: {
|
|
913
|
+
en: 'ORP daily reference history',
|
|
914
|
+
de: 'ORP-Tagesreferenzhistorie',
|
|
915
|
+
},
|
|
916
|
+
desc: {
|
|
917
|
+
en: 'Internal bounded local-calendar-day aggregates (min/max/avg/last/count) for 30-day trend calculations; last is used as reference.',
|
|
918
|
+
de: 'Interne begrenzte Aggregate lokaler Kalendertage (min/max/avg/last/count) für 30-Tage-Trendberechnungen; last dient als Referenz.',
|
|
902
919
|
},
|
|
903
920
|
type: 'string',
|
|
904
921
|
role: 'json',
|
|
@@ -665,8 +665,25 @@ async function createChemistryPhStates(adapter) {
|
|
|
665
665
|
de: 'Messwerte JSON',
|
|
666
666
|
},
|
|
667
667
|
desc: {
|
|
668
|
-
en: '
|
|
669
|
-
de: '
|
|
668
|
+
en: 'Bounded short-term JSON history of valid pH samples: up to 7 days, 672 samples, and 64 KB.',
|
|
669
|
+
de: 'Begrenzte JSON-Kurzzeithistorie gültiger pH-Messpunkte: bis zu 7 Tage, 672 Samples und 64 KB.',
|
|
670
|
+
},
|
|
671
|
+
type: 'string',
|
|
672
|
+
role: 'json',
|
|
673
|
+
read: true,
|
|
674
|
+
write: false,
|
|
675
|
+
def: '[]',
|
|
676
|
+
persist: true,
|
|
677
|
+
});
|
|
678
|
+
|
|
679
|
+
await createState(adapter, 'chemistry.ph.history.daily_json', {
|
|
680
|
+
name: {
|
|
681
|
+
en: 'pH daily reference history',
|
|
682
|
+
de: 'pH-Tagesreferenzhistorie',
|
|
683
|
+
},
|
|
684
|
+
desc: {
|
|
685
|
+
en: 'Internal bounded local-calendar-day aggregates (min/max/avg/last/count) for 30-day trend calculations; last is used as reference.',
|
|
686
|
+
de: 'Interne begrenzte Aggregate lokaler Kalendertage (min/max/avg/last/count) für 30-Tage-Trendberechnungen; last dient als Referenz.',
|
|
670
687
|
},
|
|
671
688
|
type: 'string',
|
|
672
689
|
role: 'json',
|
|
@@ -734,8 +734,25 @@ async function createChemistryTdsStates(adapter) {
|
|
|
734
734
|
de: 'Messwerte JSON',
|
|
735
735
|
},
|
|
736
736
|
desc: {
|
|
737
|
-
en: '
|
|
738
|
-
de: '
|
|
737
|
+
en: 'Bounded short-term JSON history of valid TDS samples: up to 7 days, 672 samples, and 64 KB.',
|
|
738
|
+
de: 'Begrenzte JSON-Kurzzeithistorie gültiger TDS-Messpunkte: bis zu 7 Tage, 672 Samples und 64 KB.',
|
|
739
|
+
},
|
|
740
|
+
type: 'string',
|
|
741
|
+
role: 'json',
|
|
742
|
+
read: true,
|
|
743
|
+
write: false,
|
|
744
|
+
def: '[]',
|
|
745
|
+
persist: true,
|
|
746
|
+
});
|
|
747
|
+
|
|
748
|
+
await createState(adapter, 'chemistry.tds.history.daily_json', {
|
|
749
|
+
name: {
|
|
750
|
+
en: 'TDS daily reference history',
|
|
751
|
+
de: 'TDS-Tagesreferenzhistorie',
|
|
752
|
+
},
|
|
753
|
+
desc: {
|
|
754
|
+
en: 'Internal bounded local-calendar-day aggregates (min/max/avg/last/count) for 30-day trend calculations; last is used as reference.',
|
|
755
|
+
de: 'Interne begrenzte Aggregate lokaler Kalendertage (min/max/avg/last/count) für 30-Tage-Trendberechnungen; last dient als Referenz.',
|
|
739
756
|
},
|
|
740
757
|
type: 'string',
|
|
741
758
|
role: 'json',
|
|
@@ -357,6 +357,18 @@ async function createRuntimeStates(adapter) {
|
|
|
357
357
|
});
|
|
358
358
|
|
|
359
359
|
const plausibilityStates = [
|
|
360
|
+
{
|
|
361
|
+
id: '000_enabled',
|
|
362
|
+
type: 'boolean',
|
|
363
|
+
role: 'switch',
|
|
364
|
+
write: true,
|
|
365
|
+
def: true,
|
|
366
|
+
name: { en: 'Enable plausibility check', de: 'Plausibilitätsprüfung aktivieren' },
|
|
367
|
+
desc: {
|
|
368
|
+
en: 'Enables or disables the circulation plausibility check.',
|
|
369
|
+
de: 'Aktiviert oder deaktiviert die Plausibilitätsprüfung der Umwälzberechnung.',
|
|
370
|
+
},
|
|
371
|
+
},
|
|
360
372
|
{
|
|
361
373
|
id: '00_status',
|
|
362
374
|
type: 'string',
|
|
@@ -623,7 +635,7 @@ async function createRuntimeStates(adapter) {
|
|
|
623
635
|
type: state.type,
|
|
624
636
|
role: state.role,
|
|
625
637
|
read: true,
|
|
626
|
-
write:
|
|
638
|
+
write: state.write === true,
|
|
627
639
|
persist: true,
|
|
628
640
|
def: state.def,
|
|
629
641
|
...(state.unit ? { unit: state.unit } : {}),
|
|
@@ -305,6 +305,28 @@ async function createSolarExtendedStates(adapter) {
|
|
|
305
305
|
});
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
+
await adapter.setObjectNotExistsAsync(`${channelId}.collector_pool_reference_delta`, {
|
|
309
|
+
type: 'state',
|
|
310
|
+
common: {
|
|
311
|
+
name: {
|
|
312
|
+
en: 'Collector-pool reference delta',
|
|
313
|
+
de: 'Delta Kollektor - Poolreferenz',
|
|
314
|
+
},
|
|
315
|
+
desc: {
|
|
316
|
+
en: 'Current temperature difference between collector and the selected pool reference temperature for extended solar control',
|
|
317
|
+
de: 'Aktuelle Temperaturdifferenz zwischen Kollektor und der gewählten Pool-Referenztemperatur der erweiterten Solarsteuerung',
|
|
318
|
+
},
|
|
319
|
+
type: 'number',
|
|
320
|
+
role: 'value.temperature',
|
|
321
|
+
unit: '°C',
|
|
322
|
+
read: true,
|
|
323
|
+
write: false,
|
|
324
|
+
def: null,
|
|
325
|
+
persist: false,
|
|
326
|
+
},
|
|
327
|
+
native: {},
|
|
328
|
+
});
|
|
329
|
+
|
|
308
330
|
await adapter.setObjectNotExistsAsync(`${channelId}.active`, {
|
|
309
331
|
type: 'state',
|
|
310
332
|
common: {
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* - solar.hysteresis_active
|
|
7
7
|
* - solar.temp_on (Einschaltgrenze)
|
|
8
8
|
* - solar.temp_off (Ausschaltgrenze)
|
|
9
|
+
* - solar.collector_surface_delta
|
|
9
10
|
* - solar.collector_warning (Warnung aktiv)
|
|
10
11
|
* - solar.warn_active (Warnlogik aktivieren/deaktivieren)
|
|
11
12
|
* - solar.warn_temp (Warnschwelle °C)
|
|
@@ -196,6 +197,28 @@ async function createSolarStates(adapter) {
|
|
|
196
197
|
ack: true,
|
|
197
198
|
});
|
|
198
199
|
|
|
200
|
+
await adapter.setObjectNotExistsAsync('solar.collector_surface_delta', {
|
|
201
|
+
type: 'state',
|
|
202
|
+
common: {
|
|
203
|
+
name: {
|
|
204
|
+
en: 'Collector-surface delta',
|
|
205
|
+
de: 'Delta Kollektor - Oberfläche',
|
|
206
|
+
},
|
|
207
|
+
desc: {
|
|
208
|
+
en: 'Current temperature difference between collector and pool surface temperature',
|
|
209
|
+
de: 'Aktuelle Temperaturdifferenz zwischen Kollektor und Pooloberfläche',
|
|
210
|
+
},
|
|
211
|
+
type: 'number',
|
|
212
|
+
role: 'value.temperature',
|
|
213
|
+
unit: '°C',
|
|
214
|
+
read: true,
|
|
215
|
+
write: false,
|
|
216
|
+
def: null,
|
|
217
|
+
persist: false,
|
|
218
|
+
},
|
|
219
|
+
native: {},
|
|
220
|
+
});
|
|
221
|
+
|
|
199
222
|
// Warnung Kollektortemperatur aktiv
|
|
200
223
|
await adapter.setObjectNotExistsAsync('solar.collector_warning', {
|
|
201
224
|
type: 'state',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.poolcontrol",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.34",
|
|
4
4
|
"description": "Steuerung & Automatisierung für den Pool (Pumpe, Heizung, Ventile, Sensoren).",
|
|
5
5
|
"author": "DasBo1975 <dasbo1975@outlook.de>",
|
|
6
6
|
"homepage": "https://github.com/DasBo1975/ioBroker.poolcontrol",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"node": ">= 22"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@iobroker/adapter-core": "^3.
|
|
24
|
+
"@iobroker/adapter-core": "^3.4.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@alcalzone/release-script": "^5.2.1",
|