Skip to content
  • 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
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. IoBroker.phantomjs

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

IoBroker.phantomjs

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
148 Beiträge 32 Kommentatoren 24.0k Aufrufe 19 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.
  • apollon77A apollon77

    Auf GitHub ist eine 1.1.0 ... wer mal kann bitte checken:

    • (Apollon77) Add config to automatically install libfontconfig when js-controller 3+ is used
    • (Apollon77) Add ignore-ssl-errors=true to parameters to prevent error with self signed ssl certs
    • (Apollon77) Adjust state description to not confuse witha static port number 🙂
    ? Offline
    ? Offline
    Ein ehemaliger Benutzer
    schrieb am zuletzt editiert von
    #85

    @apollon77 also ich hab die neue version nicht getestet, komme frühstens morgen dazu, aber das war nicht nur die destription.. Ich teste die neue Version morgen..

    apollon77A 1 Antwort Letzte Antwort
    0
    • ? Ein ehemaliger Benutzer

      @apollon77 also ich hab die neue version nicht getestet, komme frühstens morgen dazu, aber das war nicht nur die destription.. Ich teste die neue Version morgen..

      apollon77A Offline
      apollon77A Offline
      apollon77
      schrieb am zuletzt editiert von
      #86

      @ilovegym Ich hab im Code gesucht und in dem State was im Issue stand sollte an sich das Bild als Binary-State gespeichert sein und keine URL drin stehen ... habe nichts direkt gefunden 😞

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      ? 1 Antwort Letzte Antwort
      0
      • NegaleinN Negalein

        @holgerwolf sagte in IoBroker.phantomjs:

        Irgendwie werde die Werte aus deinem Blockly nicht übernommen

        hmmm, komisch
        Eigegeben sind sie richtig.

        Vergessen das Blockly nach einer Änderung abzuspeichern?

        Nein, eigentlich nicht.

        Schau dir mal den Javascript Code dazu an.

        schedule("*/5 * * * *", function () {
          sendTo("phantomjs.0", "send", {
             "url": 'http://10.0.1.22:32544/d/oNYohoEZk/wetterstation?orgId=1&refresh=1m&kiosk',
             "output": 'wetter.png',
             "width": '800',
             "high": '600',
             "rendertime": '10000'
          });
          exec('wput -nc /opt/iobroker/node_modules/iobroker.phantomjs/boden-ext.png ftp://user:password@www37.world4you.com');
          console.log("exec: " + 'wput -nc /opt/iobroker/node_modules/iobroker.phantomjs/boden-ext.png ftp://user:password@www37.world4you.com');
        });
        

        Hää, wo kommt da im JS-Code jetzt das boden-ext.pngher?

        F Offline
        F Offline
        fastfoot
        schrieb am zuletzt editiert von
        #87

        @Negalein sagte in IoBroker.phantomjs:

        Hää, wo kommt da im JS-Code jetzt das boden-ext.pngher?

        das weiss ich nicht, möchte dich aber darauf aufmerksam machen, dass du deine ftp Zugangsdaten veröffentlicht hast. Es reicht nicht, die Daten hier im Forum zu ändern, das solltest du im Blockly tun, speichern, und dann erst veröffentlichen! Ändere dein Passwort, wer weiss wer das jetzt noch kennt...

        iobroker läuft unter Docker auf QNAP TS-451+
        SkriptRecovery: https://forum.iobroker.net/post/930558

        NegaleinN 1 Antwort Letzte Antwort
        0
        • F fastfoot

          @Negalein sagte in IoBroker.phantomjs:

          Hää, wo kommt da im JS-Code jetzt das boden-ext.pngher?

          das weiss ich nicht, möchte dich aber darauf aufmerksam machen, dass du deine ftp Zugangsdaten veröffentlicht hast. Es reicht nicht, die Daten hier im Forum zu ändern, das solltest du im Blockly tun, speichern, und dann erst veröffentlichen! Ändere dein Passwort, wer weiss wer das jetzt noch kennt...

          NegaleinN Offline
          NegaleinN Offline
          Negalein
          Global Moderator
          schrieb am zuletzt editiert von
          #88

          @fastfoot sagte in IoBroker.phantomjs:

          dass du deine ftp Zugangsdaten veröffentlicht hast. Es reicht nicht, die Daten hier im Forum zu ändern, das solltest du im Blockly tun

          Danke für den Hinweis.
          Aber beim Import steht ftp://user:password@www37.world4you.com
          user = nicht der richtige Username
          password = nicht das richtige Passwort

          😊

          ° Node.js: 20.17.0 NPM: 10.8.2
          ° Proxmox, Ubuntu 22.04.3 LTS
          ° Fixer ---> iob fix

          F 1 Antwort Letzte Antwort
          0
          • NegaleinN Negalein

            @fastfoot sagte in IoBroker.phantomjs:

            dass du deine ftp Zugangsdaten veröffentlicht hast. Es reicht nicht, die Daten hier im Forum zu ändern, das solltest du im Blockly tun

            Danke für den Hinweis.
            Aber beim Import steht ftp://user:password@www37.world4you.com
            user = nicht der richtige Username
            password = nicht das richtige Passwort

            😊

            F Offline
            F Offline
            fastfoot
            schrieb am zuletzt editiert von
            #89

            @Negalein ich sagte doch dass das nicht reicht, vlt. hilft es dass der 5.Buchstabe deines usernamens ein Unterstrich ist. Möchtest du mehr? 😈

            iobroker läuft unter Docker auf QNAP TS-451+
            SkriptRecovery: https://forum.iobroker.net/post/930558

            NegaleinN 1 Antwort Letzte Antwort
            0
            • F fastfoot

              @Negalein ich sagte doch dass das nicht reicht, vlt. hilft es dass der 5.Buchstabe deines usernamens ein Unterstrich ist. Möchtest du mehr? 😈

              NegaleinN Offline
              NegaleinN Offline
              Negalein
              Global Moderator
              schrieb am zuletzt editiert von
              #90

              @fastfoot sagte in IoBroker.phantomjs:

              Möchtest du mehr?

              gern per PN

              Ich versteh es nicht. Hab den Code importiert und mir zeigte es nichts reales an.

              ° Node.js: 20.17.0 NPM: 10.8.2
              ° Proxmox, Ubuntu 22.04.3 LTS
              ° Fixer ---> iob fix

              F 1 Antwort Letzte Antwort
              0
              • NegaleinN Negalein

                @fastfoot sagte in IoBroker.phantomjs:

                Möchtest du mehr?

                gern per PN

                Ich versteh es nicht. Hab den Code importiert und mir zeigte es nichts reales an.

                F Offline
                F Offline
                fastfoot
                schrieb am zuletzt editiert von
                #91

                @Negalein sagte in IoBroker.phantomjs:

                gern per PN

                habe ich danach gesucht aber nichts gefunden, wie mache ich das?

                iobroker läuft unter Docker auf QNAP TS-451+
                SkriptRecovery: https://forum.iobroker.net/post/930558

                NegaleinN 1 Antwort Letzte Antwort
                0
                • F fastfoot

                  @Negalein sagte in IoBroker.phantomjs:

                  gern per PN

                  habe ich danach gesucht aber nichts gefunden, wie mache ich das?

                  NegaleinN Offline
                  NegaleinN Offline
                  Negalein
                  Global Moderator
                  schrieb am zuletzt editiert von
                  #92

                  @fastfoot sagte in IoBroker.phantomjs:

                  habe ich danach gesucht aber nichts gefunden, wie mache ich das?

                  meinen Usernamen aklicken, rechts die 3 Punkte, beginne einen Chat mit ...

                  ° Node.js: 20.17.0 NPM: 10.8.2
                  ° Proxmox, Ubuntu 22.04.3 LTS
                  ° Fixer ---> iob fix

                  F 1 Antwort Letzte Antwort
                  0
                  • NegaleinN Negalein

                    @fastfoot sagte in IoBroker.phantomjs:

                    habe ich danach gesucht aber nichts gefunden, wie mache ich das?

                    meinen Usernamen aklicken, rechts die 3 Punkte, beginne einen Chat mit ...

                    F Offline
                    F Offline
                    fastfoot
                    schrieb am zuletzt editiert von
                    #93

                    @Negalein sagte in IoBroker.phantomjs:

                    @fastfoot sagte in IoBroker.phantomjs:

                    habe ich danach gesucht aber nichts gefunden, wie mache ich das?

                    meinen Usernamen aklicken, rechts die 3 Punkte, beginne einen Chat mit ...

                    ok, müsstest du haben

                    iobroker läuft unter Docker auf QNAP TS-451+
                    SkriptRecovery: https://forum.iobroker.net/post/930558

                    1 Antwort Letzte Antwort
                    0
                    • apollon77A apollon77

                      @ilovegym Ich hab im Code gesucht und in dem State was im Issue stand sollte an sich das Bild als Binary-State gespeichert sein und keine URL drin stehen ... habe nichts direkt gefunden 😞

                      ? Offline
                      ? Offline
                      Ein ehemaliger Benutzer
                      schrieb am zuletzt editiert von Ein ehemaliger Benutzer
                      #94

                      @apollon77 Hi, die Beschreibung des States hatte ich auch im Code gefunden und geändert, da stand es ja hardcodiert, jetzt sieht die Stelle so aus:

                       var data = fs.readFileSync(options.output);
                                          adapter.getObject('pictures.' + fileName, function (err, obj) {
                                              if (!obj) {
                                                  adapter.setObject('pictures.' + fileName, {
                                                      common: {
                                                          type:   'file',
                                                          role:   'file',
                                                          read:   true,
                                                          write:  false,
                                                          desc:   'Can be accessed from web server under http://ip:port/state/' + adapter.namespace + '.pictures.' + fileName
                                                      },
                                                      type: 'state',
                                                      native: {
                                                          url: options.url
                                                      }
                                                  });
                                              }
                      
                      

                      Im Text in der Beschreibung stimmt es dann auch, aber im Datenpunkt als Objekt steht wieder die 8082 drin.. woher die auch kommt... ???

                      0e17173a-63d8-4d14-9cbe-c106d217b97f-grafik.png

                      Das RAW sieht so aus :

                      {
                        "from": "system.adapter.phantomjs.0",
                        "user": "system.user.admin",
                        "ts": 1595686012126,
                        "binary": true,
                        "common": {
                          "name": "pictures.picture_png",
                          "type": "boolean",
                          "role": "file",
                          "desc": "Can be accessed from web server under http://ip:port/state/phantomjs.0.pictures.picture_png",
                          "read": true,
                          "write": false
                        },
                        "native": {
                          "url": "http://192.168.3.26:3000/d/R3LxSGWMz/network?orgId=1&refresh=10s&kiosk"
                        },
                        "acl": {
                          "object": 1636,
                          "owner": "system.user.admin",
                          "ownerGroup": "system.group.administrator",
                          "state": 1636
                        },
                        "_id": "phantomjs.0.pictures.picture_png",
                        "type": "state"
                      }
                      
                      1 Antwort Letzte Antwort
                      0
                      • apollon77A Offline
                        apollon77A Offline
                        apollon77
                        schrieb am zuletzt editiert von
                        #95

                        Das Issue gehört zum Admin Adapter ... https://github.com/ioBroker/ioBroker.admin/blob/master/src/lib/js/selectID.js#L2405

                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                        ? 1 Antwort Letzte Antwort
                        0
                        • apollon77A Offline
                          apollon77A Offline
                          apollon77
                          schrieb am zuletzt editiert von
                          #96

                          Und sonst, tut die neue Version? Kann ich die Publishen? 🙂

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          ? 1 Antwort Letzte Antwort
                          0
                          • apollon77A apollon77

                            Und sonst, tut die neue Version? Kann ich die Publishen? 🙂

                            ? Offline
                            ? Offline
                            Ein ehemaliger Benutzer
                            schrieb am zuletzt editiert von
                            #97

                            @apollon77 sagte in IoBroker.phantomjs:

                            Und sonst, tut die neue Version? Kann ich die Publishen? 🙂

                            Ok, issue leg ich beim admin Adapter an , den hier kannst du publizieren 😀

                            Dankeschön 👍

                            1 Antwort Letzte Antwort
                            0
                            • apollon77A apollon77

                              Das Issue gehört zum Admin Adapter ... https://github.com/ioBroker/ioBroker.admin/blob/master/src/lib/js/selectID.js#L2405

                              ? Offline
                              ? Offline
                              Ein ehemaliger Benutzer
                              schrieb am zuletzt editiert von
                              #98

                              @apollon77 sagte in IoBroker.phantomjs:

                              Das Issue gehört zum Admin Adapter ... https://github.com/ioBroker/ioBroker.admin/blob/master/src/lib/js/selectID.js#L2405

                              Done

                              David G.D 1 Antwort Letzte Antwort
                              0
                              • ? Ein ehemaliger Benutzer

                                @apollon77 sagte in IoBroker.phantomjs:

                                Das Issue gehört zum Admin Adapter ... https://github.com/ioBroker/ioBroker.admin/blob/master/src/lib/js/selectID.js#L2405

                                Done

                                David G.D Offline
                                David G.D Offline
                                David G.
                                schrieb am zuletzt editiert von
                                #99

                                Hallo,

                                Wollte den Adapter auch mal testen.
                                Bekomme ihn leider nicht installiert.

                                Sieht einer den Fehler?

                                Kommando-Ausführung: $ ./iobroker url "https://github.com/ioBroker/ioBroker.phantomjs" --debug
                                Fertig mit Fehler: host.iobroker Cannot install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee: 1
                                $ ./iobroker url "https://github.com/ioBroker/ioBroker.phantomjs" --debug
                                install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee
                                NPM version: 6.14.6
                                npm install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee --loglevel error --prefix "/opt/iobroker" (System call)
                                > node-bluetooth@1.2.6 install /opt/iobroker/node_modules/node-bluetooth> node-gyp configure build
                                make: Verzeichnis „/opt/iobroker/node_modules/node-bluetooth/build“ wird betreten
                                  CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o
                                In file included from ../src/DeviceINQ.h:17,                 from ../src/linux/BluetoothSerialPort.cc:13:../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../node_modules/nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
                                In file included from ../src/linux/BluetoothSerialPort.cc:12:../src/linux/BluetoothSerialPort.cc: At global scope:/home/iobroker/.cache/node-gyp/10.22.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘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/10.22.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(BluetoothSerialPort, InitAll) ^~~~~~~~~~~
                                In file included from /home/iobroker/.cache/node-gyp/10.22.0/include/node/node.h:63,                 from ../src/linux/BluetoothSerialPort.cc:12:/home/iobroker/.cache/node-gyp/10.22.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:/home/iobroker/.cache/node-gyp/10.22.0/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.cache/node-gyp/10.22.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]                reinterpret_cast<Callback>(callback), type);                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                /home/iobroker/.cache/node-gyp/10.22.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:../node_modules/nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.cache/node-gyp/10.22.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                  CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o
                                ../src/linux/DeviceINQ.cc:35:14: fatal error: bluetooth/bluetooth.h: Datei oder Verzeichnis nicht gefunden     #include <bluetooth/bluetooth.h>              ^~~~~~~~~~~~~~~~~~~~~~~compilation terminated.
                                make: *** [BluetoothSerialPort.target.mk:107: Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Fehler 1make: Verzeichnis „/opt/iobroker/node_modules/node-bluetooth/build“ wird verlassen
                                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:191:23)gyp ERR! stack     at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                gyp ERR! System Linux 5.4.51-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"gyp ERR! cwd /opt/iobroker/node_modules/node-bluetoothgyp ERR! node -v v10.22.0gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                                > phantomjs-prebuilt@2.1.16 install /opt/iobroker/node_modules/phantomjs-prebuilt> node install.js
                                PhantomJS not found on PATH
                                Unexpected platform or architecture: linux/armIt seems there is no binary available for your platform/architectureTry to install PhantomJS globally
                                npm ERR! code ELIFECYCLE
                                npm ERR! errno 1
                                npm
                                 
                                ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`npm ERR! Exit status 1
                                npm ERR! npm 
                                ERR! Failed at the phantomjs-prebuilt@2.1.16 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/2020-08-16T19_54_55_528Z-debug.log
                                ERROR: host.iobroker Cannot install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee: 1
                                ERROR: process exited with code 25
                                
                                

                                Zeigt eure Lovelace-Visualisierung klick
                                (Auch ideal um sich Anregungen zu holen)

                                Meine Tabellen für eure Visualisierung klick

                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • David G.D David G.

                                  Hallo,

                                  Wollte den Adapter auch mal testen.
                                  Bekomme ihn leider nicht installiert.

                                  Sieht einer den Fehler?

                                  Kommando-Ausführung: $ ./iobroker url "https://github.com/ioBroker/ioBroker.phantomjs" --debug
                                  Fertig mit Fehler: host.iobroker Cannot install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee: 1
                                  $ ./iobroker url "https://github.com/ioBroker/ioBroker.phantomjs" --debug
                                  install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee
                                  NPM version: 6.14.6
                                  npm install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee --loglevel error --prefix "/opt/iobroker" (System call)
                                  > node-bluetooth@1.2.6 install /opt/iobroker/node_modules/node-bluetooth> node-gyp configure build
                                  make: Verzeichnis „/opt/iobroker/node_modules/node-bluetooth/build“ wird betreten
                                    CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o
                                  In file included from ../src/DeviceINQ.h:17,                 from ../src/linux/BluetoothSerialPort.cc:13:../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../node_modules/nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
                                  In file included from ../src/linux/BluetoothSerialPort.cc:12:../src/linux/BluetoothSerialPort.cc: At global scope:/home/iobroker/.cache/node-gyp/10.22.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘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/10.22.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(BluetoothSerialPort, InitAll) ^~~~~~~~~~~
                                  In file included from /home/iobroker/.cache/node-gyp/10.22.0/include/node/node.h:63,                 from ../src/linux/BluetoothSerialPort.cc:12:/home/iobroker/.cache/node-gyp/10.22.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:/home/iobroker/.cache/node-gyp/10.22.0/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.cache/node-gyp/10.22.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]                reinterpret_cast<Callback>(callback), type);                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  /home/iobroker/.cache/node-gyp/10.22.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:../node_modules/nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.cache/node-gyp/10.22.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                    CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o
                                  ../src/linux/DeviceINQ.cc:35:14: fatal error: bluetooth/bluetooth.h: Datei oder Verzeichnis nicht gefunden     #include <bluetooth/bluetooth.h>              ^~~~~~~~~~~~~~~~~~~~~~~compilation terminated.
                                  make: *** [BluetoothSerialPort.target.mk:107: Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Fehler 1make: Verzeichnis „/opt/iobroker/node_modules/node-bluetooth/build“ wird verlassen
                                  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:191:23)gyp ERR! stack     at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                  gyp ERR! System Linux 5.4.51-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"gyp ERR! cwd /opt/iobroker/node_modules/node-bluetoothgyp ERR! node -v v10.22.0gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                                  > phantomjs-prebuilt@2.1.16 install /opt/iobroker/node_modules/phantomjs-prebuilt> node install.js
                                  PhantomJS not found on PATH
                                  Unexpected platform or architecture: linux/armIt seems there is no binary available for your platform/architectureTry to install PhantomJS globally
                                  npm ERR! code ELIFECYCLE
                                  npm ERR! errno 1
                                  npm
                                   
                                  ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`npm ERR! Exit status 1
                                  npm ERR! npm 
                                  ERR! Failed at the phantomjs-prebuilt@2.1.16 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/2020-08-16T19_54_55_528Z-debug.log
                                  ERROR: host.iobroker Cannot install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee: 1
                                  ERROR: process exited with code 25
                                  
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #100

                                  @David-G Hast du libbluetooh-dev installiert?

                                  apt policy libbluetooth-dev
                                  

                                  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

                                  David G.D 1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @David-G Hast du libbluetooh-dev installiert?

                                    apt policy libbluetooth-dev
                                    
                                    David G.D Offline
                                    David G.D Offline
                                    David G.
                                    schrieb am zuletzt editiert von
                                    #101

                                    @Thomas-Braun

                                    War nicht installiert.
                                    Habe ich nachgeholt.
                                    Allerdings klappt es immer noch nicht.....

                                    $ ./iobroker url "https://github.com/ioBroker/ioBroker.phantomjs"
                                    install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee
                                    NPM version: 6.14.6
                                    npm install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee --loglevel error --prefix "/opt/iobroker" (System call)
                                    Unexpected platform or architecture: linux/armIt seems there is no binary available for your platform/architectureTry to install PhantomJS globally
                                    npm
                                     ERR! code ELIFECYCLEnpm ERR! errno 1
                                    npm
                                     ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the phantomjs-prebuilt@2.1.16 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/2020-08-17T04_05_56_483Z-debug.log
                                    ERROR: host.iobroker Cannot install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee: 1
                                    ERROR: process exited with code 25
                                    

                                    Zeigt eure Lovelace-Visualisierung klick
                                    (Auch ideal um sich Anregungen zu holen)

                                    Meine Tabellen für eure Visualisierung klick

                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • David G.D David G.

                                      @Thomas-Braun

                                      War nicht installiert.
                                      Habe ich nachgeholt.
                                      Allerdings klappt es immer noch nicht.....

                                      $ ./iobroker url "https://github.com/ioBroker/ioBroker.phantomjs"
                                      install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee
                                      NPM version: 6.14.6
                                      npm install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee --loglevel error --prefix "/opt/iobroker" (System call)
                                      Unexpected platform or architecture: linux/armIt seems there is no binary available for your platform/architectureTry to install PhantomJS globally
                                      npm
                                       ERR! code ELIFECYCLEnpm ERR! errno 1
                                      npm
                                       ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the phantomjs-prebuilt@2.1.16 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/2020-08-17T04_05_56_483Z-debug.log
                                      ERROR: host.iobroker Cannot install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee: 1
                                      ERROR: process exited with code 25
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #102

                                      @David-G

                                      cd /opt/iobroker
                                      npm cache clean --force
                                      lsb_release -a && whoami && which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                      

                                      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

                                      David G.D 1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @David-G

                                        cd /opt/iobroker
                                        npm cache clean --force
                                        lsb_release -a && whoami && which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                        
                                        David G.D Offline
                                        David G.D Offline
                                        David G.
                                        schrieb am zuletzt editiert von
                                        #103

                                        @Thomas-Braun

                                        Danke, aber es will immer noch nicht.....
                                        Alle Befehle ausgeführt.

                                        Anbei die Ergebnisse.

                                        $ ./iobroker url "https://github.com/ioBroker/ioBroker.phantomjs"
                                        install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee
                                        NPM version: 6.14.6
                                        npm install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee --loglevel error --prefix "/opt/iobroker" (System call)
                                        Unexpected platform or architecture: linux/armIt seems there is no binary available for your platform/architectureTry to install PhantomJS globally
                                        npm
                                         ERR! code ELIFECYCLEnpm ERR! errno 1
                                        npm
                                         ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the phantomjs-prebuilt@2.1.16 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/2020-08-17T05_01_22_677Z-debug.log
                                        ERROR: host.iobroker Cannot install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee: 1
                                        ERROR: process exited with code 25
                                        
                                        pi@iobroker:/opt/iobroker $ lsb_release -a && whoami && which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                        No LSB modules are available.
                                        Distributor ID:  Raspbian
                                        Description:  Raspbian GNU/Linux 10 (buster)
                                        Release:  10
                                        Codename:  buster
                                        pi
                                        /usr/bin/nodejs
                                        v10.22.0
                                        /usr/bin/node
                                        v10.22.0
                                        /usr/bin/npm
                                        6.14.6
                                        nodejs:
                                          Installiert:           10.22.0-1nodesource1
                                          Installationskandidat: 10.22.0-1nodesource1
                                          Versionstabelle:
                                         *** 10.22.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                                                100 /var/lib/dpkg/status
                                             10.21.0~dfsg-1~deb10u1+rpi1 500
                                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                        

                                        Zeigt eure Lovelace-Visualisierung klick
                                        (Auch ideal um sich Anregungen zu holen)

                                        Meine Tabellen für eure Visualisierung klick

                                        Thomas BraunT OliverIOO 2 Antworten Letzte Antwort
                                        0
                                        • David G.D David G.

                                          @Thomas-Braun

                                          Danke, aber es will immer noch nicht.....
                                          Alle Befehle ausgeführt.

                                          Anbei die Ergebnisse.

                                          $ ./iobroker url "https://github.com/ioBroker/ioBroker.phantomjs"
                                          install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee
                                          NPM version: 6.14.6
                                          npm install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee --loglevel error --prefix "/opt/iobroker" (System call)
                                          Unexpected platform or architecture: linux/armIt seems there is no binary available for your platform/architectureTry to install PhantomJS globally
                                          npm
                                           ERR! code ELIFECYCLEnpm ERR! errno 1
                                          npm
                                           ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the phantomjs-prebuilt@2.1.16 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/2020-08-17T05_01_22_677Z-debug.log
                                          ERROR: host.iobroker Cannot install https://github.com/ioBroker/ioBroker.phantomjs/tarball/f05bc61c8e3cc86371492d2c6e89d44a2eed6aee: 1
                                          ERROR: process exited with code 25
                                          
                                          pi@iobroker:/opt/iobroker $ lsb_release -a && whoami && which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                          No LSB modules are available.
                                          Distributor ID:  Raspbian
                                          Description:  Raspbian GNU/Linux 10 (buster)
                                          Release:  10
                                          Codename:  buster
                                          pi
                                          /usr/bin/nodejs
                                          v10.22.0
                                          /usr/bin/node
                                          v10.22.0
                                          /usr/bin/npm
                                          6.14.6
                                          nodejs:
                                            Installiert:           10.22.0-1nodesource1
                                            Installationskandidat: 10.22.0-1nodesource1
                                            Versionstabelle:
                                           *** 10.22.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                                                  100 /var/lib/dpkg/status
                                               10.21.0~dfsg-1~deb10u1+rpi1 500
                                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                          
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #104

                                          @David-G

                                          It is used prebuild package of phantomjs. If for your system the prebuild does not exist, you cannot use this adapter. On some linux systems the additional library "libfontconfig" is required. It can be installed as follow:

                                          Vielleicht mal noch libfontconfig nachinstallieren.

                                          sudo apt install libfontconfig
                                          

                                          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

                                          David G.D 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
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          385

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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