Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. PiFace addon Installationsproblem

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    497

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.4k

PiFace addon Installationsproblem

Geplant Angeheftet Gesperrt Verschoben Error/Bug
22 Beiträge 2 Kommentatoren 593 Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • T TK 0

    ohhh Sorry, darauf hatte ich gar nicht geachtet. Hatte nur auf die Modellreihe B geachtet.

    Dann gehe ich nochmals nach Deiner Anleitung für den Standardfall durch.

    Vielen Dank nochmals und entschuldige meinen Fehler.

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von Thomas Braun
    #12

    @tk-0

    Was sagt denn

    cat /proc/cpuinfo
    cat /proc/device-tree/model
    

    Dann kannst du auch gleich mal die CodeTags versuchen.

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    T 2 Antworten Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @tk-0

      Was sagt denn

      cat /proc/cpuinfo
      cat /proc/device-tree/model
      

      Dann kannst du auch gleich mal die CodeTags versuchen.

      T Offline
      T Offline
      TK 0
      schrieb am zuletzt editiert von
      #13

      @thomas-braun

      iobroker@raspib:~ $ cat /proc/cpuinfo
      processor       : 0
      model name      : ARMv7 Processor rev 4 (v7l)
      BogoMIPS        : 38.40
      Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
      CPU implementer : 0x41
      CPU architecture: 7
      CPU variant     : 0x0
      CPU part        : 0xd03
      CPU revision    : 4
      
      processor       : 1
      model name      : ARMv7 Processor rev 4 (v7l)
      BogoMIPS        : 38.40
      Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
      CPU implementer : 0x41
      CPU architecture: 7
      CPU variant     : 0x0
      CPU part        : 0xd03
      CPU revision    : 4
      
      processor       : 2
      model name      : ARMv7 Processor rev 4 (v7l)
      BogoMIPS        : 38.40
      Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
      CPU implementer : 0x41
      CPU architecture: 7
      CPU variant     : 0x0
      CPU part        : 0xd03
      CPU revision    : 4
      
      processor       : 3
      model name      : ARMv7 Processor rev 4 (v7l)
      BogoMIPS        : 38.40
      Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
      CPU implementer : 0x41
      CPU architecture: 7
      CPU variant     : 0x0
      CPU part        : 0xd03
      CPU revision    : 4
      
      Hardware        : BCM2835
      Revision        : a02082
      Serial          : 00000000b4510762
      
      1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @tk-0

        Was sagt denn

        cat /proc/cpuinfo
        cat /proc/device-tree/model
        

        Dann kannst du auch gleich mal die CodeTags versuchen.

        T Offline
        T Offline
        TK 0
        schrieb am zuletzt editiert von
        #14

        @thomas-braun

        iobroker@raspib:~ $ cat /proc/device-tree/model
        Raspberry Pi 3 Model B Rev 1.2iobroker@raspib:~ $
        
        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • T TK 0

          @thomas-braun

          iobroker@raspib:~ $ cat /proc/device-tree/model
          Raspberry Pi 3 Model B Rev 1.2iobroker@raspib:~ $
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #15

          @tk-0

          Also ein relativ aktueller Pi3B.
          Da braucht es keine Sonderfall-Regelung.

          Btw: Der user 'iobroker' ist mal schlecht gewählt, der gehört als Systemuser eigentlich zur ioBroker-Grundinstallation.

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          T 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @tk-0

            Also ein relativ aktueller Pi3B.
            Da braucht es keine Sonderfall-Regelung.

            Btw: Der user 'iobroker' ist mal schlecht gewählt, der gehört als Systemuser eigentlich zur ioBroker-Grundinstallation.

            T Offline
            T Offline
            TK 0
            schrieb am zuletzt editiert von
            #16

            @thomas-braun
            Habe mich über ssh als iobroker angemeldet. Als normaler Benutzer gibt es auch noch pi.
            Node habe ich nun über den normalen installiert und nach einem Neustart läuft IoBroker wieder.

            iobroker@raspib:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt updaten && apt policy nodejs
            /usr/bin/nodejs
            /usr/bin/node
            /usr/bin/npm
            v14.18.2
            v14.18.2
            6.14.15
            OK:1 http://archive.raspberrypi.org/debian stretch InRelease
            OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
            OK:3 https://deb.nodesource.com/node_14.x buster InRelease
            Paketlisten werden gelesen... Fertig
            Abhngigkeitsbaum wird aufgebaut.
            Statusinformationen werden eingelesen.... Fertig
            Aktualisierung fr 47 Pakete verfgbar. Fhren Sie apt list --upgradable aus, um sie anzuzeigen.
            E: Ungltige Operation updaten
            

            Wie von Dir vermutet geht die Installation von piface dennoch nicht.

            $ iobroker add piface --host raspib
            
            NPM version: 6.14.15
            
            npm install iobroker.piface@1.0.0 --loglevel error --prefix "/opt/iobroker" (System call)
            
            In file included from ../src/cpp/init.cc:2:
            
            ../src/cpp/NPIFaceDigital.h: In function 'void AsyncAfter(uv_work_t*, int)':../src/cpp/NPIFaceDigital.h:74:52: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Primitive>, const unsigned int&, v8::Local<v8::Value> [0])' info->callback->Call(Null(info->isolate),argc,argv); ^In file included from /home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:67, from ../src/cpp/init.cc:1:/home/iobroker/.cache/node-gyp/14.18.2/include/node/v8.h:4468:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context, ^~~~/home/iobroker/.cache/node-gyp/14.18.2/include/node/v8.h:4468:43: note: candidate expects 4 arguments, 3 provided
            
            In file included from ../src/cpp/init.cc:1:../src/cpp/init.cc: At global scope:/home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:787:43: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:821:3: note: in expansion of macro 'NODE_MODULE_X' NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/cpp/init.cc:10:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(pifacedigital, Initialize) ^~~~~~~~~~~
            
            In file included from ../src/cpp/init.cc:2:
            
            ../src/cpp/NPIFaceDigital.h:61:13: warning: 'void AsyncAfter(uv_work_t*, int)' defined but not used [-Wunused-function] static void AsyncAfter(uv_work_t *req, int status) ^~~~~~~~~~../src/cpp/NPIFaceDigital.h:34:13: warning: 'void WaitForAsync(uv_work_t*)' defined but not used [-Wunused-function] static void WaitForAsync(uv_work_t *req) ^~~~~~~~~~~~
            
            make: *** [pifacedigital.target.mk:112: Release/obj.target/pifacedigital/src/cpp/init.o] Fehler 1
            
            gyp ERR! build error
            
            gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack at ChildProcess.emit (events.js:400:28)
            
            gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 4.19.66-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/node-pifacedigitalgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
            
            npm ERR! code ELIFECYCLE
            
            npm ERR! errno 1
            
            npm ERR! node-pifacedigital@0.1.7 install: `node-gyp rebuild`
            
            npm ERR! Exit status 1
            
            npm ERR! npm ERR! Failed at the node-pifacedigital@0.1.7 install script.
            
            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            
            npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-12-23T13_48_51_110Z-debug.log
            
            host.raspib Cannot install iobroker.piface@1.0.0: 1
            
            ERROR: Process exited with code 25
            

            Bedeutet das, dass die Software für diesen Adapter zu alt ist?

            Thomas BraunT 2 Antworten Letzte Antwort
            0
            • T TK 0

              @thomas-braun
              Habe mich über ssh als iobroker angemeldet. Als normaler Benutzer gibt es auch noch pi.
              Node habe ich nun über den normalen installiert und nach einem Neustart läuft IoBroker wieder.

              iobroker@raspib:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt updaten && apt policy nodejs
              /usr/bin/nodejs
              /usr/bin/node
              /usr/bin/npm
              v14.18.2
              v14.18.2
              6.14.15
              OK:1 http://archive.raspberrypi.org/debian stretch InRelease
              OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
              OK:3 https://deb.nodesource.com/node_14.x buster InRelease
              Paketlisten werden gelesen... Fertig
              Abhngigkeitsbaum wird aufgebaut.
              Statusinformationen werden eingelesen.... Fertig
              Aktualisierung fr 47 Pakete verfgbar. Fhren Sie apt list --upgradable aus, um sie anzuzeigen.
              E: Ungltige Operation updaten
              

              Wie von Dir vermutet geht die Installation von piface dennoch nicht.

              $ iobroker add piface --host raspib
              
              NPM version: 6.14.15
              
              npm install iobroker.piface@1.0.0 --loglevel error --prefix "/opt/iobroker" (System call)
              
              In file included from ../src/cpp/init.cc:2:
              
              ../src/cpp/NPIFaceDigital.h: In function 'void AsyncAfter(uv_work_t*, int)':../src/cpp/NPIFaceDigital.h:74:52: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Primitive>, const unsigned int&, v8::Local<v8::Value> [0])' info->callback->Call(Null(info->isolate),argc,argv); ^In file included from /home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:67, from ../src/cpp/init.cc:1:/home/iobroker/.cache/node-gyp/14.18.2/include/node/v8.h:4468:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context, ^~~~/home/iobroker/.cache/node-gyp/14.18.2/include/node/v8.h:4468:43: note: candidate expects 4 arguments, 3 provided
              
              In file included from ../src/cpp/init.cc:1:../src/cpp/init.cc: At global scope:/home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:787:43: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:821:3: note: in expansion of macro 'NODE_MODULE_X' NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/cpp/init.cc:10:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(pifacedigital, Initialize) ^~~~~~~~~~~
              
              In file included from ../src/cpp/init.cc:2:
              
              ../src/cpp/NPIFaceDigital.h:61:13: warning: 'void AsyncAfter(uv_work_t*, int)' defined but not used [-Wunused-function] static void AsyncAfter(uv_work_t *req, int status) ^~~~~~~~~~../src/cpp/NPIFaceDigital.h:34:13: warning: 'void WaitForAsync(uv_work_t*)' defined but not used [-Wunused-function] static void WaitForAsync(uv_work_t *req) ^~~~~~~~~~~~
              
              make: *** [pifacedigital.target.mk:112: Release/obj.target/pifacedigital/src/cpp/init.o] Fehler 1
              
              gyp ERR! build error
              
              gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack at ChildProcess.emit (events.js:400:28)
              
              gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 4.19.66-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/node-pifacedigitalgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
              
              npm ERR! code ELIFECYCLE
              
              npm ERR! errno 1
              
              npm ERR! node-pifacedigital@0.1.7 install: `node-gyp rebuild`
              
              npm ERR! Exit status 1
              
              npm ERR! npm ERR! Failed at the node-pifacedigital@0.1.7 install script.
              
              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
              
              npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-12-23T13_48_51_110Z-debug.log
              
              host.raspib Cannot install iobroker.piface@1.0.0: 1
              
              ERROR: Process exited with code 25
              

              Bedeutet das, dass die Software für diesen Adapter zu alt ist?

              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von Thomas Braun
              #17

              @tk-0 sagte in PiFace addon Installationsproblem:

              http://archive.raspberrypi.org/debian stretch InRelease

              Das ist falsch. Muss 'buster' statt 'stretch' lauten.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              1 Antwort Letzte Antwort
              0
              • T TK 0

                @thomas-braun
                Habe mich über ssh als iobroker angemeldet. Als normaler Benutzer gibt es auch noch pi.
                Node habe ich nun über den normalen installiert und nach einem Neustart läuft IoBroker wieder.

                iobroker@raspib:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt updaten && apt policy nodejs
                /usr/bin/nodejs
                /usr/bin/node
                /usr/bin/npm
                v14.18.2
                v14.18.2
                6.14.15
                OK:1 http://archive.raspberrypi.org/debian stretch InRelease
                OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                OK:3 https://deb.nodesource.com/node_14.x buster InRelease
                Paketlisten werden gelesen... Fertig
                Abhngigkeitsbaum wird aufgebaut.
                Statusinformationen werden eingelesen.... Fertig
                Aktualisierung fr 47 Pakete verfgbar. Fhren Sie apt list --upgradable aus, um sie anzuzeigen.
                E: Ungltige Operation updaten
                

                Wie von Dir vermutet geht die Installation von piface dennoch nicht.

                $ iobroker add piface --host raspib
                
                NPM version: 6.14.15
                
                npm install iobroker.piface@1.0.0 --loglevel error --prefix "/opt/iobroker" (System call)
                
                In file included from ../src/cpp/init.cc:2:
                
                ../src/cpp/NPIFaceDigital.h: In function 'void AsyncAfter(uv_work_t*, int)':../src/cpp/NPIFaceDigital.h:74:52: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Primitive>, const unsigned int&, v8::Local<v8::Value> [0])' info->callback->Call(Null(info->isolate),argc,argv); ^In file included from /home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:67, from ../src/cpp/init.cc:1:/home/iobroker/.cache/node-gyp/14.18.2/include/node/v8.h:4468:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context, ^~~~/home/iobroker/.cache/node-gyp/14.18.2/include/node/v8.h:4468:43: note: candidate expects 4 arguments, 3 provided
                
                In file included from ../src/cpp/init.cc:1:../src/cpp/init.cc: At global scope:/home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:787:43: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:821:3: note: in expansion of macro 'NODE_MODULE_X' NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/cpp/init.cc:10:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(pifacedigital, Initialize) ^~~~~~~~~~~
                
                In file included from ../src/cpp/init.cc:2:
                
                ../src/cpp/NPIFaceDigital.h:61:13: warning: 'void AsyncAfter(uv_work_t*, int)' defined but not used [-Wunused-function] static void AsyncAfter(uv_work_t *req, int status) ^~~~~~~~~~../src/cpp/NPIFaceDigital.h:34:13: warning: 'void WaitForAsync(uv_work_t*)' defined but not used [-Wunused-function] static void WaitForAsync(uv_work_t *req) ^~~~~~~~~~~~
                
                make: *** [pifacedigital.target.mk:112: Release/obj.target/pifacedigital/src/cpp/init.o] Fehler 1
                
                gyp ERR! build error
                
                gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack at ChildProcess.emit (events.js:400:28)
                
                gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 4.19.66-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/node-pifacedigitalgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                
                npm ERR! code ELIFECYCLE
                
                npm ERR! errno 1
                
                npm ERR! node-pifacedigital@0.1.7 install: `node-gyp rebuild`
                
                npm ERR! Exit status 1
                
                npm ERR! npm ERR! Failed at the node-pifacedigital@0.1.7 install script.
                
                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                
                npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-12-23T13_48_51_110Z-debug.log
                
                host.raspib Cannot install iobroker.piface@1.0.0: 1
                
                ERROR: Process exited with code 25
                

                Bedeutet das, dass die Software für diesen Adapter zu alt ist?

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #18

                @tk-0 sagte in PiFace addon Installationsproblem:

                Bedeutet das, dass die Software für diesen Adapter zu alt ist?

                Möglich. Aber hast du auch die ganzen Voraussetzungen auf der Hardwareseite erfüllt? SPI aktiv im Raspberry? Wenn ich das richtig sehe ist das ganze ja etwas frickelig einzurichten, schon bevor da irgendwas node / ioBroker bezogenes überhaupt funktionieren würde.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                T 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @tk-0 sagte in PiFace addon Installationsproblem:

                  Bedeutet das, dass die Software für diesen Adapter zu alt ist?

                  Möglich. Aber hast du auch die ganzen Voraussetzungen auf der Hardwareseite erfüllt? SPI aktiv im Raspberry? Wenn ich das richtig sehe ist das ganze ja etwas frickelig einzurichten, schon bevor da irgendwas node / ioBroker bezogenes überhaupt funktionieren würde.

                  T Offline
                  T Offline
                  TK 0
                  schrieb am zuletzt editiert von
                  #19

                  @thomas-braun

                  Das Ganze lief schon mal mit einer älteren iobroker Version. Frag bitte nicht welche das war.
                  Ich habe damit S0 Schnittstellen von meinem Wasserzähler und dem PV Inverter mitgeloggt.
                  Nach einem Update vor einigen Wochen/Monate ging es dann leider nicht mehr.

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • T TK 0

                    @thomas-braun

                    Das Ganze lief schon mal mit einer älteren iobroker Version. Frag bitte nicht welche das war.
                    Ich habe damit S0 Schnittstellen von meinem Wasserzähler und dem PV Inverter mitgeloggt.
                    Nach einem Update vor einigen Wochen/Monate ging es dann leider nicht mehr.

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #20

                    @tk-0

                    Bevor du da weiter machst dringend die Repos gerade ziehen. Das trägt nicht gerade zu einem stabilen System bei, wenn das alles nicht zueinander passt.

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    T 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @tk-0

                      Bevor du da weiter machst dringend die Repos gerade ziehen. Das trägt nicht gerade zu einem stabilen System bei, wenn das alles nicht zueinander passt.

                      T Offline
                      T Offline
                      TK 0
                      schrieb am zuletzt editiert von
                      #21

                      @thomas-braun

                      So, alle Repos gerade gezogen und das System aktualisiert neu gestartet und nochmals die Installation versucht.
                      Leider geht die Installation von Piface immer noch nicht.
                      Gibt es eine Möglichkeit, dass sich das mal jemand anschaut, der sich damit auskennt?

                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • T TK 0

                        @thomas-braun

                        So, alle Repos gerade gezogen und das System aktualisiert neu gestartet und nochmals die Installation versucht.
                        Leider geht die Installation von Piface immer noch nicht.
                        Gibt es eine Möglichkeit, dass sich das mal jemand anschaut, der sich damit auskennt?

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von Thomas Braun
                        #22

                        @tk-0

                        Wird am alten Code des Moduls liegen:

                        github:	1.0.0
                        latest:	1.0.0 for 51 months
                        stable:	1.0.0 for 51 months
                        

                        Bei mir baut das auch nicht, allerdings mit etwas anderen Meldungen:

                        echad@chet:/opt/iobroker $ iobroker add piface
                        NPM version: 8.3.0
                        npm install iobroker.piface@1.0.0 --loglevel error --prefix "/opt/iobroker" (System call)
                        npm ERR! code 1
                        npm ERR! path /opt/iobroker/node_modules/iobroker.piface/node_modules/node-pifacedigital
                        npm ERR! command failed
                        npm ERR! command sh -c node-gyp rebuild
                        npm ERR! make: Entering directory '/opt/iobroker/node_modules/iobroker.piface/node_modules/node-pifacedigital/build'
                        npm ERR!   CXX(target) Release/obj.target/pifacedigital/src/cpp/init.o
                        npm ERR! make: Leaving directory '/opt/iobroker/node_modules/iobroker.piface/node_modules/node-pifacedigital/build'
                        npm ERR! (node:2953) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
                        npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
                        npm ERR! In file included from ../src/cpp/init.cc:2:
                        npm ERR! ../src/cpp/NPIFaceDigital.h: In function ‘void AsyncAfter(uv_work_t*, int)’:
                        npm ERR! ../src/cpp/NPIFaceDigital.h:74:52: error: no matching function for call to ‘v8::Function::Call(v8::Local<v8::Primitive>, const unsigned int&, v8::Local<v8::Value> [0])’
                        npm ERR!    74 |  info->callback->Call(Null(info->isolate),argc,argv);
                        npm ERR!       |                                                    ^
                        npm ERR! In file included from /home/iobroker/.node-gyp/17.3.0/include/node/v8.h:34,
                        npm ERR!                  from /home/iobroker/.node-gyp/17.3.0/include/node/node.h:63,
                        npm ERR!                  from ../src/cpp/init.cc:1:
                        npm ERR! /home/iobroker/.node-gyp/17.3.0/include/node/v8-function.h:54:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’
                        npm ERR!    54 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                        npm ERR!       |                                           ^~~~
                        npm ERR! /home/iobroker/.node-gyp/17.3.0/include/node/v8-function.h:54:43: note:   candidate expects 4 arguments, 3 provided
                        npm ERR! In file included from ../src/cpp/init.cc:1:
                        npm ERR! ../src/cpp/init.cc: At global scope:
                        npm ERR! /home/iobroker/.node-gyp/17.3.0/include/node/node.h:843:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                        npm ERR!   843 |       (node::addon_register_func) (regfunc),                          \
                        npm ERR!       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        npm ERR! /home/iobroker/.node-gyp/17.3.0/include/node/node.h:877:3: note: in expansion of macro ‘NODE_MODULE_X’
                        npm ERR!   877 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                        npm ERR!       |   ^~~~~~~~~~~~~
                        npm ERR! ../src/cpp/init.cc:10:1: note: in expansion of macro ‘NODE_MODULE’
                        npm ERR!    10 | NODE_MODULE(pifacedigital, Initialize)
                        npm ERR!       | ^~~~~~~~~~~
                        npm ERR! In file included from ../src/cpp/init.cc:2:
                        npm ERR! ../src/cpp/NPIFaceDigital.h:61:13: warning: ‘void AsyncAfter(uv_work_t*, int)’ defined but not used [-Wunused-function]
                        npm ERR!    61 | static void AsyncAfter(uv_work_t *req, int status)
                        npm ERR!       |             ^~~~~~~~~~
                        npm ERR! ../src/cpp/NPIFaceDigital.h:34:13: warning: ‘void WaitForAsync(uv_work_t*)’ defined but not used [-Wunused-function]
                        npm ERR!    34 | static void WaitForAsync(uv_work_t *req)
                        npm ERR!       |             ^~~~~~~~~~~~
                        npm ERR! make: *** [pifacedigital.target.mk:114: Release/obj.target/pifacedigital/src/cpp/init.o] Error 1
                        npm ERR! gyp ERR! build error
                        npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
                        npm ERR! gyp ERR! stack     at ChildProcess.onExit (/opt/iobroker/node_modules/iobroker.piface/node_modules/node-gyp/lib/build.js:262:23)
                        npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
                        npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
                        npm ERR! gyp ERR! System Linux 5.10.63-v8+
                        npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/iobroker.piface/node_modules/.bin/node-gyp" "rebuild"
                        npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/iobroker.piface/node_modules/node-pifacedigital
                        npm ERR! gyp ERR! node -v v17.3.0
                        npm ERR! gyp ERR! node-gyp -v v3.8.0
                        npm ERR! gyp ERR! not ok
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobroker/.npm/_logs/2021-12-23T16_57_41_135Z-debug-0.log
                        host.chet Cannot install iobroker.piface@1.0.0: 1
                        

                        Mach ein Issue auf. Wenn das Modul noch gepflegt werden sollte...
                        Schaut aber ehrlich gesagt nicht so aus.

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        1 Antwort Letzte Antwort
                        0
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        352

                        Online

                        32.7k

                        Benutzer

                        82.5k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe