iobroker.poolcontrol 1.4.0 → 1.4.1
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 +7 -7
- package/io-package.json +14 -14
- package/lib/helpers/photovoltaicHelper.js +24 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -283,6 +283,13 @@ New features are added regularly – please refer to the changelog.
|
|
|
283
283
|
---
|
|
284
284
|
|
|
285
285
|
## Changelog
|
|
286
|
+
### 1.4.1 (2026-06-30)
|
|
287
|
+
|
|
288
|
+
- Fixed Auto-PV holding logic for already running pumps.
|
|
289
|
+
- When Auto-PV already controls the pump, the current pump power is now considered for the holding decision.
|
|
290
|
+
- This prevents a running pump from triggering its own Auto-PV afterrun/stop cycle after startup.
|
|
291
|
+
- The displayed PV surplus (`photovoltaic.power_surplus_w`) remains the real remaining surplus and is not artificially adjusted.
|
|
292
|
+
|
|
286
293
|
### 1.4.0 (2026-06-29)
|
|
287
294
|
|
|
288
295
|
- Added a reset button for pump learning to quickly clear learned values after a pump replacement or incorrect learning while keeping user settings intact.
|
|
@@ -314,13 +321,6 @@ New features are added regularly – please refer to the changelog.
|
|
|
314
321
|
- `solar.extended.collector_pool_reference_delta`
|
|
315
322
|
- Documented that runtime changes to `solar.extended.pool_temperature_source` are applied automatically, but may take up to approximately 60 seconds due to the Solar Extended cyclic check interval.
|
|
316
323
|
|
|
317
|
-
### 1.3.32 (2026-06-08)
|
|
318
|
-
|
|
319
|
-
- Added circulation plausibility diagnostics for daily circulation calculations.
|
|
320
|
-
- Added detection of implausible pump power values, flow rates and daily circulation volume jumps.
|
|
321
|
-
- Added detailed diagnostic states under `circulation.plausibility` for troubleshooting and analysis.
|
|
322
|
-
- Improved diagnostics for circulation calculations without changing existing pump, PV or solar control logic.
|
|
323
|
-
|
|
324
324
|
## Archived Release History
|
|
325
325
|
|
|
326
326
|
For older releases and archived version history see:
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "poolcontrol",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.1",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.4.1": {
|
|
7
|
+
"en": "Fixed Auto-PV holding logic so a running pump no longer reduces its own available PV power calculation. The displayed PV surplus remains unchanged.",
|
|
8
|
+
"de": "Korrigiert die Auto-PV-Haltebedingung, damit eine laufende Pumpe ihre eigene verfügbare PV-Leistung nicht mehr rechnerisch reduziert. Der angezeigte PV-Überschuss bleibt unverändert.",
|
|
9
|
+
"ru": "Исправлена логика удержания Auto-PV, поэтому работающий насос больше не уменьшает собственный расчет доступной фотоэлектрической мощности. Отображаемый излишек фотоэлектрической энергии остается неизменным.",
|
|
10
|
+
"pt": "Lógica de retenção Auto-PV corrigida para que uma bomba em funcionamento não reduza mais seu próprio cálculo de potência fotovoltaica disponível. O excedente fotovoltaico exibido permanece inalterado.",
|
|
11
|
+
"nl": "Vaste Auto-PV-houdlogica zodat een draaiende pomp niet langer zijn eigen beschikbare PV-vermogensberekening vermindert. Het weergegeven PV-overschot blijft ongewijzigd.",
|
|
12
|
+
"fr": "Correction de la logique de maintien Auto-PV afin qu'une pompe en marche ne réduise plus son propre calcul de puissance PV disponible. L'excédent PV affiché reste inchangé.",
|
|
13
|
+
"it": "Risolto il problema con la logica di mantenimento FV automatica in modo che una pompa in funzione non riducesse più il proprio calcolo della potenza FV disponibile. Il surplus FV visualizzato rimane invariato.",
|
|
14
|
+
"es": "Se corrigió la lógica de retención automática de PV para que una bomba en funcionamiento ya no reduzca su propio cálculo de potencia PV disponible. El excedente de PV mostrado permanece sin cambios.",
|
|
15
|
+
"pl": "Naprawiono logikę wstrzymywania Auto-PV, dzięki czemu działająca pompa nie zmniejsza już własnej dostępnej mocy obliczeniowej PV. Wyświetlana nadwyżka PV pozostaje niezmieniona.",
|
|
16
|
+
"uk": "Виправлена логіка утримування автоматичної PV, тому працюючий насос більше не зменшує власний розрахунок доступної PV потужності. Відображений надлишок PV залишається незмінним.",
|
|
17
|
+
"zh-cn": "修复了自动光伏保持逻辑,因此运行中的泵不再减少其自身的可用光伏功率计算。显示的PV剩余量保持不变。"
|
|
18
|
+
},
|
|
6
19
|
"1.4.0": {
|
|
7
20
|
"en": "Added pump learning reset button with multilingual status messages, made the daily circulation factor writable and persistent with instant recalculation, introduced temperature-dependent automatic circulation factor adjustment, and extended time control with optional interval operation including diagnostic status messages.",
|
|
8
21
|
"de": "Reset-Button für das Pumpen-Learning mit mehrsprachigen Statusmeldungen hinzugefügt, täglichen Umwälzfaktor beschreibbar und persistent gemacht inklusive sofortiger Neuberechnung, temperaturabhängige automatische Anpassung des Umwälzfaktors ergänzt sowie die Zeitsteuerung um einen optionalen Intervallbetrieb mit Diagnosestatus erweitert.",
|
|
@@ -54,19 +67,6 @@
|
|
|
54
67
|
"pl": "Dodano stany delta na żywo dla standardowego sterowania solarnego i Solar Extended. Udokumentowane zachowanie aktualizacji środowiska uruchomieniowego referencyjnej puli Solar Extended.",
|
|
55
68
|
"uk": "Додано живі дельта-стани для стандартного сонячного та розширеного керування Solar. Задокументована поведінка оновлення середовища виконання довідкового пулу Solar Extended.",
|
|
56
69
|
"zh-cn": "为标准太阳能和太阳能扩展控制添加了实时增量状态。记录了 Solar Extended 池参考运行时更新行为。"
|
|
57
|
-
},
|
|
58
|
-
"1.3.32": {
|
|
59
|
-
"en": "Added circulation plausibility diagnostics. New checks detect implausible pump power, flow rates, and daily circulation jumps. Added detailed diagnostic states under circulation.plausibility to simplify troubleshooting and analysis of circulation calculations.",
|
|
60
|
-
"de": "Plausibilitätsdiagnose für die Umwälzberechnung hinzugefügt. Neue Prüfungen erkennen unplausible Pumpenleistungen, Durchflusswerte und Sprünge der Tagesumwälzung. Detaillierte Diagnose-States unter circulation.plausibility erleichtern die Fehlersuche und Analyse der Umwälzberechnung.",
|
|
61
|
-
"ru": "Добавлена диагностика достоверности циркуляции. Новые проверки выявляют неправдоподобную мощность насоса, скорость потока и скачки суточной циркуляции. Добавлены подробные диагностические состояния в разделе «циркуляция.достоверность» для упрощения поиска и устранения неисправностей и анализа расчетов циркуляции.",
|
|
62
|
-
"pt": "Adicionados diagnósticos de plausibilidade de circulação. Novas verificações detectam potências de bomba, taxas de fluxo e saltos diários de circulação implausíveis. Adicionados estados de diagnóstico detalhados em circulação.plausibilidade para simplificar a solução de problemas e a análise de cálculos de circulação.",
|
|
63
|
-
"nl": "Diagnostiek van circulatieplausibiliteit toegevoegd. Nieuwe controles detecteren onwaarschijnlijk pompvermogen, debieten en dagelijkse circulatiesprongen. Gedetailleerde diagnostische statussen toegevoegd onder circulatie.plausibiliteit om probleemoplossing en analyse van circulatieberekeningen te vereenvoudigen.",
|
|
64
|
-
"fr": "Ajout de diagnostics de plausibilité de la circulation. De nouveaux contrôles détectent une puissance de pompe, des débits et des sauts de circulation quotidiens invraisemblables. Ajout d'états de diagnostic détaillés sous circulation.plausibilité pour simplifier le dépannage et l'analyse des calculs de circulation.",
|
|
65
|
-
"it": "Aggiunta diagnostica di plausibilità della circolazione. Nuovi controlli rilevano potenza della pompa, portate e salti di circolazione giornalieri non plausibili. Aggiunti stati diagnostici dettagliati in circolazione.plausibilità per semplificare la risoluzione dei problemi e l'analisi dei calcoli della circolazione.",
|
|
66
|
-
"es": "Se agregaron diagnósticos de plausibilidad de circulación. Las nuevas comprobaciones detectan potencias de bombeo, caudales y saltos diarios de circulación inverosímiles. Se agregaron estados de diagnóstico detallados bajo circulación. Plausibilidad para simplificar la resolución de problemas y el análisis de los cálculos de circulación.",
|
|
67
|
-
"pl": "Dodano diagnostykę wiarygodności obiegu. Nowe kontrole wykrywają nieprawdopodobną moc pompy, natężenie przepływu i codzienne skoki cyrkulacji. Dodano szczegółowe stany diagnostyczne w obszarze cyrkulacja.wiarygodność, aby uprościć rozwiązywanie problemów i analizę obliczeń cyrkulacji.",
|
|
68
|
-
"uk": "Додана діагностика вірогідності циркуляції. Нові перевірки виявляють неправдоподібну потужність насоса, швидкість потоку та щоденні стрибки циркуляції. Додано детальні діагностичні стани під циркуляцією. Правдоподібність для спрощення пошуку несправностей і аналізу розрахунків циркуляції.",
|
|
69
|
-
"zh-cn": "添加了循环合理性诊断。新的检查可以检测到难以置信的泵功率、流量和每日循环跳跃。在循环下添加了详细的诊断状态。合理性以简化循环计算的故障排除和分析。"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"titleLang": {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* - Schaltet die Pumpe nur im Modus 'auto_pv' über pump.pump_switch
|
|
9
9
|
* - Respektiert Saison, Nachlaufzeit (Entprellung) und optionales "Umwälzung erreicht"
|
|
10
10
|
* - Einschaltlogik: Überschuss >= (pump_max_watt + threshold_w)
|
|
11
|
+
* - Haltebedingung: Restüberschuss + aktuelle Pumpenleistung >= erforderliche Leistung
|
|
11
12
|
* -------------------------------------------------------------
|
|
12
13
|
*/
|
|
13
14
|
|
|
@@ -133,13 +134,32 @@ const photovoltaicHelper = {
|
|
|
133
134
|
// FIX: Nur für die Textausgabe auf ganze Watt runden
|
|
134
135
|
const surplusDisplay = Math.round(surplus);
|
|
135
136
|
|
|
136
|
-
// **NEU:** Einschaltlogik = Pumpenleistung + Sicherheitsaufschlag
|
|
137
137
|
const requiredPower = pumpMax + threshold;
|
|
138
|
-
|
|
138
|
+
|
|
139
|
+
// Wenn Auto-PV die laufende Pumpe tatsächlich hält, ist ihre Leistungsaufnahme
|
|
140
|
+
// bereits im Hausverbrauch enthalten und wird nur für die Halteentscheidung addiert.
|
|
141
|
+
const activeHelper = (await this.adapter.getStateAsync('pump.active_helper'))?.val || '';
|
|
142
|
+
const pumpSwitch = !!(await this.adapter.getStateAsync('pump.pump_switch'))?.val;
|
|
143
|
+
const currentPumpPower = Math.max(
|
|
144
|
+
0,
|
|
145
|
+
Number((await this.adapter.getStateAsync('pump.current_power'))?.val ?? 0) || 0,
|
|
146
|
+
);
|
|
147
|
+
const pvHoldsRunningPump =
|
|
148
|
+
pumpMode === 'auto_pv' &&
|
|
149
|
+
activeHelper === 'photovoltaicHelper' &&
|
|
150
|
+
pumpSwitch &&
|
|
151
|
+
this._desiredPump === true &&
|
|
152
|
+
!this.afterrunTimer;
|
|
153
|
+
const availablePowerForDecision = surplus + (pvHoldsRunningPump ? currentPumpPower : 0);
|
|
154
|
+
const surplusActive = availablePowerForDecision >= requiredPower && seasonActive;
|
|
139
155
|
|
|
140
156
|
const txt = surplusActive
|
|
141
|
-
?
|
|
142
|
-
|
|
157
|
+
? pvHoldsRunningPump
|
|
158
|
+
? `Überschuss aktiv (Halteprüfung: ${surplusDisplay}+${Math.round(currentPumpPower)} W ≥ ${pumpMax}+${threshold} W)`
|
|
159
|
+
: `Überschuss aktiv (${surplusDisplay} W ≥ ${pumpMax}+${threshold} W)`
|
|
160
|
+
: pvHoldsRunningPump
|
|
161
|
+
? `Kein ausreichender Überschuss (Halteprüfung: ${surplusDisplay}+${Math.round(currentPumpPower)} W < ${pumpMax}+${threshold} W)`
|
|
162
|
+
: `Kein Überschuss (${surplusDisplay} W < ${pumpMax}+${threshold} W)`;
|
|
143
163
|
|
|
144
164
|
// FIX: Bestehende Ergebnisstates zuerst lesen, damit last_update nur bei echter Ergebnisänderung gesetzt wird
|
|
145
165
|
const currentSurplus = Number((await this.adapter.getStateAsync('photovoltaic.power_surplus_w'))?.val ?? 0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.poolcontrol",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
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",
|