NEWS
Sonoff NSPanel
-
@armilar said in Sonoff NSPanel:
Glückwunsch... mit dem letzten Raw bist du dann auf TFT 40 - v.3.3.0
Wer das Upgrade von der 3.1.1 kommend macht, der sollte das komplette TS-Script ersetzen und dann die Variablen für Alexa, pageItems und den Config-Block wieder reinkopieren. Hat sich durch das Code-Refactoring auch etliches im oberen Teil verändert.Gibt es denn ein Changelog eine Vgl. Möglichkeit was sich zwischen den Versionen ändert?
-
@armilar sagte in Sonoff NSPanel:
@peet_b sagte in Sonoff NSPanel:
@kuckuckmann
Das Skript ist Global und ich habe es auch mit den Namen "IconsSelector" und "icon_mapping" getestet, beides bringt das selbe Ergebnis. Auch die Version 5.7.0 hilft bei mir nicht, es passiert genau das gleiche wie mit der V6.0.0Kann vielleicht einfach ein Paket oder ein Programm fehlen? Wie gesagt, ich betreibe IoB per Proxmox auf einem Debian 11.
Eigentlich sollte der Adapter alles mitbringen. Mit Promox kenne ich mich nicht aus.
Bei mir läuft der Adapter und das Icon Script auch in einer Proxmox Umgebung ohne Probleme.
-
@kuckuckmann sagte in Sonoff NSPanel:
@armilar said in Sonoff NSPanel:
Glückwunsch... mit dem letzten Raw bist du dann auf TFT 40 - v.3.3.0
Wer das Upgrade von der 3.1.1 kommend macht, der sollte das komplette TS-Script ersetzen und dann die Variablen für Alexa, pageItems und den Config-Block wieder reinkopieren. Hat sich durch das Code-Refactoring auch etliches im oberen Teil verändert.Gibt es denn ein Changelog eine Vgl. Möglichkeit was sich zwischen den Versionen ändert?
https://github.com/joBr99/nspanel-lovelace-ui/tree/main/ioBroker
History -
ich habe jetzt alle Varianten nochmal probiert mit der V5.7.0 und der V6.0.0, es kommen immer diese Fehler:
2022-08-29 20:41:50.257 - info: javascript.0 (1510) starting. Version 5.7.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v16.17.0, js-controller: 4.0.23 2022-08-29 20:41:51.587 - info: javascript.0 (1510) requesting all states 2022-08-29 20:41:51.588 - info: javascript.0 (1510) requesting all objects 2022-08-29 20:41:52.721 - info: javascript.0 (1510) received all objects 2022-08-29 20:41:53.012 - info: javascript.0 (1510) received all states 2022-08-29 20:41:53.091 - info: javascript.0 (1510) script.js.global.IconsSelector: compiling TypeScript source... 2022-08-29 20:42:01.868 - info: javascript.0 (1510) script.js.global.IconsSelector: TypeScript compilation successful 2022-08-29 20:42:02.030 - error: javascript.0 (1510) uncaught exception: Debug Failure. Unhandled SyntaxKind: Unknown. 2022-08-29 20:42:02.032 - error: javascript.0 (1510) Error: Debug Failure. Unhandled SyntaxKind: Unknown. at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:113075:22) at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmitWithComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116249:13) at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13) at emit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112521:13) at emitModuleDeclaration (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:114436:13) at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112799:32) at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmitWithComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116249:13) at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13) at emit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112521:13) at emitListItemWithParenthesizerRule (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116742:9) at emitNodeListItems (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115493:17) at emitNodeList (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115411:17) at emitList (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115376:13) at emitSourceFileWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115062:13) at emitBodyWithDetachedComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116369:17) at emitSourceFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:114981:17) at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112623:24) at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13) at print (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112484:13) at writeFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112468:13) at printFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112329:13) at Object.printNode (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112313:62) at transformGlobalDeclarations (/opt/iobroker/node_modules/iobroker.javascript/lib/typescriptTools.js:496:31) at Immediate. (/opt/iobroker/node_modules/iobroker.javascript/main.js:1061:60) at processImmediate (node:internal/timers:468:21) 2022-08-29 20:42:02.033 - error: javascript.0 (1510) Debug Failure. Unhandled SyntaxKind: Unknown. 2022-08-29 20:42:02.217 - info: javascript.0 (1510) terminating 2022-08-29 20:42:02.227 - warn: javascript.0 (1510) Terminated (UNCAUGHT_EXCEPTION): Without reason 2022-08-29 20:42:04.262 - error: host.ioBroker Caught by controller[0]: DeprecationWarning: 'createNodeArray' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2022-08-29 20:42:04.264 - error: host.ioBroker Caught by controller[1]: DeprecationWarning: 'createNamedExports' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2022-08-29 20:42:04.264 - error: host.ioBroker Caught by controller[2]: DeprecationWarning: 'createExportDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2022-08-29 20:42:04.264 - error: host.ioBroker Caught by controller[3]: DeprecationWarning: 'updateSourceFile' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2022-08-29 20:42:04.264 - error: host.ioBroker Caught by controller[4]: DeprecationWarning: 'updateClassDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[4]: DeprecationWarning: 'createModifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[4]: DeprecationWarning: 'createIdentifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[4]: DeprecationWarning: 'createModuleBlock' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[4]: DeprecationWarning: 'createModuleDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[5]: Error: Debug Failure. Unhandled SyntaxKind: Unknown. 2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:113075:22) 2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17) 2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116249:13) 2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13) 2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at emit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112521:13) 2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at emitModuleDeclaration (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:114436:13) 2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112799:32) 2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17) 2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116249:13) 2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13) 2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at emit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112521:13) 2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at emitListItemWithParenthesizerRule (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116742:9) 2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at emitNodeListItems (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115493:17) 2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at emitNodeList (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115411:17) 2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at emitList (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115376:13) 2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at emitSourceFileWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115062:13) 2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at emitBodyWithDetachedComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116369:17) 2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at emitSourceFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:114981:17) 2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112623:24) 2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17) 2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13) 2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at print (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112484:13) 2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at writeFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112468:13) 2022-08-29 20:42:04.269 - error: host.ioBroker Caught by controller[5]: at printFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112329:13) 2022-08-29 20:42:04.269 - error: host.ioBroker Caught by controller[5]: at Object.printNode (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112313:62) 2022-08-29 20:42:04.269 - error: host.ioBroker Caught by controller[5]: at transformGlobalDeclarations (/opt/iobroker/node_modules/iobroker.javascript/lib/typescriptTools.js:496:31) 2022-08-29 20:42:04.269 - error: host.ioBroker Caught by controller[5]: at Immediate. (/opt/iobroker/node_modules/iobroker.javascript/main.js:1061:60) 2022-08-29 20:42:04.269 - error: host.ioBroker Caught by controller[5]: at processImmediate (node:internal/timers:468:21) 2022-08-29 20:42:04.269 - error: host.ioBroker instance system.adapter.javascript.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2022-08-29 20:42:04.270 - info: host.ioBroker Restart adapter system.adapter.javascript.0 because enabled
ich habe gesehen der Host gibt anschließend auch immer fehler aus.
-
@armilar sagte in Sonoff NSPanel:
Verstehe ich nicht. Lief doch alles bei dir. Funktioniert bei mir perfekt.
Was funktioniert denn nicht? Die IconSelector oder das Skript?es ist das Icon Mapping Script, was die Fehler verursacht.
ich kann @Peet_b Fehlermeldungen bestätigen.
-
@tt-tom sagte in Sonoff NSPanel:
@armilar sagte in Sonoff NSPanel:
Verstehe ich nicht. Lief doch alles bei dir. Funktioniert bei mir perfekt.
Was funktioniert denn nicht? Die IconSelector oder das Skript?es ist das Icon Mapping Script, was die Fehler verursacht.
ich kann @Peet_b Fehlermeldungen bestätigen.
Schwer zu sagen: In Zeile 7 sagt er:
2022-08-29 20:42:01.868 - info: javascript.0 (1510) script.js.global.IconsSelector: TypeScript compilation successful
Also hat er das IconSelector doch kompiliert.
Und das wenn das TS-Skript Fehler hätte, dann würde es zumindest seitlich in rot die Fehler anzeigen...Ist jetzt sehr schwer da den Fehler zu lokalisieren, da es bei mir super funktioniert - egal mit welcher Version
des JavaSript-Adapters
Sieht für mich aus, als hätte er vergessen wo die TypeSkript-Libraries sind.kann das am iobroker js-controller liegen? Keine Ahnung - den vielleicht noch mal drüber bügeln?
npm hat aber von euch keiner verwendet?
-
Ich würde mal ein "iob fix" versuchen und wenn das nicht hilft den JS-Adapter via Commmandline deinstallieren und neu installieren. Ggf. mal noch npm/node noch updaten.
Auf jeden Fall mal via iob update schauen, ob da noch kritische Updates in der Pipe stehen. -
@kuckuckmann sagte in Sonoff NSPanel:
Ich würde mal ein "iob fix" versuchen und wenn das nicht hilft den JS-Adapter via Commmandline deinstallieren und neu installieren. Ggf. mal noch npm/node noch updaten.
Auf jeden Fall mal via iob update schauen, ob da noch kritische Updates in der Pipe stehen.siehe auch einen POST oben drüber - evtl. wäre das eine Lösung und klar iob fix (wahrscheinlich Rechte)
iob stop
iob update
iob upgrade self
iob fix
iob start -
@armilar sagte in Sonoff NSPanel:
siehe auch einen POST oben drüber - evtl. wäre das eine Lösung und klar iob fix (wahrscheinlich Rechte)
iob stop
iob update
iob upgrade self
iob fix
iob starthabe ich gemacht und danach Javascript auf 6.0.0 wieder angehoben, bis jetzt ohne Probleme.
danke für die Unterstützung.
-
@tt-tom sagte in Sonoff NSPanel:
@armilar sagte in Sonoff NSPanel:
siehe auch einen POST oben drüber - evtl. wäre das eine Lösung und klar iob fix (wahrscheinlich Rechte)
iob stop
iob update
iob upgrade self
iob fix
iob starthabe ich gemacht und danach Javascript auf 6.0.0 wieder angehoben, bis jetzt ohne Probleme.
danke für die Unterstützung.
Cool -
habe soeben das Skript nochmals auf die TFT41 v3.3.1 geupdatet - Ist aber bis auf die neuen Versionsnummern und einem Beispiel PageItem nicht wirklich viel hinzugekommen.
Für den einen oder anderen vielleicht interessant. Wer den DeConz-Adapter in Verbindung mit farbigen Lampen benutzt, stand evtl auch schon vor dem Problem, das HUE (im Gegensatz zum HUE-Adapter) da nicht viel an der Farbe dreht. Die Farben können jetzt jedoch auch über XY (CIE) verändert werden, wenn colormode: "xy" als Parameter angegeben wird. --> Alias "RGB-Licht"
-
Guten Abend zusammen,
versuche seit einiger Zeit eine funktionierende Medien Seite für meinen Echo zu erstellen, ohne Erfolg.
habe wie angegeben mit dem Alias Manager einen Datenpunkt über das Verzeichnis Player meines Echos angelegt, hier wurden auch datenpunkte im Objektbaum angelegt , die auch daten ausgeben wenn ich auf dem Echo Musik höre.meine zeilen im skript sehen wie folgt aus
und so sieht das Ganze auf dem Panel aus
danke im voraus
-
@peet_b Hast du eine Lösung gefunden, meine Situation ist genauso.
Erst mit meinem "Prod-System" probiert, dann ein neuer "nackter" Container, dann eine Handinstallation im Debian... aber sobald ich die beiden NSPanel-Scripte "anschalte" läuft die Javascript-Instanz in eine bootloop, weil sie sofort wieder abbricht. Beim Container hab ich alles von V5 bis V7 durchprobiert, ohne Veränderung. Jemand ne Idee?Hier mein Protokoll:
host.debian 2022-08-29 21:52:53.025 error instance system.adapter.javascript.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.debian 2022-08-29 21:52:53.024 error Caught by controller[3]: at processImmediate (internal/timers.js:463:21) host.debian 2022-08-29 21:52:53.024 error Caught by controller[3]: at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:1078:64) host.debian 2022-08-29 21:52:53.023 error Caught by controller[3]: at transformGlobalDeclarations (/opt/iobroker/node_modules/iobroker.javascript/lib/typescriptTools.js:496:31) host.debian 2022-08-29 21:52:53.023 error Caught by controller[3]: at Object.printNode (/opt/iobroker/node_modules/typescript/lib/typescript.js:112313:62) host.debian 2022-08-29 21:52:53.022 error Caught by controller[3]: at printFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:112329:13) host.debian 2022-08-29 21:52:53.022 error Caught by controller[3]: at writeFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:112468:13) host.debian 2022-08-29 21:52:53.021 error Caught by controller[3]: at print (/opt/iobroker/node_modules/typescript/lib/typescript.js:112484:13) host.debian 2022-08-29 21:52:53.020 error Caught by controller[3]: at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) host.debian 2022-08-29 21:52:53.020 error Caught by controller[3]: at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) host.debian 2022-08-29 21:52:53.019 error Caught by controller[3]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:112623:24) host.debian 2022-08-29 21:52:53.019 error Caught by controller[3]: at emitSourceFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:114981:17) host.debian 2022-08-29 21:52:53.018 error Caught by controller[3]: at emitBodyWithDetachedComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116369:17) host.debian 2022-08-29 21:52:53.017 error Caught by controller[3]: at emitSourceFileWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:115062:13) host.debian 2022-08-29 21:52:53.017 error Caught by controller[3]: at emitList (/opt/iobroker/node_modules/typescript/lib/typescript.js:115376:13) host.debian 2022-08-29 21:52:53.016 error Caught by controller[3]: at emitNodeList (/opt/iobroker/node_modules/typescript/lib/typescript.js:115411:17) host.debian 2022-08-29 21:52:53.015 error Caught by controller[3]: at emitNodeListItems (/opt/iobroker/node_modules/typescript/lib/typescript.js:115493:17) host.debian 2022-08-29 21:52:53.015 error Caught by controller[3]: at emitListItemWithParenthesizerRule (/opt/iobroker/node_modules/typescript/lib/typescript.js:116742:9) host.debian 2022-08-29 21:52:53.014 error Caught by controller[3]: at emit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112521:13) host.debian 2022-08-29 21:52:53.014 error Caught by controller[3]: at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) host.debian 2022-08-29 21:52:53.013 error Caught by controller[3]: at pipelineEmitWithComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116249:13) host.debian 2022-08-29 21:52:53.012 error Caught by controller[3]: at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) host.debian 2022-08-29 21:52:53.012 error Caught by controller[3]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:112799:32) host.debian 2022-08-29 21:52:53.011 error Caught by controller[3]: at emitModuleDeclaration (/opt/iobroker/node_modules/typescript/lib/typescript.js:114436:13) host.debian 2022-08-29 21:52:53.010 error Caught by controller[3]: at emit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112521:13) host.debian 2022-08-29 21:52:53.009 error Caught by controller[3]: at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) host.debian 2022-08-29 21:52:53.004 error Caught by controller[3]: at pipelineEmitWithComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116249:13) host.debian 2022-08-29 21:52:53.004 error Caught by controller[3]: at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) host.debian 2022-08-29 21:52:53.003 error Caught by controller[3]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:113075:22) host.debian 2022-08-29 21:52:53.003 error Caught by controller[3]: Error: Debug Failure. Unhandled SyntaxKind: Unknown. host.debian 2022-08-29 21:52:53.002 error Caught by controller[2]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: host.debian 2022-08-29 21:52:53.001 error Caught by controller[1]: DeprecationWarning: 'createModuleDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. host.debian 2022-08-29 21:52:53.001 error Caught by controller[1]: DeprecationWarning: 'createModuleBlock' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. host.debian 2022-08-29 21:52:53.000 error Caught by controller[1]: DeprecationWarning: 'createIdentifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. host.debian 2022-08-29 21:52:52.999 error Caught by controller[1]: DeprecationWarning: 'createModifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. host.debian 2022-08-29 21:52:52.997 error Caught by controller[1]: DeprecationWarning: 'updateClassDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. javascript.0 2022-08-29 21:52:41.301 warn Terminated (UNCAUGHT_EXCEPTION): Without reason javascript.0 2022-08-29 21:52:41.266 info terminating javascript.0 2022-08-29 21:52:40.623 error Debug Failure. Unhandled SyntaxKind: Unknown. javascript.0 2022-08-29 21:52:40.622 error Error: Debug Failure. Unhandled SyntaxKind: Unknown. at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:113075:22) at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmitWithComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116249:13) at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) at emit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112521:13) at emitModuleDeclaration (/opt/iobroker/node_modules/typescript/lib/typescript.js:114436:13) at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:112799:32) at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmitWithComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116249:13) at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) at emit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112521:13) at emitListItemWithParenthesizerRule (/opt/iobroker/node_modules/typescript/lib/typescript.js:116742:9) at emitNodeListItems (/opt/iobroker/node_modules/typescript/lib/typescript.js:115493:17) at emitNodeList (/opt/iobroker/node_modules/typescript/lib/typescript.js:115411:17) at emitList (/opt/iobroker/node_modules/typescript/lib/typescript.js:115376:13) at emitSourceFileWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:115062:13) at emitBodyWithDetachedComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116369:17) at emitSourceFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:114981:17) at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:112623:24) at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) at print (/opt/iobroker/node_modules/typescript/lib/typescript.js:112484:13) at writeFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:112468:13) at printFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:112329:13) at Object.printNode (/opt/iobroker/node_modules/typescript/lib/typescript.js:112313:62) at transformGlobalDeclarations (/opt/iobroker/node_modules/iobroker.javascript/lib/typescriptTools.js:496:31) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:1078:64) at processImmediate (internal/timers.js:463:21) javascript.0 2022-08-29 21:52:40.620 error unhandled promise rejection: Debug Failure. Unhandled SyntaxKind: Unknown. javascript.0 2022-08-29 21:52:40.619 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). javascript.0 2022-08-29 21:52:39.693 info script.js.global.IconSelector: TypeScript compilation successful javascript.0 2022-08-29 21:52:04.477 info script.js.global.IconSelector: compiling TypeScript source... javascript.0 2022-08-29 21:52:04.358 info received all states javascript.0 2022-08-29 21:52:04.303 info received all objects javascript.0 2022-08-29 21:52:02.468 info requesting all objects javascript.0 2022-08-29 21:52:02.463 info requesting all states javascript.0 2022-08-29 21:52:01.460 info starting. Version 6.0.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v12.22.12, js-controller: 4.0.23
-
@oochrisoo sagte in Sonoff NSPanel:
Guten Abend zusammen,
versuche seit einiger Zeit eine funktionierende Medien Seite für meinen Echo zu erstellen, ohne Erfolg.
habe wie angegeben mit dem Alias Manager einen Datenpunkt über das Verzeichnis Player meines Echos angelegt, hier wurden auch datenpunkte im Objektbaum angelegt , die auch daten ausgeben wenn ich auf dem Echo Musik höre.meine zeilen im skript sehen wie folgt aus
und so sieht das Ganze auf dem Panel aus
danke im voraus
Sieht aber gut aus. Beim Media braucht der Alias ein wenig. Am Besten mit der Tante aus dem Online-Kaufhaus sprechen. Wünsche dir mal eine Playlist auf dem Gerät oder beschleunige den Vorgang über den Alexa-Adapter (true/false)
Und unter Objekte gibt es aber den alias.0.Player?
-
@hagbard235
btw.iob stop iob update iob upgrade self iob fix iob start
gemacht aber hat nix geändert
-
@hagbard235 sagte in Sonoff NSPanel:
@hagbard235
btw.iob stop iob update iob upgrade self iob fix iob start
gemacht aber hat nix geändert
nur das weiße fix oder alles? Wichtig ist, dass der ioBroker auf stop geht.
-
@armilar
alles... gab auch keine Updates und ist alles ohne "Fehler" durchgelaufen... wie gesagt, war aber auch eine niegelnagelneue Installation, von daher hätte es mich eh gewundert wenn viel passiert -
@hagbard235 sagte in Sonoff NSPanel:
@peet_b Hast du eine Lösung gefunden, meine Situation ist genauso.
Erst mit meinem "Prod-System" probiert, dann ein neuer "nackter" Container, dann eine Handinstallation im Debian... aber sobald ich die beiden NSPanel-Scripte "anschalte" läuft die Javascript-Instanz in eine bootloop, weil sie sofort wieder abbricht. Beim Container hab ich alles von V5 bis V7 durchprobiert, ohne Veränderung. Jemand ne Idee?Hier mein Protokoll:
host.debian 2022-08-29 21:52:53.025 error instance system.adapter.javascript.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.debian 2022-08-29 21:52:53.024 error Caught by controller[3]: at processImmediate (internal/timers.js:463:21) host.debian 2022-08-29 21:52:53.024 error Caught by controller[3]: at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:1078:64) host.debian 2022-08-29 21:52:53.023 error Caught by controller[3]: at transformGlobalDeclarations (/opt/iobroker/node_modules/iobroker.javascript/lib/typescriptTools.js:496:31) host.debian 2022-08-29 21:52:53.023 error Caught by controller[3]: at Object.printNode (/opt/iobroker/node_modules/typescript/lib/typescript.js:112313:62) host.debian 2022-08-29 21:52:53.022 error Caught by controller[3]: at printFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:112329:13) host.debian 2022-08-29 21:52:53.022 error Caught by controller[3]: at writeFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:112468:13) host.debian 2022-08-29 21:52:53.021 error Caught by controller[3]: at print (/opt/iobroker/node_modules/typescript/lib/typescript.js:112484:13) host.debian 2022-08-29 21:52:53.020 error Caught by controller[3]: at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) host.debian 2022-08-29 21:52:53.020 error Caught by controller[3]: at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) host.debian 2022-08-29 21:52:53.019 error Caught by controller[3]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:112623:24) host.debian 2022-08-29 21:52:53.019 error Caught by controller[3]: at emitSourceFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:114981:17) host.debian 2022-08-29 21:52:53.018 error Caught by controller[3]: at emitBodyWithDetachedComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116369:17) host.debian 2022-08-29 21:52:53.017 error Caught by controller[3]: at emitSourceFileWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:115062:13) host.debian 2022-08-29 21:52:53.017 error Caught by controller[3]: at emitList (/opt/iobroker/node_modules/typescript/lib/typescript.js:115376:13) host.debian 2022-08-29 21:52:53.016 error Caught by controller[3]: at emitNodeList (/opt/iobroker/node_modules/typescript/lib/typescript.js:115411:17) host.debian 2022-08-29 21:52:53.015 error Caught by controller[3]: at emitNodeListItems (/opt/iobroker/node_modules/typescript/lib/typescript.js:115493:17) host.debian 2022-08-29 21:52:53.015 error Caught by controller[3]: at emitListItemWithParenthesizerRule (/opt/iobroker/node_modules/typescript/lib/typescript.js:116742:9) host.debian 2022-08-29 21:52:53.014 error Caught by controller[3]: at emit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112521:13) host.debian 2022-08-29 21:52:53.014 error Caught by controller[3]: at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) host.debian 2022-08-29 21:52:53.013 error Caught by controller[3]: at pipelineEmitWithComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116249:13) host.debian 2022-08-29 21:52:53.012 error Caught by controller[3]: at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) host.debian 2022-08-29 21:52:53.012 error Caught by controller[3]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:112799:32) host.debian 2022-08-29 21:52:53.011 error Caught by controller[3]: at emitModuleDeclaration (/opt/iobroker/node_modules/typescript/lib/typescript.js:114436:13) host.debian 2022-08-29 21:52:53.010 error Caught by controller[3]: at emit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112521:13) host.debian 2022-08-29 21:52:53.009 error Caught by controller[3]: at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) host.debian 2022-08-29 21:52:53.004 error Caught by controller[3]: at pipelineEmitWithComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116249:13) host.debian 2022-08-29 21:52:53.004 error Caught by controller[3]: at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) host.debian 2022-08-29 21:52:53.003 error Caught by controller[3]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:113075:22) host.debian 2022-08-29 21:52:53.003 error Caught by controller[3]: Error: Debug Failure. Unhandled SyntaxKind: Unknown. host.debian 2022-08-29 21:52:53.002 error Caught by controller[2]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: host.debian 2022-08-29 21:52:53.001 error Caught by controller[1]: DeprecationWarning: 'createModuleDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. host.debian 2022-08-29 21:52:53.001 error Caught by controller[1]: DeprecationWarning: 'createModuleBlock' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. host.debian 2022-08-29 21:52:53.000 error Caught by controller[1]: DeprecationWarning: 'createIdentifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. host.debian 2022-08-29 21:52:52.999 error Caught by controller[1]: DeprecationWarning: 'createModifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. host.debian 2022-08-29 21:52:52.997 error Caught by controller[1]: DeprecationWarning: 'updateClassDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. javascript.0 2022-08-29 21:52:41.301 warn Terminated (UNCAUGHT_EXCEPTION): Without reason javascript.0 2022-08-29 21:52:41.266 info terminating javascript.0 2022-08-29 21:52:40.623 error Debug Failure. Unhandled SyntaxKind: Unknown. javascript.0 2022-08-29 21:52:40.622 error Error: Debug Failure. Unhandled SyntaxKind: Unknown. at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:113075:22) at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmitWithComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116249:13) at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) at emit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112521:13) at emitModuleDeclaration (/opt/iobroker/node_modules/typescript/lib/typescript.js:114436:13) at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:112799:32) at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmitWithComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116249:13) at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) at emit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112521:13) at emitListItemWithParenthesizerRule (/opt/iobroker/node_modules/typescript/lib/typescript.js:116742:9) at emitNodeListItems (/opt/iobroker/node_modules/typescript/lib/typescript.js:115493:17) at emitNodeList (/opt/iobroker/node_modules/typescript/lib/typescript.js:115411:17) at emitList (/opt/iobroker/node_modules/typescript/lib/typescript.js:115376:13) at emitSourceFileWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:115062:13) at emitBodyWithDetachedComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116369:17) at emitSourceFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:114981:17) at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:112623:24) at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) at print (/opt/iobroker/node_modules/typescript/lib/typescript.js:112484:13) at writeFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:112468:13) at printFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:112329:13) at Object.printNode (/opt/iobroker/node_modules/typescript/lib/typescript.js:112313:62) at transformGlobalDeclarations (/opt/iobroker/node_modules/iobroker.javascript/lib/typescriptTools.js:496:31) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:1078:64) at processImmediate (internal/timers.js:463:21) javascript.0 2022-08-29 21:52:40.620 error unhandled promise rejection: Debug Failure. Unhandled SyntaxKind: Unknown. javascript.0 2022-08-29 21:52:40.619 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). javascript.0 2022-08-29 21:52:39.693 info script.js.global.IconSelector: TypeScript compilation successful javascript.0 2022-08-29 21:52:04.477 info script.js.global.IconSelector: compiling TypeScript source... javascript.0 2022-08-29 21:52:04.358 info received all states javascript.0 2022-08-29 21:52:04.303 info received all objects javascript.0 2022-08-29 21:52:02.468 info requesting all objects javascript.0 2022-08-29 21:52:02.463 info requesting all states javascript.0 2022-08-29 21:52:01.460 info starting. Version 6.0.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v12.22.12, js-controller: 4.0.23
Versuche mal ein Update von node: v12.22.12 auf node: v16.17.0 (empfohlen)
https://forum.iobroker.net/topic/44566/how-to-node-js-iobroker-richtig-updaten-2021-22-edition
Und statt 14 die 16 verwenden
-
ja also das Verzeichnis
das einzige was ich mit dem Panel gesteuert bekomme ist die Übergabe der Musik an einen anderen Echo oder an eine Gruppe, aber das wird auch automatisch angelegt durch das skript
-
@oochrisoo sagte in Sonoff NSPanel:
ja also das Verzeichnis
Sieht alles gut aus. Spiel mal mit den Datenpunkten im alexa.0.adapter unter dem Player. Ich denke der kommt mit ein wenig Geduld. Sehe keine Fehler
-
@armilar
hab noch ein wenig rumprobiert, das Ganze dann auch für einen zweiten Echo angelegt, leider erfolglos geblieben, das einzige das noch aufgefallen ist sind die ganzen Warnungen die ausgegeben werden sobald ich auf dem Panel etwas drücke