iobroker.sun2000 0.1.2-alpha.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) 2024 bolliy <stephan@mante.info>
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,106 @@
1
+ ![Logo](admin/sun2000.png)
2
+ # ioBroker.sun2000
3
+
4
+ [![NPM version](https://img.shields.io/npm/v/iobroker.sun2000.svg)](https://www.npmjs.com/package/iobroker.sun2000)
5
+ [![Downloads](https://img.shields.io/npm/dm/iobroker.sun2000.svg)](https://www.npmjs.com/package/iobroker.sun2000)
6
+ ![Number of Installations](https://iobroker.live/badges/sun2000-installed.svg)
7
+ ![Current version in stable repository](https://iobroker.live/badges/sun2000-stable.svg)
8
+
9
+ [![NPM](https://nodei.co/npm/iobroker.sun2000.png?downloads=true)](https://nodei.co/npm/iobroker.sun2000/)
10
+
11
+ **Tests:** ![Test and Release](https://github.com/bolliy/ioBroker.sun2000/workflows/Test%20and%20Release/badge.svg)
12
+
13
+ ## sun2000 adapter for ioBroker
14
+
15
+ Read register data from Huawei SUN2000 inverter and LUNA2000 battery using Modbus TCP.
16
+
17
+ Modbus interface definition (Issue 5, 2023-02-16):
18
+ https://forum.iobroker.net/assets/uploads/files/1699119419919-solar-inverter-modbus-interface-definitions-v5.pdf
19
+
20
+ The development of this adapter was inspired by discussions from the forum thread https://forum.iobroker.net/topic/53005/huawei-sun2000-iobroker-via-js-script-funktioniert and the iobroker javascript https://github.com/ChrisBCH/SunLuna2000_iobroker.
21
+
22
+ ## Supported hardware
23
+
24
+ * HUAWEI Inverter (SUN2000 Serie) M1
25
+ * HUAWEI Smart Dongle-WLAN-FE / min. Softwareversion: xxxSPC133 (SDongleA-05)
26
+ * HUAWEI Luna2000 Battery
27
+ * HUAWEI Smart Power Sensor DTSU666-H or DDSU666-H
28
+
29
+ ## Feature list
30
+
31
+ * Maximum 5 inverters (master/slave) can be processed, each with a battery module (max. 30kWh).
32
+ * Live data such as input power , output power , battery charging/discharging power and the grid consumption (meter.activePower) are read out at a fixed interval (default 20 seconds).
33
+ * States are only written for changed data from the inverter. This relieves the burden on the iobroker instance.
34
+ * The states “inputPower” or “activePower” in the “collected” path can be monitored with a “was updated” trigger element. Because these states are always written within the set interval.
35
+
36
+ ## Configure inverters
37
+
38
+ In order to use the Modbus connection, all Huawei devices must use the latest firmware
39
+ feature. You can perform latest firmware directly in the FusionSolar portal under “Upgrades”.
40
+ In the FusionSolar setup you still have to activate the Modbus on the WLAN dongle and set the access authorization. Download the FusionSolar-App onto your cell phone and use it to connect via the inverter's WLAN hotspot directly.
41
+ After the click on `Me` (Ich) in the footer Menu> `Commission Device` ("Inbetriebnahme des Geräts“) > `log in` (am Wechselrichter anmelden).
42
+
43
+ To log into the app as an `installer` you need usually the password:`00000a` or `0000000a`
44
+ You may also need a password to connect to the inverters own WLAN: `Changeme`
45
+
46
+ After login on the inverter go to `Settings` (Einstellungen) > `Communication configuration` (Kommunikationskonfiguration) > `Dongle parameter settings` (Dongle‐Parametereinstellungen) > `Modbus TCP` > Activate the `connection without restriction` (Verbindung uneingeschränkt aktivieren). You can also enter the Modbus comm address at the same time read out.
47
+ If you use two inverters, then connect to the second inverter and read the communication address there too. A maximum of 2 inverters can be connected via Modbus.
48
+
49
+
50
+ ## Settings
51
+
52
+ * `address`: Inverter IP address
53
+ * `port`: Inverter modbus port (default: 502)
54
+ * `modbusIds`: inverter IDs, separated with "," (default: 1, max. 5 inverters)
55
+ * `updateInterval`: Fast update interval (default: 20 sec)
56
+
57
+ ## Changelog
58
+ <!--
59
+ Placeholder for the next version (at the beginning of the line):
60
+ ### **WORK IN PROGRESS**
61
+ -->
62
+ ### 0.1.2-alpha.1 (2024-01-11)
63
+ * deploy npm package
64
+
65
+ ### 0.1.2-alpha.0 (2024-01-11)
66
+ * prepare collected values more precisely
67
+ * expand up to 5 inverters #18
68
+ * fix problems with multiple inverters
69
+
70
+ ### 0.1.1 (2024-01-07)
71
+ * fix some collected values
72
+
73
+ ### 0.1.0 (2024-01-06)
74
+ * watchdog implemented #11
75
+ * state values are cached - only changed data should be stored
76
+ * derived and collected values for example `inputPowerEffective` or `inputYield`
77
+ * deploy more register
78
+
79
+ ### 0.0.2 (2023-12-19)
80
+ Dependency and configuration updates
81
+
82
+ ### 0.0.1
83
+ initial release
84
+
85
+ ## License
86
+ MIT License
87
+
88
+ Copyright (c) 2024 bolliy <stephan@mante.info>
89
+
90
+ Permission is hereby granted, free of charge, to any person obtaining a copy
91
+ of this software and associated documentation files (the "Software"), to deal
92
+ in the Software without restriction, including without limitation the rights
93
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
94
+ copies of the Software, and to permit persons to whom the Software is
95
+ furnished to do so, subject to the following conditions:
96
+
97
+ The above copyright notice and this permission notice shall be included in all
98
+ copies or substantial portions of the Software.
99
+
100
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
101
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
102
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
103
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
104
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
105
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
106
+ SOFTWARE.
@@ -0,0 +1,10 @@
1
+ {
2
+ "sun2000 adapter settings": "Adaptereinstellungen für sun2000",
3
+ "Address": "IP-Adresse des Wechselrichters",
4
+ "address": "IP-Adresse (koien) des Wechselrichters",
5
+ "Port": "Modbus-TCP-Port",
6
+ "Modbus unit ID": "Modbus-Einheits-ID",
7
+ "port": "modbus TCP port",
8
+ "Update interval (s)": "Update interval",
9
+ "Modbus Inverter ID": "Modbus-Wechselrichter-ID"
10
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "sun2000 adapter settings": "Adapter settings for huawai inverter sun2000",
3
+ "address": "Inverter IP address",
4
+ "port": "modbus TCP port",
5
+ "Modbus Inverter ID" : "Modbus Inverter ID",
6
+ "Update interval (s)": "Update interval [sec]"
7
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "sun2000 adapter settings": "Ajustes del adaptador para sun2000",
3
+ "option1": "Opción 1",
4
+ "option2": "opcion 2",
5
+ "Address": "Dirección IP del inversor",
6
+ "Port": "puerto modbus tcp",
7
+ "Modbus unit ID": "ID de unidad Modbus",
8
+ "address": "Inverter IP address",
9
+ "port": "Puerto TCP Modbus",
10
+ "Update interval (s)": "Intervalo de actualización",
11
+ "Modbus Inverter ID": "ID del inversor Modbus"
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "sun2000 adapter settings": "Paramètres d'adaptateur pour sun2000",
3
+ "option1": "Option 1",
4
+ "option2": "Option 2",
5
+ "Address": "Adresse IP de l'onduleur",
6
+ "Port": "port TCP Modbus",
7
+ "Modbus unit ID": "ID de l'unité Modbus",
8
+ "address": "Adresse IP de l'onduleur",
9
+ "port": "port TCP Modbus",
10
+ "Update interval (s)": "Intervalle de mise à jour",
11
+ "Modbus Inverter ID": "ID de l'onduleur Modbus"
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "sun2000 adapter settings": "Impostazioni dell'adattatore per sun2000",
3
+ "option1": "opzione 1",
4
+ "option2": "opzione 2",
5
+ "Address": "Indirizzo IP dell'inverter",
6
+ "Port": "porta tcp modbus",
7
+ "Modbus unit ID": "ID unità Modbus",
8
+ "address": "Indirizzo IP dell'inverter",
9
+ "port": "porta TCP Modbus",
10
+ "Update interval (s)": "Intervallo di aggiornamento",
11
+ "Modbus Inverter ID": "ID dell'inverter Modbus"
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "sun2000 adapter settings": "Adapterinstellingen voor sun2000",
3
+ "option1": "Optie 1",
4
+ "option2": "Optie 2",
5
+ "Address": "IP-adres van de omvormer",
6
+ "Port": "modbus tcp-poort",
7
+ "Modbus unit ID": "Modbus-eenheid-ID",
8
+ "address": "IP-adres van de omvormer",
9
+ "port": "modbus TCP-poort",
10
+ "Update interval (s)": "Bijwerkingsonderbreking",
11
+ "Modbus Inverter ID": "Modbus-omvormer-ID"
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "sun2000 adapter settings": "Ustawienia adaptera dla sun2000",
3
+ "option1": "opcja 1",
4
+ "option2": "Opcja 2",
5
+ "Address": "Adres IP falownika",
6
+ "Port": "port Modbus TCP",
7
+ "Modbus unit ID": "Identyfikator jednostki Modbus",
8
+ "address": "Adres IP falownika",
9
+ "port": "portu Modbus TCP",
10
+ "Update interval (s)": "Interwał aktualizacji",
11
+ "Modbus Inverter ID": "Identyfikator falownika Modbus"
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "sun2000 adapter settings": "Configurações do adaptador para sun2000",
3
+ "option1": "Opção 1",
4
+ "option2": "opção 2",
5
+ "Address": "Endereço IP do inversor",
6
+ "Port": "porta modbus tcp",
7
+ "Modbus unit ID": "ID da unidade Modbus",
8
+ "address": "Endereço IP do inversor",
9
+ "port": "porta modbus TCP",
10
+ "Update interval (s)": "Intervalo de atualização",
11
+ "Modbus Inverter ID": "ID do inversor Modbus"
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "sun2000 adapter settings": "Настройки адаптера для sun2000",
3
+ "option1": "Опция 1",
4
+ "option2": "вариант 2",
5
+ "Address": "IP-адрес инвертора",
6
+ "Port": "TCP-порт Modbus",
7
+ "Modbus unit ID": "Идентификатор устройства Modbus",
8
+ "address": "IP-адрес инвертора",
9
+ "port": "TCP-порт Modbus",
10
+ "Update interval (s)": "Интервал обновления",
11
+ "Modbus Inverter ID": "Идентификатор преобразователя Modbus"
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "sun2000 adapter settings": "Налаштування адаптера для sun2000",
3
+ "option1": "варіант1",
4
+ "option2": "варіант2",
5
+ "Address": "IP-адреса інвертора",
6
+ "Port": "порт modbus tcp",
7
+ "Modbus unit ID": "ID пристрою Modbus",
8
+ "address": "IP-адреса інвертора",
9
+ "port": "порт Modbus TCP",
10
+ "Update interval (s)": "Інтервал оновлення",
11
+ "Modbus Inverter ID": "Ідентифікатор інвертора Modbus"
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "sun2000 adapter settings": "sun2000的适配器设置",
3
+ "option1": "选项1",
4
+ "option2": "选项2",
5
+ "Address": "逆变器IP地址",
6
+ "Port": "MODBUS TCP 端口",
7
+ "Modbus unit ID": "Modbus 单元 ID",
8
+ "address": "逆变器IP地址",
9
+ "port": "Modbus TCP 端口",
10
+ "Update interval (s)": "更新间隔",
11
+ "Modbus Inverter ID": "Modbus 逆变器 ID"
12
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "i18n": true,
3
+ "type": "panel",
4
+ "items": {
5
+ "address": {
6
+ "type": "text",
7
+ "label": "address",
8
+ "newLine": false,
9
+ "tooltip": "The inverters ip address"
10
+ },
11
+ "port": {
12
+ "type": "number",
13
+ "label": "port",
14
+ "default": 502,
15
+ "newLine": true,
16
+ "tooltip": "The modbus TCP port"
17
+ },
18
+ "modbusIds": {
19
+ "type": "text",
20
+ "label": "Modbus Inverter IDs",
21
+ "default": "1",
22
+ "newLine": true,
23
+ "tooltip": "The modbus inverter IDs, separated with character \",\""
24
+ },
25
+ "updateInterval": {
26
+ "type": "number",
27
+ "label": "Update interval (s)",
28
+ "default": 20,
29
+ "newLine": true,
30
+ "tooltip": "Update interval to update the values from the inverters"
31
+ }
32
+ }
33
+ }
Binary file
@@ -0,0 +1,206 @@
1
+ {
2
+ "common": {
3
+ "name": "sun2000",
4
+ "version": "0.1.2-alpha.1",
5
+ "news": {
6
+ "0.1.2-alpha.1": {
7
+ "en": "deploy npm package",
8
+ "de": "npm paket bereitstellen",
9
+ "ru": "развернуть пакет npm",
10
+ "pt": "implementar pacote npm",
11
+ "nl": "npm-pakket implementeren",
12
+ "fr": "déployer le paquet npm",
13
+ "it": "distribuire il pacchetto npm",
14
+ "es": "paquete npm",
15
+ "pl": "rozmieszczenie pakietu npm",
16
+ "uk": "пакет npm",
17
+ "zh-cn": "部署 npm 软件包"
18
+ },
19
+ "0.1.2-alpha.0": {
20
+ "en": "prepare collected values more precisely\nexpand up to 5 inverters #18\nfix problems with multiple inverters",
21
+ "de": "die gesammelten werte genauer\nbis zu 5 wechselrichtern #18 erweitern\nprobleme mit mehreren wechselrichtern beheben",
22
+ "ru": "готовить собранные значения точнее\n#18\nисправить проблемы с несколькими инверторами",
23
+ "pt": "preparar valores coletados mais precisamente\nexpandir até 5 inversores #18\ncorrigir problemas com vários inversores",
24
+ "nl": "verzamelde waarden nauwkeuriger voorbereiden\nuit te breiden tot 5 omvormers #18\nproblemen oplossen met meerdere inverters",
25
+ "fr": "préparer plus précisément les valeurs collectées\nétendre jusqu'à 5 onduleurs #18\nrésoudre les problèmes avec plusieurs onduleurs",
26
+ "it": "preparare i valori raccolti più precisamente\nespandere fino a 5 inverter #18\nrisolvere problemi con più inverter",
27
+ "es": "preparar los valores recogidos con mayor precisión\nampliar hasta 5 inversores #18\nsolucionar problemas con múltiples inversores",
28
+ "pl": "dokładniej przygotować zebrane wartości\nrozszerzyć do 5 inwerterów # 18\nrozwiązać problemy z wieloma inwerterami",
29
+ "uk": "підготовка зібраних значень точно\nрозширити до 5 інверторів #18\nвиправити проблеми з декількома інверторами",
30
+ "zh-cn": "更准确地编制收集的数值\n扩展至5个反转器 # 18\n解决多个反转器的问题"
31
+ },
32
+ "0.1.1": {
33
+ "en": "fix some collected values",
34
+ "de": "Korrektur einiger der gesammelten Werte (collected values)"
35
+ }
36
+ },
37
+ "titleLang": {
38
+ "en": "sun2000",
39
+ "de": "sun2000",
40
+ "ru": "солнце2000",
41
+ "pt": "sol2000",
42
+ "nl": "zon2000",
43
+ "fr": "soleil2000",
44
+ "it": "sole2000",
45
+ "es": "sol2000",
46
+ "pl": "słońce2000",
47
+ "uk": "sun2000",
48
+ "zh-cn": "太阳2000"
49
+ },
50
+ "desc": {
51
+ "en": "Read data from Huawei SUN2000 inverter and LUNA2000 battery using Modbus TCP\n",
52
+ "de": "Lesen Sie die Daten von Huawei SUN2000 Wechselrichter und LUNA2000 Akku mit Modbus TCP\n",
53
+ "ru": "Прочитайте данные от Huawei SUN2000 inverter и LUNA2000 батареи с помощью Modbus TCP\n",
54
+ "pt": "Leia dados do inversor Huawei SUN2000 e da bateria LUNA2000 usando Modbus TCP\n",
55
+ "nl": "Lees gegevens van Huawei SUN2000 inverter en LUNA2000 batterij met Modbus TCP\n",
56
+ "fr": "Lire les données de Huawei SUN2000 inverter et batterie LUNA2000 en utilisant Modbus TCP\n",
57
+ "it": "Leggi i dati dell'inverter Huawei SUN2000 e della batteria LUNA2000 utilizzando Modbus TCP\n",
58
+ "es": "Lea los datos de la batería Huawei SUN2000 inverter y LUNA2000 utilizando Modbus TCP\n",
59
+ "pl": "Dane z inwersatora Huawei SUN2000 i baterii LUNA2000 za pomocą modułu TCP\n",
60
+ "uk": "Читання даних від Huawei SUN2000 і LUNA2000 батареї за допомогою Modbus TCP\n",
61
+ "zh-cn": "使用Modbus TCPT2000 verter和LUN2000电池的阅读数据\n"
62
+ },
63
+ "authors": [
64
+ "bolliy <stephan@mante.info>"
65
+ ],
66
+ "keywords": [
67
+ "huawei",
68
+ "modbus",
69
+ "sun2000",
70
+ "luna2000",
71
+ "inverter"
72
+ ],
73
+ "license": "MIT",
74
+ "platform": "Javascript/Node.js",
75
+ "main": "main.js",
76
+ "icon": "sun2000.png",
77
+ "enabled": true,
78
+ "extIcon": "https://raw.githubusercontent.com/bolliy/ioBroker.sun2000/main/admin/sun2000.png",
79
+ "readme": "https://github.com/bolliy/ioBroker.sun2000/blob/main/README.md",
80
+ "loglevel": "info",
81
+ "mode": "daemon",
82
+ "type": "energy",
83
+ "compact": true,
84
+ "connectionType": "local",
85
+ "dataSource": "poll",
86
+ "adminUI": {
87
+ "config": "json"
88
+ },
89
+ "dependencies": [
90
+ {
91
+ "js-controller": ">=3.3.22"
92
+ }
93
+ ],
94
+ "globalDependencies": [
95
+ {
96
+ "admin": ">=5.1.13"
97
+ }
98
+ ]
99
+ },
100
+ "native": {
101
+ "address": "",
102
+ "port": 502,
103
+ "modbusIds": "1",
104
+ "updateInterval": 20
105
+ },
106
+ "objects": [],
107
+ "instanceObjects": [
108
+ {
109
+ "_id": "info",
110
+ "type": "channel",
111
+ "common": {
112
+ "name": {
113
+ "en": "Information",
114
+ "de": "Informationen",
115
+ "ru": "Информация",
116
+ "pt": "Informação",
117
+ "nl": "Informatie",
118
+ "fr": "Information",
119
+ "it": "Informazioni",
120
+ "es": "Información",
121
+ "pl": "Informacja",
122
+ "uk": "Інформація",
123
+ "zh-cn": "信息"
124
+ },
125
+ "role": "info"
126
+ },
127
+ "native": {}
128
+ },
129
+ {
130
+ "_id": "info.connection",
131
+ "type": "state",
132
+ "common": {
133
+ "name": {
134
+ "en": "Inverter connected",
135
+ "de": "Wechselrichter angeschlossen"
136
+ },
137
+ "type": "boolean",
138
+ "role": "indicator.connected",
139
+ "read": true,
140
+ "write": false,
141
+ "desc": "Is the inverter connected?"
142
+ }
143
+ },
144
+ {
145
+ "_id": "info.ip",
146
+ "type": "state",
147
+ "common": {
148
+ "name": {
149
+ "en": "Inverter IP",
150
+ "de": "Inverter IP"
151
+ },
152
+ "type": "string",
153
+ "role": "indicator.ip",
154
+ "read": true,
155
+ "write": false,
156
+ "desc": "Inverter IP address"
157
+ }
158
+ },
159
+ {
160
+ "_id": "info.port",
161
+ "type": "state",
162
+ "common": {
163
+ "name": {
164
+ "en": "Modbus port",
165
+ "de": "Modbusport"
166
+ },
167
+ "type": "number",
168
+ "role": "indicator.port",
169
+ "read": true,
170
+ "write": false,
171
+ "desc": "Inverter modbus port"
172
+ }
173
+ },
174
+ {
175
+ "_id": "info.modbusIds",
176
+ "type": "state",
177
+ "common": {
178
+ "name": {
179
+ "en": "Secondary Modbus inverter ID",
180
+ "de": "Modbus ID des 2ten Wechselrichters"
181
+ },
182
+ "type": "string",
183
+ "role": "indicator.id",
184
+ "read": true,
185
+ "write": false,
186
+ "desc": "Inverter modbus inverter IDs"
187
+ }
188
+ },
189
+ {
190
+ "_id": "info.modbusUpdateInterval",
191
+ "type": "state",
192
+ "common": {
193
+ "name": {
194
+ "en": "modbus update interval",
195
+ "de": "modbus Update Intervall"
196
+ },
197
+ "type": "number",
198
+ "role": "value",
199
+ "read": true,
200
+ "write": false,
201
+ "desc": "modbus update interval",
202
+ "unit": "sec"
203
+ }
204
+ }
205
+ ]
206
+ }
@@ -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 {};