Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. E-INK Display OpenEPaperLink - Displayanzeige mit Batterie

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    E-INK Display OpenEPaperLink - Displayanzeige mit Batterie

    This topic has been deleted. Only users with topic management privileges can see it.
    • mcm1957
      mcm1957 @BertDerKleine last edited by mcm1957

      @bertderkleine said in E-INK Display OpenEPaperLink - Displayanzeige mit Batterie:

      @eisbaeeer
      Danke nochmal für das Angebot.

      Ich bin hier noch auf der iobroker-Seite und zwar lese ich, dass ich den Adapter Puppeteer verwenden sollte/könnte, aber der lässt sich tatsächlich nicht auf meinem Raspi installieren.

      Da meine Glaskugel derzeit beim Service ist bitte mehr iNfos. Was heißt " lässt sich tatsächlich nicht auf meinem Raspi installieren"? Fehlermelungen? Log? ...

      Dann lese ich einen Tip, ich sollte dort
      /opt/iobroker/node_modules/iobroker.puppeteer/main.js anpassen, damit es läuft (Chromium habe ich manuell installiert)

      Von wo hast du den Tipp irgendwas direkt in einem Adapter zu modifizieren gefunden. Davon ist generell dringend abzuraten - außer der Dev empfihlt es im Rahmen einer Fehlersuche. Wenn es ein Problem mit einem Adapter gibt ist der richtige Weg hier ein Topic und / oder ein Issue beim Adapter zu öffnen,

      BertDerKleine 1 Reply Last reply Reply Quote 0
      • BertDerKleine
        BertDerKleine @mcm1957 last edited by

        @mcm1957
        Siehe den Hinweis von @BananaJoe hier:
        https://forum.iobroker.net/topic/66380/e-ink-display-openepaperlink-displayanzeige-mit-batterie/274

        Und die "Lösung" genau im Github:
        https://github.com/foxriver76/ioBroker.puppeteer/issues/13

        I've fixed the problem by first installing chromium (Debian 12 / ARM64 in my case):
        sudo apt install chromium
        
        Change the adapter's main.js onReady() function to load the correct binary (chromium in my case):
        
        async onReady() {
            this.browser = await import_puppeteer.default.launch({ headless: "new", defaultViewport: null, executablePath: '/usr/bin/chromium', args: ['--no-sandbox', '--disable-setuid-sandbox'] });
            this.subscribeStates("url");
            this.log.info("Ready to take screenshots");
          }
        
        Now everything works as expected.
        

        Mein Fehlerlog:

        $ iobroker add puppeteer auto --host iobrokerpi4b --debug
        
        NPM version: 10.8.2
        
        Installing iobroker.puppeteer@0.4.0... (System call)
        
        > puppeteer@23.11.1 postinstall> node install.mjs
        
        **INFO** Skipping Firefox download as instructed.
        
        Error: ERROR: Failed to set up chrome-headless-shell v131.0.6778.204! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download. at downloadBrowser (file:///opt/iobroker/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:26:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        
        at async Promise.all (index 1) at async downloadBrowsers (file:///opt/iobroker/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:84:9) { [cause]: Error: Client network socket disconnected before secure TLS connection was established at TLSSocket.onConnectEnd (node:_tls_wrap:1730:19) at TLSSocket.emit (node:events:536:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'ECONNRESET', path: null, host: 'storage.googleapis.com', port: 443, localAddress: undefined }}
        
        npm error code 1
        
        npm error path /opt/iobroker/node_modules/puppeteer
        
        npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-07-13T19_22_49_037Z-debug-0.log
        
        Error: ERROR: Failed to set up chrome-headless-shell v131.0.6778.204! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download. at downloadBrowser (file:///opt/iobroker/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:26:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 1) at async downloadBrowsers (file:///opt/iobroker/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:84:9) { [cause]: Error: Client network socket disconnected before secure TLS connection was established at TLSSocket.onConnectEnd (node:_tls_wrap:1730:19) at TLSSocket.emit (node:events:536:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'ECONNRESET', path: null, host: 'storage.googleapis.com', port: 443, localAddress: undefined }}npm error code 1npm error path /opt/iobroker/node_modules/puppeteernpm error command failednpm error command sh -c node install.mjsnpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-07-13T19_22_49_037Z-debug-0.loghost.iobrokerpi4b Cannot install iobroker.puppeteer@0.4.0: 1
        
        ERROR: Process exited with code 25
        
        kopierschnitte created this issue in foxriver76/ioBroker.puppeteer

        closed Installation/Usage not possible on ARM64 platforms (RPi, etc.) #13

        B 1 Reply Last reply Reply Quote 0
        • B
          Beowolf @BertDerKleine last edited by Beowolf

          @bertderkleine

          
          I've fixed the problem by first installing chromium (Debian 12 / ARM64 in my case):
          sudo apt install chromium
          {1}
          Change the adapter's main.js onReady() function to load the correct binary (chromium in my case):
           
          async onReady() {
              this.browser = await import_puppeteer.default.launch({ headless: "new", defaultViewport: null, executablePath: '/usr/bin/chromium', args: ['--no-sandbox', '--disable-setuid-sandbox'] });
              this.subscribeStates("url");
              this.log.info("Ready to take screenshots");
            }
           
          Now everything works as expected.
          
          

          Das ist schon lange überholt. Mit einem aktuellen System wird einfach Chromium installiert

          sudo apt install chromium-browser -y
          
          

          Mache danach event. noch das hier

          sudo apt update && sudo apt full-upgrade
          

          Mache einen reboot und danach im ioBroker der Puppeteer Adapter. Fertig.

          BertDerKleine 1 Reply Last reply Reply Quote 0
          • BertDerKleine
            BertDerKleine @Beowolf last edited by

            @beowolf sagte in E-INK Display OpenEPaperLink - Displayanzeige mit Batterie:

            @bertderkleine

            
            I've fixed the problem by first installing chromium (Debian 12 / ARM64 in my case):
            sudo apt install chromium
            {1}
            Change the adapter's main.js onReady() function to load the correct binary (chromium in my case):
             
            async onReady() {
                this.browser = await import_puppeteer.default.launch({ headless: "new", defaultViewport: null, executablePath: '/usr/bin/chromium', args: ['--no-sandbox', '--disable-setuid-sandbox'] });
                this.subscribeStates("url");
                this.log.info("Ready to take screenshots");
              }
             
            Now everything works as expected.
            
            

            Das ist schon lange überholt. Mit einem aktuellen System wird einfach Chromium installiert

            sudo apt install chromium-browser -y
            
            

            Mache danach event. noch das hier

            sudo apt update && sudo apt full-upgrade
            

            Mache einen reboot und danach im ioBroker der Puppeteer Adapter. Fertig.

            Habe ich alles gemacht, es führt leider nicht zum Ziel, weiter Fehler:

            $ iobroker add puppeteer auto --host iobrokerpi4b --debug
            
            NPM version: 10.8.2
            
            Installing iobroker.puppeteer@0.4.0... (System call)
            
            > puppeteer@23.11.1 postinstall> node install.mjs
            
            **INFO** Skipping Firefox download as instructed.
            
            Error: ERROR: Failed to set up chrome v131.0.6778.204! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download. at downloadBrowser (file:///opt/iobroker/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:26:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 0) at async downloadBrowsers (file:///opt/iobroker/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:84:9) { [cause]: Error: Client network socket disconnected before secure TLS connection was established at TLSSocket.onConnectEnd (node:_tls_wrap:1730:19) at TLSSocket.emit (node:events:536:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'ECONNRESET', path: null, host: 'storage.googleapis.com', port: 443, localAddress: undefined }}
            
            npm error code 1
            
            npm error path /opt/iobroker/node_modules/puppeteernpm error command failednpm error command sh -c node install.mjs
            
            npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-07-14T06_42_00_915Z-debug-0.log
            
            Error: ERROR: Failed to set up chrome v131.0.6778.204! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download. at downloadBrowser (file:///opt/iobroker/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:26:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 0) at async downloadBrowsers (file:///opt/iobroker/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:84:9) { [cause]: Error: Client network socket disconnected before secure TLS connection was established at TLSSocket.onConnectEnd (node:_tls_wrap:1730:19) at TLSSocket.emit (node:events:536:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'ECONNRESET', path: null, host: 'storage.googleapis.com', port: 443, localAddress: undefined }}npm error code 1npm error path /opt/iobroker/node_modules/puppeteernpm error command failednpm error command sh -c node install.mjsnpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-07-14T06_42_00_915Z-debug-0.log
            
            host.iobrokerpi4b Cannot install iobroker.puppeteer@0.4.0: 1
            
            ERROR: Process exited with code 25
            
            B 1 Reply Last reply Reply Quote 0
            • B
              Beowolf @BertDerKleine last edited by

              @bertderkleine

              Ich habe mal gerade auf meinem Test-Raspberry das aktuelle PI-Image aufgespielt. Danach iobroker, dann Chromium und natürlich den Adapter Puppeteer in ioBroker installiert. Alles lief ohne Problem durch.
              Keine Ahnung was du wo auf deinem System schon gemacht hast, aber ich glaube, das der Fehler ganz woanders liegt.
              Mach doch mal ein Backup, nimm zum Testen eine neue SD-Karte, installiere das aktuelle Image, usw.
              Du wirst sehen, das das alles so durchläuft.

              Möchtest du das nicht, wäre es glaube ich besser, wenn du einen eigenen Beitrag öffnest. Das führt hier wohl etwas zu weit.

              BertDerKleine 1 Reply Last reply Reply Quote 1
              • BertDerKleine
                BertDerKleine @Beowolf last edited by BertDerKleine

                @beowolf
                Danke Dir. Problem ist mittlerweile auch gelöst.

                Ich hatte schon einen eigenen Thread aufgemacht: https://forum.iobroker.net/topic/81640/gelöst-puppeteer-adapter-läuft-auf-raspi-4-nicht

                B 1 Reply Last reply Reply Quote 1
                • B
                  Beowolf @BertDerKleine last edited by

                  @bertderkleine
                  Trage doch noch den Link zu deinem neuen Beitrag ein. So kann jeder der event. auch damit ein Problem hat es einfacher finden.

                  BertDerKleine 1 Reply Last reply Reply Quote 1
                  • BertDerKleine
                    BertDerKleine @Beowolf last edited by

                    @beowolf
                    erledigt.

                    1 Reply Last reply Reply Quote 0
                    • BertDerKleine
                      BertDerKleine last edited by

                      Hallo,
                      eben mal das Blockly aus Beitrag #274 (https://forum.iobroker.net/topic/66380/e-ink-display-openepaperlink-displayanzeige-mit-batterie/274) versucht laufen zu lassen.
                      Das führt aber nur zu Fehler:

                      javascript.0	19:04:21.885	warn	request package is deprecated - please use httpGet (or a stable lib like axios) instead!
                      
                      javascript.0	19:04:21.918	error	    at Object.<anonymous> (script.js.08_E-Ink_Displays.Bild_an_OpenEpaperLink_Tags_senden:41:13)
                      

                      Hat jemand ein Blockly, das heute noch läuft?

                      Mit JS habe ich mir auch was hingefrickelt, aber ein Blockly, das Stand heute noch läuft wäre super.

                      Eisbaeeer 1 Reply Last reply Reply Quote 0
                      • Eisbaeeer
                        Eisbaeeer Developer @BertDerKleine last edited by Eisbaeeer

                        @bertderkleine

                        Ich habe das ganze von Blockly auf Script konvertiert. Damit funktioniert auch puppeteer und upload wieder.
                        Link: https://forum.iobroker.net/post/1265803

                        Oder wieder zurück nach Blockly basteln.

                        Und jetzt auch besser auffindbar hier: E-INK Display OpenEPaperLink - Blockly, Java-Skripte usw.

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        825
                        Online

                        31.9k
                        Users

                        80.3k
                        Topics

                        1.3m
                        Posts

                        44
                        1008
                        277774
                        Loading More Posts
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes
                        Reply
                        • Reply as topic
                        Log in to reply
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                        The ioBroker Community 2014-2023
                        logo