iobroker.poolcontrol 1.3.21 → 1.3.22

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 CHANGED
@@ -188,6 +188,13 @@ New features are added regularly – please refer to the changelog.
188
188
  ---
189
189
 
190
190
  ## Changelog
191
+ ### 1.3.22 (2026-05-24)
192
+
193
+ - Improved ORP pH reference synchronization
194
+ - ORP helper now updates pH reference independently from ORP value processing
195
+ - Immediate update of ORP pH reference when pH enabled state or pH value changes
196
+ - Fixed missing pH reference updates when ORP evaluation was blocked, invalid or waiting for measurement conditions
197
+
191
198
  ### 1.3.21 (2026-05-17)
192
199
 
193
200
  NEW: Follow-pump devices
@@ -238,36 +245,6 @@ Features:
238
245
  - Added backward-compatible handling for previously stored German date strings.
239
246
  - Kept history JSON output unchanged with readable date strings for users and VIS displays.
240
247
 
241
- ### 1.3.17 (2026-05-11)
242
-
243
- - Fixed release/upload issue from v1.3.16.
244
- - Fixed circulation calculation in time mode when live flow values were not recalculated after helper-driven pump starts.
245
- - Improved speech system stability.
246
- - Stabilized runtime persistence.
247
- - Reduced repeated solar notifications.
248
- - Added internal stability improvements.
249
-
250
- - Added new ORP/Redox chemistry preparation:
251
- - new `chemistryOrpStates.js`
252
- - new `chemistryOrpHelper.js`
253
- - integrated ORP handling into `main.js`
254
- - supports disabled/manual/state input modes
255
- - ORP value handling in mV
256
- - pH reference from `chemistry.ph.enabled` and `chemistry.ph.input.current_value`
257
- - measurement location, pump and stabilization logic aligned with pH/TDS
258
- - ORP evaluation without automatic dosing or chlorine control
259
- - ORP 24h/7d/30d trend support
260
- - ORP history support
261
- - ORP text/HTML/JSON outputs
262
-
263
- - Added ORP i18n texts.
264
- - Aligned pH structure with TDS/ORP:
265
- - added `chemistry.ph.history.*`
266
- - added `chemistry.ph.trend.*`
267
- - added `chemistry.ph.outputs.*`
268
- - extended pH helper with history, trend and summary logic
269
- - existing pH input, evaluation and mix-run logic remain backward compatible
270
-
271
248
  ## Support
