iobroker.pv-notifications 1.2.1 → 1.2.3
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 +8 -0
- package/admin/jsonConfig.json +10 -0
- package/io-package.json +15 -2
- package/main.js +11 -9
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -339,6 +339,14 @@ sadam6752@gmail.com
|
|
|
339
339
|
### **WORK IN PROGRESS**
|
|
340
340
|
-->
|
|
341
341
|
|
|
342
|
+
### 1.2.3 (2026-03-02)
|
|
343
|
+
|
|
344
|
+
* (FIX) Added size attributes (xs, xl) for minIntervalFull, minIntervalEmpty, intermediateSteps, quietModeStart, quietModeEnd fields (E5507 fix)
|
|
345
|
+
|
|
346
|
+
### 1.2.2 (2026-03-02)
|
|
347
|
+
|
|
348
|
+
* (FIX) Weekly statistics: Now uses weeklyProduction/weeklyConsumption/weeklyFeedIn/weeklyGridPower fields instead of daily values
|
|
349
|
+
|
|
342
350
|
### 1.2.1 (2026-03-01)
|
|
343
351
|
|
|
344
352
|
* (FIX) Added size attributes (xs, xl) for night mode and quiet mode fields in admin UI (E5507 fix)
|
package/admin/jsonConfig.json
CHANGED
|
@@ -303,44 +303,54 @@
|
|
|
303
303
|
"quietModeStart": {
|
|
304
304
|
"type": "text",
|
|
305
305
|
"label": "label_quietModeStart",
|
|
306
|
+
"xs": 12,
|
|
306
307
|
"sm": 3,
|
|
307
308
|
"md": 3,
|
|
308
309
|
"lg": 3,
|
|
310
|
+
"xl": 3,
|
|
309
311
|
"default": "12:00",
|
|
310
312
|
"tooltip": "tooltip_quietModeStart"
|
|
311
313
|
},
|
|
312
314
|
"quietModeEnd": {
|
|
313
315
|
"type": "text",
|
|
314
316
|
"label": "label_quietModeEnd",
|
|
317
|
+
"xs": 12,
|
|
315
318
|
"sm": 3,
|
|
316
319
|
"md": 3,
|
|
317
320
|
"lg": 3,
|
|
321
|
+
"xl": 3,
|
|
318
322
|
"default": "15:00",
|
|
319
323
|
"tooltip": "tooltip_quietModeEnd"
|
|
320
324
|
},
|
|
321
325
|
"intermediateSteps": {
|
|
322
326
|
"type": "text",
|
|
323
327
|
"label": "label_intermediateSteps",
|
|
328
|
+
"xs": 12,
|
|
324
329
|
"sm": 3,
|
|
325
330
|
"md": 3,
|
|
326
331
|
"lg": 3,
|
|
332
|
+
"xl": 3,
|
|
327
333
|
"tooltip": "tooltip_intermediateSteps"
|
|
328
334
|
},
|
|
329
335
|
"minIntervalFull": {
|
|
330
336
|
"type": "number",
|
|
331
337
|
"label": "label_minIntervalFull",
|
|
338
|
+
"xs": 12,
|
|
332
339
|
"sm": 3,
|
|
333
340
|
"md": 3,
|
|
334
341
|
"lg": 3,
|
|
342
|
+
"xl": 3,
|
|
335
343
|
"min": 1,
|
|
336
344
|
"max": 120
|
|
337
345
|
},
|
|
338
346
|
"minIntervalEmpty": {
|
|
339
347
|
"type": "number",
|
|
340
348
|
"label": "label_minIntervalEmpty",
|
|
349
|
+
"xs": 12,
|
|
341
350
|
"sm": 3,
|
|
342
351
|
"md": 3,
|
|
343
352
|
"lg": 3,
|
|
353
|
+
"xl": 3,
|
|
344
354
|
"min": 1,
|
|
345
355
|
"max": 120
|
|
346
356
|
},
|
package/io-package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "pv-notifications",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.3",
|
|
5
5
|
"titleLang": {
|
|
6
6
|
"en": "PV Notifications",
|
|
7
7
|
"de": "PV-Benachrichtigungen",
|
|
@@ -29,6 +29,16 @@
|
|
|
29
29
|
"zh-cn": "发送 Telegram 通知用于 PV 电池状态"
|
|
30
30
|
},
|
|
31
31
|
"news": {
|
|
32
|
+
"1.2.3": {
|
|
33
|
+
"en": "Added size attributes (xs, xl) for minIntervalFull, minIntervalEmpty, intermediateSteps, quietModeStart, quietModeEnd fields in admin UI (E5507 fix)",
|
|
34
|
+
"de": "Größenattribute (xs, xl) für minIntervalFull, minIntervalEmpty, intermediateSteps, quietModeStart, quietModeEnd Felder im Admin-UI hinzugefügt (E5507 Fix)",
|
|
35
|
+
"ru": "Добавлены атрибуты размеров (xs, xl) для полей minIntervalFull, minIntervalEmpty, intermediateSteps, quietModeStart, quietModeEnd в админ-интерфейсе (исправление E5507)"
|
|
36
|
+
},
|
|
37
|
+
"1.2.2": {
|
|
38
|
+
"en": "Fixed weekly statistics: Now uses weeklyProduction/weeklyConsumption/weeklyFeedIn/weeklyGridPower fields instead of daily values",
|
|
39
|
+
"de": "Wochenstatistik fixiert: Verwendet jetzt weeklyProduction/weeklyConsumption/weeklyFeedIn/weeklyGridPower Felder statt Tageswerten",
|
|
40
|
+
"ru": "Исправлена недельная статистика: теперь используются поля weeklyProduction/weeklyConsumption/weeklyFeedIn/weeklyGridPower вместо дневных значений"
|
|
41
|
+
},
|
|
32
42
|
"1.2.1": {
|
|
33
43
|
"en": "Added size attributes (xs, xl) for night mode and quiet mode fields in admin UI",
|
|
34
44
|
"de": "Größenattribute (xs, xl) für Nachtmodus und Ruhemodus-Felder im Admin-UI hinzugefügt",
|
|
@@ -205,7 +215,10 @@
|
|
|
205
215
|
"monthlyProduction": "",
|
|
206
216
|
"monthlyConsumption": "",
|
|
207
217
|
"monthlyFeedIn": "",
|
|
208
|
-
"monthlyGridPower": ""
|
|
218
|
+
"monthlyGridPower": "",
|
|
219
|
+
"weatherEnabled": true,
|
|
220
|
+
"weatherInIntermediate": true,
|
|
221
|
+
"weatherInDailyStats": true
|
|
209
222
|
},
|
|
210
223
|
"objects": [
|
|
211
224
|
{
|
package/main.js
CHANGED
|
@@ -1412,15 +1412,17 @@ ${statusText}`;
|
|
|
1412
1412
|
this.log.info('Auto-saving weekly statistics (Sunday 23:55, before sourceanalytix reset)');
|
|
1413
1413
|
|
|
1414
1414
|
// Aktuelle Daten aus externen States lesen (direkter Zugriff)
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
const
|
|
1418
|
-
const
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
this.stats.
|
|
1423
|
-
this.stats.
|
|
1415
|
+
// WICHTIG: weeklyProduction/weeklyConsumption/etc. verwenden (sourceanalytix Wochenwerte)
|
|
1416
|
+
// NICHT totalProduction/consumption/etc. (das sind Tageswerte!)
|
|
1417
|
+
const weeklyProd = await this.getForeignStateAsync(this.config.weeklyProduction);
|
|
1418
|
+
const weeklyConsumption = await this.getForeignStateAsync(this.config.weeklyConsumption);
|
|
1419
|
+
const weeklyFeedIn = await this.getForeignStateAsync(this.config.weeklyFeedIn);
|
|
1420
|
+
const weeklyGridPower = await this.getForeignStateAsync(this.config.weeklyGridPower);
|
|
1421
|
+
|
|
1422
|
+
this.stats.lastWeekProduction = weeklyProd && weeklyProd.val !== null ? weeklyProd.val : 0;
|
|
1423
|
+
this.stats.lastWeekConsumption = weeklyConsumption && weeklyConsumption.val !== null ? weeklyConsumption.val : 0;
|
|
1424
|
+
this.stats.lastWeekFeedIn = weeklyFeedIn && weeklyFeedIn.val !== null ? weeklyFeedIn.val : 0;
|
|
1425
|
+
this.stats.lastWeekGridPower = weeklyGridPower && weeklyGridPower.val !== null ? weeklyGridPower.val : 0;
|
|
1424
1426
|
this.stats.lastWeekFullCycles = this.stats.weekFullCycles;
|
|
1425
1427
|
this.stats.lastWeekEmptyCycles = this.stats.weekEmptyCycles;
|
|
1426
1428
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.pv-notifications",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "PV-Anlage Batterie-Status Telegram Benachrichtigungen",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Alex1808 via LLM: Qwen",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@iobroker/adapter-dev": "^1.5.0",
|
|
54
54
|
"@iobroker/eslint-config": "^2.2.0",
|
|
55
55
|
"@iobroker/testing": "^5.2.2",
|
|
56
|
-
"@types/node": "^25.3.
|
|
56
|
+
"@types/node": "^25.3.3",
|
|
57
57
|
"typescript": "~5.9.3"
|
|
58
58
|
},
|
|
59
59
|
"bugs": {
|