iobroker.shelly
Advanced tools
Comparing version 4.1.1 to 4.1.2
{ | ||
"common": { | ||
"name": "shelly", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"news": { | ||
"4.1.2": { | ||
"en": "Fix the online checks to stay online", | ||
"de": "Beheben Sie die Online-Checks, um online zu bleiben", | ||
"ru": "Исправьте онлайн-чеки, чтобы оставаться в сети", | ||
"pt": "Corrija as verificações online para permanecer online", | ||
"nl": "Los de online cheques op om online te blijven", | ||
"fr": "Corrigez les chèques en ligne pour rester en ligne", | ||
"it": "Risolvi i controlli online per rimanere online", | ||
"es": "Arregle los cheques en línea para permanecer en línea", | ||
"pl": "Napraw czeki online, aby pozostać online", | ||
"zh-cn": "修复在线检查以保持在线状态" | ||
}, | ||
"4.1.1": { | ||
@@ -77,14 +89,2 @@ "en": "Try to prevent State changes after adapter is stopped", | ||
"zh-cn": "错误修正" | ||
}, | ||
"4.0.5": { | ||
"en": "Add Shelly 1L", | ||
"de": "Fügen Sie Shelly 1L hinzu", | ||
"ru": "Добавить Шелли 1L", | ||
"pt": "Adicionar Shelly 1L", | ||
"nl": "Voeg Shelly 1L", | ||
"fr": "Ajouter Shelly 1L", | ||
"it": "Aggiungi Shelly 1L", | ||
"es": "Añadir Shelly 1L", | ||
"pl": "Dodaj Shelly 1L", | ||
"zh-cn": "添加Shelly 1L" | ||
} | ||
@@ -141,2 +141,3 @@ }, | ||
"dataSource": "push", | ||
"tier": 2, | ||
"plugins": { | ||
@@ -143,0 +144,0 @@ "sentry": { |
@@ -245,7 +245,7 @@ /* jshint -W097 */ | ||
} else { | ||
let state = await this.adapter.getStateAsync(deviceId + '.online'); | ||
if (state && state.val === false) await this.adapter.setStateAsync(deviceId + '.online', {val: true, ack: true}); | ||
this.onlinehandle = setTimeout(async () => { | ||
await this.adapter.setStateAsync(deviceId + '.online', {val: false, ack: true}); | ||
}, (polltime * 1000) + 10 * 1000); | ||
let state = await this.adapter.getStateAsync(deviceId + '.online'); | ||
if (state && state.val === false) await this.adapter.setStateAsync(deviceId + '.online', {val: true, ack: true}); | ||
} | ||
@@ -252,0 +252,0 @@ } catch (err) { |
@@ -234,7 +234,7 @@ /* jshint -W097 */ | ||
} else { | ||
let state = await this.adapter.getStateAsync(deviceId + '.online'); | ||
if (state && state.val === false) await this.adapter.setStateAsync(deviceId + '.online', {val: true, ack: true}); | ||
this.onlinehandle = setTimeout(async () => { | ||
await this.adapter.setStateAsync(deviceId + '.online', {val: false, ack: true}); | ||
}, (polltime * 1000) + 10 * 1000); | ||
let state = await this.adapter.getStateAsync(deviceId + '.online'); | ||
if (state && state.val === false) await this.adapter.setStateAsync(deviceId + '.online', {val: true, ack: true}); | ||
} | ||
@@ -241,0 +241,0 @@ } catch (err) { |
{ | ||
"name": "iobroker.shelly", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "Shelly", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -64,2 +64,5 @@ ![Logo](admin/shelly.png) | ||
## Changelog | ||
### 4.1.2 (2021-11-14) | ||
* (sbormann) Fix the online checks to stay online | ||
### 4.1.1 (2021-11-13) | ||
@@ -66,0 +69,0 @@ * (Apollon77) Try to prevent State changes after adapter is stopped |
4484890
367