NEWS
Minor js-controller 7.0.7 Update in latest repo
-
Aktuelle latest/beta Version 7.0.7 Veröffentlichungsdatum 17.04.2025 Hallo ioBroker‑Community,
nachdem die 7er‑Reihe nun einige Monate im Stable‑Einsatz ist, steht mit 7.0.7 das nächste Service‑Release bereit.
Informationen zur Version
Im Fokus stehen diesmal Feinschliff und wichtige Developer‑Features.
Feature Spotlight
Erweiterte Native‑Attribute
Der Controller unterstützt jetzt verschlüsselte / geschützte Konfig‑Eigenschaften via
encryptedNative
&protectedNative
für Arrays und komplexen Pfaden.
Damit können Adapter‑Entwickler sensible Felder (Passwörter u. ä.) in Arrays oder Strukturen komfortabel markieren und sicher speichern. Z.B. jetzt kann man alles Passwörter mitdevices.password
in Arraydevices
verschlüsseln.
{ "devices": [ {"name": "device1", "password": "MyPassword1"}, {"name": "device2"}, {"name": "device3", "password": "MyPassword3"}, ] }
Auch komplexe Pfade für attribute werden unterstützt:
configDropBox.auth.password
in{ "config": { "auth": { "password": "MyPassword" } } }
Fixes & Optimierungen
- Behebung eines Windows‑Edge‑Cases, bei dem
readDir
auf einzelne Dateien fehl‑schlug. - Korrektur der CLI: Negative Zahlen über
state set
funktionieren wieder. - Diverse Typ‑Erweiterungen & Schema‑Updates für
io-package.json
, u. a. bessere Autocompletion.
Weitere Details
Detailliertere Informationen zu allen Änderungen und Features findet Ihr weiter unten und im Changelog: https://github.com/ioBroker/ioBroker.js-controller/blob/607cdd973b682e59e39cf0a2714651057f3f65de/CHANGELOG.md#707-2025-04-17---lucy
-
Der Einsatz im Bereich natiove Encrypted ist mir nicht klar.
Bisher waren encryptedNative und protectedNative arrays, also:
:
"encrytedNative": [
"pin",
"password"
]
:Nun ist das ein Object? Oder kann das Array nun einen String (= jetziges Format) und ein Object enthalten?
Welche Bedeutung haben die Keys "name" und "password"? Wie stehen die in Verbindung mit den Config Attributen?
Wenn nun in jsonConfig z.B. eine Tabelle "myTab" - die ja in einem Array this.config.myTab in adapter.config resultiert - mit einer Spalte myPassword existiert wie wäre das in io-package.json anzugeben?
Gibt es wo bereits ein Beispiel für passwörter in eine json Tabelle?
-
@bluefox @foxriver76
Ich habe gerade js-controller 7.0.7 auf meinem Testsystem installiert.Nach dem jsc Update und dem Betriebssystem update, hab ich das ganze System neu gestartet.
Während des Shutdownprozesses kommt folgender Fehler im Log:2025-04-18 11:20:07.168 - error: host.ioB-Prod-Testsystem Caught by controller[0]: (node:14512) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead. 2025-04-18 11:20:07.168 - error: host.ioB-Prod-Testsystem Caught by controller[0]: (Use `node --trace-deprecation ...` to show where the warning was created) 2025-04-18 11:20:07.168 - error: host.ioB-Prod-Testsystem Caught by controller[1]: (node:14512) [DEP0055] DeprecationWarning: The `util.isRegExp` API is deprecated. Please use `arg instanceof RegExp` instead. 2025-04-18 11:20:07.169 - error: host.ioB-Prod-Testsystem Caught by controller[1]: (node:14512) [DEP0047] DeprecationWarning: The `util.isDate` API is deprecated. Please use `arg instanceof Date` instead.
2025-04-18 11:20:06.863 - info: host.ioB-Prod-Testsystem instance system.adapter.unifi.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:06.877 - info: host.ioB-Prod-Testsystem instance system.adapter.scenes.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:06.937 - info: host.ioB-Prod-Testsystem instance system.adapter.hm-rpc.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:06.977 - info: host.ioB-Prod-Testsystem instance system.adapter.fully-tablet-control.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:06.990 - info: host.ioB-Prod-Testsystem instance system.adapter.trashschedule.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.019 - info: host.ioB-Prod-Testsystem instance system.adapter.ws.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.040 - info: host.ioB-Prod-Testsystem instance system.adapter.worx.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.108 - info: host.ioB-Prod-Testsystem instance system.adapter.admin.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.157 - info: host.ioB-Prod-Testsystem instance system.adapter.esphome.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.168 - error: host.ioB-Prod-Testsystem Caught by controller[0]: (node:14512) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead. 2025-04-18 11:20:07.168 - error: host.ioB-Prod-Testsystem Caught by controller[0]: (Use `node --trace-deprecation ...` to show where the warning was created) 2025-04-18 11:20:07.168 - error: host.ioB-Prod-Testsystem Caught by controller[1]: (node:14512) [DEP0055] DeprecationWarning: The `util.isRegExp` API is deprecated. Please use `arg instanceof RegExp` instead. 2025-04-18 11:20:07.169 - error: host.ioB-Prod-Testsystem Caught by controller[1]: (node:14512) [DEP0047] DeprecationWarning: The `util.isDate` API is deprecated. Please use `arg instanceof Date` instead. 2025-04-18 11:20:07.169 - info: host.ioB-Prod-Testsystem instance system.adapter.radar-trap.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.178 - info: host.ioB-Prod-Testsystem instance system.adapter.hm-rpc.1 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.220 - info: host.ioB-Prod-Testsystem instance system.adapter.samsung.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.383 - info: host.ioB-Prod-Testsystem stopInstance timeout system.adapter.web.0 killing pid 14217 2025-04-18 11:20:07.384 - info: host.ioB-Prod-Testsystem stopInstance timeout system.adapter.web.1 killing pid 14448 2025-04-18 11:20:07.384 - info: host.ioB-Prod-Testsystem stopInstance timeout system.adapter.echarts.0 killing pid 14496 2025-04-18 11:20:07.397 - info: host.ioB-Prod-Testsystem instance system.adapter.hm-rega.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.407 - info: host.ioB-Prod-Testsystem instance system.adapter.simple-api.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.490 - info: host.ioB-Prod-Testsystem instance system.adapter.javascript.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.500 - info: host.ioB-Prod-Testsystem instance system.adapter.scheduler.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.509 - info: host.ioB-Prod-Testsystem instance system.adapter.fritzbox.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.521 - info: host.ioB-Prod-Testsystem instance system.adapter.valloxmv.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.533 - info: host.ioB-Prod-Testsystem instance system.adapter.proxmox.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.542 - info: host.ioB-Prod-Testsystem instance system.adapter.tr-064.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.569 - info: host.ioB-Prod-Testsystem instance system.adapter.backitup.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.570 - info: host.ioB-Prod-Testsystem instance system.adapter.sonos.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.578 - info: host.ioB-Prod-Testsystem instance system.adapter.notification-manager.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.591 - info: host.ioB-Prod-Testsystem instance system.adapter.lgtv.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.604 - info: host.ioB-Prod-Testsystem instance system.adapter.tankerkoenig.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.614 - info: host.ioB-Prod-Testsystem instance system.adapter.nina.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.626 - info: host.ioB-Prod-Testsystem instance system.adapter.fullcalendar.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.639 - info: host.ioB-Prod-Testsystem instance system.adapter.vis-2.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.648 - info: host.ioB-Prod-Testsystem instance system.adapter.jsonconfig-demo.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.660 - info: host.ioB-Prod-Testsystem instance system.adapter.hue.0 terminated with code 0 (NO_ERROR) 2025-04-18 11:20:07.661 - info: host.ioB-Prod-Testsystem All instances are stopped. 2025-04-18 11:20:07.717 - warn: host.ioB-Prod-Testsystem instance system.adapter.web.0 terminated due to SIGKILL 2025-04-18 11:20:07.717 - info: host.ioB-Prod-Testsystem instance system.adapter.web.0 terminated with code null () 2025-04-18 11:20:07.717 - info: host.ioB-Prod-Testsystem All instances are stopped. 2025-04-18 11:20:07.728 - warn: host.ioB-Prod-Testsystem instance system.adapter.web.1 terminated due to SIGKILL 2025-04-18 11:20:07.728 - info: host.ioB-Prod-Testsystem instance system.adapter.web.1 terminated with code null () 2025-04-18 11:20:07.728 - info: host.ioB-Prod-Testsystem All instances are stopped. 2025-04-18 11:20:07.740 - warn: host.ioB-Prod-Testsystem instance system.adapter.echarts.0 terminated due to SIGKILL 2025-04-18 11:20:07.741 - info: host.ioB-Prod-Testsystem instance system.adapter.echarts.0 terminated with code null () 2025-04-18 11:20:07.741 - info: host.ioB-Prod-Testsystem All instances are stopped. 2025-04-18 11:20:07.836 - info: host.ioB-Prod-Testsystem terminated 2025-04-18 11:20:12.401 - info: host.ioB-Prod-Testsystem iobroker.js-controller version 7.0.7 js-controller starting 2025-04-18 11:20:12.403 - info: host.ioB-Prod-Testsystem Copyright (c) 2014-2024 bluefox, 2014 hobbyquaker 2025-04-18 11:20:12.403 - info: host.ioB-Prod-Testsystem hostname: ioB-Prod-Testsystem, node: v22.14.0 2025-04-18 11:20:12.404 - info: host.ioB-Prod-Testsystem ip addresses: 192.168.178.105 fe80::be24:11ff:fe8c:71a4 2025-04-18 11:20:12.997 - info: host.ioB-Prod-Testsystem connected to Objects and States 2025-04-18 11:20:13.006 - info: host.ioB-Prod-Testsystem added notifications configuration of host 2025-04-18 11:20:13.296 - info: host.ioB-Prod-Testsystem 68 instances found 2025-04-18 11:20:13.311 - info: host.ioB-Prod-Testsystem starting 50 instances
-
"encrytedNative": [ "myTab.myPassword"]
-
@feuersturm Hm... an dem wurde nichts gemacht. Liegt vermutlich an super neuer Node.JS version?
-
@bluefox sagte in Minor js-controller 7.0.7 Update in latest repo:
@feuersturm Hm... an dem wurde nichts gemacht. Liegt vermutlich an super neuer Node.JS version?
Folgendes ist auf dem Testsystem installiert:
Node.js: v22.14.0 NPM: 10.9.2
-
Muss jetzt mal doof fragen, sorry...
Was ist denn der Unterschied zwischen js-controller und dem javascript adapter?
-
@padrino sagte in Minor js-controller 7.0.7 Update in latest repo:
Muss jetzt mal doof fragen, sorry...
Was ist denn der Unterschied zwischen js-controller und dem javascript adapter?
der js-controller ist das Herz von ioBroker
der koordiniert und steuert alle Adapter -
-
@mcm1957 erledigt
-
@bluefox said in Minor js-controller 7.0.7 Update in latest repo:
"encrytedNative": [ "myTab.myPassword"]
Danke.
Wie / wo sind dann die Beispiele
{ "devices": [ {"name": "device1", "password": "MyPassword1"}, {"name": "device2"}, {"name": "device3", "password": "MyPassword3"}, ] }
zu verstehen? Ist das ein Eintrag / ein Arrayelement von protectedNative? Oder was anders? Und wie seht dazu this.config.xxx Teil bzw. die Config aus? Stammt aus einem Adapter? Wenn ja bitte welchem da kann ich dann ja direkt nachsehen.
Irgendwie steh ich auf der Leitung
Sorry.
-
@padrino sagte in Minor js-controller 7.0.7 Update in latest repo:
Was ist denn der Unterschied zwischen js-controller und dem javascript adapter?
Wenn du auf dieser Seite https://www.iobroker.net/#de/documentation etwas nach unten scrollst siehst du eine Grafik. Der js-controller entspricht dem grauen Bereich wo "ioBroker Software" steht. Der JavaScript Adapter ist ein möglicher Adapter der zur Gruppe "Adapter Logikprogrammierung" gehört.
-
@feuersturm sagte in Minor js-controller 7.0.7 Update in latest repo:
Der js-controller entspricht dem grauen Bereich wo "ioBroker Software" steht.
nicht eher dem blauen Zylinder darin?
-
@homoran sagte in Minor js-controller 7.0.7 Update in latest repo:
nicht eher dem blauen Zylinder darin?
Die Diskussion sollten wir dann lieber hier https://forum.iobroker.net/topic/51919/brainstorming-doku-abschnitt-willkommen/18 fortführen