iobroker.digitalstrom 2.3.0 → 3.0.0
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 -1
- package/README.md +806 -35
- package/admin/assets/index.js +682 -0
- package/admin/index.html +45 -0
- package/build/lib/activityCounter.js +82 -0
- package/build/lib/activityCounter.js.map +1 -0
- package/build/lib/configUtils.js +125 -0
- package/build/lib/configUtils.js.map +1 -0
- package/build/lib/constants.js +1285 -0
- package/build/lib/constants.js.map +1 -0
- package/build/lib/dss.js +877 -0
- package/build/lib/dss.js.map +1 -0
- package/build/lib/dssQueue.js +517 -0
- package/build/lib/dssQueue.js.map +1 -0
- package/build/lib/dssSmartHome.js +769 -0
- package/build/lib/dssSmartHome.js.map +1 -0
- package/build/lib/dssSmartHomeSync.js +601 -0
- package/build/lib/dssSmartHomeSync.js.map +1 -0
- package/build/lib/dssStructure.js +3390 -0
- package/build/lib/dssStructure.js.map +1 -0
- package/build/lib/websocket.js +386 -0
- package/build/lib/websocket.js.map +1 -0
- package/build/main.js +2203 -0
- package/build/main.js.map +1 -0
- package/io-package.json +262 -266
- package/package.json +67 -36
- package/admin/admin.d.ts +0 -1
- package/admin/index_m.html +0 -201
- package/admin/style.css +0 -10
- package/admin/words.js +0 -20
- package/img/dss-apartment.png +0 -0
- package/img/dss-devices.png +0 -0
- package/lib/adapter-config.d.ts +0 -16
- package/lib/constants.js +0 -1202
- package/lib/dss.js +0 -193
- package/lib/dssQueue.js +0 -268
- package/lib/dssStructure.js +0 -1662
- package/lib/tools.js +0 -91
- package/main.js +0 -713
package/package.json
CHANGED
|
@@ -1,60 +1,91 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.digitalstrom",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Support for
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "Support for digitalSTROM devices via DSS",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Apollon77",
|
|
7
7
|
"email": "iobroker@fischer-ka.de"
|
|
8
8
|
},
|
|
9
|
+
"contributors": [
|
|
10
|
+
{
|
|
11
|
+
"name": "André Schmitz"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
9
14
|
"homepage": "https://github.com/ioBroker/ioBroker.digitalstrom",
|
|
10
15
|
"license": "MIT",
|
|
11
16
|
"keywords": [
|
|
12
17
|
"digitalstrom",
|
|
18
|
+
"digitalSTROM",
|
|
19
|
+
"dss",
|
|
13
20
|
"iot",
|
|
14
|
-
"
|
|
21
|
+
"ioBroker"
|
|
15
22
|
],
|
|
16
23
|
"repository": {
|
|
17
24
|
"type": "git",
|
|
18
|
-
"url": "https://github.com/ioBroker/ioBroker.digitalstrom"
|
|
25
|
+
"url": "git+https://github.com/ioBroker/ioBroker.digitalstrom.git"
|
|
26
|
+
},
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=22"
|
|
19
29
|
},
|
|
30
|
+
"main": "build/main.js",
|
|
31
|
+
"files": [
|
|
32
|
+
"build/",
|
|
33
|
+
"admin/",
|
|
34
|
+
"io-package.json",
|
|
35
|
+
"LICENSE"
|
|
36
|
+
],
|
|
20
37
|
"dependencies": {
|
|
21
|
-
"@iobroker
|
|
22
|
-
"
|
|
23
|
-
"@apollon/iobroker-tools": "^0.2.0",
|
|
24
|
-
"@sentry/node": "^6.8.0",
|
|
25
|
-
"@sentry/integrations": "^6.8.0",
|
|
26
|
-
"source-map-support": "^0.5.19"
|
|
38
|
+
"@apollon/iobroker-tools": "^0.3.0",
|
|
39
|
+
"@iobroker/adapter-core": "^3.4.3"
|
|
27
40
|
},
|
|
28
41
|
"devDependencies": {
|
|
29
|
-
"@alcalzone/release-script": "^
|
|
30
|
-
"@iobroker
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
38
|
-
"@types
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"mocha": "^
|
|
42
|
+
"@alcalzone/release-script": "^5.2.1",
|
|
43
|
+
"@alcalzone/release-script-plugin-iobroker": "^5.2.0",
|
|
44
|
+
"@alcalzone/release-script-plugin-license": "^5.2.2",
|
|
45
|
+
"@emotion/react": "^11.14.0",
|
|
46
|
+
"@emotion/styled": "^11.14.1",
|
|
47
|
+
"@iobroker/adapter-react-v5": "^8.3.3",
|
|
48
|
+
"@iobroker/build-tools": "^3.0.3",
|
|
49
|
+
"@iobroker/eslint-config": "^2.3.4",
|
|
50
|
+
"@iobroker/testing": "^6.3.3",
|
|
51
|
+
"@iobroker/types": "^7.2.5",
|
|
52
|
+
"@mui/icons-material": "^6.5.0",
|
|
53
|
+
"@mui/material": "^6.5.0",
|
|
54
|
+
"@tsconfig/node22": "^22.0.7",
|
|
55
|
+
"@types/node": "^22.20.7",
|
|
56
|
+
"@vitejs/plugin-react": "^6.3.0",
|
|
57
|
+
"mocha": "^11.7.6",
|
|
45
58
|
"proxyquire": "^2.1.3",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
59
|
+
"react": "^18.3.1",
|
|
60
|
+
"react-dom": "^18.3.1",
|
|
61
|
+
"sinon": "^22.1.0",
|
|
62
|
+
"tsx": "^4.23.15",
|
|
63
|
+
"typescript": "~6.0.3",
|
|
64
|
+
"vite": "^8.4.0"
|
|
65
|
+
},
|
|
66
|
+
"overrides": {
|
|
67
|
+
"serialize-javascript": "^7.1.0",
|
|
68
|
+
"diff": "^8.0.4",
|
|
69
|
+
"esbuild": "^0.28.2"
|
|
48
70
|
},
|
|
49
|
-
"main": "main.js",
|
|
50
71
|
"scripts": {
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
72
|
+
"build": "tsx tasks.ts",
|
|
73
|
+
"build:backend": "tsx tasks.ts --backend",
|
|
74
|
+
"build:admin": "tsx tasks.ts --admin",
|
|
75
|
+
"0-clean": "tsx tasks.ts --0-clean",
|
|
76
|
+
"watch": "tsc -p tsconfig.build.json --watch",
|
|
77
|
+
"dev:admin": "vite --config src-admin/vite.config.js",
|
|
78
|
+
"check": "tsc -p tsconfig.json --noEmit && tsc -p src-admin/tsconfig.json",
|
|
79
|
+
"lint": "eslint -c eslint.config.mjs",
|
|
80
|
+
"test:unit": "mocha --require test/mocha.setup.js \"test/test*.js\"",
|
|
81
|
+
"test:package": "mocha test/packageFiles --exit",
|
|
82
|
+
"test:integration": "mocha test/integrationAdapter --exit",
|
|
83
|
+
"test": "npm run test:unit && npm run test:package",
|
|
84
|
+
"release": "release-script",
|
|
85
|
+
"release-patch": "release-script patch --yes",
|
|
86
|
+
"release-minor": "release-script minor --yes",
|
|
87
|
+
"release-major": "release-script major --yes",
|
|
88
|
+
"update-packages": "npx -y npm-check-updates --upgrade"
|
|
58
89
|
},
|
|
59
90
|
"bugs": {
|
|
60
91
|
"url": "https://github.com/ioBroker/ioBroker.digitalstrom/issues"
|
package/admin/admin.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare let systemDictionary: Record<string, Record<string, string>>;
|
package/admin/index_m.html
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
|
|
3
|
-
<head>
|
|
4
|
-
|
|
5
|
-
<!-- Load ioBroker scripts and styles-->
|
|
6
|
-
<link rel="stylesheet" type="text/css" href="../../css/adapter.css" />
|
|
7
|
-
<link rel="stylesheet" type="text/css" href="../../lib/css/materialize.css">
|
|
8
|
-
|
|
9
|
-
<script type="text/javascript" src="../../lib/js/jquery-3.2.1.min.js"></script>
|
|
10
|
-
<script type="text/javascript" src="../../socket.io/socket.io.js"></script>
|
|
11
|
-
|
|
12
|
-
<script type="text/javascript" src="../../js/translate.js"></script>
|
|
13
|
-
<script type="text/javascript" src="../../lib/js/materialize.js"></script>
|
|
14
|
-
<script type="text/javascript" src="../../js/adapter-settings.js"></script>
|
|
15
|
-
|
|
16
|
-
<!-- Load our own files -->
|
|
17
|
-
<link rel="stylesheet" type="text/css" href="style.css" />
|
|
18
|
-
<script type="text/javascript" src="words.js"></script>
|
|
19
|
-
|
|
20
|
-
<script type="text/javascript">
|
|
21
|
-
var active = false;
|
|
22
|
-
|
|
23
|
-
// This will be called by the admin adapter when the settings page loads
|
|
24
|
-
function load(settings, onChange) {
|
|
25
|
-
// example: select elements with id=key and class=value and insert value
|
|
26
|
-
if (!settings) return;
|
|
27
|
-
settings.username = '';
|
|
28
|
-
settings.password = '';
|
|
29
|
-
$('.value').each(function () {
|
|
30
|
-
var $key = $(this);
|
|
31
|
-
var id = $key.attr('id');
|
|
32
|
-
if ($key.attr('type') === 'checkbox') {
|
|
33
|
-
// do not call onChange direct, because onChange could expect some arguments
|
|
34
|
-
$key.prop('checked', settings[id])
|
|
35
|
-
.on('change', () => onChange())
|
|
36
|
-
;
|
|
37
|
-
} else {
|
|
38
|
-
// do not call onChange direct, because onChange could expect some arguments
|
|
39
|
-
$key.val(settings[id])
|
|
40
|
-
.on('change', () => onChange())
|
|
41
|
-
.on('keyup', () => onChange())
|
|
42
|
-
;
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
$('#createAppToken').click(function () {
|
|
47
|
-
if (!active) {
|
|
48
|
-
showMessage(_('You have to start the adapter before you can retrieve the DSS App-Token'), 'Warning');
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
$(this).addClass('disabled');
|
|
53
|
-
|
|
54
|
-
sendTo(null, 'createAppToken', {
|
|
55
|
-
host: $('#host').val(),
|
|
56
|
-
username: $('#username').val(),
|
|
57
|
-
password: $('#password').val()
|
|
58
|
-
}, function (response) {
|
|
59
|
-
$('#createAppToken').removeClass('disabled');
|
|
60
|
-
if (response.error) {
|
|
61
|
-
showMessage(_('Error while retrieving DSS App-Token') + ': ' + response.error, 'Warning');
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
if (response.appToken) {
|
|
65
|
-
$('#appToken').val(response.appToken);
|
|
66
|
-
$('#username').val('');
|
|
67
|
-
$('#password').val('');
|
|
68
|
-
$('#tokenPresent').val('true').trigger('change').select();
|
|
69
|
-
onChange(true);
|
|
70
|
-
M && M.updateTextFields();
|
|
71
|
-
|
|
72
|
-
showMessage(_('Successfully retrieved DSS App-Token') + ': ' + response.appToken, 'Info');
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
getIsAdapterAlive(function (isAlive) {
|
|
78
|
-
if (isAlive || common.enabled) {
|
|
79
|
-
active = true;
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
if (settings.appToken) {
|
|
84
|
-
$('#tokenPresent').select().val('true');
|
|
85
|
-
$('.token-no').hide();
|
|
86
|
-
} else {
|
|
87
|
-
$('#tokenPresent').select().val('false');
|
|
88
|
-
$('.token-yes').hide();
|
|
89
|
-
}
|
|
90
|
-
$('#tokenPresent').on('change', function () {
|
|
91
|
-
if ($(this).val() === 'true') {
|
|
92
|
-
$('.token-no').hide();
|
|
93
|
-
$('.token-yes').show();
|
|
94
|
-
} else {
|
|
95
|
-
$('.token-yes').hide();
|
|
96
|
-
$('.token-no').show();
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
onChange(false);
|
|
101
|
-
// reinitialize all the Materialize labels on the page if you are dynamically adding inputs:
|
|
102
|
-
M && M.updateTextFields();
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// This will be called by the admin adapter when the user presses the save button
|
|
106
|
-
function save(callback) {
|
|
107
|
-
// example: select elements with class=value and build settings object
|
|
108
|
-
var obj = {};
|
|
109
|
-
$('.value').each(function () {
|
|
110
|
-
var $this = $(this);
|
|
111
|
-
if ($this.attr('type') === 'checkbox') {
|
|
112
|
-
obj[$this.attr('id')] = $this.prop('checked');
|
|
113
|
-
} else {
|
|
114
|
-
obj[$this.attr('id')] = $this.val();
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
delete obj.username;
|
|
118
|
-
delete obj.password;
|
|
119
|
-
callback(obj);
|
|
120
|
-
}
|
|
121
|
-
</script>
|
|
122
|
-
|
|
123
|
-
</head>
|
|
124
|
-
|
|
125
|
-
<body>
|
|
126
|
-
|
|
127
|
-
<div class="m adapter-container">
|
|
128
|
-
|
|
129
|
-
<div class="row">
|
|
130
|
-
<div class="col s12 m4 l2">
|
|
131
|
-
<img src="digitalstrom.png" class="logo">
|
|
132
|
-
</div>
|
|
133
|
-
</div>
|
|
134
|
-
|
|
135
|
-
<div class="row">
|
|
136
|
-
<div class="col s6 m4 input-field">
|
|
137
|
-
<input type="text" class="value" id="host" />
|
|
138
|
-
<label for="host" class="translate">DSS Host</label>
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
|
|
142
|
-
<div class="row">
|
|
143
|
-
<div class="col s6 input-field">
|
|
144
|
-
<select type="text" id="tokenPresent">
|
|
145
|
-
<option value="false" class="translate">I have no App token</option>
|
|
146
|
-
<option value="true" class="translate">I have App token</option>
|
|
147
|
-
</select>
|
|
148
|
-
</div>
|
|
149
|
-
</div>
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
<div class="row token-yes">
|
|
153
|
-
<div class="col s6 m8 input-field">
|
|
154
|
-
<input type="text" class="value" id="appToken" />
|
|
155
|
-
<label for="appToken" class="translate">DSS App-Token</label>
|
|
156
|
-
</div>
|
|
157
|
-
</div>
|
|
158
|
-
<div class="row token-no">
|
|
159
|
-
<div class="col s6 translate">Provide Login data to automatically retrieve a DSS App-Token</div>
|
|
160
|
-
</div>
|
|
161
|
-
<div class="row token-no" style="margin-bottom: 0;">
|
|
162
|
-
<div class="col s6 m3 l2 input-field">
|
|
163
|
-
<input type="text" class="value" id="username" />
|
|
164
|
-
<label for="username" class="translate">DSS Username</label>
|
|
165
|
-
</div>
|
|
166
|
-
<div class="col s6 m3 l2 input-field">
|
|
167
|
-
<input type="text" class="value" id="password" />
|
|
168
|
-
<label for="password" class="translate">DSS Password</label>
|
|
169
|
-
</div>
|
|
170
|
-
</div>
|
|
171
|
-
<div class="row token-no">
|
|
172
|
-
<div class="col s6 m3 l2 ">
|
|
173
|
-
<a class="waves-effect waves-light btn" id="createAppToken">
|
|
174
|
-
<i class="material-icons left">play_circle_filled</i>
|
|
175
|
-
<span class="translate">Create DSS App Token</span>
|
|
176
|
-
</a>
|
|
177
|
-
</div>
|
|
178
|
-
</div>
|
|
179
|
-
<div class="row">
|
|
180
|
-
<div class="col s6 m3 l2 ">
|
|
181
|
-
<input class="value" id="dataPollInterval" type="number" />
|
|
182
|
-
<label for="dataPollInterval" class="translate">Data Polling Interval</label>
|
|
183
|
-
</div>
|
|
184
|
-
</div>
|
|
185
|
-
<div class="row">
|
|
186
|
-
<div class="col s6 input-field">
|
|
187
|
-
<input id="usePresetValues" type="checkbox" class="value" />
|
|
188
|
-
<span for="usePresetValues" class="translate">Use Scene Preset Values</span>
|
|
189
|
-
</div>
|
|
190
|
-
<div class="col s6 input-field">
|
|
191
|
-
<input id="initializeOutputValues" type="checkbox" class="value" />
|
|
192
|
-
<span for="initializeOutputValues" class="translate">Request Device Output values actively</span>
|
|
193
|
-
</div>
|
|
194
|
-
|
|
195
|
-
</div>
|
|
196
|
-
|
|
197
|
-
</div>
|
|
198
|
-
|
|
199
|
-
</body>
|
|
200
|
-
|
|
201
|
-
</html>
|
package/admin/style.css
DELETED
package/admin/words.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/*global systemDictionary:true */
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
systemDictionary = {
|
|
5
|
-
"Create DSS App Token": { "en": "Create DSS App Token", "de": "DSS-App-Token erstellen", "ru": "Создать токен приложения DSS", "pt": "Criar token de aplicativo DSS", "nl": "Maak een DSS-app-token", "fr": "Créer un jeton d'application DSS", "it": "Crea token app DSS", "es": "Crear token de aplicación DSS", "pl": "Utwórz token aplikacji DSS", "zh-cn": "创建DSS应用令牌"},
|
|
6
|
-
"DSS App-Token": { "en": "DSS App-Token", "de": "DSS App-Token", "ru": "DSS App-Token", "pt": "DSS App-Token", "nl": "DSS app-token", "fr": "Jeton d'application DSS", "it": "Token app DSS", "es": "Token de aplicación DSS", "pl": "Token aplikacji DSS", "zh-cn": "DSS应用令牌"},
|
|
7
|
-
"DSS Host": { "en": "DSS Host", "de": "DSS-Host", "ru": "DSS Host", "pt": "Host DSS", "nl": "DSS-host", "fr": "Hôte DSS", "it": "Host DSS", "es": "DSS Host", "pl": "Host DSS", "zh-cn": "DSS主机"},
|
|
8
|
-
"DSS Password": { "en": "DSS Password", "de": "DSS-Passwort", "ru": "Пароль DSS", "pt": "Senha DSS", "nl": "DSS-wachtwoord", "fr": "Mot de passe DSS", "it": "Password DSS", "es": "Contraseña DSS", "pl": "Hasło DSS", "zh-cn": "DSS密码"},
|
|
9
|
-
"DSS Username": { "en": "DSS Username", "de": "DSS-Benutzername", "ru": "Имя пользователя DSS", "pt": "Nome de usuário DSS", "nl": "DSS-gebruikersnaam", "fr": "Nom d'utilisateur DSS", "it": "Nome utente DSS", "es": "Nombre de usuario DSS", "pl": "Nazwa użytkownika DSS", "zh-cn": "DSS用户名"},
|
|
10
|
-
"Data Polling Interval": { "en": "Data polling Interval", "de": "Datenabfrageintervall", "ru": "Интервал опроса данных", "pt": "Intervalo de pesquisa de dados", "nl": "Data Polling-interval", "fr": "Intervalle d'interrogation des données", "it": "Intervallo di polling dei dati", "es": "Intervalo de sondeo de datos", "pl": "Interwał sondowania danych", "zh-cn": "数据轮询间隔"},
|
|
11
|
-
"Error while retrieving DSS App-Token": { "en": "Error happened while retrieving DSS App-Token", "de": "Fehler beim Abrufen des DSS-App-Token", "ru": "Ошибка при получении токена приложения DSS", "pt": "Erro ao recuperar o DSS App-Token", "nl": "Fout bij het ophalen van DSS App-Token", "fr": "Erreur lors de la récupération du jeton d'application DSS", "it": "Errore durante il recupero del token app DSS", "es": "Error al recuperar DSS App-Token", "pl": "Błąd podczas pobierania tokenu aplikacji DSS", "zh-cn": "检索DSS应用令牌时出错"},
|
|
12
|
-
"I have App token": { "en": "I already have an App token", "de": "Ich habe bereits einen App-Token", "ru": "У меня уже есть токен приложения", "pt": "Eu tenho token de aplicativo", "nl": "Ik heb een app-token", "fr": "J'ai un jeton d'application", "it": "Ho un token app", "es": "Tengo token de aplicación", "pl": "Mam token aplikacji", "zh-cn": "我有应用令牌"},
|
|
13
|
-
"I have no App token": { "en": "I don't have an App token", "de": "Ich habe noch keinen App-Token", "ru": "У меня нет токена приложения", "pt": "Não tenho token de aplicativo", "nl": "Ik heb geen app-token", "fr": "Je n'ai pas de jeton d'application", "it": "Non ho un token app", "es": "No tengo token de aplicación", "pl": "Nie mam tokena aplikacji", "zh-cn": "我没有应用令牌"},
|
|
14
|
-
"Provide Login data to automatically retrieve a DSS App-Token": {"en": "Provide DSS Login data to automatically retrieve a DSS App-Token", "de": "DSS-Anmeldedaten eingeben, um automatisch einen DSS-App-Token abzurufen", "ru": "Укажите данные для входа в систему для автоматического получения токена приложения DSS", "pt": "Forneça dados de login para recuperar automaticamente um DSS App-Token", "nl": "Verstrek inloggegevens om automatisch een DSS app-token op te halen", "fr": "Fournir des données de connexion pour récupérer automatiquement un jeton d'application DSS", "it": "Fornire i dati di accesso per recuperare automaticamente un token app DSS", "es": "Proporcione datos de inicio de sesión para recuperar automáticamente un token de aplicación DSS", "pl": "Podaj dane logowania, aby automatycznie pobrać token aplikacji DSS", "zh-cn": "提供登录数据以自动检索DSS应用令牌"},
|
|
15
|
-
"Request Device Output values actively": { "en": "Actively request Device Output values", "de": "Ausgabewerte der Geräte aktiv abfragen", "ru": "Активно запрашивать выходные данные устройства", "pt": "Solicitar valores de saída do dispositivo ativamente", "nl": "Verzoek Device Output-waarden actief", "fr": "Demander activement les valeurs de sortie de périphérique", "it": "Richiedere attivamente i valori di output del dispositivo", "es": "Solicitar valores de salida del dispositivo activamente", "pl": "Aktywnie żądaj wartości wyjściowych urządzenia", "zh-cn": "主动请求设备输出值"},
|
|
16
|
-
"Successfully retrieved DSS App-Token": { "en": "Successfully retrieved DSS App-Token", "de": "DSS-App-Token erfolgreich abgerufen", "ru": "Успешно получен токен приложения DSS", "pt": "DSS App-Token recuperado com sucesso", "nl": "DSS app-token opgehaald", "fr": "Jeton d'application DSS récupéré avec succès", "it": "Token app DSS recuperati correttamente", "es": "Token de aplicación DSS recuperado con éxito", "pl": "Pomyślnie odzyskano token aplikacji DSS", "zh-cn": "成功检索DSS应用令牌"},
|
|
17
|
-
"Use Scene Preset Values": { "en": "Use Scene Preset Values", "de": "Szenen-Voreinstellungswerte verwenden", "ru": "Использовать предустановленные значения сцены", "pt": "Usar valores predefinidos de cena", "nl": "Gebruik vooraf ingestelde scènewaarden", "fr": "Utiliser les valeurs prédéfinies de scène", "it": "Usa valori preimpostati scena", "es": "Usar valores preestablecidos de escena", "pl": "Użyj wstępnie ustawionych wartości scen", "zh-cn": "使用场景预设值"},
|
|
18
|
-
"You have to start the adapter before you can retrieve the DSS App-Token": {"en": "You have to start the instance before you can retrieve the DSS App-Token", "de": "Die Instanz muss gestartet sein, bevor das DSS-App-Token abgerufen werden kann", "ru": "Вы должны запустить адаптер, прежде чем сможете получить токен приложения DSS.", "pt": "É necessário iniciar o adaptador antes de recuperar o DSS App-Token", "nl": "U moet de adapter starten voordat u het DSS App-Token kunt ophalen", "fr": "Vous devez démarrer l'adaptateur avant de pouvoir récupérer le jeton d'application DSS", "it": "È necessario avviare l'adattatore prima di poter recuperare il token app DSS", "es": "Debe iniciar el adaptador antes de poder recuperar el token de aplicación DSS", "pl": "Aby móc pobrać token aplikacji DSS, musisz uruchomić adapter", "zh-cn": "您必须先启动适配器,然后才能检索DSS App-Token"},
|
|
19
|
-
"digitalstrom adapter settings": { "en": "Digitalstrom Instance Settings", "de": "Digitalstrom Instanzeinstellungen", "ru": "Настройки адаптера для digitalstrom", "pt": "Configurações do adaptador para digitalstrom", "nl": "Adapterinstellingen voor digitalstrom", "fr": "Paramètres d'adaptateur pour digitalstrom", "it": "Impostazioni dell'adattatore per digitalstrom", "es": "Ajustes del adaptador para digitalstrom", "pl": "Ustawienia adaptera dla digitalstrom", "zh-cn": "digitalstrom的适配器设置"},
|
|
20
|
-
};
|
package/img/dss-apartment.png
DELETED
|
Binary file
|
package/img/dss-devices.png
DELETED
|
Binary file
|
package/lib/adapter-config.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
}
|