NEWS
js-controller 3.0/3.1 jetzt im Latest!
-
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
-
@ITCrowd Issues beim jeweiligen Adapter anlegen bitte.
-
@jf62 Bei mir hat nach den bereits vorgeschlagenen Sachen ein upload funktioniert.
-
@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. -
@Jan1 sagte in js-controller 3.0 jetzt im Latest!:
War wohl "nur" der IoT Skill, aber dadurch bemerkt, dass der iQontrol den Web Adapter killt
??
-
@Kibbles Bitte alexa 2 issue anlegen. Interessanter Fehler
-
@Kibbles PS: nodejs 14 ... ooooookkkkkk jemand ganz experimentierfreudig Gratuliere hast einen Adapter-Breaks-mit-nodejs-14" Bug gefunden
-
@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})
}) -
@dslraser Rebuild nur mit Adaptername!
"Iobroker rebuild iot" und wenn das nicht holgt "iobroker rebuild iot --install" ... steht doch alles im ersten Thread
-
@Jan1 Ja, Fehler identifiziert, Fix kommt zeitnah als 3.0.16
-
@LJSven Siehe erster Post ganz oben
-
@LJSven Wir prüfen
-
@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"
-
@LJSven Di ... nach unten scrollen ... "unterhalb" der Ordner. Und den typ Filter leer machen
-
Hallo, ich habe gestern ein frisches iobroker aufgesetzt.
Ich weis nicht ob es mit dem js-controller zusammen hängt.
Aber bei der installation des javascript Adapter folgendes Problem:root@rock64:/opt/iobroker# iobroker add javascript host.rock64 install adapter javascript upload [100] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/powershell/powershell.js vs/basic-languages/powershell/powershell.js application/javascript upload [90] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/java/java.js vs/basic-languages/java/java.js application/javascript upload [80] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/cpp/cpp.js vs/basic-languages/cpp/cpp.js application/javascript upload [70] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/static/js/main.320f2344.chunk.js.LICENSE.txt static/js/main.320f2344.chunk.js.LICENSE.txt text/plain upload [60] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/precache-manifest.53aabff70ba6fd6a56045658a4c06c3b.js precache-manifest.53aabff70ba6fd6a56045658a4c06c3b.js application/javascript upload [50] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/msg/fr.js google-blockly/own/msg/fr.js application/javascript upload [40] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/blocks_time.js google-blockly/own/blocks_time.js application/javascript upload [30] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/msg/js/pl.js google-blockly/msg/js/pl.js application/javascript upload [20] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/quote0.png google-blockly/media/quote0.png image/png upload [19] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handopen.cur google-blockly/media/handopen.cur null upload [18] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handdelete.cur google-blockly/media/handdelete.cur null upload [17] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handclosed.cur google-blockly/media/handclosed.cur null upload [16] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.wav google-blockly/media/disconnect.wav audio/wav upload [15] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.ogg google-blockly/media/disconnect.ogg audio/ogg upload [14] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.mp3 google-blockly/media/disconnect.mp3 audio/mpeg upload [13] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.wav google-blockly/media/delete.wav audio/wav upload [12] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.ogg google-blockly/media/delete.ogg audio/ogg upload [11] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.mp3 google-blockly/media/delete.mp3 audio/mpeg upload [10] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.wav google-blockly/media/click.wav audio/wav upload [9] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.ogg google-blockly/media/click.ogg audio/ogg upload [8] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.mp3 google-blockly/media/click.mp3 audio/mpeg upload [7] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/1x1.gif google-blockly/media/1x1.gif image/gif upload [6] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/javascript_compressed.js google-blockly/javascript_compressed.js application/javascript upload [5] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/blocks_compressed.js google-blockly/blocks_compressed.js application/javascript upload [4] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/blockly_compressed.js google-blockly/blockly_compressed.js application/javascript upload [3] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/LICENSE google-blockly/LICENSE null upload [2] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/favicon.ico favicon.ico image/vnd.microsoft.icon upload [1] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/asset-manifest.json asset-manifest.json application/json upload [0] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/adminWords.js adminWords.js application/javascript host.rock64 Invalid version of "admin". Installed "3.7.1", required ">=4.0.1 root@rock64:/opt/iobroker#
Der admin ist aber 4.0.9 Woher kommt dieses Problem?
Ich habe bereits den kompletten javascript Adapter gelöscht und neu installiert.
Ohne Fehler. Dann beim Anlegen einer Instanz kommt der Fehler.Ich weis jetzt echt nicht mehr weiter..
Habt Ihr eine Idee was ich machen kann?
cu Deta
-
@deta Äh, wie installierst du denn den Javascript-Adapter O.o Warum machst du das nicht im Admin vom ioBroker?
-
@deta Multi Host system? Dann hast Du auf jedem einen Admin ... Aktuell checkt der JS Adapter den "lokalen" Admin auf dem Host wo Du den Adapter installieren willst
-
@Kueppert Das wäre die "Warum so kompliziert" Frage ... aber würde sein Problem nicht lösen