iobroker.zeptrion 1.0.1 → 1.0.2
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 +3 -0
- package/io-package.json +14 -1
- package/main.js +29 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -190,6 +190,9 @@ npm run test:integration # starts a real js-controller (takes longer)
|
|
|
190
190
|
|
|
191
191
|
## Changelog
|
|
192
192
|
|
|
193
|
+
### 1.0.2 (2026-07-17)
|
|
194
|
+
- FIX: the global (adapter-level) info.connection translations added in 1.0.1 are only synced automatically by js-controller on certain update paths (e.g. 'iobroker upgrade'), not reliably when installing via 'iobroker url' - added this to the startup migration too, so it no longer depends on that.
|
|
195
|
+
|
|
193
196
|
### 1.0.1 (2026-07-17)
|
|
194
197
|
- FIX: calibrate declared role 'level' but read=false - role 'level' requires read=true per the ioBroker role catalogue. Changed to read=true and extended the startup migration to also correct existing objects still holding the old read=false.
|
|
195
198
|
- Added the missing translations for the global info.connection object (was only en/de).
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "zeptrion",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.0.2": {
|
|
7
|
+
"en": "FIX: the global (adapter-level) info.connection translations added in 1.0.1 are only synced automatically by js-controller on certain update paths (e.g. 'iobroker upgrade'), not reliably when installing via 'iobroker url' - added this to the startup migration too, so it no longer depends on that.",
|
|
8
|
+
"de": "FIX: die in 1.0.1 ergänzten Übersetzungen für das globale (adapter-eigene) info.connection werden von js-controller nur bei bestimmten Update-Wegen (z.B. 'iobroker upgrade') automatisch synchronisiert, nicht zuverlässig bei Installation via 'iobroker url' - auch in die Start-Migration aufgenommen, damit das nicht mehr davon abhängt.",
|
|
9
|
+
"ru": "ИСПРАВЛЕНИЕ: глобальные переводы info.connection, добавленные в 1.0.1, синхронизируются js-controller автоматически только при определённых способах обновления, ненадёжно при установке через 'iobroker url' - добавлено также в миграцию при запуске.",
|
|
10
|
+
"pt": "CORREÇÃO: as traduções globais de info.connection adicionadas na 1.0.1 só são sincronizadas automaticamente pelo js-controller em determinados caminhos de atualização, não de forma fiável ao instalar via 'iobroker url' - adicionado também à migração de arranque.",
|
|
11
|
+
"nl": "FIX: de globale info.connection-vertalingen toegevoegd in 1.0.1 worden alleen automatisch gesynchroniseerd door js-controller bij bepaalde update-paden, niet betrouwbaar bij installatie via 'iobroker url' - ook toegevoegd aan de opstartmigratie.",
|
|
12
|
+
"fr": "CORRECTIF : les traductions globales info.connection ajoutées en 1.0.1 ne sont synchronisées automatiquement par js-controller que sur certains chemins de mise à jour, pas de manière fiable lors d'une installation via 'iobroker url' - ajouté également à la migration au démarrage.",
|
|
13
|
+
"it": "CORREZIONE: le traduzioni globali di info.connection aggiunte nella 1.0.1 vengono sincronizzate automaticamente da js-controller solo su determinati percorsi di aggiornamento, non in modo affidabile quando si installa tramite 'iobroker url' - aggiunto anche alla migrazione all'avvio.",
|
|
14
|
+
"es": "CORRECCIÓN: las traducciones globales de info.connection añadidas en 1.0.1 solo se sincronizan automáticamente mediante js-controller en determinadas rutas de actualización, no de forma fiable al instalar mediante 'iobroker url' - añadido también a la migración de inicio.",
|
|
15
|
+
"pl": "POPRAWKA: globalne tłumaczenia info.connection dodane w 1.0.1 są automatycznie synchronizowane przez js-controller tylko przy określonych ścieżkach aktualizacji, niewiarygodnie przy instalacji przez 'iobroker url' - dodano również do migracji przy starcie.",
|
|
16
|
+
"uk": "ВИПРАВЛЕННЯ: глобальні переклади info.connection, додані в 1.0.1, синхронізуються js-controller автоматично лише за певних шляхів оновлення, ненадійно при встановленні через 'iobroker url' - додано також до міграції під час запуску.",
|
|
17
|
+
"zh-cn": "修复:1.0.1 中添加的全局 info.connection 翻译仅在特定更新路径(例如 'iobroker upgrade')下由 js-controller 自动同步,通过 'iobroker url' 安装时并不可靠——现已同样加入启动迁移中。"
|
|
18
|
+
},
|
|
6
19
|
"1.0.1": {
|
|
7
20
|
"en": "FIX: calibrate declared role 'level' but read=false - role 'level' requires read=true per the ioBroker role catalogue. Changed to read=true and extended the startup migration to also correct existing objects still holding the old read=false. Added the missing translations for the global info.connection object (was only en/de).",
|
|
8
21
|
"de": "FIX: calibrate deklarierte Rolle 'level', aber read=false - die Rolle 'level' erfordert laut ioBroker-Rollenkatalog read=true. Auf read=true geändert und die Start-Migration erweitert, damit auch bestehende Objekte mit dem alten read=false korrigiert werden. Fehlende Übersetzungen für das globale info.connection-Objekt ergänzt (waren nur en/de).",
|
package/main.js
CHANGED
|
@@ -161,6 +161,35 @@ class Zeptrion extends utils.Adapter {
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
fixedCount++;
|
|
164
|
+
} else if (
|
|
165
|
+
(id === 'info.connection' || /^[^.]+\.\d+\.info\.connection$/.test(id)) &&
|
|
166
|
+
obj.common.name &&
|
|
167
|
+
typeof obj.common.name === 'object' &&
|
|
168
|
+
!obj.common.name.ru
|
|
169
|
+
) {
|
|
170
|
+
// The global (adapter-level, not per-device) info.connection instanceObject:
|
|
171
|
+
// io-package.json has the full translation since 1.0.1, but instanceObjects are
|
|
172
|
+
// only synced by js-controller on certain update paths (e.g. 'iobroker upgrade')
|
|
173
|
+
// - not reliably when installing via 'iobroker url', which some users do. Force
|
|
174
|
+
// it here too so it doesn't depend on that.
|
|
175
|
+
await this.extendObjectAsync(id, {
|
|
176
|
+
common: {
|
|
177
|
+
name: {
|
|
178
|
+
en: 'At least one device reachable',
|
|
179
|
+
de: 'Mindestens ein Gerät erreichbar',
|
|
180
|
+
ru: 'Доступно хотя бы одно устройство',
|
|
181
|
+
pt: 'Pelo menos um dispositivo acessível',
|
|
182
|
+
nl: 'Ten minste één apparaat bereikbaar',
|
|
183
|
+
fr: 'Au moins un appareil accessible',
|
|
184
|
+
it: 'Almeno un dispositivo raggiungibile',
|
|
185
|
+
es: 'Al menos un dispositivo accesible',
|
|
186
|
+
pl: 'Co najmniej jedno urządzenie dostępne',
|
|
187
|
+
uk: 'Принаймні один пристрій доступний',
|
|
188
|
+
'zh-cn': '至少有一个设备可访问'
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
fixedCount++;
|
|
164
193
|
}
|
|
165
194
|
}
|
|
166
195
|
if (fixedCount > 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.zeptrion",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "ioBroker Adapter für Feller zeptrion / zApp WLAN-Aktoren (WLAN-Nebenstelle 4K, WLAN-Zwischenmodul 2K) über die zrap Webservice API - inkl. Sammelbefehlen für Hagelalarm und mDNS-Discovery",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Stefan",
|