NEWS
js-controller 3.0/3.1 jetzt im Latest!
js-controller 3.0/3.1 jetzt im Latest!
-
@foxriver76 sagte in js-controller 3.0 jetzt im Latest!:
Jop, Problem ist bereits identifiziert und Fix steht bereit
neue Version ? 3.0.16 oder wie installieren ?
@dslraser Ne, noch warten @apollon77 wird eine neue Version machen, evtl ergibt sich im Laufe des Tages noch etwas, was mit rein kommt.
-
@dslraser Ne, noch warten @apollon77 wird eine neue Version machen, evtl ergibt sich im Laufe des Tages noch etwas, was mit rein kommt.
@foxriver76
OK, wir warten, ist ja nicht so dramatisch. -
@Jan1
aber was soll @version in Deinem Befehl, oder hast Du das da rein geschrieben ?root@Beelink:/opt/iobroker# npm install iobroker.js-controller@version@dslraser sagte in js-controller 3.0 jetzt im Latest!:
@Jan1
aber was soll @version in Deinem Befehl, oder hast Du das da rein geschrieben ?root@Beelink:/opt/iobroker# npm install iobroker.js-controller@versionversionmuss allerdings durch die Zielversion ersetzt werden. -
@dslraser sagte in js-controller 3.0 jetzt im Latest!:
@Jan1
aber was soll @version in Deinem Befehl, oder hast Du das da rein geschrieben ?root@Beelink:/opt/iobroker# npm install iobroker.js-controller@versionversionmuss allerdings durch die Zielversion ersetzt werden.@foxriver76
ja, das ist mir bewußt, deshalb habe ich @Jan1 danach gefragt, weil das von Ihm aus einem Beitrag ist. -
Update auf 3.0.14 problemlos. Aber dann:
Adapter Innogy Smarthome: Im Intervall mehrere Seiten.
innogy-smarthome.0 2020-04-22 12:25:15.254 error at process._tickCallback (internal/process/next_tick.js:68:7) innogy-smarthome.0 2020-04-22 12:25:15.254 error at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49) innogy-smarthome.0 2020-04-22 12:25:15.254 error at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)] innogy-smarthome.0 2020-04-22 12:25:15.254 error at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:92586) innogy-smarthome.0 2020-04-22 12:25:15.254 error at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2787:21) innogy-smarthome.0 2020-04-22 12:25:15.254 error at /opt/iobroker/node_modules/iobroker.innogy-smarthome/main.js:286:36 innogy-smarthome.0 2020-04-22 12:25:15.254 error at Capability.setState (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:117:12) innogy-smarthome.0 2020-04-22 12:25:15.254 error at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10) innogy-smarthome.0 2020-04-22 12:25:15.254 error at Promise._resolveFromExecutor (/opt/iobroker/node_modules/bluebird/js/release/promise.js:518:18) innogy-smarthome.0 2020-04-22 12:25:15.254 error at Promise.cancellationExecute [as _execute] (/opt/iobroker/node_modules/bluebird/js/release/debuggability.js:406:9) innogy-smarthome.0 2020-04-22 12:25:15.254 error at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:157:29 innogy-smarthome.0 2020-04-22 12:25:15.254 error at Requestor.call (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:48:17) innogy-smarthome.0 2020-04-22 12:25:15.254 error at Requestor.doRequest (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:54:12) innogy-smarthome.0 2020-04-22 12:25:15.254 error at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10) innogy-smarthome.0 2020-04-22 12:25:15.254 error at Promise._resolveFromExecutor (/opt/iobroker/node_modules/bluebird/js/release/promise.js:518:18) innogy-smarthome.0 2020-04-22 12:25:15.254 error at Promise.cancellationExecute [as _execute] (/opt/iobroker/node_modules/bluebird/js/release/debuggability.js:406:9) innogy-smarthome.0 2020-04-22 12:25:15.254 error at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:56:22 innogy-smarthome.0 2020-04-22 12:25:15.254 error at Object.getAuthorizationStatus (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/oauth2/index.js:300:20) innogy-smarthome.0 2020-04-22 12:25:15.254 error at getAuthorizationStatus (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/oauth2/index.js:278:21) innogy-smarthome.0 2020-04-22 12:25:15.254 error at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:67:22 innogy-smarthome.0 2020-04-22 12:25:15.254 error at Requestor.$doRequest (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:145:10) innogy-smarthome.0 2020-04-22 12:25:15.254 error at AsyncLock.acquire (/opt/iobroker/node_modules/async-lock/lib/index.js:148:15) innogy-smarthome.0 2020-04-22 12:25:15.254 error (4800) Error: Too much pending tasks innogy-smarthome.0 2020-04-22 12:25:15.254 error (4800) uncaught exception: Too much pending tasks debug at process._tickCallback (internal/process/next_tick.js:68:7) debug at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49) debug at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23) debug at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:92586) debug at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2787:21) debug at /opt/iobroker/node_modules/iobroker.innogy-smarthome/main.js:286:36 debug at Capability.setState (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:117:12) debug at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10) debug at Promise._resolveFromExecutor (/opt/iobroker/node_modules/bluebird/js/release/promise.js:518:18) debug at Promise.cancellationExecute [as _execute] (/opt/iobroker/node_modules/bluebird/js/release/debuggability.js:406:9) debug at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:157:29 debug at Requestor.call (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:48:17) debug at Requestor.doRequest (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:54:12) debug at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10)oder
innogy-smarthome.0 2020-04-22 12:30:27.506 error at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27) innogy-smarthome.0 2020-04-22 12:30:27.506 error (4931) Error: read ECONNRESET innogy-smarthome.0 2020-04-22 12:30:27.506 error (4931) uncaught exception: read ECONNRESET innogy-smarthome.0 2020-04-22 12:30:27.506 info (4931) Terminated (NO_ERROR): Without reason innogy-smarthome.0 2020-04-22 12:30:27.505 info (4931) terminating innogy-smarthome.0 2020-04-22 12:30:27.461 error at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27) innogy-smarthome.0 2020-04-22 12:30:27.461 error (4931) Error: read ECONNRESET innogy-smarthome.0 2020-04-22 12:30:27.460 error (4931) uncaught exception: read ECONNRESET]KM200:
km200.0 2020-04-22 12:35:19.701 warn (4977) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer -
Update auf 3.0.14 problemlos. Aber dann:
Adapter Innogy Smarthome: Im Intervall mehrere Seiten.
innogy-smarthome.0 2020-04-22 12:25:15.254 error at process._tickCallback (internal/process/next_tick.js:68:7) innogy-smarthome.0 2020-04-22 12:25:15.254 error at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49) innogy-smarthome.0 2020-04-22 12:25:15.254 error at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)] innogy-smarthome.0 2020-04-22 12:25:15.254 error at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:92586) innogy-smarthome.0 2020-04-22 12:25:15.254 error at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2787:21) innogy-smarthome.0 2020-04-22 12:25:15.254 error at /opt/iobroker/node_modules/iobroker.innogy-smarthome/main.js:286:36 innogy-smarthome.0 2020-04-22 12:25:15.254 error at Capability.setState (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:117:12) innogy-smarthome.0 2020-04-22 12:25:15.254 error at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10) innogy-smarthome.0 2020-04-22 12:25:15.254 error at Promise._resolveFromExecutor (/opt/iobroker/node_modules/bluebird/js/release/promise.js:518:18) innogy-smarthome.0 2020-04-22 12:25:15.254 error at Promise.cancellationExecute [as _execute] (/opt/iobroker/node_modules/bluebird/js/release/debuggability.js:406:9) innogy-smarthome.0 2020-04-22 12:25:15.254 error at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:157:29 innogy-smarthome.0 2020-04-22 12:25:15.254 error at Requestor.call (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:48:17) innogy-smarthome.0 2020-04-22 12:25:15.254 error at Requestor.doRequest (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:54:12) innogy-smarthome.0 2020-04-22 12:25:15.254 error at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10) innogy-smarthome.0 2020-04-22 12:25:15.254 error at Promise._resolveFromExecutor (/opt/iobroker/node_modules/bluebird/js/release/promise.js:518:18) innogy-smarthome.0 2020-04-22 12:25:15.254 error at Promise.cancellationExecute [as _execute] (/opt/iobroker/node_modules/bluebird/js/release/debuggability.js:406:9) innogy-smarthome.0 2020-04-22 12:25:15.254 error at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:56:22 innogy-smarthome.0 2020-04-22 12:25:15.254 error at Object.getAuthorizationStatus (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/oauth2/index.js:300:20) innogy-smarthome.0 2020-04-22 12:25:15.254 error at getAuthorizationStatus (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/oauth2/index.js:278:21) innogy-smarthome.0 2020-04-22 12:25:15.254 error at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:67:22 innogy-smarthome.0 2020-04-22 12:25:15.254 error at Requestor.$doRequest (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:145:10) innogy-smarthome.0 2020-04-22 12:25:15.254 error at AsyncLock.acquire (/opt/iobroker/node_modules/async-lock/lib/index.js:148:15) innogy-smarthome.0 2020-04-22 12:25:15.254 error (4800) Error: Too much pending tasks innogy-smarthome.0 2020-04-22 12:25:15.254 error (4800) uncaught exception: Too much pending tasks debug at process._tickCallback (internal/process/next_tick.js:68:7) debug at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49) debug at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23) debug at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:92586) debug at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2787:21) debug at /opt/iobroker/node_modules/iobroker.innogy-smarthome/main.js:286:36 debug at Capability.setState (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:117:12) debug at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10) debug at Promise._resolveFromExecutor (/opt/iobroker/node_modules/bluebird/js/release/promise.js:518:18) debug at Promise.cancellationExecute [as _execute] (/opt/iobroker/node_modules/bluebird/js/release/debuggability.js:406:9) debug at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:157:29 debug at Requestor.call (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:48:17) debug at Requestor.doRequest (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:54:12) debug at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10)oder
innogy-smarthome.0 2020-04-22 12:30:27.506 error at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27) innogy-smarthome.0 2020-04-22 12:30:27.506 error (4931) Error: read ECONNRESET innogy-smarthome.0 2020-04-22 12:30:27.506 error (4931) uncaught exception: read ECONNRESET innogy-smarthome.0 2020-04-22 12:30:27.506 info (4931) Terminated (NO_ERROR): Without reason innogy-smarthome.0 2020-04-22 12:30:27.505 info (4931) terminating innogy-smarthome.0 2020-04-22 12:30:27.461 error at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27) innogy-smarthome.0 2020-04-22 12:30:27.461 error (4931) Error: read ECONNRESET innogy-smarthome.0 2020-04-22 12:30:27.460 error (4931) uncaught exception: read ECONNRESET]KM200:
km200.0 2020-04-22 12:35:19.701 warn (4977) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer -
dashbutton funktioniert nach der Anleitung sauber.
Das Problem mit tr-064 (passwort) tritt allerdings wieder auf:
Password error: Please re-enter the password in Admin. Stopping
Selbst neueingabe funktioniert nicht mehr
Admin ist auf 4.09
Alles andere ist laut latest auch aktuell -
@Flugschüler Ja es ist kein
.catch(err => { //Fehlerhandling})
am Ende dran. Daher wandert ein Fehler als "Unhandled Promise Rejection" in den Prozess und damit starte der Adapter neu
@apollon77 said in js-controller 3.0 jetzt im Latest!:
.catch(err => { //Fehlerhandling})
Also mein Script sieht jetzt so aus.
node_ssh = require('node-ssh');
ssh = new node_ssh();
ssh.connect({
host: '192.168.1.140',
username: 'pi',
password: '********'
}).then(() => {
ssh.execCommand("sudo shutdown -h now");
})Wo muß ich das dann .catch(err => { //Fehlerhandling}) einfügen bzw. wie sieht das ganze Script dann aus.
Kannst du mir bitte helfen, ich kenne mich beim Scripte schreiben null aus. -
Der Web Adapter läuft bei mir nicht mehr und wechselt ständig von grün nach gelb und zurück. Ist aber erst gestern Abend aufgefallen, weil ein paar Lampen die über den IoT angebunden sind nicht ausgingen.
Spiel gerade ein Backup von vorgestern ein und schau ob wirklich am Update des JS von 3.0.13 auf 3.0,14 lag.
Logs werden im Fehlerfall nachgereicht.Edit:
So es liegt wohl am iQontrol Adapter, sobald ich dort was schalten möchte geht der Web Adapter in die Knie.
Der Grund warum die Lampen nicht über den IoT liefen war wohl der abgekackte IoT Skill.Kurze Erklärung was nicht lief und weshalb der iQontrol da mitspielt.
Gestern blieben ein paar Lampen an, die wollte ich dann per Handy und iQontrol ausschalten, was auch nicht funktioniert hatte. Also PC an und nach schauen, so hab ich gesehen, das der Web die Farben wechselt und das JS Update im Verdacht gehabt, da sonst nix neu war und vorher alles lief.
War wohl "nur" der IoT Skill, aber dadurch bemerkt, dass der iQontrol den Web Adapter killt
-

seit dem update funktioniert der alexa controller nicht mehr hier ein ausschnitt aus dem log
-

seit dem update funktioniert der alexa controller nicht mehr hier ein ausschnitt aus dem log
-
@apollon77 said in js-controller 3.0 jetzt im Latest!:
.catch(err => { //Fehlerhandling})
Also mein Script sieht jetzt so aus.
node_ssh = require('node-ssh');
ssh = new node_ssh();
ssh.connect({
host: '192.168.1.140',
username: 'pi',
password: '********'
}).then(() => {
ssh.execCommand("sudo shutdown -h now");
})Wo muß ich das dann .catch(err => { //Fehlerhandling}) einfügen bzw. wie sieht das ganze Script dann aus.
Kannst du mir bitte helfen, ich kenne mich beim Scripte schreiben null aus.@Flugschüler Ich glaube ich habs, stimmt das so?
node_ssh = require('node-ssh');
ssh = new node_ssh();
ssh.connect({
host: '192.168.1.140',
username: 'pi',
password: '********'
}).then(() => {
ssh.execCommand("sudo shutdown -h now");
}).catch(err => { //Fehlerhandling})
}) -
3.0.15
iot.0 2020-04-22 10:06:37.366 warn the module (for instance, using `npm rebuild` or `npm install`). iot.0 2020-04-22 10:06:37.366 warn NODE_MODULE_VERSION 72. Please try re-compiling or re-installing iot.0 2020-04-22 10:06:37.366 warn NODE_MODULE_VERSION 64. This version of Node.js requires iot.0 2020-04-22 10:06:37.366 warn was compiled against a different Node.js version using iot.0 2020-04-22 10:06:37.366 warn (613) Cannot initialize getImage: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node'npm rebuild iot.0 habe ich schon gemacht
-
@dslraser sagte in js-controller 3.0 jetzt im Latest!:
@apollon77
js-controller 3.0.15 und admin 4.0.9bei mir werden in der Adapter Übersicht keine installierten Instanzen mehr angezeigt und es gibt auch keinen Upload Pfeil

auch ohne Sternchen bleibt die Spalte installiert leer
Kann ich bestätigen, sobald man nach Adapter mit Instanzen filtert, bleibt die Liste leer.
-
@Jan1 sagte in js-controller 3.0 jetzt im Latest!:
@LJSven
Das Dein Admin wohl nicht aktuell ist4.0.9 - gibt es was neueres?
-
@Flugschüler Ich glaube ich habs, stimmt das so?
node_ssh = require('node-ssh');
ssh = new node_ssh();
ssh.connect({
host: '192.168.1.140',
username: 'pi',
password: '********'
}).then(() => {
ssh.execCommand("sudo shutdown -h now");
}).catch(err => { //Fehlerhandling})
})@Flugschüler Naja nicht ganz ..
node_ssh = require('node-ssh'); ssh = new node_ssh(); ssh.connect({ host: '192.168.1.140', username: 'pi', password: '********' }).then(() => { ssh.execCommand("sudo shutdown -h now"); }).catch(err => { log('Fehler: ' + err); }) -
@LJSven duuuuu ... Zeig mal bitte von deinem Objekt "system.config" das Raw JSON.
Admin - objekte - type filter rausnehmen - bei dem Objekt hinten rehcts auf den Stift und das JSON unter RAW" rauskopieren.
@apollon77 sagte in js-controller 3.0 jetzt im Latest!:
@LJSven duuuuu ... Zeig mal bitte von deinem Objekt "system.config" das Raw JSON.
Admin - objekte - type filter rausnehmen - bei dem Objekt hinten rehcts auf den Stift und das JSON unter RAW" rauskopieren.
Langsam - wo genau? Finde kein Objekt mit dem Namen "system.config"
-
@apollon77 sagte in js-controller 3.0 jetzt im Latest!:
@LJSven duuuuu ... Zeig mal bitte von deinem Objekt "system.config" das Raw JSON.
Admin - objekte - type filter rausnehmen - bei dem Objekt hinten rehcts auf den Stift und das JSON unter RAW" rauskopieren.
Langsam - wo genau? Finde kein Objekt mit dem Namen "system.config"

