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. ioBroker Allgemein
  4. IoBroker.phantomjs

NEWS

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

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

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

IoBroker.phantomjs

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
148 Beiträge 32 Kommentatoren 24.2k 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

    Errro 127 heisst das der prozess irgendwie stirbt und nicht sauber läuft. Starte doch mal das kommando manuell selbst an der shell und schau was passiert

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

    @apollon77 sagte in IoBroker.phantomjs:

    Starte doch mal das kommando manuell selbst an der shell und schau was passiert

    Du meinst das?
    exec('wput -nc /opt/iobroker/node_modules/iobroker.phantomjs/wetter.png ftp://xxxxxxxxx:xxxxxxxx@www37.world4you.com')

    Wie geb ich das in der Konsole ein?

    root@iobroker:/opt/iobroker# wput -nc /opt/iobroker/node_modules/iobroker.phantomjs/wetter.png ftp://xxxxxxxxx:xxxxxxxx@www37.world4you.com
    bash: wput: Kommando nicht gefunden.
    root@iobroker:/opt/iobroker# exec('wput -nc /opt/iobroker/node_modules/iobroker.phantomjs/wetter.png ftp://xxxxxxxxx:xxxxxxxx@www37.world4you.com')
    bash: Syntaxfehler beim unerwarteten Wort `'wput -nc /opt/iobroker/node_modules/iobroker.phantomjs/wetter.png ftp://xxxxxxxxx:xxxxxxxx@www37.world4you.com''
    root@iobroker:/opt/iobroker#
    

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

    1 Antwort Letzte Antwort
    0
    • ? Ein ehemaliger Benutzer

      @Negalein richtig, es gibt keine Einstellungsmöglichkeit und im Link zum Bild unter phantomsjs.0.pictures.picture.png siehst du ja den Link, wenn du den einfach anklickst und dann ein Bild kommt, ist es ok, läuft der Browser hier ins leere, ist wahrscheinlich der Port falsch..

      Kannst ja zum Testen mal n zweiten Webserver-Instanz installieren und auf Port 8082 einstellen.. wenn der noch frei ist...

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

      @ilovegym sagte in IoBroker.phantomjs:

      phantomsjs.0.pictures.picture.png

      Gibt es bei mir in den Objekten nicht.

      Es gibt phantomjs.0.filename
      Dort steht /opt/iobroker/node_modules/iobroker.phantomjs/picture.png
      objects - ioBroker (3).png

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

      ? crunchipC 2 Antworten Letzte Antwort
      0
      • NegaleinN Negalein

        @ilovegym sagte in IoBroker.phantomjs:

        phantomsjs.0.pictures.picture.png

        Gibt es bei mir in den Objekten nicht.

        Es gibt phantomjs.0.filename
        Dort steht /opt/iobroker/node_modules/iobroker.phantomjs/picture.png
        objects - ioBroker (3).png

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

        @Negalein so sieht das bei mir aus, ich teste da immer erstmal mit ner lokalen IP, um zu sehen, was der Adapter überhaupt macht:

        5643c5b8-1bb2-459b-8245-2e57a7324082-grafik.png

        1 Antwort Letzte Antwort
        0
        • NegaleinN Offline
          NegaleinN Offline
          Negalein
          Global Moderator
          schrieb am zuletzt editiert von
          #71

          @apollon77 @ilovegym

          Beim Befehl in der Konsole kommt

          /opt/iobroker/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs /opt/iobroker/node_modules/iobroker.phantomjs/lib/rasterize.js --url https://www.luftbilder-innviertel.a\"/opt/iobroker/node_modules/iobroker.phantomjs/wetter.png\" --width 1200 --height 800 --timeout 10000"}
          /opt/iobroker/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
          

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

          1 Antwort Letzte Antwort
          0
          • NegaleinN Negalein

            @ilovegym sagte in IoBroker.phantomjs:

            phantomsjs.0.pictures.picture.png

            Gibt es bei mir in den Objekten nicht.

            Es gibt phantomjs.0.filename
            Dort steht /opt/iobroker/node_modules/iobroker.phantomjs/picture.png
            objects - ioBroker (3).png

            crunchipC Abwesend
            crunchipC Abwesend
            crunchip
            Forum Testing Most Active
            schrieb am zuletzt editiert von
            #72

            @Negalein so sieht das bei mir auch aus, habe den mal installiert, aber noch nie verwendet

            umgestiegen von Proxmox auf Unraid

            1 Antwort Letzte Antwort
            0
            • NegaleinN Offline
              NegaleinN Offline
              Negalein
              Global Moderator
              schrieb am zuletzt editiert von
              #73

              @apollon77 @holgerwolf @ilovegym @crunchip

              Es läuft jetzt soweit, dass das .png erstellt wird.
              Hab libfontconfig nachinstalliert.

              phantomjs.0	2020-07-16 12:58:00.486	info	(3450) Create 1200px*800px in 30000ms - "https://www.luftbilder-innviertel.at" => "/opt/iobroker/node_modules/iobroker.phantomjs/wetter.png"
              phantomjs.0	2020-07-16 12:56:00.451	info	(3450) Create 1200px*800px in 30000ms - "https://www.luftbilder-innviertel.at" => "/opt/iobroker/node_modules/iobroker.phantomjs/wetter.png"
              

              Wird auch sauber abgespeichert.
              Synology_Nega_3 - Synology DiskStation (4).png

              Aber das mit dem FTP funktioniert nicht.

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

              ? apollon77A 2 Antworten Letzte Antwort
              0
              • NegaleinN Negalein

                @apollon77 @holgerwolf @ilovegym @crunchip

                Es läuft jetzt soweit, dass das .png erstellt wird.
                Hab libfontconfig nachinstalliert.

                phantomjs.0	2020-07-16 12:58:00.486	info	(3450) Create 1200px*800px in 30000ms - "https://www.luftbilder-innviertel.at" => "/opt/iobroker/node_modules/iobroker.phantomjs/wetter.png"
                phantomjs.0	2020-07-16 12:56:00.451	info	(3450) Create 1200px*800px in 30000ms - "https://www.luftbilder-innviertel.at" => "/opt/iobroker/node_modules/iobroker.phantomjs/wetter.png"
                

                Wird auch sauber abgespeichert.
                Synology_Nega_3 - Synology DiskStation (4).png

                Aber das mit dem FTP funktioniert nicht.

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

                @Negalein wput ist installiert?
                wput --version

                ftp server erreichbar?

                NegaleinN 1 Antwort Letzte Antwort
                0
                • ? Ein ehemaliger Benutzer

                  @Negalein wput ist installiert?
                  wput --version

                  ftp server erreichbar?

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

                  @ilovegym sagte in IoBroker.phantomjs:

                  wput ist installiert?
                  wput --version

                  schätze nicht

                  root@iobroker:/opt/iobroker# wput --version
                  bash: wput: Kommando nicht gefunden.
                  

                  Mit welchem Befehl installier ich es?

                  Mit apt-get install wput?

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

                  ? 2 Antworten Letzte Antwort
                  0
                  • NegaleinN Negalein

                    @ilovegym sagte in IoBroker.phantomjs:

                    wput ist installiert?
                    wput --version

                    schätze nicht

                    root@iobroker:/opt/iobroker# wput --version
                    bash: wput: Kommando nicht gefunden.
                    

                    Mit welchem Befehl installier ich es?

                    Mit apt-get install wput?

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

                    @Negalein

                    sudo apt install wput

                    NegaleinN 1 Antwort Letzte Antwort
                    0
                    • NegaleinN Negalein

                      @ilovegym sagte in IoBroker.phantomjs:

                      wput ist installiert?
                      wput --version

                      schätze nicht

                      root@iobroker:/opt/iobroker# wput --version
                      bash: wput: Kommando nicht gefunden.
                      

                      Mit welchem Befehl installier ich es?

                      Mit apt-get install wput?

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

                      @Negalein ... und pfui, nix root... immer schön n useraccount nutzen und sudo davor.. :-)

                      GlasfaserG 1 Antwort Letzte Antwort
                      0
                      • ? Ein ehemaliger Benutzer

                        @Negalein

                        sudo apt install wput

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

                        @ilovegym sagte in IoBroker.phantomjs:

                        sudo apt install wput

                        Danke, war eine schwere Geburt.
                        Läuft jetzt wunderbar.

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

                        ? 1 Antwort Letzte Antwort
                        0
                        • NegaleinN Negalein

                          @ilovegym sagte in IoBroker.phantomjs:

                          sudo apt install wput

                          Danke, war eine schwere Geburt.
                          Läuft jetzt wunderbar.

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

                          @Negalein super, freut mich! :+1: :+1:

                          1 Antwort Letzte Antwort
                          0
                          • ? Ein ehemaliger Benutzer

                            @Negalein ... und pfui, nix root... immer schön n useraccount nutzen und sudo davor.. :-)

                            GlasfaserG Offline
                            GlasfaserG Offline
                            Glasfaser
                            schrieb am zuletzt editiert von
                            #80

                            @ilovegym sagte in IoBroker.phantomjs:

                            @Negalein ... und pfui,

                            Der ist gut ... :grin:

                            Er hat eine Synology ;)

                            Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                            1 Antwort Letzte Antwort
                            0
                            • NegaleinN Negalein

                              @apollon77 @holgerwolf @ilovegym @crunchip

                              Es läuft jetzt soweit, dass das .png erstellt wird.
                              Hab libfontconfig nachinstalliert.

                              phantomjs.0	2020-07-16 12:58:00.486	info	(3450) Create 1200px*800px in 30000ms - "https://www.luftbilder-innviertel.at" => "/opt/iobroker/node_modules/iobroker.phantomjs/wetter.png"
                              phantomjs.0	2020-07-16 12:56:00.451	info	(3450) Create 1200px*800px in 30000ms - "https://www.luftbilder-innviertel.at" => "/opt/iobroker/node_modules/iobroker.phantomjs/wetter.png"
                              

                              Wird auch sauber abgespeichert.
                              Synology_Nega_3 - Synology DiskStation (4).png

                              Aber das mit dem FTP funktioniert nicht.

                              apollon77A Online
                              apollon77A Online
                              apollon77
                              schrieb am zuletzt editiert von
                              #81

                              @Negalein leg mal bitte issue im github an das wir das mit installieren lassen

                              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
                              NegaleinN 1 Antwort Letzte Antwort
                              0
                              • apollon77A apollon77

                                @Negalein leg mal bitte issue im github an das wir das mit installieren lassen

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

                                @apollon77 sagte in IoBroker.phantomjs:

                                leg mal bitte issue im github an das wir das mit installieren lassen

                                mach ich

                                Aber nochwas zum Sdapter.
                                In den Objekten unter phantomjs.0 ändert sich nichts.

                                So kommt es vom Script:

                                  sendTo("phantomjs.0", "send", {
                                     url: 'http://10.0.1.22:32544/d/C3AZo2nGk/wetterstation-copy?orgId=1&refresh=1m&kiosk',
                                     output: 'wetterstation.png',
                                     width: '1920',
                                     height: '1080',
                                     renderTime: '60000'
                                  });
                                

                                So schauts aber unter Objekte aus.
                                objects - ioBroker (4).png

                                Bild wird aber so wie im Script gespeichert. Von da passt es.

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

                                ? 1 Antwort Letzte Antwort
                                0
                                • NegaleinN Negalein

                                  @apollon77 sagte in IoBroker.phantomjs:

                                  leg mal bitte issue im github an das wir das mit installieren lassen

                                  mach ich

                                  Aber nochwas zum Sdapter.
                                  In den Objekten unter phantomjs.0 ändert sich nichts.

                                  So kommt es vom Script:

                                    sendTo("phantomjs.0", "send", {
                                       url: 'http://10.0.1.22:32544/d/C3AZo2nGk/wetterstation-copy?orgId=1&refresh=1m&kiosk',
                                       output: 'wetterstation.png',
                                       width: '1920',
                                       height: '1080',
                                       renderTime: '60000'
                                    });
                                  

                                  So schauts aber unter Objekte aus.
                                  objects - ioBroker (4).png

                                  Bild wird aber so wie im Script gespeichert. Von da passt es.

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

                                  @Negalein Browser-Cache ist dein Feind! Töte ihn.. dann gehts.. nervt mich auch dauernd..
                                  Strg+F5
                                  Notfalls Browser schliessen und neu öffnen..

                                  1 Antwort Letzte Antwort
                                  0
                                  • apollon77A Online
                                    apollon77A Online
                                    apollon77
                                    schrieb am zuletzt editiert von
                                    #84

                                    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 :-)

                                    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
                                    -1
                                    • 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 Online
                                        apollon77A Online
                                        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
                                          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

                                          934

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          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