iobroker.senec 1.6.11 → 1.6.13
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/LICENSE +2 -2
- package/README.md +9 -11
- package/admin/jsonConfig.json +1 -1
- package/io-package.json +27 -40
- 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 +31 -24
package/LICENSE
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Copyright (c)
|
|
1
|
+
Copyright (c) 2024 NoBl <github@bluemle.org>
|
|
2
2
|
|
|
3
3
|
MIT License
|
|
4
4
|
|
|
5
|
-
Copyright (c)
|
|
5
|
+
Copyright (c) 2024 Author <author@mail.com>
|
|
6
6
|
|
|
7
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
8
|
of this software and associated documentation files (the "Software"), to deal
|
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.13 (NoBl)
|
|
303
|
+
* Removed Support for node 16
|
|
304
|
+
* Added more translations
|
|
305
|
+
* Code cleanup
|
|
306
|
+
|
|
307
|
+
### 1.6.12 (NoBl)
|
|
308
|
+
* Updated license
|
|
309
|
+
|
|
302
310
|
### 1.6.11 (NoBl)
|
|
303
311
|
* Moving from Senec App API 3.12.0 to 4.3.3 (thanks to oakdesign@github for providing the new API!)
|
|
304
312
|
* This WILL invalidate all current API datapoints in the Statistik branch. Easiest solution to this: Delete the Statistik branch.
|
|
@@ -344,22 +352,12 @@ This channel contains values polled from SENEC App-API.
|
|
|
344
352
|
* Added option to also poll SENEC App API. This requires user credentials for mein-senec.de
|
|
345
353
|
* We are starting with just some information - more to follow. But with Dashboard we at least have current values and day statistics back.
|
|
346
354
|
|
|
347
|
-
### 1.5.1 (NoBl)
|
|
348
|
-
* Added more datapoints. If you experience messages in log - feel free to add them yourself to state_attr on github (pull request)
|
|
349
|
-
* Autarky calculations will stopp working because SENEC removed STATISTICS branch.
|
|
350
|
-
* If you experience issues with connecting to your appliance after it got updated, please activate https connection in settings.
|
|
351
|
-
|
|
352
|
-
### 1.5.0 (NoBl)
|
|
353
|
-
* Added configuration section to add datapoints to high priority polling. Please be aware of the possible issues this could cause (if too many datapoints added) and use at your own risk.
|
|
354
|
-
* ALL Wallbox datapoints have been removed from high priority polling. Only some users even have a SENEC wallbox. Please reconfigure via the new config dialogue.
|
|
355
|
-
* Possible Candidate for stable. Please report any findings!
|
|
356
|
-
|
|
357
355
|
### [Former Updates](CHANGELOG_old.md)
|
|
358
356
|
|
|
359
357
|
## License
|
|
360
358
|
MIT License
|
|
361
359
|
|
|
362
|
-
Copyright (c)
|
|
360
|
+
Copyright (c) 2024 Norbert Bluemle <github@bluemle.org>
|
|
363
361
|
|
|
364
362
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
365
363
|
of this software and associated documentation files (the "Software"), to deal
|
package/admin/jsonConfig.json
CHANGED
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.13",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.6.13": {
|
|
7
|
+
"en": "Removed Support for node 16, Added more translations, Code cleanup",
|
|
8
|
+
"de": "Removed Support for node 16, Weitere Übersetzungen hinzugefügt, Code cleanup",
|
|
9
|
+
"ru": "Удаленная поддержка узла 16, добавлено больше переводов, очистка кода",
|
|
10
|
+
"pt": "Suporte removido para nó 16, Adicionado mais traduções, Limpeza de código",
|
|
11
|
+
"nl": "Verwijderde Ondersteuning voor node 16, Toegevoegd meer vertalingen, Code opruiming",
|
|
12
|
+
"fr": "Supprimé Support pour noeud 16, Ajout d'autres traductions, Nettoyage de code",
|
|
13
|
+
"it": "Removed Supporto per nodo 16, Aggiunto più traduzioni, Codice pulizia",
|
|
14
|
+
"es": "Soporte eliminado para nodo 16, Añadido más traducciones, limpieza de código",
|
|
15
|
+
"pl": "Usunięty Wsparcie dla węzła 16, Dodano więcej tłumaczeń, Czyszczenie kodu",
|
|
16
|
+
"uk": "Видалити підтримку вузла 16, Додано більше перекладів, очищення коду",
|
|
17
|
+
"zh-cn": "删除对节点16的支持, 添加更多翻译, 代码清理"
|
|
18
|
+
},
|
|
19
|
+
"1.6.12": {
|
|
20
|
+
"en": "Updated license",
|
|
21
|
+
"de": "Lizenz aktualisiert",
|
|
22
|
+
"ru": "Обновленная лицензия",
|
|
23
|
+
"pt": "Licença atualizada",
|
|
24
|
+
"nl": "Bijgewerkte licentie",
|
|
25
|
+
"fr": "Licence actualisée",
|
|
26
|
+
"it": "Licenza aggiornata",
|
|
27
|
+
"es": "Licencia actualizada",
|
|
28
|
+
"pl": "Aktualizacja licencji",
|
|
29
|
+
"uk": "Оновлена ліцензія",
|
|
30
|
+
"zh-cn": "更新许可证"
|
|
31
|
+
},
|
|
6
32
|
"1.6.11": {
|
|
7
33
|
"en": "Moving from Senec App API 3.12.0 to 4.3.3 (thanks to oakdesign@github for providing the new API!). This WILL invalidate all current API datapoints in the Statistik branch. Easiest solution to this: Delete the Statistik branch. Remember to force a rebuild of historic data in adapter settings!",
|
|
8
34
|
"de": "Update der Senec App API 3.12.0 auf 4.3.3 (Dank an Oakdesign@github für die Analyse der neuen API.)! Dadurch werden leider alle aktuellen API-Datenpunkte im Statistik-Zweig ungültig. Einfachste Lösung hierfür: Den gesamten Statistik-Zweig löschen. Beachten: Die Gesamthistorie muss neu berechnet werden (Parameter in den Adaptereinstellungen)!",
|
|
@@ -119,45 +145,6 @@
|
|
|
119
145
|
"pl": "Bugfixes for API reading (ang.).",
|
|
120
146
|
"uk": "Виправлення помилок для читання API.",
|
|
121
147
|
"zh-cn": "评 注."
|
|
122
|
-
},
|
|
123
|
-
"1.6.2": {
|
|
124
|
-
"en": "Added statistics values from API along with some own calculations.",
|
|
125
|
-
"de": "Statistikwerte von API zusammen mit einigen eigenen Berechnungen hinzugefügt.",
|
|
126
|
-
"ru": "Добавлены статистические значения из API наряду с некоторыми собственными расчетами.",
|
|
127
|
-
"pt": "Adicionados valores estatísticos da API junto com alguns próprios cálculos.",
|
|
128
|
-
"nl": "Voeg statistieken toe van API samen met wat eigen berekeningen.",
|
|
129
|
-
"fr": "Ajout des valeurs statistiques de l'API avec certains propres calculs.",
|
|
130
|
-
"it": "Aggiunti i valori statistici da API con alcuni propri calcoli.",
|
|
131
|
-
"es": "Valores estadísticos añadidos de API junto con algunos cálculos propios.",
|
|
132
|
-
"pl": "Wstępne dane z API wraz z kilkoma własnymi obliczeniami.",
|
|
133
|
-
"uk": "Додано значення статистичних даних з API разом з деякими власними підрахунками.",
|
|
134
|
-
"zh-cn": "加上非传染性疾病的统计价值以及一些本身的计算。."
|
|
135
|
-
},
|
|
136
|
-
"1.6.1": {
|
|
137
|
-
"en": "Bugfixes for API reading.",
|
|
138
|
-
"de": "Bugfixes im API Handling.",
|
|
139
|
-
"ru": "Bugfixes для чтения API.",
|
|
140
|
-
"pt": "Bugfixes para leitura de API.",
|
|
141
|
-
"nl": "Bugfixes voor API-lezing.",
|
|
142
|
-
"fr": "Bugfixes pour la lecture de l'API.",
|
|
143
|
-
"it": "Bugfixes per la lettura API.",
|
|
144
|
-
"es": "Bugfixes para la lectura de API.",
|
|
145
|
-
"pl": "Bugfixes for API reading (ang.).",
|
|
146
|
-
"uk": "Виправлення помилок для читання API.",
|
|
147
|
-
"zh-cn": "评 注."
|
|
148
|
-
},
|
|
149
|
-
"1.6.0": {
|
|
150
|
-
"en": "You can now configure to request SENEC App API.",
|
|
151
|
-
"de": "Sie können nun die SENEC App API abfragen.",
|
|
152
|
-
"ru": "Теперь вы можете настроить для запроса SENEC App API.",
|
|
153
|
-
"pt": "Agora você pode configurar para solicitar a API do SENEC App.",
|
|
154
|
-
"nl": "Je kunt nu configureren om SENEC App API te vragen.",
|
|
155
|
-
"fr": "Vous pouvez maintenant configurer pour demander l'API App SENEC.",
|
|
156
|
-
"it": "Ora è possibile configurare per richiedere l'API SENEC App.",
|
|
157
|
-
"es": "Ahora puede configurarse para solicitar SENEC App API.",
|
|
158
|
-
"pl": "Możesz teraz skonfigurować żądanie SENEC App API.",
|
|
159
|
-
"uk": "Ви можете налаштувати запит на SENEC App API.",
|
|
160
|
-
"zh-cn": "如今,你可以准备要求SENECSP。."
|
|
161
148
|
}
|
|
162
149
|
},
|
|
163
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;
|