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

  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Puppeteer: Screenshots PhantomJS Alternative

NEWS

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

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

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

Puppeteer: Screenshots PhantomJS Alternative

Geplant Angeheftet Gesperrt Verschoben Tester
screenshotsheadlessbrowserpuppeteerphantomjsscreenshotwebsite
245 Beiträge 23 Kommentatoren 42.8k Aufrufe 17 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.
  • liv-in-skyL liv-in-sky

    EIDt - hat sich eredigt

    statt minütlich war ein stern zuviel in cron- habe das sekündlich aufgerufen :-(

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

    @liv-in-sky LastTest für Dein System? ;-)

    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
    liv-in-skyL 1 Antwort Letzte Antwort
    0
    • apollon77A apollon77

      @liv-in-sky LastTest für Dein System? ;-)

      liv-in-skyL Offline
      liv-in-skyL Offline
      liv-in-sky
      schrieb am zuletzt editiert von liv-in-sky
      #155

      @apollon77 das darfst du glauben - da ging garnix mehr und nur wegen einem kleinen sternchen :-)
      das fiese war, das am anfang nur den js-controller bei 136.% gesehen habe und ich nur merkte, das ich keine admin tabs mehr bedienen kann - dann dachte ich , evtl hat sich mein admin adapter irgendwie verabschiedet. bis ich auf die idee kam, mein letzt-erstelltes script mal zu deaktivieren :-(

      nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

      1 Antwort Letzte Antwort
      0
      • JensenJ Offline
        JensenJ Offline
        Jensen
        schrieb am zuletzt editiert von
        #156

        @foxriver76
        Wollte nur mal Danke sagen für diesen funktionellen Adapter.
        Damit ist es mir sehr schnell gelungen, von PhantomJS auf Puppeteer umzustellen und meine images für emails wieder zu erzeugen, nachdem der PhantomJS vor einer Woche aus unbekannten Gründen nicht mehr wollte.
        Du hast mir den Tag gerettet, Danke.
        Gruß Jens

        JensenJ 1 Antwort Letzte Antwort
        1
        • JensenJ Jensen

          @foxriver76
          Wollte nur mal Danke sagen für diesen funktionellen Adapter.
          Damit ist es mir sehr schnell gelungen, von PhantomJS auf Puppeteer umzustellen und meine images für emails wieder zu erzeugen, nachdem der PhantomJS vor einer Woche aus unbekannten Gründen nicht mehr wollte.
          Du hast mir den Tag gerettet, Danke.
          Gruß Jens

          JensenJ Offline
          JensenJ Offline
          Jensen
          schrieb am zuletzt editiert von Jensen
          #157

          Ich muß mich noch mal melden.
          Ab und zu passiert es immer noch, daß Images nicht korrekt erzeugt werden.
          Sind vielleicht manchmal die Flot Ladezeiten zu lang?
          Was kann man noch versuchen?
          Hier im Beispiel ist eine von vier Graphiken nicht in Ordnung. Und das passiert auch wirklich sehr selten, vielleicht alle paar Tage mal, wo ich mir am Tag zu jeder Stunde emails mit Graphiken generiere.
          Ärgerlich ist es trotzdem.
          flot.PNG

          ich hab jetzt mal renderTime: 500 eingefügt, mal schauen, ob's hilft

          liv-in-skyL 1 Antwort Letzte Antwort
          0
          • JensenJ Jensen

            Ich muß mich noch mal melden.
            Ab und zu passiert es immer noch, daß Images nicht korrekt erzeugt werden.
            Sind vielleicht manchmal die Flot Ladezeiten zu lang?
            Was kann man noch versuchen?
            Hier im Beispiel ist eine von vier Graphiken nicht in Ordnung. Und das passiert auch wirklich sehr selten, vielleicht alle paar Tage mal, wo ich mir am Tag zu jeder Stunde emails mit Graphiken generiere.
            Ärgerlich ist es trotzdem.
            flot.PNG

            ich hab jetzt mal renderTime: 500 eingefügt, mal schauen, ob's hilft

            liv-in-skyL Offline
            liv-in-skyL Offline
            liv-in-sky
            schrieb am zuletzt editiert von
            #158

            @jensen mache das mit größerer wait time - hatte nie ein thema damit

            Image 078.png

            nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

            JensenJ 1 Antwort Letzte Antwort
            0
            • liv-in-skyL liv-in-sky

              @jensen mache das mit größerer wait time - hatte nie ein thema damit

              Image 078.png

              JensenJ Offline
              JensenJ Offline
              Jensen
              schrieb am zuletzt editiert von
              #159

              @liv-in-sky
              ok, danke, ist einen versuch Wert

              1 Antwort Letzte Antwort
              0
              • arteckA Offline
                arteckA Offline
                arteck
                Developer Most Active
                schrieb am zuletzt editiert von arteck
                #160

                ich hätte da ein Problem

                direkt frisch installiert

                f47cdb4c-6388-40f1-98e4-0d1507ccd3bf-grafik.png

                iobroker läuft in VM auf proxmox

                zigbee hab ich, zwave auch, nuc's genauso und HA auch

                foxriver76F 1 Antwort Letzte Antwort
                0
                • arteckA arteck

                  ich hätte da ein Problem

                  direkt frisch installiert

                  f47cdb4c-6388-40f1-98e4-0d1507ccd3bf-grafik.png

                  iobroker läuft in VM auf proxmox

                  foxriver76F Offline
                  foxriver76F Offline
                  foxriver76
                  Developer
                  schrieb am zuletzt editiert von
                  #161

                  @arteck Bitte in Zukunft in Code Tags oder irgendeiner Form in der ich die Meldung direkt kopieren kann.

                  Läuft iob in Docker?

                  Videotutorials & mehr

                  Hier könnt ihr mich unterstützen.

                  1 Antwort Letzte Antwort
                  0
                  • arteckA Offline
                    arteckA Offline
                    arteck
                    Developer Most Active
                    schrieb am zuletzt editiert von arteck
                    #162

                    @foxriver76 so kannst du doch mehr lesen...

                    host.iobroker
                    2022-12-22 08:33:52.410	error	instance system.adapter.puppeteer.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                    puppeteer.0
                    2022-12-22 08:33:51.872	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                    puppeteer.0
                    2022-12-22 08:33:51.868	error	Failed to launch the browser process![1222/083351.630700:FATAL:zygote_host_impl_linux.cc(117)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.#0 0x55ae0b29fb89 base::debug::CollectStackTrace()#1 0x55ae0b204433 base::debug::StackTrace::StackTrace()#2 0x55ae0b217330 logging::LogMessage::~LogMessage()#3 0x55ae091fc99b content::ZygoteHostImpl::Init()#4 0x55ae0adad372 content::ContentMainRunnerImpl::Initialize()#5 0x55ae0adab439 content::RunContentProcess()#6 0x55ae0adab58e content::ContentMain()#7 0x55ae0ae06d7a headless::(anonymous namespace)::RunContentMain()#8 0x55ae0ae06a85 headless::HeadlessShellMain()#9 0x55ae0786a3e8 ChromeMain#10 0x7f49e348409b __libc_start_main#11 0x55ae0786a22a _startTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
                    puppeteer.0
                    2022-12-22 08:33:51.868	error	Error: Failed to launch the browser process![1222/083351.630700:FATAL:zygote_host_impl_linux.cc(117)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.#0 0x55ae0b29fb89 base::debug::CollectStackTrace()#1 0x55ae0b204433 base::debug::StackTrace::StackTrace()#2 0x55ae0b217330 logging::LogMessage::~LogMessage()#3 0x55ae091fc99b content::ZygoteHostImpl::Init()#4 0x55ae0adad372 content::ContentMainRunnerImpl::Initialize()#5 0x55ae0adab439 content::RunContentProcess()#6 0x55ae0adab58e content::ContentMain()#7 0x55ae0ae06d7a headless::(anonymous namespace)::RunContentMain()#8 0x55ae0ae06a85 headless::HeadlessShellMain()#9 0x55ae0786a3e8 ChromeMain#10 0x7f49e348409b __libc_start_main#11 0x55ae0786a22a _startTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/opt/iobroker/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241:20) at Interface.<anonymous> (/opt/iobroker/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:231:68) at Interface.emit (node:events:525:35) at Interface.close (node:readline:590:8) at Socket.onend (node:readline:280:10) at Socket.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)
                    puppeteer.0
                    2022-12-22 08:33:51.867	error	unhandled promise rejection: Failed to launch the browser process![1222/083351.630700:FATAL:zygote_host_impl_linux.cc(117)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.#0 0x55ae0b29fb89 base::debug::CollectStackTrace()#1 0x55ae0b204433 base::debug::StackTrace::StackTrace()#2 0x55ae0b217330 logging::LogMessage::~LogMessage()#3 0x55ae091fc99b content::ZygoteHostImpl::Init()#4 0x55ae0adad372 content::ContentMainRunnerImpl::Initialize()#5 0x55ae0adab439 content::RunContentProcess()#6 0x55ae0adab58e content::ContentMain()#7 0x55ae0ae06d7a headless::(anonymous namespace)::RunContentMain()#8 0x55ae0ae06a85 headless::HeadlessShellMain()#9 0x55ae0786a3e8 ChromeMain#10 0x7f49e348409b __libc_start_main#11 0x55ae0786a22a _startTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
                    puppeteer.0
                    2022-12-22 08:33:51.865	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                    host.iobroker
                    2022-12-22 08:33:50.856	info	instance system.adapter.puppeteer.0 started with pid 11315
                    

                    debian VM in Proxmox

                    zigbee hab ich, zwave auch, nuc's genauso und HA auch

                    foxriver76F 1 Antwort Letzte Antwort
                    0
                    • arteckA arteck

                      @foxriver76 so kannst du doch mehr lesen...

                      host.iobroker
                      2022-12-22 08:33:52.410	error	instance system.adapter.puppeteer.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                      puppeteer.0
                      2022-12-22 08:33:51.872	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                      puppeteer.0
                      2022-12-22 08:33:51.868	error	Failed to launch the browser process![1222/083351.630700:FATAL:zygote_host_impl_linux.cc(117)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.#0 0x55ae0b29fb89 base::debug::CollectStackTrace()#1 0x55ae0b204433 base::debug::StackTrace::StackTrace()#2 0x55ae0b217330 logging::LogMessage::~LogMessage()#3 0x55ae091fc99b content::ZygoteHostImpl::Init()#4 0x55ae0adad372 content::ContentMainRunnerImpl::Initialize()#5 0x55ae0adab439 content::RunContentProcess()#6 0x55ae0adab58e content::ContentMain()#7 0x55ae0ae06d7a headless::(anonymous namespace)::RunContentMain()#8 0x55ae0ae06a85 headless::HeadlessShellMain()#9 0x55ae0786a3e8 ChromeMain#10 0x7f49e348409b __libc_start_main#11 0x55ae0786a22a _startTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
                      puppeteer.0
                      2022-12-22 08:33:51.868	error	Error: Failed to launch the browser process![1222/083351.630700:FATAL:zygote_host_impl_linux.cc(117)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.#0 0x55ae0b29fb89 base::debug::CollectStackTrace()#1 0x55ae0b204433 base::debug::StackTrace::StackTrace()#2 0x55ae0b217330 logging::LogMessage::~LogMessage()#3 0x55ae091fc99b content::ZygoteHostImpl::Init()#4 0x55ae0adad372 content::ContentMainRunnerImpl::Initialize()#5 0x55ae0adab439 content::RunContentProcess()#6 0x55ae0adab58e content::ContentMain()#7 0x55ae0ae06d7a headless::(anonymous namespace)::RunContentMain()#8 0x55ae0ae06a85 headless::HeadlessShellMain()#9 0x55ae0786a3e8 ChromeMain#10 0x7f49e348409b __libc_start_main#11 0x55ae0786a22a _startTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/opt/iobroker/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241:20) at Interface.<anonymous> (/opt/iobroker/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:231:68) at Interface.emit (node:events:525:35) at Interface.close (node:readline:590:8) at Socket.onend (node:readline:280:10) at Socket.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)
                      puppeteer.0
                      2022-12-22 08:33:51.867	error	unhandled promise rejection: Failed to launch the browser process![1222/083351.630700:FATAL:zygote_host_impl_linux.cc(117)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.#0 0x55ae0b29fb89 base::debug::CollectStackTrace()#1 0x55ae0b204433 base::debug::StackTrace::StackTrace()#2 0x55ae0b217330 logging::LogMessage::~LogMessage()#3 0x55ae091fc99b content::ZygoteHostImpl::Init()#4 0x55ae0adad372 content::ContentMainRunnerImpl::Initialize()#5 0x55ae0adab439 content::RunContentProcess()#6 0x55ae0adab58e content::ContentMain()#7 0x55ae0ae06d7a headless::(anonymous namespace)::RunContentMain()#8 0x55ae0ae06a85 headless::HeadlessShellMain()#9 0x55ae0786a3e8 ChromeMain#10 0x7f49e348409b __libc_start_main#11 0x55ae0786a22a _startTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
                      puppeteer.0
                      2022-12-22 08:33:51.865	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                      host.iobroker
                      2022-12-22 08:33:50.856	info	instance system.adapter.puppeteer.0 started with pid 11315
                      

                      debian VM in Proxmox

                      foxriver76F Offline
                      foxriver76F Offline
                      foxriver76
                      Developer
                      schrieb am zuletzt editiert von
                      #163

                      @arteck sagte in Puppeteer: Screenshots PhantomJS Alternative:

                      https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md

                      Welche Version von Debian?

                      Videotutorials & mehr

                      Hier könnt ihr mich unterstützen.

                      1 Antwort Letzte Antwort
                      0
                      • arteckA Offline
                        arteckA Offline
                        arteck
                        Developer Most Active
                        schrieb am zuletzt editiert von
                        #164

                        @foxriver76 buster also 10

                        zigbee hab ich, zwave auch, nuc's genauso und HA auch

                        foxriver76F 1 Antwort Letzte Antwort
                        0
                        • arteckA arteck

                          @foxriver76 buster also 10

                          foxriver76F Offline
                          foxriver76F Offline
                          foxriver76
                          Developer
                          schrieb am zuletzt editiert von
                          #165

                          @arteck Okay, dann habe ich erst mal keine Idee, wie ich das allgemein fixen kann.

                          Du könntest für dich speziell, diese Lösung probieren und rückmelden ob das tut: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#recommended-enable-user-namespace-cloning

                          Videotutorials & mehr

                          Hier könnt ihr mich unterstützen.

                          arteckA 1 Antwort Letzte Antwort
                          0
                          • foxriver76F foxriver76

                            @arteck Okay, dann habe ich erst mal keine Idee, wie ich das allgemein fixen kann.

                            Du könntest für dich speziell, diese Lösung probieren und rückmelden ob das tut: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#recommended-enable-user-namespace-cloning

                            arteckA Offline
                            arteckA Offline
                            arteck
                            Developer Most Active
                            schrieb am zuletzt editiert von
                            #166

                            @foxriver76 ich geh mal auf bullseye mal schauen dann..

                            zigbee hab ich, zwave auch, nuc's genauso und HA auch

                            crunchipC 1 Antwort Letzte Antwort
                            0
                            • arteckA arteck

                              @foxriver76 ich geh mal auf bullseye mal schauen dann..

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

                              @arteck sagte in Puppeteer: Screenshots PhantomJS Alternative:

                              bullseye

                              damit läufts bei mir , siehe https://forum.iobroker.net/post/812880

                              umgestiegen von Proxmox auf Unraid

                              1 Antwort Letzte Antwort
                              0
                              • arteckA Offline
                                arteckA Offline
                                arteck
                                Developer Most Active
                                schrieb am zuletzt editiert von
                                #168

                                mit bullseye läuft der ...

                                zigbee hab ich, zwave auch, nuc's genauso und HA auch

                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • arteckA arteck

                                  mit bullseye läuft der ...

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

                                  @arteck sagte in Puppeteer: Screenshots PhantomJS Alternative:

                                  mit bullseye läuft der ...

                                  Und deswegen predige ich ja auch immer nicht an abgekündigten Versionen festzuhalten und die Kisten auf Stand zu halten. Bringt nix sich da mit obsoletem Kram zu beschäftigen.

                                  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

                                  arteckA 1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @arteck sagte in Puppeteer: Screenshots PhantomJS Alternative:

                                    mit bullseye läuft der ...

                                    Und deswegen predige ich ja auch immer nicht an abgekündigten Versionen festzuhalten und die Kisten auf Stand zu halten. Bringt nix sich da mit obsoletem Kram zu beschäftigen.

                                    arteckA Offline
                                    arteckA Offline
                                    arteck
                                    Developer Most Active
                                    schrieb am zuletzt editiert von
                                    #170

                                    @thomas-braun dir auch schöne Feiertage :-)

                                    zigbee hab ich, zwave auch, nuc's genauso und HA auch

                                    1 Antwort Letzte Antwort
                                    1
                                    • arteckA Offline
                                      arteckA Offline
                                      arteck
                                      Developer Most Active
                                      schrieb am zuletzt editiert von arteck
                                      #171

                                      @foxriver76 so weiter gehts
                                      e6bd6490-6cbf-4990-abca-894829a34c3c-grafik.png

                                      puppeteer.0
                                      2022-12-22 11:08:33.619	debug	Write file to "wetterstation.png"
                                      
                                      puppeteer.0
                                      2022-12-22 11:08:32.470	debug	Message: {"command":"screenshot","message":{"url":"https://www.yr.no/en/forecast/graph/2-2860410/Germany/North%20Rhine-Westphalia/D%C3%BCsseldorf%20District/Oberhausen","clip":{"x":0,"y":0,"width":1000,"height":757},"ioBrokerOptions":{"storagePath":"wetterstation.png"},"viewportOptions":{"width":1600,"height":1000}},"from":"system.adapter.javascript.2","callback":{"message":{"url":"https://www.yr.no/en/forecast/graph/2-2860410/Germany/North%20Rhine-Westphalia/D%C3%BCsseldorf%20District/Oberhausen","clip":{"x":0,"y":0,"width":1000,"height":757},"ioBrokerOptions":{"storagePath":"wetterstation.png"},"viewportOptions":{"width":1600,"height":1000}},"id":1,"ack":false,"time":1671703712468},"_id":69097945}
                                      javascript.2
                                      2022-12-22 11:14:19.409	info	script.js.80_system.wetter: Sucessfully took screenshot: �PNG   IHDR��T��sRGB��� IDATx���wTW�g�� MT�bD��bCE콠1�X�+ػb7{7�`�b�(��^������0�� ����w�Gv��̝;w޹edB"""""""�S��1@'""""""� Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ��.........
                                      

                                      sieht eigentlich gut aus..ich hab das binary gekürzt..

                                      aber kein file und die datenpunkte sind auch nicht gefüllt

                                      sendTo('puppeteer.0', 'screenshot', { 
                                              url: 'https://www.yr.no/en/forecast/graph/2-2860410/Germany/North%20Rhine-Westphalia/D%C3%BCsseldorf%20District/Oberhausen',
                                              clip: {
                                                  x: 0,
                                                  y: 0,
                                                  width: 1000,
                                                  height: 757
                                              },
                                              ioBrokerOptions: {
                                                  storagePath: 'wetterstation.png',
                                              },
                                              viewportOptions: {
                                                  width: 1600,
                                                  height: 1000
                                              }
                                          }, obj => {
                                            if (obj.error) {
                                              log(`Error taking screenshot: ${obj.error.message}`, 'error');
                                            } else {
                                              // the binary representation of the image is contained in `obj.result`
                                              log(`Sucessfully took screenshot: ${obj.result}`);
                                            }
                                      });
                                      

                                      so rufe ich es auf ..sollte also in /opt/iobroker/iobroker-data/files/0_userdata.0 landen..ist aber nix da

                                      zigbee hab ich, zwave auch, nuc's genauso und HA auch

                                      foxriver76F 1 Antwort Letzte Antwort
                                      0
                                      • arteckA arteck

                                        @foxriver76 so weiter gehts
                                        e6bd6490-6cbf-4990-abca-894829a34c3c-grafik.png

                                        puppeteer.0
                                        2022-12-22 11:08:33.619	debug	Write file to "wetterstation.png"
                                        
                                        puppeteer.0
                                        2022-12-22 11:08:32.470	debug	Message: {"command":"screenshot","message":{"url":"https://www.yr.no/en/forecast/graph/2-2860410/Germany/North%20Rhine-Westphalia/D%C3%BCsseldorf%20District/Oberhausen","clip":{"x":0,"y":0,"width":1000,"height":757},"ioBrokerOptions":{"storagePath":"wetterstation.png"},"viewportOptions":{"width":1600,"height":1000}},"from":"system.adapter.javascript.2","callback":{"message":{"url":"https://www.yr.no/en/forecast/graph/2-2860410/Germany/North%20Rhine-Westphalia/D%C3%BCsseldorf%20District/Oberhausen","clip":{"x":0,"y":0,"width":1000,"height":757},"ioBrokerOptions":{"storagePath":"wetterstation.png"},"viewportOptions":{"width":1600,"height":1000}},"id":1,"ack":false,"time":1671703712468},"_id":69097945}
                                        javascript.2
                                        2022-12-22 11:14:19.409	info	script.js.80_system.wetter: Sucessfully took screenshot: �PNG   IHDR��T��sRGB��� IDATx���wTW�g�� MT�bD��bCE콠1�X�+ػb7{7�`�b�(��^������0�� ����w�Gv��̝;w޹edB"""""""�S��1@'""""""� Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ��.........
                                        

                                        sieht eigentlich gut aus..ich hab das binary gekürzt..

                                        aber kein file und die datenpunkte sind auch nicht gefüllt

                                        sendTo('puppeteer.0', 'screenshot', { 
                                                url: 'https://www.yr.no/en/forecast/graph/2-2860410/Germany/North%20Rhine-Westphalia/D%C3%BCsseldorf%20District/Oberhausen',
                                                clip: {
                                                    x: 0,
                                                    y: 0,
                                                    width: 1000,
                                                    height: 757
                                                },
                                                ioBrokerOptions: {
                                                    storagePath: 'wetterstation.png',
                                                },
                                                viewportOptions: {
                                                    width: 1600,
                                                    height: 1000
                                                }
                                            }, obj => {
                                              if (obj.error) {
                                                log(`Error taking screenshot: ${obj.error.message}`, 'error');
                                              } else {
                                                // the binary representation of the image is contained in `obj.result`
                                                log(`Sucessfully took screenshot: ${obj.result}`);
                                              }
                                        });
                                        

                                        so rufe ich es auf ..sollte also in /opt/iobroker/iobroker-data/files/0_userdata.0 landen..ist aber nix da

                                        foxriver76F Offline
                                        foxriver76F Offline
                                        foxriver76
                                        Developer
                                        schrieb am zuletzt editiert von foxriver76
                                        #172

                                        @arteck Siehe:

                                        https://github.com/foxriver76/ioBroker.puppeteer#how-to

                                        States dienen nur der Konfiguration, falls du via States (sprich das setzen der url) einen Screenshot erstellen möchtest. Wenn du ausschließlich Messages nutzt können dir die States egal sein.

                                        Nutzt du eine Redis DB für die Objekte?

                                        Videotutorials & mehr

                                        Hier könnt ihr mich unterstützen.

                                        arteckA 1 Antwort Letzte Antwort
                                        0
                                        • foxriver76F foxriver76

                                          @arteck Siehe:

                                          https://github.com/foxriver76/ioBroker.puppeteer#how-to

                                          States dienen nur der Konfiguration, falls du via States (sprich das setzen der url) einen Screenshot erstellen möchtest. Wenn du ausschließlich Messages nutzt können dir die States egal sein.

                                          Nutzt du eine Redis DB für die Objekte?

                                          arteckA Offline
                                          arteckA Offline
                                          arteck
                                          Developer Most Active
                                          schrieb am zuletzt editiert von
                                          #173

                                          @foxriver76 jo Redis

                                          ich wollte mir nur ein Bild des meteogramms machen und in die Vis pressen

                                          zigbee hab ich, zwave auch, nuc's genauso und HA auch

                                          foxriver76F 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

                                          445

                                          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