@UncleSam DAAAAANKE
NEWS
Best posts made by andrebu
Latest posts made by andrebu
-
RE: Test Adapter toyota v.0.0.x
@jason-0 Bei mir das gleiche. Ich mach malnen Issue dazu auf.
-
RE: Plenticore Adapter "nicht vorhandene Verzeichnisse"
Hab gestern die Info vom Entwickler bekommen mal die GIT Version per URL zu installieren. Es hat funktioniert. Die Fehlermeldung ist weg und der Adapter startet ganz normal.
Danke für die schnelle Hilfe. -
RE: Plenticore Adapter "nicht vorhandene Verzeichnisse"
@mcm57 vielen Dank natürlich trotzdem für deine Hilfe. Solange kein Adapter den js.controller 5 zwingend will ist ja noch alles gut. Im schlimmsten Fall muss ich dann wohl doch mal ein komplett neues sauberes System aufsetzten. Ich hoffe aber immer noch das jemand die zündende Idee hat.
-
RE: Plenticore Adapter "nicht vorhandene Verzeichnisse"
@thomas-braun sagte in Probleme mit nicht vorhandenen Verzeichnissen:
Dann musst du den
iob fix
ausführen. Danach geht's.
Super, damit lässt sich ja node.js super einfach updaten. Vielen Dank
Leider ist der Error vom Kostal Adapter aber immer noch da. -
RE: Plenticore Adapter "nicht vorhandene Verzeichnisse"
@thomas-braun sagte in Probleme mit nicht vorhandenen Verzeichnissen:
@andrebu sagte in Probleme mit nicht vorhandenen Verzeichnissen:
nach dem Update vom js.controller 4.0.24 auf 5.0.12
Dann geh den Update-Pfad auch zuende und bring nodejs auf einen aktuellen Stand.
iob nodejs-update
Danke für den Tipp, leider funktioniert
iob nodejs-update
nicht. Da bekomme ich nur eine Liste mit den iobroker Befehlen.
-
RE: Plenticore Adapter "nicht vorhandene Verzeichnisse"
@mcm57 auf meinem Testsystem läuft er mit js.controller 5.0.12 ohne Probleme. Deswegen wollte ich jetzt auf dem Produktivsystem nachziehen.
-
Plenticore Adapter "nicht vorhandene Verzeichnisse"
Systemdata Bitte Ausfüllen Hardwaresystem: NUC Arbeitsspeicher: 6GB Festplattenart: SSD Betriebssystem: Debian 11 Node-Version: 18.17.1 Nodejs-Version: 18.17.1 NPM-Version: 9.8.1 Installationsart: Skript Image genutzt: Nein Ort/Name der Imagedatei: Link Hallo,
nach dem Update vom js.controller 4.0.24 auf 5.0.12 erhalte ich eine Fehlermeldung vom Plenticore Adapter (siehe unten).
Er versucht da auf einen Pfad zuzugreifen den es überhaupt nicht gibt. Ich hab mal ein Testsystem aufgesetzt und hab da dann auch das Update auf den js.controller 5.0.12 gemacht. Da funktioniert der Adapter ohne Probleme. Da startet er aber auch einen ganz anderen Pfad:Testsystem Adapter funktioniert
starting. Version 2.2.0 in /opt/iobroker/node_modules/iobroker.plenticore, node: v18.17.1, js-controller: 5.0.12
Produktivsystem Error
plenticore.0 2023-10-30 17:09:45.518 warn Terminated (UNCAUGHT_EXCEPTION): Without reason plenticore.0 2023-10-30 17:09:44.525 error Exception-Code: ERR_INVALID_ARG_TYPE: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined plenticore.0 2023-10-30 17:09:44.523 error TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined at Object.openSync (node:fs:595:10) at Object.writeFileSync (node:fs:2324:35) at Object.unload (/opt/iobroker/node_modules/iobroker.plenticore/lib/plenticore.js:789:5) at AdapterClass. (/opt/iobroker/node_modules/iobroker.plenticore/main.js:40:14) at AdapterClass.emit (node:events:514:28) at AdapterClass._stop (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:1369:26) at AdapterClass._exceptionHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9113:18) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) plenticore.0 2023-10-30 17:09:44.519 error unhandled promise rejection: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined plenticore.0 2023-10-30 17:09:44.518 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(). plenticore.0 2023-10-30 17:09:44.501 error Exception-Code: ENOENT: ENOENT: no such file or directory, mkdir '/opt/iobroker/node_modules/iobroker-data/plenticore.0' plenticore.0 2023-10-30 17:09:44.500 error Error: ENOENT: no such file or directory, mkdir '/opt/iobroker/node_modules/iobroker-data/plenticore.0' at Object.mkdirSync (node:fs:1398:3) at Object.setup (/opt/iobroker/node_modules/iobroker.plenticore/lib/plenticore.js:711:6) at Immediate. (/opt/iobroker/node_modules/iobroker.plenticore/main.js:189:17) at process.processImmediate (node:internal/timers:478:21) plenticore.0 2023-10-30 17:09:44.497 error uncaught exception: ENOENT: no such file or directory, mkdir '/opt/iobroker/node_modules/iobroker-data/plenticore.0' plenticore.0 2023-10-30 17:09:44.491 info [INFO] Configured polling interval: 20000 plenticore.0 2023-10-30 17:09:44.489 info Configured battery strategy is: 1 plenticore.0 2023-10-30 17:09:44.488 info Configured maximum feed-in power is 5000 plenticore.0 2023-10-30 17:09:44.486 info Configured Wp of panel(s) is 0 plenticore.0 2023-10-30 17:09:44.426 info [START] Starting adapter plenticore v2.3.0r237 plenticore.0 2023-10-30 17:09:44.348 info starting. Version 2.3.0 in /opt/iobroker/node_modules/iobroker.plenticore, node: v18.17.1, js-controller: 5.0.12 plenticore.0 2023-10-30 17:09:09.432 warn Terminated (UNCAUGHT_EXCEPTION): Without reason plenticore.0 2023-10-30 17:09:08.439 error Exception-Code: ERR_INVALID_ARG_TYPE: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined plenticore.0 2023-10-30 17:09:08.438 error TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined at Object.openSync (node:fs:595:10) at Object.writeFileSync (node:fs:2324:35) at Object.unload (/opt/iobroker/node_modules/iobroker.plenticore/lib/plenticore.js:789:5) at AdapterClass. (/opt/iobroker/node_modules/iobroker.plenticore/main.js:40:14) at AdapterClass.emit (node:events:514:28) at AdapterClass._stop (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:1369:26) at AdapterClass._exceptionHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9113:18) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) plenticore.0 2023-10-30 17:09:08.432 error unhandled promise rejection: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined plenticore.0 2023-10-30 17:09:08.431 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(). plenticore.0 2023-10-30 17:09:08.387 error Exception-Code: ENOENT: ENOENT: no such file or directory, mkdir '/opt/iobroker/node_modules/iobroker-data/plenticore.0' plenticore.0 2023-10-30 17:09:08.385 error Error: ENOENT: no such file or directory, mkdir '/opt/iobroker/node_modules/iobroker-data/plenticore.0' at Object.mkdirSync (node:fs:1398:3) at Object.setup (/opt/iobroker/node_modules/iobroker.plenticore/lib/plenticore.js:711:6) at Immediate. (/opt/iobroker/node_modules/iobroker.plenticore/main.js:189:17) at process.processImmediate (node:internal/timers:478:21) plenticore.0 2023-10-30 17:09:08.380 error uncaught exception: ENOENT: no such file or directory, mkdir '/opt/iobroker/node_modules/iobroker-data/plenticore.0' plenticore.0 2023-10-30 17:09:08.373 info [INFO] Configured polling interval: 20000 plenticore.0 2023-10-30 17:09:08.370 info Configured battery strategy is: 1 plenticore.0 2023-10-30 17:09:08.369 info Configured maximum feed-in power is 5000 plenticore.0 2023-10-30 17:09:08.367 info Configured Wp of panel(s) is 0 plenticore.0 2023-10-30 17:09:08.295 info [START] Starting adapter plenticore v2.3.0r237 plenticore.0 2023-10-30 17:09:08.229 info starting. Version 2.3.0 in /opt/iobroker/node_modules/iobroker.plenticore, node: v18.17.1, js-controller: 5.0.12 plenticore.0 2023-10-30 17:08:33.385 warn Terminated (UNCAUGHT_EXCEPTION): Without reason plenticore.0 2023-10-30 17:08:32.392 error Exception-Code: ERR_INVALID_ARG_TYPE: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined plenticore.0 2023-10-30 17:08:32.391 error TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined at Object.openSync (node:fs:595:10) at Object.writeFileSync (node:fs:2324:35) at Object.unload (/opt/iobroker/node_modules/iobroker.plenticore/lib/plenticore.js:789:5) at AdapterClass. (/opt/iobroker/node_modules/iobroker.plenticore/main.js:40:14) at AdapterClass.emit (node:events:514:28) at AdapterClass._stop (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:1369:26) at AdapterClass._exceptionHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9113:18) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) plenticore.0 2023-10-30 17:08:32.386 error unhandled promise rejection: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined plenticore.0 2023-10-30 17:08:32.384 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(). plenticore.0 2023-10-30 17:08:32.357 error Exception-Code: ENOENT: ENOENT: no such file or directory, mkdir '/opt/iobroker/node_modules/iobroker-data/plenticore.0' plenticore.0 2023-10-30 17:08:32.356 error Error: ENOENT: no such file or directory, mkdir '/opt/iobroker/node_modules/iobroker-data/plenticore.0' at Object.mkdirSync (node:fs:1398:3) at Object.setup (/opt/iobroker/node_modules/iobroker.plenticore/lib/plenticore.js:711:6) at Immediate. (/opt/iobroker/node_modules/iobroker.plenticore/main.js:189:17) at process.processImmediate (node:internal/timers:478:21) plenticore.0 2023-10-30 17:08:32.353 error uncaught exception: ENOENT: no such file or directory, mkdir '/opt/iobroker/node_modules/iobroker-data/plenticore.0'
Ein Issue 90 hab ich dazu bereits geöffnet, da ich mir aber nicht sicher bin ob das wirklich am Adapter liegt hab ich es hier auch eingestellt. Danke schon mal für eure Mühe.
-
RE: Hue Push API für Hue Adapter
Hallo, riesen Dank erstmal für das Script. Endlich funktionieren die BWM ohne ewige Wartezeit. Ich hab jetzt aber das Problem das mir bei einigen Lampen der DP "on" als "true" angezeigt werden obwohl sie ausgeschalten sind. Wenn ich sie dann ein und ausschalte stimmt der DP wieder bis er nach einiger Zeit wieder auf "true" springt ohne das die Lampe geschalten wurde. Ich hab die entsprechenden Lampen schon mal gelöscht und wieder neu angelernt sowie die DP gelöscht. Im Javascript Adapter hab ich "setObject" erlaubt und Polling im HUE Adpter deaktiviert. Ich nutze den normalen HUE Adapter
-
RE: Kann keine Adapter mehr installieren
@thomas-braun super, vielen Dank. Ihr habt mir echt den Tag gerettet.
-
RE: Kann keine Adapter mehr installieren
Das ist nodejs. Kannste direkt mal aktualisieren.
Tatsache 14.19.2 ich hab 14.19.1
ich trau mich nicht.Sollte ich den Mut fassen, ist es dann so richtig?
iob stop curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - sudo apt install -y nodejs node -v iob fix iob start
Backup wird 3 mal die Woche automatisch gemacht. Deshalb lasse ich
cd /opt/iobroker iobroker backup
weg.