272
249
  - [ioBroker Forum](https://forum.iobroker.net/)
273
250
  - [GitHub Issues](https://github.com/DasBo1975/ioBroker.poolcontrol/issues)
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "poolcontrol",
4
- "version": "1.3.21",
4
+ "version": "1.3.22",
5
5
  "news": {
6
+ "1.3.22": {
7
+ "en": "Improved ORP pH reference synchronization. The ORP helper now updates the pH reference independently from ORP value processing and immediately reflects pH state changes.",
8
+ "de": "ORP-pH-Referenz verbessert. Der ORP-Helper aktualisiert die pH-Referenz jetzt unabhängig von der ORP-Wertverarbeitung und übernimmt pH-Änderungen sofort.",
9
+ "ru": "Улучшена синхронизация эталонного значения pH ОВП. Помощник по ОВП теперь обновляет эталонное значение pH независимо от обработки значений ОВП и немедленно отражает изменения состояния pH.",
10
+ "pt": "Sincronização de referência de pH ORP aprimorada. O auxiliar ORP agora atualiza a referência de pH independentemente do processamento do valor ORP e reflete imediatamente as alterações do estado de pH.",
11
+ "nl": "Verbeterde ORP pH-referentiesynchronisatie. De ORP-helper werkt nu de pH-referentie onafhankelijk van de ORP-waardeverwerking bij en weerspiegelt onmiddellijk veranderingen in de pH-toestand.",
12
+ "fr": "Synchronisation améliorée de la référence ORP pH. L'assistant ORP met désormais à jour la référence pH indépendamment du traitement de la valeur ORP et reflète immédiatement les changements d'état du pH.",
13
+ "it": "Sincronizzazione del riferimento pH ORP migliorata. L'assistente ORP ora aggiorna il riferimento del pH indipendentemente dall'elaborazione del valore ORP e riflette immediatamente i cambiamenti dello stato del pH.",
14
+ "es": "Sincronización de referencia de pH ORP mejorada. El asistente de ORP ahora actualiza la referencia de pH independientemente del procesamiento del valor de ORP y refleja inmediatamente los cambios en el estado del pH.",
15
+ "pl": "Ulepszona synchronizacja odniesienia pH ORP. Pomocnik ORP aktualizuje teraz wartość odniesienia pH niezależnie od przetwarzania wartości ORP i natychmiast odzwierciedla zmiany stanu pH.",
16
+ "uk": "Покращена синхронізація еталонного pH ОВП. Помічник ОВП тепер оновлює еталонний рН незалежно від обробки значення ОВП і негайно відображає зміни стану рН.",
17
+ "zh-cn": "改进了 ORP pH 参考同步。 ORP 助手现在独立于 ORP 值处理更新 pH 参考值,并立即反映 pH 状态变化。"
18
+ },
6
19
  "1.3.21": {
7
20
  "en": "Added new follow-pump devices. Up to three external devices can now automatically follow the main pump operation. Added validation for target states including existence, boolean type and writable checks. Added protection against internal follow-pump loops.",
8
21
  "de": "Neue Geräte mit Pumpenlauf hinzugefügt. Bis zu drei externe Geräte können jetzt automatisch dem Lauf der Hauptpumpe folgen. Zusätzlich wurden Prüfungen für Ziel-Datenpunkte (Existenz, Boolean-Typ und Schreibbarkeit) ergänzt. Schutz gegen interne Follow-Pump-Schleifen hinzugefügt.",
@@ -54,19 +67,6 @@
54
67
  "pl": "Naprawiono nieprawidłowe wyświetlanie daty dla stanów czasowych pH, ​​ORP i TDS poprzez przechowywanie stanów wartość.czas jako numeryczne znaczniki czasu.",
55
68
  "uk": "Виправлено неправильне відображення дати для часових станів pH, ORP і TDS шляхом збереження станів value.time як числових позначок часу.",
56
69
  "zh-cn": "通过将 value.time 状态存储为数字时间戳,修复了 pH、ORP 和 TDS 时间状态的不正确日期显示。"
57
- },
58
- "1.3.17": {
59
- "en": "Fixed release packaging issue from v1.3.16. Improved speech system stability, stabilized runtime persistence, reduced repeated solar notifications, fixed circulation calculation in time mode and prepared new ORP/Redox chemistry analysis area.",
60
- "de": "Release-/Uploadproblem aus v1.3.16 behoben. Sprachsystem verbessert, Runtime-Persistenz stabilisiert, wiederholte Solarbenachrichtigungen reduziert, Umwälzberechnung im Zeitmodus korrigiert und neuer ORP-/Redox-Chemiebereich vorbereitet.",
61
- "ru": "Исправлена ​​проблема с упаковкой выпуска версии 1.3.16. Улучшена стабильность речевой системы, стабилизировано постоянство времени выполнения, уменьшено количество повторных уведомлений о солнечной радиации, исправлен расчет циркуляции во временном режиме и подготовлена ​​новая область химического анализа ОВП/окислительно-восстановительного потенциала.",
62
- "pt": "Problema de empacotamento de lançamento corrigido da v1.3.16. Melhor estabilidade do sistema de fala, persistência de tempo de execução estabilizada, redução de notificações solares repetidas, cálculo de circulação fixo no modo de tempo e nova área de análise química ORP/Redox preparada.",
63
- "nl": "Probleem met releaseverpakking vanaf v1.3.16 opgelost. Verbeterde stabiliteit van het spraaksysteem, gestabiliseerde runtime-persistentie, minder herhaalde zonnemeldingen, vaste circulatieberekening in tijdmodus en voorbereid voor een nieuw ORP/Redox-chemieanalysegebied.",
64
- "fr": "Correction d'un problème d'emballage de version à partir de la v1.3.16. Amélioration de la stabilité du système vocal, persistance d'exécution stabilisée, réduction des notifications solaires répétées, calcul de la circulation fixe en mode temps et préparation d'une nouvelle zone d'analyse chimique ORP/Redox.",
65
- "it": "Risolto il problema relativo al pacchetto di rilascio dalla v1.3.16. Stabilità del sistema vocale migliorata, persistenza del tempo di esecuzione stabilizzata, notifiche solari ripetute ridotte, calcolo della circolazione fissa in modalità temporale e nuova area di analisi chimica ORP/Redox preparata.",
66
- "es": "Se solucionó el problema del paquete de lanzamiento desde v1.3.16. Se mejoró la estabilidad del sistema de voz, se estabilizó la persistencia del tiempo de ejecución, se redujeron las notificaciones solares repetidas, se arregló el cálculo de la circulación en el modo de tiempo y se preparó una nueva área de análisis de química ORP/Redox.",
67
- "pl": "Naprawiono problem z pakowaniem wersji od wersji 1.3.16. Poprawiona stabilność systemu mowy, ustabilizowana trwałość czasu działania, zmniejszona liczba powtarzających się powiadomień słonecznych, stałe obliczanie cyrkulacji w trybie czasowym i przygotowany nowy obszar analizy chemicznej ORP/Redox.",
68
- "uk": "Виправлена ​​проблема упаковки випуску з версії 1.3.16. Покращена стабільність мовної системи, стабілізована стійкість під час виконання, зменшено кількість повторюваних сонячних сповіщень, виправлено обчислення циркуляції в часовому режимі та підготовлено нову область аналізу ORP/Redox.",
69
- "zh-cn": "修复了 v1.3.16 版本的打包问题。提高了语音系统的稳定性,稳定了运行时间的持久性,减少了重复的太阳通知,修复了时间模式下的循环计算,并准备了新的ORP/氧化还原化学分析区域。"
70
70
  }
71
71
  },
72
72
  "titleLang": {
@@ -16,6 +16,7 @@ const chemistryOrpHelper = {
16
16
 
17
17
  void this._subscribeStates();
18
18
  void this._loadSourceState();
19
+ void this._updatePhReference();
19
20
  this._scheduleEvaluation('init', 500);
20
21
 
21
22
  this.adapter.log.debug('[chemistryOrpHelper] Initialized');
@@ -86,6 +87,10 @@ const chemistryOrpHelper = {
86
87
  return;
87
88
  }
88
89
 
90
+ if (id.endsWith('chemistry.ph.enabled') || id.endsWith('chemistry.ph.input.current_value')) {
91
+ await this._updatePhReference();
92
+ }
93
+
89
94
  if (this._isRelevantOwnState(id)) {
90
95
  this._scheduleEvaluation(`state_change:${id}`, 500);
91
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.poolcontrol",
3
- "version": "1.3.21",
3
+ "version": "1.3.22",
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",