iobroker.senec 1.6.12 → 1.6.14
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/io-package.json +27 -27
- package/lib/api_trans.js +20 -21
- package/lib/state_attr.js +5606 -5606
- package/lib/state_trans.js +473 -468
- package/lib/tools.js +50 -52
- package/main.js +722 -484
- package/package.json +24 -17
package/README.md
CHANGED
|
@@ -299,6 +299,14 @@ This channel contains values polled from SENEC App-API.
|
|
|
299
299
|
|
|
300
300
|
## Changelog
|
|
301
301
|
|
|
302
|
+
### 1.6.14
|
|
303
|
+
* Bugfix (values were way off)
|
|
304
|
+
|
|
305
|
+
### 1.6.13 (NoBl)
|
|
306
|
+
* Removed Support for node 16
|
|
307
|
+
* Added more translations
|
|
308
|
+
* Code cleanup
|
|
309
|
+
|
|
302
310
|
### 1.6.12 (NoBl)
|
|
303
311
|
* Updated license
|
|
304
312
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "senec",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.14",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.6.14": {
|
|
7
|
+
"en": "Bugfix (values were way off)",
|
|
8
|
+
"de": "Bugfix (Falsche Werte)",
|
|
9
|
+
"ru": "Bugfix (значения были удалены)",
|
|
10
|
+
"pt": "Bugfix (valores estavam muito fora)",
|
|
11
|
+
"nl": "Bugfix (waarden waren ver weg)",
|
|
12
|
+
"fr": "Bugfix (les valeurs étaient loin)",
|
|
13
|
+
"it": "Bugfix (i valori erano lontani)",
|
|
14
|
+
"es": "Bugfix (los valores estaban lejos)",
|
|
15
|
+
"pl": "Bugfix (wartości były daleko poza)",
|
|
16
|
+
"uk": "Помилки (вартості були вимкнені)",
|
|
17
|
+
"zh-cn": "错误修正( 值远差 )"
|
|
18
|
+
},
|
|
19
|
+
"1.6.13": {
|
|
20
|
+
"en": "Removed Support for node 16, Added more translations, Code cleanup",
|
|
21
|
+
"de": "Removed Support for node 16, Weitere Übersetzungen hinzugefügt, Code cleanup",
|
|
22
|
+
"ru": "Удаленная поддержка узла 16, добавлено больше переводов, очистка кода",
|
|
23
|
+
"pt": "Suporte removido para nó 16, Adicionado mais traduções, Limpeza de código",
|
|
24
|
+
"nl": "Verwijderde Ondersteuning voor node 16, Toegevoegd meer vertalingen, Code opruiming",
|
|
25
|
+
"fr": "Supprimé Support pour noeud 16, Ajout d'autres traductions, Nettoyage de code",
|
|
26
|
+
"it": "Removed Supporto per nodo 16, Aggiunto più traduzioni, Codice pulizia",
|
|
27
|
+
"es": "Soporte eliminado para nodo 16, Añadido más traducciones, limpieza de código",
|
|
28
|
+
"pl": "Usunięty Wsparcie dla węzła 16, Dodano więcej tłumaczeń, Czyszczenie kodu",
|
|
29
|
+
"uk": "Видалити підтримку вузла 16, Додано більше перекладів, очищення коду",
|
|
30
|
+
"zh-cn": "删除对节点16的支持, 添加更多翻译, 代码清理"
|
|
31
|
+
},
|
|
6
32
|
"1.6.12": {
|
|
7
33
|
"en": "Updated license",
|
|
8
34
|
"de": "Lizenz aktualisiert",
|
|
@@ -119,32 +145,6 @@
|
|
|
119
145
|
"pl": "Liczby są ponownie numerami",
|
|
120
146
|
"uk": "Кількість чисел знову",
|
|
121
147
|
"zh-cn": "数字再次编号"
|
|
122
|
-
},
|
|
123
|
-
"1.6.3": {
|
|
124
|
-
"en": "Bugfixes for API reading.",
|
|
125
|
-
"de": "Bugfixes im API Handling.",
|
|
126
|
-
"ru": "Bugfixes для чтения API.",
|
|
127
|
-
"pt": "Bugfixes para leitura de API.",
|
|
128
|
-
"nl": "Bugfixes voor API-lezing.",
|
|
129
|
-
"fr": "Bugfixes pour la lecture de l'API.",
|
|
130
|
-
"it": "Bugfixes per la lettura API.",
|
|
131
|
-
"es": "Bugfixes para la lectura de API.",
|
|
132
|
-
"pl": "Bugfixes for API reading (ang.).",
|
|
133
|
-
"uk": "Виправлення помилок для читання API.",
|
|
134
|
-
"zh-cn": "评 注."
|
|
135
|
-
},
|
|
136
|
-
"1.6.2": {
|
|
137
|
-
"en": "Added statistics values from API along with some own calculations.",
|
|
138
|
-
"de": "Statistikwerte von API zusammen mit einigen eigenen Berechnungen hinzugefügt.",
|
|
139
|
-
"ru": "Добавлены статистические значения из API наряду с некоторыми собственными расчетами.",
|
|
140
|
-
"pt": "Adicionados valores estatísticos da API junto com alguns próprios cálculos.",
|
|
141
|
-
"nl": "Voeg statistieken toe van API samen met wat eigen berekeningen.",
|
|
142
|
-
"fr": "Ajout des valeurs statistiques de l'API avec certains propres calculs.",
|
|
143
|
-
"it": "Aggiunti i valori statistici da API con alcuni propri calcoli.",
|
|
144
|
-
"es": "Valores estadísticos añadidos de API junto con algunos cálculos propios.",
|
|
145
|
-
"pl": "Wstępne dane z API wraz z kilkoma własnymi obliczeniami.",
|
|
146
|
-
"uk": "Додано значення статистичних даних з API разом з деякими власними підрахунками.",
|
|
147
|
-
"zh-cn": "加上非传染性疾病的统计价值以及一些本身的计算。."
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
150
|
"docs": {
|
package/lib/api_trans.js
CHANGED
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
const api_trans = {
|
|
2
|
-
|
|
3
|
-
api:
|
|
4
|
-
dp:
|
|
2
|
+
THIS_DAY: {
|
|
3
|
+
api: "DAY",
|
|
4
|
+
dp: "Today",
|
|
5
5
|
},
|
|
6
|
-
|
|
7
|
-
api:
|
|
8
|
-
dp:
|
|
6
|
+
LAST_DAY: {
|
|
7
|
+
api: "DAY",
|
|
8
|
+
dp: "Yesterday",
|
|
9
9
|
},
|
|
10
|
-
|
|
11
|
-
api:
|
|
12
|
-
dp:
|
|
10
|
+
THIS_MONTH: {
|
|
11
|
+
api: "MONTH",
|
|
12
|
+
dp: "This Month",
|
|
13
13
|
},
|
|
14
|
-
|
|
15
|
-
api:
|
|
16
|
-
dp:
|
|
14
|
+
LAST_MONTH: {
|
|
15
|
+
api: "MONTH",
|
|
16
|
+
dp: "Last Month",
|
|
17
17
|
},
|
|
18
|
-
|
|
19
|
-
api:
|
|
20
|
-
dp:
|
|
18
|
+
THIS_YEAR: {
|
|
19
|
+
api: "YEAR",
|
|
20
|
+
dp: "This Year",
|
|
21
21
|
},
|
|
22
|
-
|
|
23
|
-
api:
|
|
24
|
-
dp:
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
}
|
|
22
|
+
LAST_YEAR: {
|
|
23
|
+
api: "YEAR",
|
|
24
|
+
dp: "Last Year",
|
|
25
|
+
},
|
|
26
|
+
};
|
|
28
27
|
|
|
29
28
|
module.exports = api_trans;
|