NEWS
E-INK Display OpenEPaperLink - Displayanzeige mit Batterie
-
@bertderkleine sagte in E-INK Display OpenEPaperLink - Displayanzeige mit Batterie:
Vielen lieben Dank für Deine hilfreiche Darstellung. Genau so einen übersichtlichen Einstieg brauchte ich.
Nun werde ich mal buddeln und mir einen AP besorgen müssen.Kannst dich gerne bei mir melden. Ich hab hier alles auf Lager.
-
@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.
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)
Das ist nett, aber eben weil die Installation ja nicht klappt, gibts so ein Verzeichnis mit so einem Inhalt gar nicht erst.Dann habe ich mir https://github.com/DrozmotiX/ioBroker.open-epaper-link angeschaut und das sieht nun auch nicht so aus, als ob es eine Lösung wäre mit der 2 Jahre alten v0.1.
Tips, wie ich auf dem Raspi mit Puppeteer weiterkommen könnte?
-
@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,
-
@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.