iobroker.sma-echarger 0.1.6 → 0.1.8
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 +21 -21
- package/README.md +93 -155
- package/admin/i18n/en.json +6 -6
- package/admin/jsonConfig.json +46 -46
- package/io-package.json +47 -44
- package/lib/adapter-config.d.ts +22 -22
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 SpongeTroN <rolf@bunter-waeschekorb.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.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 SpongeTroN <rolf@bunter-waeschekorb.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
CHANGED
|
@@ -1,169 +1,107 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
# ioBroker.sma-echarger
|
|
4
|
-
|
|
5
|
-
[ and start programming!
|
|
51
|
-
|
|
52
|
-
### Best Practices
|
|
53
|
-
|
|
54
|
-
We've collected some [best practices](https://github.com/ioBroker/ioBroker.repositories#development-and-coding-best-practices) regarding ioBroker development and coding in general. If you're new to ioBroker or Node.js, you should
|
|
55
|
-
check them out. If you're already experienced, you should also take a look at them - you might learn something new :)
|
|
56
|
-
|
|
57
|
-
### State Roles
|
|
58
|
-
|
|
59
|
-
When creating state objects, it is important to use the correct role for the state. The role defines how the state should be interpreted by visualizations and other adapters. For a list of available roles and their meanings, please refer to the [state roles documentation](https://www.iobroker.net/#en/documentation/dev/stateroles.md).
|
|
60
|
-
|
|
61
|
-
**Important:** Do not invent your own custom role names. If you need a role that is not part of the official list, please contact the ioBroker developer community for guidance and discussion about adding new roles.
|
|
62
|
-
|
|
63
|
-
### Scripts in `package.json`
|
|
64
|
-
|
|
65
|
-
Several npm scripts are predefined for your convenience. You can run them using `npm run <scriptname>`
|
|
66
|
-
|
|
67
|
-
| Script name | Description |
|
|
68
|
-
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
69
|
-
| `test:js` | Executes the tests you defined in `*.test.js` files. |
|
|
70
|
-
| `test:package` | Ensures your `package.json` and `io-package.json` are valid. |
|
|
71
|
-
| `test:integration` | Tests the adapter startup with an actual instance of ioBroker. |
|
|
72
|
-
| `test` | Performs a minimal test run on package files and your tests. |
|
|
73
|
-
| `check` | Performs a type-check on your code (without compiling anything). |
|
|
74
|
-
| `lint` | Runs `ESLint` to check your code for formatting errors and potential bugs. |
|
|
75
|
-
| `translate` | Translates texts in your adapter to all required languages, see [`@iobroker/adapter-dev`](https://github.com/ioBroker/adapter-dev#manage-translations) for more details. |
|
|
76
|
-
| `release` | Creates a new release, see [`@alcalzone/release-script`](https://github.com/AlCalzone/release-script#usage) for more details. |
|
|
77
|
-
|
|
78
|
-
### Writing tests
|
|
79
|
-
|
|
80
|
-
When done right, testing code is invaluable, because it gives you the
|
|
81
|
-
confidence to change your code while knowing exactly if and when
|
|
82
|
-
something breaks. A good read on the topic of test-driven development
|
|
83
|
-
is https://hackernoon.com/introduction-to-test-driven-development-tdd-61a13bc92d92.
|
|
84
|
-
Although writing tests before the code might seem strange at first, but it has very
|
|
85
|
-
clear upsides.
|
|
86
|
-
|
|
87
|
-
The template provides you with basic tests for the adapter startup and package files.
|
|
88
|
-
It is recommended that you add your own tests into the mix.
|
|
89
|
-
|
|
90
|
-
### Publishing the adapter
|
|
91
|
-
|
|
92
|
-
Using GitHub Actions, you can enable automatic releases on npm whenever you push a new git tag that matches the form
|
|
93
|
-
`v<major>.<minor>.<patch>`. We **strongly recommend** that you do. The necessary steps are described in `.github/workflows/test-and-release.yml`.
|
|
94
|
-
|
|
95
|
-
Since you installed the release script, you can create a new
|
|
96
|
-
release simply by calling:
|
|
97
|
-
|
|
98
|
-
```bash
|
|
99
|
-
npm run release
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
Additional command line options for the release script are explained in the
|
|
103
|
-
[release-script documentation](https://github.com/AlCalzone/release-script#command-line).
|
|
104
|
-
|
|
105
|
-
To get your adapter released in ioBroker, please refer to the documentation
|
|
106
|
-
of [ioBroker.repositories](https://github.com/ioBroker/ioBroker.repositories#requirements-for-adapter-to-get-added-to-the-latest-repository).
|
|
107
|
-
|
|
108
|
-
### Test the adapter manually with dev-server
|
|
109
|
-
|
|
110
|
-
Since you set up `dev-server`, you can use it to run, test and debug your adapter.
|
|
111
|
-
|
|
112
|
-
You may start `dev-server` by calling from your dev directory:
|
|
113
|
-
|
|
114
|
-
```bash
|
|
115
|
-
dev-server watch
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
The ioBroker.admin interface will then be available at http://localhost:undefined/
|
|
119
|
-
|
|
120
|
-
Please refer to the [`dev-server` documentation](https://github.com/ioBroker/dev-server#command-line) for more details.
|
|
121
|
-
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# ioBroker.sma-echarger
|
|
4
|
+
|
|
5
|
+
[](https://npmjs.com)
|
|
6
|
+
[](https://npmjs.com)
|
|
7
|
+

|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
[](https://nodei.co)
|
|
11
|
+
|
|
12
|
+
**Tests:** 
|
|
13
|
+
|
|
14
|
+
## SMA eCharger adapter for ioBroker
|
|
15
|
+
|
|
16
|
+
This adapter connects your **SMA eCharger** (e.g., EVC22-3AC-20) locally via its HTTPS JSON API to ioBroker. It allows you to monitor live charging values, read device parameters, and control charging modes or power limits.
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
* **Live Measurements (`Live.*`):** Current charging power (W), total and session energy (Wh), charging status, device health, phase currents (L1–L3), and voltages.
|
|
20
|
+
* **Device Parameters (`Parameter.*`):** Automatic retrieval of all readable SMA eCharger configuration parameters.
|
|
21
|
+
* **Remote Control (`Control.*`):** Change the charging mode (Fast, PV Surplus, Target, Stop), adjust maximum active power (`WMax` / `WMaxIn`), and control charging release.
|
|
22
|
+
|
|
23
|
+
### Configuration
|
|
24
|
+
1. Open the adapter instance settings in ioBroker.
|
|
25
|
+
2. Enter the local **IP address** of your SMA eCharger.
|
|
26
|
+
3. Enter your **Username** (`user` for reading values, or `admin` / an installer account if you want to modify inverter power limits like `WMax`) and **Password**.
|
|
27
|
+
4. Set the desired **Poll interval** in seconds (default: `15` seconds).
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Deutsche Beschreibung
|
|
32
|
+
|
|
33
|
+
Dieser Adapter bindet deinen **SMA eCharger** (z. B. EVC22-3AC-20) lokal über die HTTPS-JSON-Schnittstelle an ioBroker an. Damit lassen sich Live-Messwerte auslesen, Geräteparameter überwachen sowie Lademodus und Leistungsbegrenzungen direkt steuern.
|
|
34
|
+
|
|
35
|
+
### Funktionen
|
|
36
|
+
* **Live-Messwerte (`Live.*`):** Aktuelle Ladeleistung (W), Gesamt- und Sitzungsenergie (Wh), Fahrzeug-/Ladestatus, Gerätestatus sowie Phasenströme (L1–L3) und Spannungen.
|
|
37
|
+
* **Geräteparameter (`Parameter.*`):** Automatisches Auslesen der Konfigurationsparameter des SMA eChargers.
|
|
38
|
+
* **Steuerung (`Control.*`):** Umschalten des Lademodus (Schnellladen, PV-Überschuss, Zielvorgabe, Stopp), Setzen der maximalen Wirkleistung (`WMax` / `WMaxIn`) und Ladefreigabe.
|
|
39
|
+
|
|
40
|
+
### Konfiguration
|
|
41
|
+
1. Öffne die Instanz-Einstellungen des Adapters im ioBroker Admin-Panel.
|
|
42
|
+
2. Trage die lokale **IP-Adresse** deines SMA eChargers ein.
|
|
43
|
+
3. Hinterlege **Benutzername** (`user` zum reinen Auslesen, oder `admin` bzw. ein Installateur-Konto, wenn Leistungsparameter wie `WMax` geschrieben werden sollen) und **Passwort**.
|
|
44
|
+
4. Lege das gewünschte **Abfrageintervall** in Sekunden fest (Standard: `15` Sekunden).
|
|
45
|
+
|
|
46
|
+
### Disclaimer
|
|
47
|
+
*SMA* and *eCharger* are registered trademarks of SMA Solar Technology AG. This project is an independent open-source adapter and is not affiliated with or endorsed by SMA Solar Technology AG.
|
|
48
|
+
|
|
122
49
|
## Changelog
|
|
123
|
-
|
|
124
|
-
|
|
50
|
+
<!--
|
|
51
|
+
Placeholder for the next version (at the beginning of the line):
|
|
52
|
+
### **WORK IN PROGRESS**
|
|
53
|
+
-->
|
|
54
|
+
### 0.1.8 (2026-11-18)
|
|
55
|
+
* (SpongeTroN86) Updated README documentation and fixed repository metadata in io-package.json
|
|
56
|
+
|
|
57
|
+
### 0.1.7 (2026-11-18)
|
|
58
|
+
|
|
59
|
+
* SpongeTroN86 fix: removed windows-latest from test-and-release.yml
|
|
60
|
+
|
|
61
|
+
### 0.1.6 (2026-11-18)
|
|
62
|
+
|
|
125
63
|
* SpongeTroN86 fix: removed macos-latest from test-and-release.yml
|
|
126
64
|
|
|
127
|
-
### 0.1.5 (2026-11-18)
|
|
128
|
-
|
|
65
|
+
### 0.1.5 (2026-11-18)
|
|
66
|
+
|
|
129
67
|
* SpongeTroN86 fix: add npm environment variables for deployment
|
|
130
68
|
|
|
131
|
-
### 0.1.4 (2026-11-18)
|
|
132
|
-
|
|
69
|
+
### 0.1.4 (2026-11-18)
|
|
70
|
+
|
|
133
71
|
* SpongeTroN86 fix: add "WORK IN PROGRESS" section to README
|
|
134
72
|
|
|
135
|
-
### 0.1.3 (2026-11-18)
|
|
136
|
-
|
|
73
|
+
### 0.1.3 (2026-11-18)
|
|
74
|
+
|
|
137
75
|
* SpongeTroN86 fix: add "WORK IN PROGRESS" section to README
|
|
138
76
|
|
|
139
|
-
### 0.1.2 (2026-11-18)
|
|
140
|
-
|
|
77
|
+
### 0.1.2 (2026-11-18)
|
|
78
|
+
|
|
141
79
|
* (SpongeTroN86) Added trusted publishing workflow and updated adapter dependencies
|
|
142
80
|
|
|
143
|
-
### 0.1.1 (2026-11-18)
|
|
144
|
-
|
|
81
|
+
### 0.1.1 (2026-11-18)
|
|
82
|
+
|
|
145
83
|
* (SpongeTroN) initial release
|
|
146
84
|
|
|
147
|
-
## License
|
|
148
|
-
|
|
149
|
-
MIT License
|
|
150
|
-
|
|
151
|
-
Copyright (c) 2026 SpongeTroN <rolf@bunter-waeschekorb.de>
|
|
152
|
-
|
|
153
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
154
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
155
|
-
in the Software without restriction, including without limitation the rights
|
|
156
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
157
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
158
|
-
furnished to do so, subject to the following conditions:
|
|
159
|
-
|
|
160
|
-
The above copyright notice and this permission notice shall be included in all
|
|
161
|
-
copies or substantial portions of the Software.
|
|
162
|
-
|
|
163
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
164
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
165
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
166
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
167
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
168
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
85
|
+
## License
|
|
86
|
+
|
|
87
|
+
MIT License
|
|
88
|
+
|
|
89
|
+
Copyright (c) 2026 SpongeTroN <rolf@bunter-waeschekorb.de>
|
|
90
|
+
|
|
91
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
92
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
93
|
+
in the Software without restriction, including without limitation the rights
|
|
94
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
95
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
96
|
+
furnished to do so, subject to the following conditions:
|
|
97
|
+
|
|
98
|
+
The above copyright notice and this permission notice shall be included in all
|
|
99
|
+
copies or substantial portions of the Software.
|
|
100
|
+
|
|
101
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
102
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
103
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
104
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
105
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
106
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
169
107
|
SOFTWARE.
|
package/admin/i18n/en.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"sma-echarger adapter settings": "Adapter settings for sma-echarger",
|
|
3
|
-
"IP-Adress of the SMA eChargers": "IP address of the SMA eCharger",
|
|
4
|
-
"Username (default: user)": "Username (default: user)",
|
|
5
|
-
"Password": "Password",
|
|
6
|
-
"Poll interval (seconds)": "Poll interval (seconds)"
|
|
1
|
+
{
|
|
2
|
+
"sma-echarger adapter settings": "Adapter settings for sma-echarger",
|
|
3
|
+
"IP-Adress of the SMA eChargers": "IP address of the SMA eCharger",
|
|
4
|
+
"Username (default: user)": "Username (default: user)",
|
|
5
|
+
"Password": "Password",
|
|
6
|
+
"Poll interval (seconds)": "Poll interval (seconds)"
|
|
7
7
|
}
|
package/admin/jsonConfig.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
{
|
|
2
|
-
"i18n": true,
|
|
3
|
-
"type": "panel",
|
|
4
|
-
"items": {
|
|
5
|
-
"ipAddress": {
|
|
6
|
-
"type": "text",
|
|
7
|
-
"label": "IP-Adress of the SMA eChargers",
|
|
8
|
-
"xs": 12,
|
|
9
|
-
"sm": 6,
|
|
10
|
-
"md": 4,
|
|
11
|
-
"lg": 4,
|
|
12
|
-
"xl": 4
|
|
13
|
-
},
|
|
14
|
-
"pollInterval": {
|
|
15
|
-
"type": "number",
|
|
16
|
-
"label": "Poll interval (seconds)",
|
|
17
|
-
"min": 15,
|
|
18
|
-
"max": 3600,
|
|
19
|
-
"default": 15,
|
|
20
|
-
"xs": 12,
|
|
21
|
-
"sm": 6,
|
|
22
|
-
"md": 4,
|
|
23
|
-
"lg": 4,
|
|
24
|
-
"xl": 4
|
|
25
|
-
},
|
|
26
|
-
"username": {
|
|
27
|
-
"type": "text",
|
|
28
|
-
"label": "Username (default: user)",
|
|
29
|
-
"default": "user",
|
|
30
|
-
"xs": 12,
|
|
31
|
-
"sm": 6,
|
|
32
|
-
"md": 4,
|
|
33
|
-
"lg": 4,
|
|
34
|
-
"xl": 4
|
|
35
|
-
},
|
|
36
|
-
"password": {
|
|
37
|
-
"type": "password",
|
|
38
|
-
"label": "Password",
|
|
39
|
-
"xs": 12,
|
|
40
|
-
"sm": 6,
|
|
41
|
-
"md": 4,
|
|
42
|
-
"lg": 4,
|
|
43
|
-
"xl": 4
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"i18n": true,
|
|
3
|
+
"type": "panel",
|
|
4
|
+
"items": {
|
|
5
|
+
"ipAddress": {
|
|
6
|
+
"type": "text",
|
|
7
|
+
"label": "IP-Adress of the SMA eChargers",
|
|
8
|
+
"xs": 12,
|
|
9
|
+
"sm": 6,
|
|
10
|
+
"md": 4,
|
|
11
|
+
"lg": 4,
|
|
12
|
+
"xl": 4
|
|
13
|
+
},
|
|
14
|
+
"pollInterval": {
|
|
15
|
+
"type": "number",
|
|
16
|
+
"label": "Poll interval (seconds)",
|
|
17
|
+
"min": 15,
|
|
18
|
+
"max": 3600,
|
|
19
|
+
"default": 15,
|
|
20
|
+
"xs": 12,
|
|
21
|
+
"sm": 6,
|
|
22
|
+
"md": 4,
|
|
23
|
+
"lg": 4,
|
|
24
|
+
"xl": 4
|
|
25
|
+
},
|
|
26
|
+
"username": {
|
|
27
|
+
"type": "text",
|
|
28
|
+
"label": "Username (default: user)",
|
|
29
|
+
"default": "user",
|
|
30
|
+
"xs": 12,
|
|
31
|
+
"sm": 6,
|
|
32
|
+
"md": 4,
|
|
33
|
+
"lg": 4,
|
|
34
|
+
"xl": 4
|
|
35
|
+
},
|
|
36
|
+
"password": {
|
|
37
|
+
"type": "password",
|
|
38
|
+
"label": "Password",
|
|
39
|
+
"xs": 12,
|
|
40
|
+
"sm": 6,
|
|
41
|
+
"md": 4,
|
|
42
|
+
"lg": 4,
|
|
43
|
+
"xl": 4
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "sma-echarger",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.8",
|
|
5
5
|
"news": {
|
|
6
|
+
"0.1.8": {
|
|
7
|
+
"en": "Updated README documentation and fixed repository metadata in io-package.json",
|
|
8
|
+
"de": "README-Dokumentation aktualisiert und Repository-Metadaten in io-package.json korrigiert",
|
|
9
|
+
"ru": "Обновленная документация README и исправленные метаданные репозитория в io-package.json",
|
|
10
|
+
"pt": "Documentação README atualizada e metadados fixos em io-package.json",
|
|
11
|
+
"nl": "Bijgewerkte README-documentatie en metagegevens van vaste opslagplaatsen in io-package.json",
|
|
12
|
+
"fr": "Documentation README mise à jour et métadonnées du dépôt corrigées dans io-package.json",
|
|
13
|
+
"it": "Documentazione README aggiornata e metadati fissi in io-package.json",
|
|
14
|
+
"es": "Documentación README actualizada y metadatos fijos en io-package.json",
|
|
15
|
+
"pl": "Zaktualizowano dokumentację README i stałe metadane repozytorium w io-package.json",
|
|
16
|
+
"uk": "Оновлена документація README та фіксовані метадані сховища в io-package.json",
|
|
17
|
+
"zh-cn": "更新了 io-package.json 中的 README 文档并修复了存储库元数据"
|
|
18
|
+
},
|
|
19
|
+
"0.1.7": {
|
|
20
|
+
"en": "SpongeTroN86 fix: removed windows-latest from test-and-release.yml",
|
|
21
|
+
"de": "SpongeTron86 Fix: Windows-Latest aus Test-and-Release.yml entfernt",
|
|
22
|
+
"ru": "Исправление SpongeTron86: удалена последняя версия Windows из файла test-and-release.yml",
|
|
23
|
+
"pt": "Correção SpongeTron86: removeu o windows-latest de test-and-release.yml",
|
|
24
|
+
"nl": "Oplossing SpongeTron86: de nieuwste versie van Windows verwijderd uit test-and-release.yml",
|
|
25
|
+
"fr": "Fix SpongeTron86 : Windows-Latest a été supprimé de test-and-release.yml",
|
|
26
|
+
"it": "SpongeTron86 fix: rimosso windows-latest da test-and-release.yml",
|
|
27
|
+
"es": "Solución de SpongeTron86: se quitó Windows Latest de test-and-release.yml",
|
|
28
|
+
"pl": "Poprawka SpongeTron86: usunięto windows-latest z test-and-release.yml",
|
|
29
|
+
"uk": "Виправлення SpongeTron86: видалено останнє вікно з тесту та випуску.yml",
|
|
30
|
+
"zh-cn": "Spongetron86 修复:从 test-and-release.yml 中删除了 Windows-latest"
|
|
31
|
+
},
|
|
6
32
|
"0.1.6": {
|
|
7
33
|
"en": "SpongeTroN86 fix: removed macos-latest from test-and-release.yml",
|
|
8
34
|
"de": "SpongeTron86 fix: macos-latest aus test-and-release.yml entfernt",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "Dodano zaufany przepływ pracy publikowania i zaktualizowane zależności adaptera",
|
|
68
94
|
"uk": "Додано надійний робочий процес публікації та оновлені залежності адаптера",
|
|
69
95
|
"zh-cn": "添加了可信发布工作流程并更新了适配器依赖关系"
|
|
70
|
-
},
|
|
71
|
-
"0.1.1": {
|
|
72
|
-
"en": "initial release",
|
|
73
|
-
"de": "erste Version",
|
|
74
|
-
"ru": "первоначальный релиз",
|
|
75
|
-
"pt": "versão inicial",
|
|
76
|
-
"nl": "eerste uitgave",
|
|
77
|
-
"fr": "sortie initiale",
|
|
78
|
-
"it": "prima versione",
|
|
79
|
-
"es": "versión inicial",
|
|
80
|
-
"pl": "wstępne wydanie",
|
|
81
|
-
"uk": "первинний випуск",
|
|
82
|
-
"zh-cn": "初始版本"
|
|
83
|
-
},
|
|
84
|
-
"0.1.0": {
|
|
85
|
-
"en": "First working version with live measurements, parameter scan and control states",
|
|
86
|
-
"de": "Erste funktionsfähige Version mit Live-Messwerten, Parameter-Scan und Control-Datenpunkten",
|
|
87
|
-
"ru": "Первая рабочая версия с измерениями в реальном времени, сканированием параметров и состояниями управления.",
|
|
88
|
-
"pt": "Primeira versão funcional com medições ao vivo, varredura de parâmetros e estados de controle",
|
|
89
|
-
"nl": "Eerste werkende versie met live metingen, parameterscan en controlestatussen",
|
|
90
|
-
"fr": "Première version fonctionnelle avec mesures en direct, analyse des paramètres et états de contrôle",
|
|
91
|
-
"it": "Prima versione funzionante con misurazioni in tempo reale, scansione dei parametri e stati di controllo",
|
|
92
|
-
"es": "Primera versión funcional con mediciones en vivo, escaneo de parámetros y estados de control.",
|
|
93
|
-
"pl": "Pierwsza działająca wersja z pomiarami na żywo, skanowaniem parametrów i stanami kontrolnymi",
|
|
94
|
-
"uk": "Перша робоча версія з живими вимірюваннями, скануванням параметрів і контрольними станами",
|
|
95
|
-
"zh-cn": "第一个具有实时测量、参数扫描和控制状态的工作版本"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -125,10 +125,13 @@
|
|
|
125
125
|
"SpongeTroN86 <rolf@bunter-waeschekorb.de>"
|
|
126
126
|
],
|
|
127
127
|
"keywords": [
|
|
128
|
-
"
|
|
128
|
+
"SMA",
|
|
129
129
|
"automation",
|
|
130
130
|
"IoT",
|
|
131
|
-
"integration"
|
|
131
|
+
"integration",
|
|
132
|
+
"EV",
|
|
133
|
+
"Wallbox",
|
|
134
|
+
"eCharger"
|
|
132
135
|
],
|
|
133
136
|
"licenseInformation": {
|
|
134
137
|
"type": "free",
|
|
@@ -137,8 +140,8 @@
|
|
|
137
140
|
"platform": "Javascript/Node.js",
|
|
138
141
|
"icon": "sma-echarger.png",
|
|
139
142
|
"enabled": true,
|
|
140
|
-
"extIcon": "https://raw.githubusercontent.com/SpongeTroN86/ioBroker.sma-echarger/
|
|
141
|
-
"readme": "https://github.com/SpongeTroN86/ioBroker.sma-echarger/blob/
|
|
143
|
+
"extIcon": "https://raw.githubusercontent.com/SpongeTroN86/ioBroker.sma-echarger/main/admin/sma-echarger.png",
|
|
144
|
+
"readme": "https://github.com/SpongeTroN86/ioBroker.sma-echarger/blob/main/README.md",
|
|
142
145
|
"loglevel": "info",
|
|
143
146
|
"tier": 3,
|
|
144
147
|
"mode": "daemon",
|
|
@@ -160,7 +163,18 @@
|
|
|
160
163
|
}
|
|
161
164
|
]
|
|
162
165
|
},
|
|
163
|
-
"native": {
|
|
166
|
+
"native": {
|
|
167
|
+
"ipAddress": "192.168.178.xxx",
|
|
168
|
+
"pollInterval": 15,
|
|
169
|
+
"username": "user",
|
|
170
|
+
"password": "***"
|
|
171
|
+
},
|
|
172
|
+
"encryptedNative": [
|
|
173
|
+
"password"
|
|
174
|
+
],
|
|
175
|
+
"protectedNative": [
|
|
176
|
+
"password"
|
|
177
|
+
],
|
|
164
178
|
"objects": [],
|
|
165
179
|
"instanceObjects": [
|
|
166
180
|
{
|
|
@@ -182,18 +196,7 @@
|
|
|
182
196
|
"write": false,
|
|
183
197
|
"def": false
|
|
184
198
|
},
|
|
185
|
-
"
|
|
186
|
-
"password"
|
|
187
|
-
],
|
|
188
|
-
"protectedNative": [
|
|
189
|
-
"password"
|
|
190
|
-
],
|
|
191
|
-
"native": {
|
|
192
|
-
"ipAddress": "",
|
|
193
|
-
"pollInterval": 15,
|
|
194
|
-
"username": "user",
|
|
195
|
-
"password": "***"
|
|
196
|
-
}
|
|
199
|
+
"native": {}
|
|
197
200
|
}
|
|
198
201
|
]
|
|
199
202
|
}
|
package/lib/adapter-config.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
// This file extends the AdapterConfig type from "@iobroker/types"
|
|
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
|
-
ipAddress: string;
|
|
14
|
-
pollInterval: number;
|
|
15
|
-
username: string;
|
|
16
|
-
password: string;
|
|
17
|
-
// Do not enter anything here!
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// this is required so the above AdapterConfig is found by TypeScript / type checking
|
|
1
|
+
// This file extends the AdapterConfig type from "@iobroker/types"
|
|
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
|
+
ipAddress: string;
|
|
14
|
+
pollInterval: number;
|
|
15
|
+
username: string;
|
|
16
|
+
password: string;
|
|
17
|
+
// Do not enter anything here!
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// this is required so the above AdapterConfig is found by TypeScript / type checking
|
|
23
23
|
export {};
|