iobroker.poolcontrol 1.3.9 → 1.3.11
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 +58 -10
- package/io-package.json +29 -15
- package/lib/helpers/chemistryPhHelper.js +703 -0
- package/lib/helpers/chemistryTdsHelper.js +830 -0
- package/lib/helpers/photovoltaicHelper.js +54 -18
- package/lib/helpers/photovoltaicInsightsHelper.js +306 -0
- package/lib/helpers/solarExtendedHelper.js +53 -6
- package/lib/helpers/solarHelper.js +39 -0
- package/lib/i18n/de.json +77 -1
- package/lib/i18n/en.json +78 -2
- package/lib/i18n/es.json +77 -2
- package/lib/i18n/fr.json +77 -2
- package/lib/i18n/it.json +77 -2
- package/lib/i18n/nl.json +77 -2
- package/lib/i18n/pl.json +77 -2
- package/lib/i18n/pt.json +77 -2
- package/lib/i18n/ru.json +77 -2
- package/lib/i18n/uk.json +77 -2
- package/lib/i18n/zh-cn.json +77 -2
- package/lib/stateDefinitions/chemistryPhStates.js +701 -0
- package/lib/stateDefinitions/chemistryTdsStates.js +889 -0
- package/lib/stateDefinitions/photovoltaicInsightsStates.js +444 -0
- package/main.js +45 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -188,6 +188,64 @@ New features are added regularly – please refer to the changelog.
|
|
|
188
188
|
---
|
|
189
189
|
|
|
190
190
|
## Changelog
|
|
191
|
+
### 1.3.11 (2026-05-02)
|
|
192
|
+
|
|
193
|
+
- (DasBo) New: pH evaluation module (`chemistry.ph`)
|
|
194
|
+
- supports manual input and external state sources
|
|
195
|
+
- includes validation, measurement location handling and plausibility checks
|
|
196
|
+
- evaluation logic with status and user recommendations (no automatic dosing)
|
|
197
|
+
- manual mixing run with proper pump ownership handling
|
|
198
|
+
- includes history tracking (last valid value, previous value, time differences)
|
|
199
|
+
- fully integrated with i18n translations
|
|
200
|
+
|
|
201
|
+
- (DasBo) New: TDS evaluation module (`chemistry.tds`)
|
|
202
|
+
- supports manual input and external state sources
|
|
203
|
+
- includes validation, measurement location and flow-dependent evaluation
|
|
204
|
+
- reference value tracking (initial water quality baseline)
|
|
205
|
+
- long-term trend analysis (24h, 7d, 30d)
|
|
206
|
+
- evaluation based on absolute value, trend and reference delta (no automatic control)
|
|
207
|
+
- stores measurement history (up to 30 days)
|
|
208
|
+
- summary outputs (text, JSON, HTML)
|
|
209
|
+
- fully integrated with i18n translations
|
|
210
|
+
|
|
211
|
+
- (DasBo) Fix: solar speech toggle (standard vs. extended)
|
|
212
|
+
- solarExtendedHelper no longer writes to `speech.solar_active` when `solar.control_mode = standard`
|
|
213
|
+
- prevents conflicting updates between `solarHelper` and `solarExtendedHelper`
|
|
214
|
+
- eliminates repeated "solar on/off" speech messages
|
|
215
|
+
- improves separation of solar control modes
|
|
216
|
+
- stabilizes speech output behavior
|
|
217
|
+
|
|
218
|
+
### 1.3.10 (2026-05-01)
|
|
219
|
+
|
|
220
|
+
New: Photovoltaic Insights
|
|
221
|
+
- Introduced a new analytics module `analytics.insights.photovoltaic`
|
|
222
|
+
- Tracks PV-based pump runtime, energy usage and estimated savings
|
|
223
|
+
- New helper: `photovoltaicInsightsHelper`
|
|
224
|
+
- New states: inputs, calculation, results, debug
|
|
225
|
+
- Includes summary outputs (text, JSON, HTML)
|
|
226
|
+
- Fully integrated with i18n translations
|
|
227
|
+
|
|
228
|
+
Improvement: Active Helper Handling
|
|
229
|
+
- Added consistent `pump.active_helper` ownership handling for:
|
|
230
|
+
- photovoltaicHelper
|
|
231
|
+
- solarHelper
|
|
232
|
+
- solarExtendedHelper
|
|
233
|
+
- Each helper now:
|
|
234
|
+
- sets its own identifier when controlling the pump
|
|
235
|
+
- releases it when stopping
|
|
236
|
+
- does not override other active helpers
|
|
237
|
+
- Ensures correct priority handling and prevents conflicts
|
|
238
|
+
|
|
239
|
+
Improvement: PV Runtime Evaluation
|
|
240
|
+
- Photovoltaic runtime is now only counted when:
|
|
241
|
+
- PV surplus is active
|
|
242
|
+
- AND photovoltaicHelper actually owns the pump
|
|
243
|
+
- Enables accurate runtime, energy and savings calculation
|
|
244
|
+
|
|
245
|
+
Fix: PV Circulation Logic
|
|
246
|
+
- Fixed issue where pump stopped despite `photovoltaic.ignore_on_circulation = false`
|
|
247
|
+
- Circulation check is now only applied when explicitly enabled
|
|
248
|
+
|
|
191
249
|
### 1.3.9 (2026-04-24)
|
|
192
250
|
|
|
193
251
|
- Fix: solarLogbookHelper no longer creates duplicate or unnecessary log entries (improved filtering & throttling logic)
|
|
@@ -214,16 +272,6 @@ frostHelper
|
|
|
214
272
|
- corrected frost speech state handling (no longer based on current pump state)
|
|
215
273
|
- switched timer to adapter.setInterval / adapter.clearInterval for better stability and ioBroker compliance
|
|
216
274
|
|
|
217
|
-
### 1.3.5 (2026-04-19)
|
|
218
|
-
|
|
219
|
-
- Fixed critical i18n issue in solarInsightsHelper and solarLogbookHelper that could lead to instability or crashes
|
|
220
|
-
- Switched translation handling to I18n.translate() for stable and consistent i18n behavior
|
|
221
|
-
|
|
222
|
-
### 1.3.4 (2026-04-19)
|
|
223
|
-
|
|
224
|
-
- Fixed critical i18n issue in solarInsightsHelper and solarLogbookHelper that could lead to instability or crashes
|
|
225
|
-
- Switched translation handling to I18n.translate() for stable and consistent i18n behavior
|
|
226
|
-
|
|
227
275
|
## Support
|
|
228
276
|
- [ioBroker Forum](https://forum.iobroker.net/)
|
|
229
277
|
- [GitHub Issues](https://github.com/DasBo1975/ioBroker.poolcontrol/issues)
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "poolcontrol",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.11",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.3.11": {
|
|
7
|
+
"en": "New: Added pH evaluation module (chemistry.ph) with manual and external input, validation, measurement location handling and recommendations. New: Added TDS evaluation module (chemistry.tds) with trend analysis (24h, 7d, 30d), reference tracking and summary outputs (text/JSON/HTML). Fix: Resolved solar speech toggle issue between standard and extended mode. solarExtendedHelper no longer overwrites speech.solar_active in standard mode.",
|
|
8
|
+
"de": "Neu: pH-Auswertungsmodul (chemistry.ph) mit manueller und externer Eingabe, Validierung, Messort-Berücksichtigung und Handlungsempfehlungen. Neu: TDS-Auswertungsmodul (chemistry.tds) mit Trendanalyse (24h, 7 Tage, 30 Tage), Referenzwert-Verfolgung und Zusammenfassungen (Text/JSON/HTML). Fix: Problem mit Solar-Sprachausgabe zwischen Standard- und Extended-Modus behoben. Der solarExtendedHelper überschreibt speech.solar_active im Standard-Modus nicht mehr.",
|
|
9
|
+
"ru": "Новое: добавлен модуль оценки pH (chemistry.ph) с ручным и внешним вводом, проверкой, обработкой места измерения и рекомендациями. Новое: добавлен модуль оценки TDS (chemistry.tds) с анализом тенденций (24 часа, 7 дней, 30 дней), отслеживанием ссылок и сводными результатами (текст/JSON/HTML). Исправлено: решена проблема переключения солнечной речи между стандартным и расширенным режимом. SolarExtendedHelper больше не перезаписывает voice.solar_active в стандартном режиме.",
|
|
10
|
+
"pt": "Novo: Adicionado módulo de avaliação de pH (chemistry.ph) com entrada manual e externa, validação, manuseio do local de medição e recomendações. Novo: Adicionado módulo de avaliação TDS (chemistry.tds) com análise de tendências (24h, 7d, 30d), rastreamento de referência e resultados resumidos (texto/JSON/HTML). Correção: Resolvido problema de alternância de fala solar entre o modo padrão e estendido. solarExtendedHelper não substitui mais Speech.solar_active no modo padrão.",
|
|
11
|
+
"nl": "Nieuw: pH-evaluatiemodule toegevoegd (chemistry.ph) met handmatige en externe invoer, validatie, afhandeling van meetlocaties en aanbevelingen. Nieuw: TDS-evaluatiemodule toegevoegd (chemistry.tds) met trendanalyse (24 uur, 7 dagen, 30 dagen), referentietracking en samenvattingsresultaten (tekst/JSON/HTML). Oplossing: het probleem met het wisselen van spraak op zonne-energie tussen de standaard- en de uitgebreide modus is opgelost. solarExtendedHelper overschrijft speech.solar_active niet langer in de standaardmodus.",
|
|
12
|
+
"fr": "Nouveau : ajout d'un module d'évaluation du pH (chemistry.ph) avec saisie manuelle et externe, validation, gestion des emplacements de mesure et recommandations. Nouveau : Ajout du module d'évaluation TDS (chemistry.tds) avec analyse des tendances (24h, 7j, 30j), suivi des références et sorties récapitulatives (texte/JSON/HTML). Correction : Résolution du problème de basculement de la parole solaire entre le mode standard et le mode étendu. solarExtendedHelper n’écrase plus Speech.solar_active en mode standard.",
|
|
13
|
+
"it": "Novità: aggiunto il modulo di valutazione del pH (chemistry.ph) con input manuale ed esterno, convalida, gestione del luogo di misurazione e raccomandazioni. Novità: aggiunto il modulo di valutazione TDS (chemistry.tds) con analisi dei trend (24 ore, 7 giorni, 30 giorni), tracciamento dei riferimenti e output di riepilogo (testo/JSON/HTML). Correzione: risolto il problema di commutazione del parlato solare tra la modalità standard e quella estesa. solarExtendedHelper non sovrascrive più Speech.solar_active in modalità standard.",
|
|
14
|
+
"es": "Nuevo: Módulo de evaluación de pH agregado (chemistry.ph) con entrada manual y externa, validación, manejo de la ubicación de medición y recomendaciones. Nuevo: Módulo de evaluación TDS agregado (chemistry.tds) con análisis de tendencias (24h, 7d, 30d), seguimiento de referencias y resultados resumidos (texto/JSON/HTML). Solución: se resolvió el problema de alternar la voz solar entre el modo estándar y extendido. solarExtendedHelper ya no sobrescribe Speech.solar_active en modo estándar.",
|
|
15
|
+
"pl": "Nowość: Dodano moduł oceny pH (chemistry.ph) z ręcznym i zewnętrznym wprowadzaniem danych, walidacją, obsługą miejsca pomiaru i zaleceniami. Nowość: Dodano moduł oceny TDS (chemistry.tds) z analizą trendów (24h, 7d, 30d), śledzeniem referencji i wynikami podsumowującymi (tekst/JSON/HTML). Poprawka: rozwiązano problem z przełączaniem mowy słonecznej między trybem standardowym i rozszerzonym. solarExtendedHelper nie zastępuje już mowy.solar_active w trybie standardowym.",
|
|
16
|
+
"uk": "Нове: додано модуль оцінки pH (chemistry.ph) із ручним і зовнішнім введенням, перевіркою, обробкою місця вимірювання та рекомендаціями. Нове: додано модуль оцінки TDS (chemistry.tds) з аналізом тенденцій (24 години, 7 днів, 30 днів), відстеженням посилань і підсумковими виходами (текст/JSON/HTML). Виправлення: вирішено проблему перемикання сонячної мови між стандартним і розширеним режимами. solarExtendedHelper більше не перезаписує speak.solar_active у стандартному режимі.",
|
|
17
|
+
"zh-cn": "新增内容:添加了 pH 评估模块 (chemistry.ph),具有手动和外部输入、验证、测量位置处理和建议。新增内容:添加了 TDS 评估模块 (chemistry.tds),具有趋势分析(24 小时、7 天、30 天)、参考跟踪和摘要输出(文本/JSON/HTML)。修复:解决了标准模式和扩展模式之间的太阳能语音切换问题。在标准模式下,solarExtendedHelper 不再覆盖pepe.solar_active。"
|
|
18
|
+
},
|
|
19
|
+
"1.3.10": {
|
|
20
|
+
"en": "Added photovoltaic insights (runtime, energy, savings) with new analytics states and helper. Improved active_helper ownership handling across photovoltaic, solar and extended solar helpers. Fixed PV circulation logic when ignore_on_circulation is disabled.",
|
|
21
|
+
"de": "Photovoltaik-Einblicke (Laufzeit, Energie, Einsparungen) mit neuen Analysezuständen und Hilfsfunktionen hinzugefügt. Verbesserte Handhabung des Active_Helper-Besitzes für Photovoltaik-, Solar- und erweiterte Solar-Helfer. Die PV-Zirkulationslogik wurde korrigiert, wenn „ignore_on_circulation“ deaktiviert ist.",
|
|
22
|
+
"ru": "Добавлены данные по фотоэлектрической энергии (время работы, энергия, экономия) с новыми аналитическими состояниями и помощником. Улучшено управление владением active_helper для фотоэлектрических, солнечных и расширенных солнечных помощников. Исправлена логика циркуляции PV, когда ignore_on_circulation отключен.",
|
|
23
|
+
"pt": "Adicionados insights fotovoltaicos (tempo de execução, energia, economia) com novos estados analíticos e auxiliares. Melhor gerenciamento de propriedade de active_helper em ajudantes fotovoltaicos, solares e solares estendidos. Lógica de circulação fotovoltaica corrigida quando ignore_on_circulation está desativado.",
|
|
24
|
+
"nl": "Fotovoltaïsche inzichten toegevoegd (runtime, energie, besparingen) met nieuwe analysestatussen en helper. Verbeterde afhandeling van active_helper-eigendom voor fotovoltaïsche, zonne-energie en uitgebreide zonne-helpers. Vaste PV-circulatielogica wanneer negeer_on_circulatie is uitgeschakeld.",
|
|
25
|
+
"fr": "Ajout d'informations photovoltaïques (durée de fonctionnement, énergie, économies) avec de nouveaux états d'analyse et une nouvelle aide. Amélioration de la gestion de la propriété active_helper pour les assistants photovoltaïques, solaires et solaires étendus. Correction de la logique de circulation PV lorsque ignore_on_circulation est désactivé.",
|
|
26
|
+
"it": "Aggiunti approfondimenti sul fotovoltaico (autonomia, energia, risparmio) con nuovi stati di analisi e supporto. Migliorata la gestione della proprietà di active_helper tra gli helper fotovoltaici, solari e solari estesi. Risolta la logica di circolazione FV quando ignore_on_circulation è disabilitato.",
|
|
27
|
+
"es": "Se agregaron conocimientos fotovoltaicos (tiempo de ejecución, energía, ahorros) con nuevos estados analíticos y ayuda. Se mejoró el manejo de la propiedad de active_helper en los asistentes fotovoltaicos, solares y solares extendidos. Se corrigió la lógica de circulación de PV cuando ignore_on_circulation estaba deshabilitado.",
|
|
28
|
+
"pl": "Dodano statystyki fotowoltaiczne (czas pracy, energia, oszczędności) z nowymi stanami analitycznymi i pomocą. Ulepszona obsługa własności active_helper w przypadku fotowoltaiki, energii słonecznej i rozszerzonych pomocników energii słonecznej. Naprawiono logikę cyrkulacji PV, gdy ignorowanie_cyrkulacji jest wyłączone.",
|
|
29
|
+
"uk": "Додано статистику фотоелектричної системи (час роботи, енергія, економія) з новими аналітичними станами та помічником. Покращено керування правами власності active_helper на фотоелектричні, сонячні та розширені сонячні помічники. Виправлена логіка циркуляції PV, коли ignore_on_circulation вимкнено.",
|
|
30
|
+
"zh-cn": "通过新的分析状态和帮助器添加了光伏见解(运行时间、能源、节省)。改进了跨光伏、太阳能和扩展太阳能助手的 active_helper 所有权处理。修复了禁用ignore_on_circulation时的PV循环逻辑。"
|
|
31
|
+
},
|
|
6
32
|
"1.3.9": {
|
|
7
33
|
"en": "Fix solar logbook duplication and invalid entries, improve log stability and weather text handling; fix solar insights runtime calculation and debug timestamp update.",
|
|
8
34
|
"de": "Behebung von doppelten und ungültigen Solar-Logbuch-Einträgen, Verbesserung der Log-Stabilität und Wettertext-Verarbeitung; Korrektur der Laufzeitberechnung im Solar-Insights-Bereich sowie Aktualisierung des Debug-Zeitstempels.",
|
|
@@ -41,19 +67,6 @@
|
|
|
41
67
|
"pl": "Poprawka dla FrostHelper: zapobiega nieprawidłowemu wyłączeniu pompy, gdy aktywne są inne pomoce (np. fotowoltaiczne). Ochrona przed zamarzaniem wyłącza teraz pompę tylko wtedy, gdy wcześniej sama ją uruchomiła. Ulepszona logika stanu mowy dla sygnalizacji mrozu. Zmieniono licznik czasu FrostHelper na adapter.setInterval, aby zapewnić lepszą stabilność i zgodność z ioBrokerem.",
|
|
42
68
|
"uk": "Виправлення для frostHelper: запобігає неправильному вимкненню насоса, коли інші помічники (наприклад, фотоелектричні) активні. Захист від замерзання тепер вимикає насос лише в тому випадку, якщо він раніше сам його активував. Покращена логіка стану мови для індикації морозу. Перемкнуто таймер frostHelper на adapter.setInterval для кращої стабільності та відповідності ioBroker.",
|
|
43
69
|
"zh-cn": "修复霜助手:防止当其他助手(例如光伏)处于活动状态时错误地关闭泵。现在,防冻保护只会在泵之前自行激活的情况下禁用泵。改进了霜冻指示的语音状态逻辑。将frostHelper计时器切换为adapter.setInterval以获得更好的稳定性和ioBroker合规性。"
|
|
44
|
-
},
|
|
45
|
-
"1.3.5": {
|
|
46
|
-
"en": "Fixed critical i18n issue in solarInsightsHelper and solarLogbookHelper that could lead to instability or crashes. Switched translation handling to I18n.translate() to ensure stable operation.",
|
|
47
|
-
"de": "Kritischer i18n-Fehler in solarInsightsHelper und solarLogbookHelper behoben, der zu Instabilität oder Abstürzen führen konnte. Übersetzungen wurden auf I18n.translate() umgestellt, um einen stabilen Betrieb sicherzustellen.",
|
|
48
|
-
"ru": "Исправлена критическая проблема i18n в SolarInsightsHelper и SolarLogbookHelper, которая могла привести к нестабильности или сбоям. Обработку перевода переключили на I18n.translate() для обеспечения стабильной работы.",
|
|
49
|
-
"pt": "Foi corrigido um problema crítico do i18n no solarInsightsHelper e no solarLogbookHelper que poderia causar instabilidade ou travamentos. Manipulação de tradução alterada para I18n.translate() para garantir uma operação estável.",
|
|
50
|
-
"nl": "Een kritiek i18n-probleem in solarInsightsHelper en solarLogbookHelper opgelost dat tot instabiliteit of crashes kon leiden. De verwerking van de vertalingen is gewijzigd naar I18n.translate() om een stabiele werking te garanderen.",
|
|
51
|
-
"fr": "Correction d'un problème i18n critique dans solarInsightsHelper et solarLogbookHelper qui pouvait entraîner une instabilité ou des plantages. Gestion de la traduction commutée vers I18n.translate() pour garantir un fonctionnement stable.",
|
|
52
|
-
"it": "Risolto un problema critico i18n in solarInsightsHelper e solarLogbookHelper che poteva portare a instabilità o arresti anomali. Modificata la gestione della traduzione su I18n.translate() per garantire un funzionamento stabile.",
|
|
53
|
-
"es": "Se solucionó un problema crítico de i18n en solarInsightsHelper y solarLogbookHelper que podía provocar inestabilidad o fallas. Se cambió el manejo de traducción a I18n.translate() para garantizar un funcionamiento estable.",
|
|
54
|
-
"pl": "Naprawiono krytyczny problem i18n w programach solarInsightsHelper i solarLogbookHelper, który mógł prowadzić do niestabilności lub awarii. Przełączono obsługę tłumaczeń na I18n.translate(), aby zapewnić stabilne działanie.",
|
|
55
|
-
"uk": "Виправлено критичну проблему i18n у solarInsightsHelper і solarLogbookHelper, яка могла призвести до нестабільності або збоїв. Перемкнуто обробку перекладу на I18n.translate(), щоб забезпечити стабільну роботу.",
|
|
56
|
-
"zh-cn": "修复了 SolarInsightsHelper 和 SolarLogbookHelper 中可能导致不稳定或崩溃的关键 i18n 问题。将翻译处理切换为 I18n.translate() 以确保稳定运行。"
|
|
57
70
|
}
|
|
58
71
|
},
|
|
59
72
|
"titleLang": {
|
|
@@ -120,7 +133,8 @@
|
|
|
120
133
|
{
|
|
121
134
|
"admin": ">=7.6.20"
|
|
122
135
|
}
|
|
123
|
-
]
|
|
136
|
+
],
|
|
137
|
+
"installedFrom": "file:///opt/iobroker/ioBroker.poolcontrol"
|
|
124
138
|
},
|
|
125
139
|
"native": {},
|
|
126
140
|
"objects": [],
|