Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Achim

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Groups 0

    Achim

    @Achim

    0
    Reputation
    4
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Achim Follow

    Latest posts made by Achim

    • RE: [How-To] Goodwe Wechselrichter und Modbus TCP

      @fossytom Wie soll der Adapter installiert werden?
      Ich arbeite mich gerade in iobroker ein, und schaffe es nicht, den Adapter zu installieren.
      Ich habe zuerst, wie auf https://github.com/FossyTom/ioBroker.goodwe empfohlen "npm install iobroker.goodwe" probiert. Es gibt zwar die Erfolgsmeldung "added 4 packages, and audited 5 packages in 2s", aber dennoch wird der Adapter nicht auf der Plugin Seite von iobroker angezeigt - auch nicht nach einem Neustart.
      Bei dem Versuch mit "iobroker url https://github.com/FossyTom/ioBroker.goodwe --debug" erhalte ich zum Ende des Ablaufs der Installation diese Fehlermeldungen:

      npm ERR! code 1
      npm ERR! git dep preparation failed
      npm ERR! command /usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/iobroker/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
      npm ERR! npm WARN using --force Recommended protections disabled.
      npm ERR! npm ERR! code 1
      npm ERR! npm ERR! path /home/iobroker/.npm/_cacache/tmp/git-cloneMXO1EP/node_modules/esbuild
      npm ERR! npm ERR! command failed
      npm ERR! npm ERR! command sh -c -- node install.js
      npm ERR! npm ERR! node:internal/errors:478
      npm ERR! npm ERR!     ErrorCaptureStackTrace(err);
      npm ERR! npm ERR!     ^
      npm ERR! npm ERR! 
      npm ERR! npm ERR! <ref *1> Error: spawnSync /home/iobroker/.npm/_cacache/tmp/git-cloneMXO1EP/node_modules/esbuild/bin/esbuild EACCES
      npm ERR! npm ERR!     at Object.spawnSync (node:internal/child_process:1119:20)
      npm ERR! npm ERR!     at spawnSync (node:child_process:847:24)
      npm ERR! npm ERR!     at Object.execFileSync (node:child_process:890:15)
      npm ERR! npm ERR!     at validateBinaryVersion (/home/iobroker/.npm/_cacache/tmp/git-cloneMXO1EP/node_modules/esbuild/install.js:90:32)
      npm ERR! npm ERR!     at /home/iobroker/.npm/_cacache/tmp/git-cloneMXO1EP/node_modules/esbuild/install.js:243:5 {
      npm ERR! npm ERR!   errno: -13,
      npm ERR! npm ERR!   code: 'EACCES',
      npm ERR! npm ERR!   syscall: 'spawnSync /home/iobroker/.npm/_cacache/tmp/git-cloneMXO1EP/node_modules/esbuild/bin/esbuild',
      npm ERR! npm ERR!   path: '/home/iobroker/.npm/_cacache/tmp/git-cloneMXO1EP/node_modules/esbuild/bin/esbuild',
      npm ERR! npm ERR!   spawnargs: [ '--version' ],
      npm ERR! npm ERR!   error: [Circular *1],
      npm ERR! npm ERR!   status: null,
      npm ERR! npm ERR!   signal: null,
      npm ERR! npm ERR!   output: null,
      npm ERR! npm ERR!   pid: 87178,
      npm ERR! npm ERR!   stdout: null,
      npm ERR! npm ERR!   stderr: null
      npm ERR! npm ERR! }
      
      

      Ich habe schon mit chown die Rechte so gesetzt, dass /home/iobroker und auch /opt/iobroker dem Nutzer "iobroker" gehören. Daher verstehe ich nicht, warum es ein Problem mit Zugriffsrechten gibt (EACCES).

      Dann werde ich wohl erst einmal bei https://github.com/marcelblijleven/goodwe bleiben, da ich damit per Python Script problemlos alle Werte von meinem GoodWe GW6.5K-ET mit WLAN-Modul auslesen. Wäre zwar schöner, nicht per Exec-Aufruf in iobroker ein externes Script aufrufen zu müssen, und die Ausgabe parsen zu müssen, aber immerhin erhalte ich damit einen lokalen, direkten Zugriff auf alle relevanten Werte. Der Entwickler mletenay hat auch schon ein Plugin für "Home Assistant" erstellt.

      Servus,
      Achim

      posted in Praktische Anwendungen (Showcase)
      A
      Achim
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo