iobroker.device-watcher 2.15.1 → 2.15.3
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/README.md +6 -13
- package/io-package.json +27 -1
- package/main.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -191,6 +191,12 @@ This adapter would not have been possible without the great work of Christian Be
|
|
|
191
191
|
Placeholder for the next version (at the beginning of the line):
|
|
192
192
|
### **WORK IN PROGRESS**
|
|
193
193
|
-->
|
|
194
|
+
### 2.15.3 (2026-01-10)
|
|
195
|
+
* (arteck) fix ping adapter, fritzdec
|
|
196
|
+
|
|
197
|
+
### 2.15.2 (2026-01-10)
|
|
198
|
+
* (arteck) fix cronjob response
|
|
199
|
+
|
|
194
200
|
### 2.15.1 (2026-01-10)
|
|
195
201
|
* (arteck) fix instance check
|
|
196
202
|
* (arteck) fix admin json
|
|
@@ -207,19 +213,6 @@ This adapter would not have been possible without the great work of Christian Be
|
|
|
207
213
|
### 2.14.1 (2025-11-13)
|
|
208
214
|
* (arteck) corr cronparser
|
|
209
215
|
|
|
210
|
-
### 2.14.0 (2025-11-13)
|
|
211
|
-
* (arteck) Dependencies have been fixed
|
|
212
|
-
* (arteck) ping adapter have been fixed
|
|
213
|
-
* (arteck) optimisations for adapter without info.connection state
|
|
214
|
-
* (arteck) clean code
|
|
215
|
-
* (arteck) silent notification for telegram
|
|
216
|
-
* (arteck) add matter devices
|
|
217
|
-
* (arteck) corr lupusec battery state
|
|
218
|
-
|
|
219
|
-
### 2.14.5 (2025-11-16)
|
|
220
|
-
* (arteck) add homee battery devices (only)
|
|
221
|
-
* (arteck) fix battery list
|
|
222
|
-
|
|
223
216
|
## License
|
|
224
217
|
|
|
225
218
|
MIT License
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "device-watcher",
|
|
4
|
-
"version": "2.15.
|
|
4
|
+
"version": "2.15.3",
|
|
5
5
|
"news": {
|
|
6
|
+
"2.15.3": {
|
|
7
|
+
"en": "fix ping adapter, fritzdec",
|
|
8
|
+
"de": "fixierpistole, fritzdec",
|
|
9
|
+
"ru": "адаптер для фиксации пингов, fritzdec",
|
|
10
|
+
"pt": "corrigir adaptador de ping, fritzdec",
|
|
11
|
+
"nl": "fix ping adapter, fritzdec",
|
|
12
|
+
"fr": "adaptateur de fixation de ping, fritzdec",
|
|
13
|
+
"it": "correzione adattatore ping, fritzdec",
|
|
14
|
+
"es": "adaptador de fijación, fritzdec",
|
|
15
|
+
"pl": "fix adapter ping, fritzdec",
|
|
16
|
+
"uk": "фіксатор ping, fritzdec",
|
|
17
|
+
"zh-cn": "修补 ping 适配器, fritzdec"
|
|
18
|
+
},
|
|
19
|
+
"2.15.2": {
|
|
20
|
+
"en": "fix cronjob response",
|
|
21
|
+
"de": "fix cronjob antwort",
|
|
22
|
+
"ru": "реакция cronjob",
|
|
23
|
+
"pt": "corrigir a resposta do cronjob",
|
|
24
|
+
"nl": "cronjob respons repareren",
|
|
25
|
+
"fr": "corriger la réponse cronjob",
|
|
26
|
+
"it": "correzione di cronjob risposta",
|
|
27
|
+
"es": "solución respuesta cronjob",
|
|
28
|
+
"pl": "naprawić odpowiedź cronjob",
|
|
29
|
+
"uk": "виправити cronjob відповідь",
|
|
30
|
+
"zh-cn": "固定 curonjob 响应"
|
|
31
|
+
},
|
|
6
32
|
"2.15.1": {
|
|
7
33
|
"en": "fix instance check\nfix admin json",
|
|
8
34
|
"de": "fehlerbehebung\nadmin json",
|
package/main.js
CHANGED
|
@@ -1146,7 +1146,7 @@ class DeviceWatcher extends utils.Adapter {
|
|
|
1146
1146
|
let oldStatus;
|
|
1147
1147
|
let isLowBatValue;
|
|
1148
1148
|
|
|
1149
|
-
const deviceID = id.
|
|
1149
|
+
const deviceID = id.slice(0, id.lastIndexOf('.') + 1 - 1);
|
|
1150
1150
|
const deviceData = this.listAllDevicesRaw.get(deviceID);
|
|
1151
1151
|
|
|
1152
1152
|
this.log.debug(`[renewDeviceData] - ${id}`);
|
|
@@ -1491,7 +1491,7 @@ class DeviceWatcher extends utils.Adapter {
|
|
|
1491
1491
|
|
|
1492
1492
|
if (isAliveSchedule) {
|
|
1493
1493
|
lastUpdate = Math.round((Date.now() - isAliveSchedule.lc) / 1000); // Last state change in seconds
|
|
1494
|
-
previousCronRun = this.getPreviousCronRun(scheduleTime); // When was the last cron run
|
|
1494
|
+
previousCronRun = await this.getPreviousCronRun(scheduleTime); // When was the last cron run
|
|
1495
1495
|
if (previousCronRun) {
|
|
1496
1496
|
lastCronRun = Math.round(previousCronRun / 1000); // change distance to last run in seconds
|
|
1497
1497
|
diff = lastCronRun - lastUpdate;
|