iobroker.alpha-ess 0.0.6-beta.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Gaspode <gaspode69@online.de>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,83 @@
1
+ ![Logo](admin/alpha-ess.png)
2
+ # ioBroker.alpha-ess
3
+
4
+ ![Number of Installations (latest)](http://iobroker.live/badges/alpha-ess-installed.svg)
5
+ ![Number of Installations (stable)](http://iobroker.live/badges/alpha-ess-stable.svg)
6
+ [![NPM version](http://img.shields.io/npm/v/iobroker.alpha-ess.svg)](https://www.npmjs.com/package/iobroker.alpha-ess)
7
+
8
+ [![Downloads](https://img.shields.io/npm/dm/iobroker.alpha-ess.svg)](https://www.npmjs.com/package/iobroker.alpha-ess)
9
+ [![Known Vulnerabilities](https://snyk.io/test/github/Gaspode69/ioBroker.alpha-ess/badge.svg)](https://snyk.io/test/github/Gaspode69/ioBroker.alpha-ess)
10
+
11
+ ## alpha-ess adapter for ioBroker
12
+
13
+ This adapter logs into the web API of [Alpha ESS](https://www.alphaess.com/) and retrieves information for your Alpha ESS equipment.\
14
+ Depending on your Alpha ESS product, it is possible to get realtime data and configuration data for your equipment. Which data points are returned by the API depends on your Alpha ESS equipment.
15
+
16
+ This adapter is based on the great work of [Charles Gillanders](https://github.com/CharlesGillanders/alphaess), who reverse engineered the Alpha ESS Web API. This is an internal API which may be changed at any time by Alpha ESS.
17
+
18
+ Currently this adapter creates a state with a hopefully self explaining name for each data point, which I was able to identify.\
19
+ All other data points are ignored. During adapter start these data points are logged as info message.
20
+
21
+ Basically, it is possible to change selected configuration settings using the Alpha ESS Web API. This is not implemented yet.
22
+
23
+ ## Settings:
24
+ **Username:** The username of your Alpha ESS Account\
25
+ **Password:** The password of your Alpha ESS Account\
26
+ **Alpha ESS System ID:** The system Identifier of your Alpha ESS equipment\
27
+ **Interval to read realtime data:** Unit: seconds.\
28
+ **Interval to read energy data:** Unit: seconds.\
29
+ **Interval to read settings data:** Unit: seconds.
30
+
31
+ It is possible to use a demo account provided by Alpha ESS. The credentials (user name, system id) are set as default values within the adapter.
32
+ The password is stored encrypted and must therefore be entered manually: demo
33
+
34
+ ## Disclaimer
35
+ **All product and company names or logos are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them or any associated subsidiaries! This personal project is maintained in spare time and has no business goal.**
36
+
37
+ ## Changelog
38
+ ### 0.0.6-beta.1 (2023-01-02)
39
+ * (Gaspode) ...
40
+
41
+ ### 0.0.6-beta.0 (2023-01-02)
42
+ * (Gaspode) ...
43
+
44
+ ### 0.0.1
45
+ * (Gaspode) initial release
46
+
47
+ ### 0.0.2
48
+ * (Gaspode) corrected api call for realtime data
49
+
50
+ ### 0.0.3
51
+ * (Gaspode) refactored API calls, added daily energy values
52
+
53
+ ### 0.0.4
54
+ * (Gaspode) use axios to perform Alpha ESS API calls instead of deprecated request
55
+ * (Gaspode) New option "Update unchanged states" added
56
+
57
+ ### 0.0.5
58
+ * (Gaspode) Use meaningful state names
59
+ * (Gaspode) Use suitable state roles
60
+ * (Gaspode) Added new state for Alpha ESS settings parameter 'upsReserve'
61
+
62
+ ## License
63
+ MIT License
64
+
65
+ Copyright (c) 2023 Gaspode <gaspode69@online.de>
66
+
67
+ Permission is hereby granted, free of charge, to any person obtaining a copy
68
+ of this software and associated documentation files (the "Software"), to deal
69
+ in the Software without restriction, including without limitation the rights
70
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
71
+ copies of the Software, and to permit persons to whom the Software is
72
+ furnished to do so, subject to the following conditions:
73
+
74
+ The above copyright notice and this permission notice shall be included in all
75
+ copies or substantial portions of the Software.
76
+
77
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
78
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
79
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
80
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
81
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
82
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
83
+ SOFTWARE.
Binary file
@@ -0,0 +1,10 @@
1
+ {
2
+ "alpha-ess adapter settings": "Adaptereinstellungen für alpha-ess",
3
+ "Username": "Nutzername",
4
+ "Password": "Passwort",
5
+ "Alpha ESS System ID": "Alpha ESS-System-ID",
6
+ "Interval to read realtime data": "Intervall zum Lesen von Echtzeitdaten [s]",
7
+ "Interval to read settings data": "Intervall zum Lesen von Einstellungsdaten [s]",
8
+ "Interval to read energy data": "Intervall zum Auslesen der Energiedaten [s]",
9
+ "Update unchanged states": "Unveränderte Zustände aktualisieren"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "alpha-ess adapter settings": "Adapter settings for alpha-ess",
3
+ "Username": "Username",
4
+ "Password": "Password",
5
+ "Alpha ESS System ID": "Alpha ESS System ID",
6
+ "Interval to read realtime data": "Interval to read realtime data [s]",
7
+ "Interval to read energy data": "Interval to read energy data [s]",
8
+ "Interval to read settings data": "Interval to read settings data [s]",
9
+ "Update unchanged states": "Update unchanged states"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "alpha-ess adapter settings": "Configuración del adaptador para alpha-ess",
3
+ "Username": "Nombre de usuario",
4
+ "Password": "Clave",
5
+ "Alpha ESS System ID": "Identificación del sistema Alpha ESS",
6
+ "Interval to read realtime data": "Intervalo para leer datos en tiempo real [s]",
7
+ "Interval to read settings data": "Intervalo para leer los datos de configuración [s]",
8
+ "Interval to read energy data": "Intervalo para leer datos de energía [s]",
9
+ "Update unchanged states": "Actualizar estados sin cambios"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "alpha-ess adapter settings": "Paramètres de l'adaptateur pour alpha-ess",
3
+ "Username": "Nom d'utilisateur",
4
+ "Password": "Mot de passe",
5
+ "Alpha ESS System ID": "ID du système Alpha ESS",
6
+ "Interval to read realtime data": "Intervalle pour lire les données en temps réel [s]",
7
+ "Interval to read settings data": "Intervalle pour lire les données de réglage [s]",
8
+ "Interval to read energy data": "Intervalle pour lire les données énergétiques [s]",
9
+ "Update unchanged states": "Mettre à jour les états inchangés"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "alpha-ess adapter settings": "Impostazioni dell'adattatore per alpha-ess",
3
+ "Username": "Nome utente",
4
+ "Password": "Parola d'ordine",
5
+ "Alpha ESS System ID": "ID sistema Alpha ESS",
6
+ "Interval to read realtime data": "Intervallo per leggere i dati in tempo reale [s]",
7
+ "Interval to read settings data": "Intervallo per leggere i dati delle impostazioni [s]",
8
+ "Interval to read energy data": "Intervallo di lettura dei dati energetici [s]",
9
+ "Update unchanged states": "Aggiorna stati invariati"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "alpha-ess adapter settings": "Adapterinstellingen voor alpha-ess",
3
+ "Username": "gebruikersnaam",
4
+ "Password": "Wachtwoord",
5
+ "Alpha ESS System ID": "Alpha ESS-systeem-ID",
6
+ "Interval to read realtime data": "Interval om realtime gegevens te lezen [s]",
7
+ "Interval to read settings data": "Interval voor het lezen van instellingengegevens [s]",
8
+ "Interval to read energy data": "Interval om energiegegevens te lezen [s]",
9
+ "Update unchanged states": "Update ongewijzigde statussen"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "alpha-ess adapter settings": "Ustawienia adaptera dla alfa-ess",
3
+ "Username": "Nazwa użytkownika",
4
+ "Password": "Hasło",
5
+ "Alpha ESS System ID": "Identyfikator systemu Alpha ESS",
6
+ "Interval to read realtime data": "Interwał odczytu danych w czasie rzeczywistym [s]",
7
+ "Interval to read settings data": "Interwał odczytu danych ustawień [s]",
8
+ "Interval to read energy data": "Interwał odczytu danych dotyczących energii [s]",
9
+ "Update unchanged states": "Zaktualizuj niezmienione stany"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "alpha-ess adapter settings": "Configurações do adaptador para alfa-ess",
3
+ "Username": "Nome de usuário",
4
+ "Password": "Senha",
5
+ "Alpha ESS System ID": "ID do sistema Alfa ESS",
6
+ "Interval to read realtime data": "Intervalo para ler dados em tempo real [s]",
7
+ "Interval to read settings data": "Intervalo para ler os dados de configurações [s]",
8
+ "Interval to read energy data": "Intervalo para ler dados de energia [s]",
9
+ "Update unchanged states": "Atualizar estados inalterados"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "alpha-ess adapter settings": "Настройки адаптера для alpha-ess",
3
+ "Username": "Имя пользователя",
4
+ "Password": "Пароль",
5
+ "Alpha ESS System ID": "Идентификатор системы Alpha ESS",
6
+ "Interval to read realtime data": "Интервал для чтения данных в реальном времени [с]",
7
+ "Interval to read settings data": "Интервал чтения данных настроек [с]",
8
+ "Interval to read energy data": "Интервал для чтения данных об энергии [с]",
9
+ "Update unchanged states": "Обновить неизмененные состояния"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "alpha-ess adapter settings": "Налаштування адаптера для alpha-ess",
3
+ "Username": "Ім'я користувача",
4
+ "Password": "Пароль",
5
+ "Alpha ESS System ID": "Ідентифікатор системи Alpha ESS",
6
+ "Interval to read realtime data": "Інтервал читання даних у реальному часі [с]",
7
+ "Interval to read settings data": "Інтервал читання даних налаштувань [с]",
8
+ "Interval to read energy data": "Інтервал зчитування даних про енергію [с]",
9
+ "Update unchanged states": "Оновити незмінні стани"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "alpha-ess adapter settings": "alpha-ess 的适配器设置",
3
+ "Username": "用户名",
4
+ "Password": "密码",
5
+ "Alpha ESS System ID": "Alpha ESS 系统 ID",
6
+ "Interval to read realtime data": "读取实时数据的间隔 [s]",
7
+ "Interval to read settings data": "读取设置数据的间隔 [s]",
8
+ "Interval to read energy data": "读取能量数据的间隔[s]",
9
+ "Update unchanged states": "更新未改变的状态"
10
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "i18n": true,
3
+ "type": "panel",
4
+ "items": {
5
+ "username": {
6
+ "sm": 5,
7
+ "type": "text",
8
+ "label": "Username",
9
+ "newLine": true
10
+ },
11
+ "password": {
12
+ "sm": 5,
13
+ "type": "password",
14
+ "label": "Password",
15
+ "newLine": true
16
+ },
17
+ "systemId": {
18
+ "sm": 5,
19
+ "type": "text",
20
+ "label": "Alpha ESS System ID",
21
+ "newLine": true
22
+ },
23
+ "enableRealtimedata": {
24
+ "type": "checkbox",
25
+ "newLine": true
26
+ },
27
+ "intervalRealtimedata": {
28
+ "sm": 5,
29
+ "min":10,
30
+ "type": "number",
31
+ "label": "Interval to read realtime data",
32
+ "newLine": false
33
+ },
34
+ "enableEnergydata": {
35
+ "type": "checkbox",
36
+ "newLine": true
37
+ },
38
+ "intervalEnergydata": {
39
+ "sm": 5,
40
+ "min":60,
41
+ "type": "number",
42
+ "label": "Interval to read energy data",
43
+ "newLine": false
44
+ },
45
+ "enableSettingsdata": {
46
+ "type": "checkbox",
47
+ "newLine": true
48
+ },
49
+ "intervalSettingsdata": {
50
+ "sm": 5,
51
+ "min":60,
52
+ "type": "number",
53
+ "label": "Interval to read settings data",
54
+ "newLine": false
55
+ },
56
+ "updateUnchangedStates": {
57
+ "type": "checkbox",
58
+ "label": "Update unchanged states",
59
+ "newLine": true
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,200 @@
1
+ {
2
+ "common": {
3
+ "name": "alpha-ess",
4
+ "version": "0.0.6-beta.1",
5
+ "news": {
6
+ "0.0.6-beta.1": {
7
+ "en": "...",
8
+ "de": "...",
9
+ "ru": "...",
10
+ "pt": "...",
11
+ "nl": "...",
12
+ "fr": "...",
13
+ "it": "...",
14
+ "es": "...",
15
+ "pl": "...",
16
+ "uk": "...",
17
+ "zh-cn": "..."
18
+ },
19
+ "0.0.6-beta.0": {
20
+ "en": "...",
21
+ "de": "...",
22
+ "ru": "...",
23
+ "pt": "...",
24
+ "nl": "...",
25
+ "fr": "...",
26
+ "it": "...",
27
+ "es": "...",
28
+ "pl": "...",
29
+ "uk": "...",
30
+ "zh-cn": "..."
31
+ },
32
+ "0.0.1": {
33
+ "en": "initial release",
34
+ "de": "Erstveröffentlichung",
35
+ "ru": "Начальная версия",
36
+ "pt": "lançamento inicial",
37
+ "nl": "Eerste uitgave",
38
+ "fr": "Première version",
39
+ "it": "Versione iniziale",
40
+ "es": "Versión inicial",
41
+ "pl": "Pierwsze wydanie",
42
+ "zh-cn": "首次出版",
43
+ "uk": "початковий випуск"
44
+ },
45
+ "0.0.2": {
46
+ "en": "Corrected api call for realtime data",
47
+ "de": "API-Aufruf für Echtzeitdaten korrigiert",
48
+ "ru": "Исправлен вызов API для данных в реальном времени.",
49
+ "pt": "Chamada de API corrigida para dados em tempo real",
50
+ "nl": "Gecorrigeerde api-oproep voor realtime gegevens",
51
+ "fr": "Appel api corrigé pour les données en temps réel",
52
+ "it": "Corretta la chiamata API per i dati in tempo reale",
53
+ "es": "Llamada api corregida para datos en tiempo real",
54
+ "pl": "Poprawione wywołanie API dla danych w czasie rzeczywistym",
55
+ "uk": "Виправлений виклик API для даних у реальному часі",
56
+ "zh-cn": "更正了实时数据的 api 调用"
57
+ },
58
+ "0.0.3": {
59
+ "en": "Refactored API calls, added dayly energy values",
60
+ "de": "Überarbeitete API-Aufrufe, tägliche Energiewerte hinzugefügt",
61
+ "ru": "Рефакторинг вызовов API, добавлены ежедневные значения энергии",
62
+ "pt": "Chamadas de API refatoradas, valores diários de energia adicionados",
63
+ "nl": "API-oproepen aangepast, dagelijkse energiewaarden toegevoegd",
64
+ "fr": "Appels API refactorisés, valeurs énergétiques quotidiennes ajoutées",
65
+ "it": "Chiamate API refactoring, valori energetici giornalieri aggiunti",
66
+ "es": "Llamadas API refactorizadas, valores de energía diarios agregados",
67
+ "pl": "Zrefaktoryzowane wywołania API, dodane dzienne wartości energii",
68
+ "uk": "Перероблено виклики API, додано добові значення енергії",
69
+ "zh-cn": "重构 API 调用,添加每日能量值"
70
+ },
71
+ "0.0.4": {
72
+ "en": "Use axios to perform Alpha ESS API calls instead of deprecated request\nNew option \"Update unchanged states\"",
73
+ "de": "Verwenden von axios für Alpha-ESS-API-Aufrufe anstelle von veraltetem request\nNeue Option \"Unveränderte Zustände aktualisieren\"",
74
+ "ru": "Используйте axios для выполнения вызовов API Alpha ESS вместо устаревшего запроса\nНовая опция «Обновить неизмененные состояния»",
75
+ "pt": "Use axios para executar chamadas de API Alpha ESS em vez de solicitação obsoleta\nNova opção \"Atualizar estados inalterados\"",
76
+ "nl": "Gebruik axios om Alpha ESS API-aanroepen uit te voeren in plaats van verouderde verzoeken\nNieuwe optie \"Update ongewijzigde statussen\"",
77
+ "fr": "Utilisez axios pour effectuer des appels d'API Alpha ESS au lieu d'une requête obsolète\nNouvelle option \"Mettre à jour les états inchangés\"",
78
+ "it": "Usa axios per eseguire chiamate API Alpha ESS invece di richieste obsolete\nNuova opzione \"Aggiorna stati invariati\"",
79
+ "es": "Use axios para realizar llamadas API Alpha ESS en lugar de solicitudes obsoletas\nNueva opción \"Actualizar estados sin cambios\"",
80
+ "pl": "Użyj axios do wykonywania wywołań API Alpha ESS zamiast przestarzałych żądań\nNowa opcja „Aktualizuj niezmienione stany”",
81
+ "uk": "Використовуйте axios для виконання викликів API Alpha ESS замість застарілого запиту\nНова опція «Оновити незмінені стани»",
82
+ "zh-cn": "使用 axios 执行 Alpha ESS API 调用而不是弃用的请求\n新选项“更新未更改的状态”"
83
+ },
84
+ "0.0.5": {
85
+ "en": "Use meaningful state names\nUse suitable state roles\nAdded new state for Alpha ESS settings parameter 'upsReserve'",
86
+ "de": "Verwenden aussagekräftiger Zustandsnamen\nVerwenden geeigneter Zustandsrollen\nNeuer Status für Alpha ESS-Einstellungsparameter „upsReserve“ hinzugefügt",
87
+ "ru": "Используйте осмысленные имена состояний\nИспользуйте подходящие государственные роли\nДобавлено новое состояние для параметра настроек Alpha ESS «upsReserve».",
88
+ "pt": "Use nomes de estado significativos\nUse funções de estado adequadas\nAdicionado novo estado para o parâmetro de configurações Alpha ESS 'upsReserve'",
89
+ "nl": "Gebruik betekenisvolle staatsnamen\nGebruik geschikte staatsrollen\nNieuwe status toegevoegd voor Alpha ESS-instellingenparameter 'upsReserve'",
90
+ "fr": "Utiliser des noms d'état significatifs\nUtiliser des rôles d'état appropriés\nAjout d'un nouvel état pour le paramètre de paramètres Alpha ESS 'upsReserve'",
91
+ "it": "Usa nomi di stato significativi\nUtilizzare ruoli statali adeguati\nAggiunto nuovo stato per il parametro delle impostazioni Alpha ESS 'upsReserve'",
92
+ "es": "Use nombres de estado significativos\nUsar roles de estado adecuados\nSe agregó un nuevo estado para el parámetro de configuración Alpha ESS 'upsReserve'",
93
+ "pl": "Używaj znaczących nazw stanów\nUżyj odpowiednich ról państwowych\nDodano nowy stan parametru ustawień Alpha ESS „upsReserve”",
94
+ "uk": "Використовуйте значущі назви держав\nВикористовуйте відповідні державні ролі\nДодано новий стан для параметра налаштувань Alpha ESS 'upsReserve'",
95
+ "zh-cn": "使用有意义的状态名称\n使用合适的状态角色\n为 Alpha ESS 设置参数“upsReserve”添加了新状态"
96
+ }
97
+ },
98
+ "titleLang": {
99
+ "en": "Alpha ESS",
100
+ "de": "Alpha-ESS",
101
+ "ru": "Альфа ЭСС",
102
+ "pt": "Alfa ESS",
103
+ "nl": "Alfa ESS",
104
+ "fr": "Alpha SSE",
105
+ "it": "Alfa ESS",
106
+ "es": "Alfa ESS",
107
+ "pl": "Alfa ESS",
108
+ "zh-cn": "阿尔法 ESS",
109
+ "uk": "Альфа ESS"
110
+ },
111
+ "desc": {
112
+ "en": "Read and write data from and to Alpha ESS systems.",
113
+ "de": "Lesen und schreiben Sie Daten von und zu Alpha ESS-Systemen.",
114
+ "ru": "Чтение и запись данных из и в системы Alpha ESS.",
115
+ "pt": "Ler e gravar dados de e para sistemas Alpha ESS.",
116
+ "nl": "Gegevens lezen en schrijven van en naar Alpha ESS-systemen.",
117
+ "fr": "Lire et écrire des données depuis et vers les systèmes Alpha ESS.",
118
+ "it": "Leggere e scrivere dati da e verso sistemi Alpha ESS.",
119
+ "es": "Lea y escriba datos desde y hacia los sistemas Alpha ESS.",
120
+ "pl": "Odczytywanie i zapisywanie danych zi do systemów Alpha ESS.",
121
+ "zh-cn": "在 Alpha ESS 系统中读取和写入数据。",
122
+ "uk": "Читання та запис даних із систем Alpha ESS і до них."
123
+ },
124
+ "authors": [
125
+ "Gaspode <gaspode69@online.de>"
126
+ ],
127
+ "keywords": [
128
+ "photovoltaik"
129
+ ],
130
+ "license": "MIT",
131
+ "platform": "Javascript/Node.js",
132
+ "main": "main.js",
133
+ "icon": "alpha-ess.png",
134
+ "enabled": true,
135
+ "extIcon": "https://raw.githubusercontent.com/Gaspode69/ioBroker.alpha-ess/main/admin/alpha-ess.png",
136
+ "readme": "https://github.com/Gaspode69/ioBroker.alpha-ess/blob/main/README.md",
137
+ "loglevel": "info",
138
+ "mode": "daemon",
139
+ "type": "metering",
140
+ "compact": true,
141
+ "connectionType": "cloud",
142
+ "dataSource": "poll",
143
+ "adminUI": {
144
+ "config": "json"
145
+ },
146
+ "dependencies": [
147
+ {
148
+ "js-controller": ">=3.3.22"
149
+ }
150
+ ],
151
+ "globalDependencies": [
152
+ {
153
+ "admin": ">=5.1.13"
154
+ }
155
+ ]
156
+ },
157
+ "encryptedNative": [
158
+ "password"
159
+ ],
160
+ "protectedNative": [
161
+ "username",
162
+ "password"
163
+ ],
164
+ "native": {
165
+ "username": "demo",
166
+ "password": "",
167
+ "systemId": "AL2002017100021",
168
+ "enableRealtimedata": true,
169
+ "intervalRealtimedata": 30,
170
+ "enableEnergydata": true,
171
+ "intervalEnergydata": 300,
172
+ "enableSettingsdata": false,
173
+ "intervalSettingsdata": 300,
174
+ "updateUnchangedStates": false
175
+ },
176
+ "objects": [],
177
+ "instanceObjects": [
178
+ {
179
+ "_id": "info",
180
+ "type": "channel",
181
+ "common": {
182
+ "name": "Information"
183
+ },
184
+ "native": {}
185
+ },
186
+ {
187
+ "_id": "info.connection",
188
+ "type": "state",
189
+ "common": {
190
+ "role": "indicator.connected",
191
+ "name": "Device or service connected",
192
+ "type": "boolean",
193
+ "read": true,
194
+ "write": false,
195
+ "def": false
196
+ },
197
+ "native": {}
198
+ }
199
+ ]
200
+ }
@@ -0,0 +1,19 @@
1
+ // This file extends the AdapterConfig type from "@types/iobroker"
2
+ // using the actual properties present in io-package.json
3
+ // in order to provide typings for adapter.config properties
4
+
5
+ import { native } from '../io-package.json';
6
+
7
+ type _AdapterConfig = typeof native;
8
+
9
+ // Augment the globally declared type ioBroker.AdapterConfig
10
+ declare global {
11
+ namespace ioBroker {
12
+ interface AdapterConfig extends _AdapterConfig {
13
+ // Do not enter anything here!
14
+ }
15
+ }
16
+ }
17
+
18
+ // this is required so the above AdapterConfig is found by TypeScript / type checking
19
+ export {};