NEWS
E-INK Display OpenEPaperLink - Displayanzeige mit Batterie
-
@mcm1957
Siehe den Hinweis von @BananaJoe hier:
https://forum.iobroker.net/topic/66380/e-ink-display-openepaperlink-displayanzeige-mit-batterie/274Und die "Lösung" genau im Github:
https://github.com/foxriver76/ioBroker.puppeteer/issues/13I'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
-
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.
-
@beowolf sagte in E-INK Display OpenEPaperLink - Displayanzeige mit Batterie:
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
-
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.
-
@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
-
@bertderkleine
Trage doch noch den Link zu deinem neuen Beitrag ein. So kann jeder der event. auch damit ein Problem hat es einfacher finden. -
@beowolf
erledigt. -
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.
-
Ich habe das ganze von Blockly auf Script konvertiert. Damit funktioniert auch puppeteer und upload wieder.
Link: https://forum.iobroker.net/post/1265803Oder wieder zurück nach Blockly basteln.
Und jetzt auch besser auffindbar hier: E-INK Display OpenEPaperLink - Blockly, Java-Skripte usw.
-
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..."?