@crunchip Ja, richtig, deshalb habe ich es erwähnt, da ich hier die Ursache vermute, aber nicht finde. Ist also kein Widerspruch.
NEWS
Latest posts made by xlklwr
-
RE: ioGo permission denied
-
ioGo permission denied
Hallo,
ich habe leider Probleme mit meinem iogo Pro adapter und finde nicht, warum. Vielleicht kann mir her jemand helfen - hat bis gestern noch funktioniert, jetzt geht es auf einmal nicht mehr, der Adapter startet immer neu.
Log:
host.xlklwr-VPCSB4M9E 2022-12-01 06:09:57.607 error instance system.adapter.iogopro.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.xlklwr-VPCSB4M9E 2022-12-01 06:09:57.607 error Caught by controller[1]: [2022-12-01T05:09:57.411Z] @firebase/database: FIREBASE WARNING: set at /IV4La6PX9gZtLOLrTRHdy8ckYhI2/host/keys failed: permission_denied host.xlklwr-VPCSB4M9E 2022-12-01 06:09:57.606 error Caught by controller[1]: [2022-12-01T05:09:57.410Z] @firebase/database: FIREBASE WARNING: set at /IV4La6PX9gZtLOLrTRHdy8ckYhI2/host/data failed: permission_denied host.xlklwr-VPCSB4M9E 2022-12-01 06:09:57.606 error Caught by controller[0]: at processImmediate (internal/timers.js:463:21) host.xlklwr-VPCSB4M9E 2022-12-01 06:09:57.606 error Caught by controller[0]: at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.iogopro/src/lib/enum-service.ts:54:45) host.xlklwr-VPCSB4M9E 2022-12-01 06:09:57.606 error Caught by controller[0]: at EnumSyncService.getEnumObject (/opt/iobroker/node_modules/iobroker.iogopro/src/lib/enum-service.ts:79:38) host.xlklwr-VPCSB4M9E 2022-12-01 06:09:57.605 error Caught by controller[0]: TypeError: Cannot read property 'includes' of undefined host.xlklwr-VPCSB4M9E 2022-12-01 06:09:52.029 info instance system.adapter.iogopro.0 started with pid 32536 host.xlklwr-VPCSB4M9E 2022-12-01 06:09:21.917 info Restart adapter system.adapter.iogopro.0 because enabled
Das Log für den Adapter selbst sieht so aus:
iogopro.0 2022-12-01 06:12:20.720 error SyncService: PERMISSION_DENIED: Permission denied iogopro.0 2022-12-01 06:12:20.719 error SyncService: PERMISSION_DENIED: Permission denied iogopro.0 2022-12-01 06:12:20.432 info main: destroyServices iogopro.0 2022-12-01 06:12:20.431 warn Terminated (UNCAUGHT_EXCEPTION): Without reason iogopro.0 2022-12-01 06:12:20.430 info terminating iogopro.0 2022-12-01 06:12:20.430 info main: signed out iogopro.0 2022-12-01 06:12:20.424 info main: destroyServices iogopro.0 2022-12-01 06:12:20.424 info main: cleaning everything up... iogopro.0 2022-12-01 06:12:20.411 error Cannot read property 'includes' of undefined iogopro.0 2022-12-01 06:12:20.411 error TypeError: Cannot read property 'includes' of undefined at EnumSyncService.getEnumObject (/opt/iobroker/node_modules/iobroker.iogopro/src/lib/enum-service.ts:79:38) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.iogopro/src/lib/enum-service.ts:54:45) at processImmediate (internal/timers.js:463:21) iogopro.0 2022-12-01 06:12:20.410 error uncaught exception: Cannot read property 'includes' of undefined Ich habe ein paar Namen angepasst, finde aber nicht heraus, ob ich hier ein falsches Zeichen oder so erwischt habe, suche mit einen Wolf. Vielleicht hat jemand einen Tipp, wie ich den Fehler einkreisen kann.
-
RE: ZIGBEE bleibt rot
@thomas-braun Dank - da ich das erst alles neu aufgesetzt hab (bin iobroker Frischling) habe ich hier auch noch keine Updates von vorherigen Version etc. gemacht. Nur beim googeln habe ich jetzt gefunden, dass das Node Module 88 offenbar von Node 15 ist, und hier wurde offenbar das Module zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node gegen kompiliert, es hätte aber gegen Version 72 kompiliert werden sollen, also Node 12, was ich ja korrekterweise installiert habe. Auch ein rebuild und auch install --production in den entsprechenden Ordnern habe ich durchgeführt, keine Änderung. Auch nach kompletter Löschung wie von @Asgothian empfohlen und Neuinstallation wieder das selbe. Node 15 hatte ich hier ja noch nie drauf. Kann ich das irgendwie "manuell" kompilieren, außer mit rebuild oder install --production?
-
RE: ZIGBEE bleibt rot
xlklwr@xlklwr-VPCSB4M9E:/opt/iobroker$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v12.20.1 /usr/bin/node v12.20.1 /usr/bin/npm 6.14.11 nodejs: Installiert: 12.20.1-1nodesource1 Installationskandidat: 12.20.1-1nodesource1 Versionstabelle: *** 12.20.1-1nodesource1 500 500 https://deb.nodesource.com/node_12.x bionic/main amd64 Packages 100 /var/lib/dpkg/status 8.10.0~dfsg-2ubuntu0.4 500 500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 8.10.0~dfsg-2ubuntu0.2 500 500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages 8.10.0~dfsg-2 500 500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
-
RE: ZIGBEE bleibt rot
@asgothian Also wenn ich das richtig verstehe, ist mit meiner Node.js irgendwas falsch. Node Module 88 ist von Node 15, ich habe aber Node 12 installiert. Wie kann ich das fixen???
-
RE: ZIGBEE bleibt rot
@asgothian Ja, habe ich. Sowie in /opt/iobroker/node_modules/iobroker.zigbee und /opt/iobroker wurde mit npm list zigbee-herdsman-converters und npm list zigbee-herdsman nix gefunden.
Ich probiere jetzt nochmal:
- Zigbee Adapter deinstallieren
- im Verzeichnis /opt/iobroker/node_modules/iobroker.zigbee den Befehl "npm remove zigbee-herdsman-converters" ausführen
- dito mit npm remove zigbee-herdsman
- in Verzeichnis /opt/iobroker die beiden Befehle auch ausführen
- per npm list zigbee-herdsman-converters sicher stellen das keiner mehr installiert ist, dito für zigbee-herdsman
- zigbee adapter installieren / updaten.
macht es auch Sinn eine npm remove iobroker.zigbee zu machen?
Und was bedeutet
Error: The module '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'was compiled against a different Node.js version using was compiled against a different Node.js version using NODE_MODULE_VERSION 88. This version of Node.js requires NODE_MODULE_VERSION 72. Please try re-compiling or re-installing -
RE: ZIGBEE bleibt rot
@asgothian sagte in ZIGBEE bleibt rot:
/opt/iobroker/node_modules/iobroker.zigbee
Danke für die schnelle Antwort. Habe ich so durchgeführt. Ich habe 3 Varianten ausprobiert.
(1) Adpater gestoppt, die Befehle ausgeführt, Adapter gestartet. Geht nicht, Log:
host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.639 error instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.638 error Caught by controller[0]: } host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.638 error Caught by controller[0]: ] host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.638 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/main.js' host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.638 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/lib/seriallist.js', host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.638 error Caught by controller[0]: requireStack: [ host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.638 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.638 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) { host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.638 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.638 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.638 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.638 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.637 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/lib/seriallist.js:3:25) host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.637 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.637 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.637 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27) host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.637 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.637 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/main.js host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.637 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/lib/seriallist.js host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.636 error Caught by controller[0]: Require stack: host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.636 error Caught by controller[0]: Error: Cannot find module 'zigbee-herdsman/dist/adapter/serialPortUtils' host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.636 error Caught by controller[0]: ^ host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.636 error Caught by controller[0]: throw err; host.xlklwr-VPCSB4M9E 2021-02-01 10:00:22.636 error Caught by controller[0]: internal/modules/cjs/loader.js:818
(2) Adapter gestoppt, Schritte ausgeführt, Adapter manuell geupdated (npm update im Ordner) Ergebnis: gleicher Fehler wie in meinem Eingangspost.
(3) Adapter gestoppt, Schritte ausgeführt, Adapter über iobroker deinstalliert und neu installiert, Ergebnis:
host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.744 info Rebuild for adapter system.adapter.zigbee.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually. host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.744 error instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.744 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.743 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.743 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.743 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36) host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.743 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48) host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.743 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.743 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.743 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.743 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.743 error Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18) host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.743 error Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.742 error Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.742 error Caught by controller[0]: NODE_MODULE_VERSION 88. This version of Node.js requires host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.742 error Caught by controller[0]: was compiled against a different Node.js version using host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.742 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node' host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.742 error Caught by controller[0]: ^ host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.742 error Caught by controller[0]: throw e; host.xlklwr-VPCSB4M9E 2021-02-01 10:15:08.741 error Caught by controller[0]: /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
Was mach ich falsch, noch ne Idee?
-
ZIGBEE bleibt rot
Ich doktore jetzt schon seit Stunden mit der Installation de Zigbee-Adapter herum und komme auf einfach keinen grünen Zweig. Ich habe jetzt schon ziemlich alle Beiträge dazu abgearbeitet und es ändert sich einfach nichts, auch Neuinstallation, rebuild etc. hat alles gar nichts gebracht.
Im Log erhalte ich
host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.156 info Rebuild for adapter system.adapter.zigbee.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually. host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.156 error instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.156 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.156 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.155 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.155 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36) host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.155 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48) host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.155 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.155 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.155 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.155 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.155 error Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18) host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.155 error Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.154 error Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.154 error Caught by controller[0]: NODE_MODULE_VERSION 88. This version of Node.js requires host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.154 error Caught by controller[0]: was compiled against a different Node.js version using host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.154 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node' host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.154 error Caught by controller[0]: ^ host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.154 error Caught by controller[0]: throw e; host.xlklwr-VPCSB4M9E 2021-01-31 14:42:19.154 error Caught by controller[0]: /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121 host.xlklwr-VPCSB4M9E 2021-01-31 14:42:18.948 info instance system.adapter.zigbee.0 started with pid 29728 host.xlklwr-VPCSB4M9E 2021-01-31 14:42:18.924 info iobroker npm-rebuild: exit 0 host.xlklwr-VPCSB4M9E 2021-01-31 14:42:17.914 info iobroker npm-rebuild: Rebuild zigbee done host.xlklwr-VPCSB4M9E 2021-01-31 14:42:17.913 info iobroker npm-rebuild: javascript.0 2021-01-31 14:42:10.073 info (28801) script.js.common.HomeWizardSensor: {"status": "ok", "version": "3.403", "request": {"route": "/telist.json" }, "response": [{"id":0,"name":"Wohnzimmer","channel":1,"model":0,"te":21.5,"hu":44, javascript.0 2021-01-31 14:42:09.971 info (28801) script.js.common.HomeWizard1: {"status": "ok", "version": "3.403", "request": {"route": "/swlist.json" }, "response": [{"id":0,"name":"Markise","type":"asun","mode":0,"favorite":"no"},{"id":1, javascript.0 2021-01-31 14:42:00.070 info (28801) script.js.common.HomeWizardSensor: {"status": "ok", "version": "3.403", "request": {"route": "/telist.json" }, "response": [{"id":0,"name":"Wohnzimmer","channel":1,"model":0,"te":21.5,"hu":44, javascript.0 2021-01-31 14:41:59.972 info (28801) script.js.common.HomeWizard1: {"status": "ok", "version": "3.403", "request": {"route": "/swlist.json" }, "response": [{"id":0,"name":"Markise","type":"asun","mode":0,"favorite":"no"},{"id":1, host.xlklwr-VPCSB4M9E 2021-01-31 14:41:54.099 info iobroker npm-rebuild: npm install --loglevel error --production (System call) in "/opt/iobroker/node_modules/iobroker.zigbee" host.xlklwr-VPCSB4M9E 2021-01-31 14:41:53.853 info iobroker rebuild zigbee --install host.xlklwr-VPCSB4M9E 2021-01-31 14:41:53.853 warn adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt
Vielleicht hat mir hier jemand den entscheidenden Tip, wo hier mein Denkfehler liegt - wie gesagt, nach allem was ich bisher probiert habe kommen exakt diese Logeinträge - auch ein rebuild des Serialports habe ich probiert, iobroker fix, etc. etc. Ich bin mit meinem (wenigen) Latein am Ende. Vielen Dank für eure Hilfe!
-
RE: [gelöst] influxdb schreibt Werte bei Neustart des Adapters
@sentinel Ich habe das selbe Problem festgestellt. Ich schreibe einmal nachts meine Tageswerte in influx, wenn dann aber iobroker ein Neustart macht, tauchen die Werte mehrfach auf. Hast du eine Lösung gefunden?