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

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    E-INK Display OpenEPaperLink - Displayanzeige mit Batterie

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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 2
                    • BertDerKleine
                      BertDerKleine last edited by

                      So, jetzt habe ich einen Spaghetti AP zusammengebastelt und eine handvoll Displays und konnte aus den theoretischen mal praktische Übungen machen.

                      Dabei stiess ich auf einen bösen Stolperstein bei der Hardware:
                      Es gibt nämlich beim ESP32-S3 Teile, die auf den ersten Block genau passend ausschauen von den Specs, es aber dann doch nicht sind, Beispiel: https://de.aliexpress.com/item/1005009621440783.html
                      Wenn man es weiss, erkennt man die nicht passende Hardware daran, dass es keinen GPIO Pin #20 gibt (und die Pins alle anders sortiert sind).

                      Frage jetzt zur Ansteuerung des Displays:
                      Die Firmware bietet ja eine "copy" Funktion. Irgendwie bekomme ich die aber nicht zum Fliegen.
                      a) gibts dazu irgendwelche Doku Links?
                      b) konkret gefragt: in welchem Format gibt man hier die MAC-Adresse ein? Also eher "00112233..." oder "00:11:22:33..."?

                      Der-Jeti 1 Reply Last reply Reply Quote 0
                      • Der-Jeti
                        Der-Jeti @BertDerKleine last edited by

                        Hi,

                        wo bekommt man aktuell noch geflashte Displays?
                        Bräuchte 1/2 Stück zum testen.

                        Eisbaeeer 1 Reply Last reply Reply Quote 0
                        • Eisbaeeer
                          Eisbaeeer Developer @Der-Jeti last edited by

                          @der-jeti Ich habe noch welche auf Lager. VG Lars

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

                            @eisbaeeer Moin, ich hätte auch Interesse. Was und wie viel würde mich interessieren. 😀

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

                              @a200 Ich hab dir eine PM geschickt.

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              954
                              Online

                              32.1k
                              Users

                              80.7k
                              Topics

                              1.3m
                              Posts

                              46
                              1013
                              304916
                              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