iobroker.pv-notifications 1.2.28 → 1.2.29
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 +5 -0
- package/io-package.json +14 -14
- package/main.js +13 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -314,6 +314,11 @@ sadam6752@gmail.com
|
|
|
314
314
|
### **WORK IN PROGRESS**
|
|
315
315
|
-->
|
|
316
316
|
|
|
317
|
+
### 1.2.29
|
|
318
|
+
* (FIX) Corrupted UTF-8 separator lines in the monthly stats message (showed as question marks in Telegram)
|
|
319
|
+
* (FIX) Corrupted Russian translations for "Current charge level" and "Own consumption"
|
|
320
|
+
* (FIX) Weather today in daily stats now shows the temperature as "(currently: X°C)" instead of implying a daily value
|
|
321
|
+
|
|
317
322
|
### 1.2.28
|
|
318
323
|
* (FIX) Migrate i18n to short format ({lang}.json); trim news to 7 entries
|
|
319
324
|
|
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.29",
|
|
5
5
|
"titleLang": {
|
|
6
6
|
"en": "PV Notifications",
|
|
7
7
|
"de": "PV-Benachrichtigungen",
|
|
@@ -29,6 +29,19 @@
|
|
|
29
29
|
"zh-cn": "发送 Telegram 通知用于 PV 电池状态"
|
|
30
30
|
},
|
|
31
31
|
"news": {
|
|
32
|
+
"1.2.29": {
|
|
33
|
+
"en": "Fix corrupted UTF-8 separator lines in the monthly stats message (showed as question marks in Telegram). Fix corrupted Russian translations for 'Current charge level' and 'Own consumption'. Weather today in daily stats now shows the temperature reading as '(currently: X°C)' instead of implying a daily value.",
|
|
34
|
+
"de": "Beschädigte UTF-8-Trennzeilen in der Monatsstatistik-Nachricht behoben (erschienen als Fragezeichen in Telegram). Beschädigte russische Übersetzungen für 'Aktueller Ladestand' und 'Eigenverbrauch' behoben. Wetter heute in der Tagesstatistik zeigt den Temperaturwert jetzt als '(aktuell: X°C)' statt einen Tageswert zu suggerieren.",
|
|
35
|
+
"ru": "Исправлены повреждённые UTF-8 разделители в сообщении месячной статистики (отображались как знаки вопроса в Telegram). Исправлены повреждённые русские переводы 'Текущий уровень заряда' и 'Собственное потребление'. Погода сегодня в дневной статистике теперь показывает температуру как '(сейчас: X°C)' вместо намёка на дневное значение.",
|
|
36
|
+
"fr": "Correction des lignes de séparation UTF-8 corrompues dans le message de statistiques mensuelles (affichées comme des points d'interrogation dans Telegram). Correction des traductions russes corrompues.",
|
|
37
|
+
"it": "Corrette le righe separatore UTF-8 danneggiate nel messaggio delle statistiche mensili (apparivano come punti interrogativi in Telegram). Corrette le traduzioni russe danneggiate.",
|
|
38
|
+
"es": "Corregidas las líneas separadoras UTF-8 dañadas en el mensaje de estadísticas mensuales (aparecían como signos de interrogación en Telegram). Corregidas las traducciones rusas dañadas.",
|
|
39
|
+
"pl": "Naprawiono uszkodzone linie separatora UTF-8 w wiadomości statystyk miesięcznych (wyświetlane jako znaki zapytania w Telegramie). Naprawiono uszkodzone tłumaczenia rosyjskie.",
|
|
40
|
+
"pt": "Corrigidas as linhas separadoras UTF-8 corrompidas na mensagem de estatísticas mensais (apareciam como pontos de interrogação no Telegram). Corrigidas as traduções russas corrompidas.",
|
|
41
|
+
"nl": "Beschadigde UTF-8-scheidingsregels in het maandstatistiekbericht gecorrigeerd (werden weergegeven als vraagtekens in Telegram). Beschadigde Russische vertalingen gecorrigeerd.",
|
|
42
|
+
"uk": "Виправлено пошкоджені UTF-8 роздільники в повідомленні місячної статистики (відображалися як знаки питання в Telegram). Виправлено пошкоджені російські переклади.",
|
|
43
|
+
"zh-cn": "修复了月度统计消息中损坏的UTF-8分隔线(在Telegram中显示为问号)。修复了损坏的俄语翻译。"
|
|
44
|
+
},
|
|
32
45
|
"1.2.28": {
|
|
33
46
|
"en": "Migrate i18n to short format ({lang}.json); trim news to 7 entries",
|
|
34
47
|
"de": "i18n auf Kurzformat ({lang}.json) migriert; News auf 7 Einträge gekürzt",
|
|
@@ -106,19 +119,6 @@
|
|
|
106
119
|
"nl": "Lay-out statistieksectie gecorrigeerd: tijd, zonsondergang-checkbox en object op een rij",
|
|
107
120
|
"zh-cn": "修复统计部分布局:将时间、日落复选框和对象放在同一行",
|
|
108
121
|
"uk": "Виправлено макет секції статистики: час, чекбокс заходу сонця та обєкт в одному рядку"
|
|
109
|
-
},
|
|
110
|
-
"1.2.22": {
|
|
111
|
-
"en": "Add sunset-based daily statistics: optional checkbox to send daily stats at sunset time from a configurable object instead of fixed time",
|
|
112
|
-
"de": "Sonnenuntergang-basierte Tagesstatistik: optionale Checkbox um Tagesstatistik zur Sonnenuntergangszeit aus einem konfigurierbaren Objekt zu senden statt zur festen Uhrzeit",
|
|
113
|
-
"ru": "Отправка дневной статистики по закату: опциональный чекбокс для отправки статистики в момент заката из настраиваемого объекта вместо фиксированного времени",
|
|
114
|
-
"fr": "Statistiques quotidiennes au coucher du soleil: case optionnelle pour envoyer les stats au coucher du soleil depuis un objet configurable au lieu d une heure fixe",
|
|
115
|
-
"it": "Statistiche giornaliere al tramonto: checkbox opzionale per inviare le statistiche all ora del tramonto da un oggetto configurabile invece di un orario fisso",
|
|
116
|
-
"es": "Estadisticas diarias al atardecer: casilla opcional para enviar estadisticas a la hora del atardecer desde un objeto configurable en lugar de hora fija",
|
|
117
|
-
"pl": "Statystyki dzienne o zachodzie slonca: opcjonalne pole wyboru do wysylania statystyk o zachodzie slonca z konfigurowalnego obiektu zamiast stalej godziny",
|
|
118
|
-
"pt": "Estatisticas diarias ao por do sol: caixa opcional para enviar estatisticas na hora do por do sol de um objeto configuravel em vez de hora fixa",
|
|
119
|
-
"nl": "Dagelijkse statistieken bij zonsondergang: optioneel selectievakje om dagelijkse statistieken te sturen op zonsondergangtijd van een configureerbaar object in plaats van vaste tijd",
|
|
120
|
-
"zh-cn": "日落时发送每日统计:可选复选框,在可配置对象的日落时间发送每日统计,而非固定时间",
|
|
121
|
-
"uk": "Додано відправку денної статистики за заходом сонця: опціональний чекбокс для відправки статистики в момент заходу сонця з обєкта що налаштовується замість фіксованого часу"
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
"authors": [
|
package/main.js
CHANGED
|
@@ -1344,11 +1344,13 @@ ${statusText}
|
|
|
1344
1344
|
weatherTodayTextState && weatherTodayTextState.val !== null ? weatherTodayTextState.val : null;
|
|
1345
1345
|
const weatherTodayTemp =
|
|
1346
1346
|
weatherTodayTempState && weatherTodayTempState.val !== null ? weatherTodayTempState.val : null;
|
|
1347
|
-
const todayTempText = weatherTodayTemp ? ` ${this.round(weatherTodayTemp, 1)}°C` : '';
|
|
1348
1347
|
|
|
1349
1348
|
if (weatherTodayText || weatherTodayTemp) {
|
|
1350
1349
|
const weatherDesc = weatherTodayText ? this.getWeatherDescription(weatherTodayText) : '🌡️';
|
|
1351
|
-
|
|
1350
|
+
const todayTempSuffix = weatherTodayTemp
|
|
1351
|
+
? ` (${this.translate('Currently')}: ${this.round(weatherTodayTemp, 1)}°C)`
|
|
1352
|
+
: '';
|
|
1353
|
+
message += `\n━━━━━━━━━━━━━━━━━━━━━━\n🌤️ *${this.translate('Weather today')}:* ${weatherDesc}${todayTempSuffix}`;
|
|
1352
1354
|
weatherAdded = true;
|
|
1353
1355
|
}
|
|
1354
1356
|
}
|
|
@@ -1452,12 +1454,12 @@ ${statusText}
|
|
|
1452
1454
|
━━━━━━━━━━━━━━━━━━━━━━
|
|
1453
1455
|
🔋 ${this.translate('Full cycles last month')}: ${this.stats.lastMonthFullCycles}
|
|
1454
1456
|
📉 ${this.translate('Empty cycles last month')}: ${this.stats.lastMonthEmptyCycles}
|
|
1455
|
-
|
|
1457
|
+
━━━━━━━━━━━━━━━━━━━━━━
|
|
1456
1458
|
☀️ ${this.translate('Production')}: ${totalProd} kWh
|
|
1457
1459
|
🏠 ${this.translate('Own consumption')}: ${selfConsumption} kWh (${selfConsumptionRate}%)
|
|
1458
1460
|
🔌 ${this.translate('Feed-in')}: ${feedIn} kWh
|
|
1459
1461
|
⚡ ${this.translate('Grid consumption')}: ${gridPower} kWh
|
|
1460
|
-
|
|
1462
|
+
━━━━━━━━━━━━━━━━━━━━━━`;
|
|
1461
1463
|
}
|
|
1462
1464
|
|
|
1463
1465
|
/**
|
|
@@ -1785,7 +1787,7 @@ ${statusText}
|
|
|
1785
1787
|
'Current charge level': {
|
|
1786
1788
|
de: 'Aktueller Ladestand',
|
|
1787
1789
|
en: 'Current charge level',
|
|
1788
|
-
ru: 'Текущий уровень
|
|
1790
|
+
ru: 'Текущий уровень заряда',
|
|
1789
1791
|
},
|
|
1790
1792
|
'Current energy': {
|
|
1791
1793
|
de: 'Aktuelle Energie',
|
|
@@ -1805,7 +1807,7 @@ ${statusText}
|
|
|
1805
1807
|
'Own consumption': {
|
|
1806
1808
|
de: 'Eigenverbrauch',
|
|
1807
1809
|
en: 'Own consumption',
|
|
1808
|
-
ru: 'Собственное
|
|
1810
|
+
ru: 'Собственное потребление',
|
|
1809
1811
|
},
|
|
1810
1812
|
'Feed-in': {
|
|
1811
1813
|
de: 'Einspeisung',
|
|
@@ -1847,6 +1849,11 @@ ${statusText}
|
|
|
1847
1849
|
en: 'Weather today',
|
|
1848
1850
|
ru: 'Погода сегодня',
|
|
1849
1851
|
},
|
|
1852
|
+
Currently: {
|
|
1853
|
+
de: 'aktuell',
|
|
1854
|
+
en: 'currently',
|
|
1855
|
+
ru: 'сейчас',
|
|
1856
|
+
},
|
|
1850
1857
|
'Good PV production expected': {
|
|
1851
1858
|
de: 'Gute PV-Produktion erwartet',
|
|
1852
1859
|
en: 'Good PV production expected',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.pv-notifications",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.29",
|
|
4
4
|
"description": "PV-Anlage Batterie-Status Telegram Benachrichtigungen",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Alex1808 via LLM: Qwen",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"typescript": "~5.9.3"
|
|
65
65
|
},
|
|
66
66
|
"bugs": {
|
|
67
|
-
"url": "https://github.com/
|
|
67
|
+
"url": "https://github.com/sadam6752-tech/ioBroker.pv-notifications/issues"
|
|
68
68
|
},
|
|
69
69
|
"readmeFilename": "README.md"
|
|
70
70
|
}
|