NEWS
Muss ich echt auf Home Assistend umsteigen?
-
========================================================================= Welcome to the ioBroker installer! Installer version: 2025-02-02 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/4) ========================================================================== Get:1 http://archive.raspberrypi.com/debian trixie InRelease [54.8 kB] Hit:2 http://raspbian.raspberrypi.com/raspbian trixie InRelease Get:3 http://archive.raspberrypi.com/debian trixie/main arm64 Packages [376 kB] Get:4 http://archive.raspberrypi.com/debian trixie/main armhf Packages [373 kB] Fetched 804 kB in 5s (166 kB/s) Reading package lists... Done env: ‘node’: No such file or directory Changing npm registry to https://registry.npmjs.org env: ‘node’: No such file or directory -
@AndreB sagte in Muss ich echt auf Home Assistend umsteigen?:
bin drann der Pi machtb gerade ein Update
wenn es geht, mach bitte nochmal alles ganz neu.
Wer weiss was da alles verbogen ist.und dann hier Schritt für Schritt zeigen
-
========================================================================= Welcome to the ioBroker installer! Installer version: 2025-02-02 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/4) ========================================================================== Get:1 http://archive.raspberrypi.com/debian trixie InRelease [54.8 kB] Hit:2 http://raspbian.raspberrypi.com/raspbian trixie InRelease Get:3 http://archive.raspberrypi.com/debian trixie/main arm64 Packages [376 kB] Get:4 http://archive.raspberrypi.com/debian trixie/main armhf Packages [373 kB] Fetched 804 kB in 5s (166 kB/s) Reading package lists... Done env: ‘node’: No such file or directory Changing npm registry to https://registry.npmjs.org env: ‘node’: No such file or directory@AndreB sagte in Muss ich echt auf Home Assistend umsteigen?:
env: ‘node’: No such file or directory
da scheint schon was in der Basis nicht zu stimmen
-
So mal ein Update, es läuft.
Was ging nicht.
- Node vorher installieren mag der Iobroker wohl garnicht mit Trixi, es ging nur wenn node wären der installation mit Installiert wird.
- Zigbee Stick (Sonoff Dongel Plus) Firmware musste auf den neuesten stand gebracht werden (soviel zu NCERS)
- Zigbee Adapter, musste ich eine ältere Version nehmen damit er läuft, als er dann lief war auch ein update auf die Aktuelle Version möglich.
Alles in allem muss ich nach vielen Jahren iobroker, mit dem ich immer zufrieden war wenn er lief, sagen das die Instalation und die einrichtung deutlich benutzerfreundlicher sein könnt. Klar bei der erstinstallation vor 5 oder mehr Jahren gab es vieles noch nicht aber die schwellen die dazu gekommen sind und die kryptischen fehlermeldungen (auch seitens Debian) machen es nicht einfach.
-
So mal ein Update, es läuft.
Was ging nicht.
- Node vorher installieren mag der Iobroker wohl garnicht mit Trixi, es ging nur wenn node wären der installation mit Installiert wird.
- Zigbee Stick (Sonoff Dongel Plus) Firmware musste auf den neuesten stand gebracht werden (soviel zu NCERS)
- Zigbee Adapter, musste ich eine ältere Version nehmen damit er läuft, als er dann lief war auch ein update auf die Aktuelle Version möglich.
Alles in allem muss ich nach vielen Jahren iobroker, mit dem ich immer zufrieden war wenn er lief, sagen das die Instalation und die einrichtung deutlich benutzerfreundlicher sein könnt. Klar bei der erstinstallation vor 5 oder mehr Jahren gab es vieles noch nicht aber die schwellen die dazu gekommen sind und die kryptischen fehlermeldungen (auch seitens Debian) machen es nicht einfach.
@AndreB sagte in Muss ich echt auf Home Assistend umsteigen?:
Node vorher installieren mag der Iobroker wohl garnicht mit Trixi
Hat mit Debian 13 Trixie nichts zu tun. Man kann auch zuvor nodejs installieren, muss es aber richtig machen.
Der Installer macht es automatisch richtig.Zigbee Stick (Sonoff Dongel Plus) Firmware musste auf den neuesten stand gebracht werden (soviel zu NCERS)
Aktuelle Versionen sind selten eine schlechte Idee...
sagen das die Instalation und die einrichtung deutlich benutzerfreundlicher sein könnt. Klar bei der erstinstallation vor 5 oder mehr Jahren gab es vieles noch nicht aber die schwellen die dazu gekommen sind und die kryptischen fehlermeldungen (auch seitens Debian) machen es nicht einfach.
Was ist denn an dem Installations-Einzeiler kompliziert? Wenn du natürlich aus irgendwelchen Gründen irgendwas selber ausgedachtes anstellst wird auch irgendwas krummes dabei herauskommen.
Und das du mit den Fehlermeldungen dann nichts anfangen kannst ist auch kein 'Fehler' des Systems. -
So mal ein Update, es läuft.
Was ging nicht.
- Node vorher installieren mag der Iobroker wohl garnicht mit Trixi, es ging nur wenn node wären der installation mit Installiert wird.
- Zigbee Stick (Sonoff Dongel Plus) Firmware musste auf den neuesten stand gebracht werden (soviel zu NCERS)
- Zigbee Adapter, musste ich eine ältere Version nehmen damit er läuft, als er dann lief war auch ein update auf die Aktuelle Version möglich.
Alles in allem muss ich nach vielen Jahren iobroker, mit dem ich immer zufrieden war wenn er lief, sagen das die Instalation und die einrichtung deutlich benutzerfreundlicher sein könnt. Klar bei der erstinstallation vor 5 oder mehr Jahren gab es vieles noch nicht aber die schwellen die dazu gekommen sind und die kryptischen fehlermeldungen (auch seitens Debian) machen es nicht einfach.
@AndreB sagte in Muss ich echt auf Home Assistend umsteigen?:
Node vorher installieren mag der Iobroker wohl garnicht mit Trixi,
nöö, das mag er grundsätzlich nicht, weil der Installer das selber macht, und zwar richtig.
Möglicherweise gibt's dann auch eeniger "Probleme"@AndreB sagte in Muss ich echt auf Home Assistend umsteigen?:
deutlich benutzerfreundlicher sein könnt
wenn du das benutzerfreundliche gar nicht nutzst 😉 und es dir selber schwer machst.
-
So mal ein Update, es läuft.
Was ging nicht.
- Node vorher installieren mag der Iobroker wohl garnicht mit Trixi, es ging nur wenn node wären der installation mit Installiert wird.
- Zigbee Stick (Sonoff Dongel Plus) Firmware musste auf den neuesten stand gebracht werden (soviel zu NCERS)
- Zigbee Adapter, musste ich eine ältere Version nehmen damit er läuft, als er dann lief war auch ein update auf die Aktuelle Version möglich.
Alles in allem muss ich nach vielen Jahren iobroker, mit dem ich immer zufrieden war wenn er lief, sagen das die Instalation und die einrichtung deutlich benutzerfreundlicher sein könnt. Klar bei der erstinstallation vor 5 oder mehr Jahren gab es vieles noch nicht aber die schwellen die dazu gekommen sind und die kryptischen fehlermeldungen (auch seitens Debian) machen es nicht einfach.
@AndreB sagte in Muss ich echt auf Home Assistend umsteigen?:
So mal ein Update, es läuft.
Was ging nicht.
- Node vorher installieren mag der Iobroker wohl garnicht mit Trixi, es ging nur wenn node wären der installation mit Installiert wird.
- Zigbee Stick (Sonoff Dongel Plus) Firmware musste auf den neuesten stand gebracht werden (soviel zu NCERS)
- Zigbee Adapter, musste ich eine ältere Version nehmen damit er läuft, als er dann lief war auch ein update auf die Aktuelle Version möglich.
Alles in allem muss ich nach vielen Jahren iobroker, mit dem ich immer zufrieden war wenn er lief, sagen das die Instalation und die einrichtung deutlich benutzerfreundlicher sein könnt. Klar bei der erstinstallation vor 5 oder mehr Jahren gab es vieles noch nicht aber die schwellen die dazu gekommen sind und die kryptischen fehlermeldungen (auch seitens Debian) machen es nicht einfach.
Als Entwickler des Zigbee Adapters will ich das dann doch mal qualifiziert kommentieren:
Das du eine alte Version erst installieren musst bevor du mit der aktuellen Version auf einer nakten Trixie Installation starten kannst ist Unsinn. Ähnlich verhält es sich mit der Firmware-Thematik. Ich habe genau dieses (Naktes Debian Trixie installieren, Zigbee Adapter installieren, Sonoff-Stick dran (mit alter Firmware)) mehrfach durchgezogen - das ist eines meiner Test-Szenarien bevor ich eine Version ins 'stable' schieben lasse. Da bliebe dann die Frage - bist du der Anleitung zum konfigurieren des Adapters gefolgt ? Wenn ja wüsste ich gerne an welcher Stelle das nicht geklappt hat - dann kann ich die Anleitung verbessern. Wenn nein - ... (sorry, das was ich gerade gedacht habe will ich hier nicht schreiben)
Auch das node nicht vorher installiert werden kann stimmt so nicht. Du musst allerdings aufpassen das Node korrekt installiert wird - so wie es dem Standard entspricht und in einer passenden Version. Je nach dem welcher Anleitung du da folgst bekommst du ggf. unterschiedliche Eergebnisse. Unter Debian sind dabei ggf. auch alte NodeJS Versionen in den standard Paketquellen enthalten. Und ja, damit geht ioBroker dann gegebenenfalls nicht
Da du uns aber die Ausgaben bei Deinen Versuchen das 'normal' zu schaffen vorenhalten hast können wir Dir nicht sagen was da genau falsch gelaufen ist. Das riecht extrem nach dem alten Sprichwort wenn der Bauer nicht schwimmen kann liegt es an der Badehose.
A.
-
Finde die Kommentare ja sehr witzig aber danke dafür. Wenn ich Node installiere wie es die Nodeentwickler in ihrer Anleitung beschreiben ist das als falsch, gut da haben die Entwickler wohl beim entwickel gepennt und hier wurde dann ein weg gefunden das es richtig geht.
Aber egal, hatte ja erwähnt das ich den Broker schon 5 jahre nutze und meistens zu frieden war aber hier in manchen kommentaren hingestellt werde als wenn ich nicht wüsste was ich tuhe werde ich mich dann hier mal zurück ziehen.
-
ah ja und für alle die cryptisch nich verstehen
$ iobroker add rpi2 --host IoBroker NPM version: 10.9.4 Installing iobroker.rpi2@2.4.0... (System call) npm error code 1npm error path /opt/iobroker/node_modules/opengpionpm error command failednpm error command sh -c node-gyp rebuildnpm error make: Entering directory '/opt/iobroker/node_modules/opengpio/build'npm error CXX(target) Release/obj.target/opengpio/cpp/opengpio.onpm error make: Leaving directory '/opt/iobroker/node_modules/opengpio/build'npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioInput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:14:17: error: expected primary-expression before ‘line’npm error 14 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:19:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~npm error | gpiod::linenpm error In file included from /usr/include/gpiodcxx/chip.hpp:21,npm error from /usr/include/gpiod.hpp:27,npm error from ../cpp/opengpio.cpp:3:npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:19:58: error: ‘DIRECTION_INPUT’ is not a member of ‘gpiod::line_request’npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:28:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:30:22: error: ‘line’ is not capturednpm error 30 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:28:66: note: the lambda has no capture-defaultnpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:34:52: error: ‘line’ is not capturednpm error 34 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:33:67: note: the lambda has no capture-defaultnpm error 33 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioOutput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:49:17: error: expected primary-expression before ‘line’npm error 49 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:54:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:54:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:63:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:66:9: error: ‘line’ is not capturednpm error 66 | line.set_value(value); });npm error | ^~~~npm error ../cpp/opengpio.cpp:63:66: note: the lambda has no capture-defaultnpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:69:52: error: ‘line’ is not capturednpm error 69 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:68:67: note: the lambda has no capture-defaultnpm error 68 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:81:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 81 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:92:17: error: expected primary-expression before ‘line’npm error 92 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:100:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:100:58: error: ‘EVENT_BOTH_EDGES’ is not a member of ‘gpiod::line_request’npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:109:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:111:22: error: ‘line’ is not capturednpm error 111 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:109:66: note: the lambda has no capture-defaultnpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:115:11: error: ‘struct WatchContext’ has no member named ‘line’npm error 115 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:127:25: error: expected primary-expression before ‘line’npm error 127 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:131:33: error: ‘line’ is not capturednpm error 131 | bool hasEvent = line.event_wait(chrono::milliseconds(1));npm error | ^~~~npm error ../cpp/opengpio.cpp:124:10: note: the lambda has no capture-defaultnpm error 124 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp:134:28: error: ‘line_event’ is not a member of ‘gpiod’; did you mean ‘info_event’?npm error 134 | gpiod::line_event event = line.event_read();npm error | ^~~~~~~~~~npm error | info_eventnpm error ../cpp/opengpio.cpp:135:34: error: ‘event’ was not declared in this scope; did you mean ‘servent’?npm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~npm error | serventnpm error ../cpp/opengpio.cpp:135:61: error: ‘gpiod::line_event’ has not been declarednpm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~~~~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:147:19: error: ‘struct WatchContext’ has no member named ‘line’npm error 147 | data->line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:168:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 168 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioPwm(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:196:17: error: expected primary-expression before ‘line’npm error 196 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:201:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:201:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:213:11: error: ‘struct PwmContext’ has no member named ‘line’npm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:213:18: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 213 | data->line = line;npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:224:25: error: expected primary-expression before ‘line’npm error 224 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:264:17: error: ‘line’ is not capturednpm error 264 | line.set_value(true);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:278:17: error: ‘line’ is not capturednpm error 278 | line.set_value(false);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:327:25: error: expected primary-expression before ‘line’npm error 327 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:328:13: error: ‘line’ is not capturednpm error 328 | line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp:324:10: note: the lambda has no capture-defaultnpm error 324 | [](uv_work_t *req, int status)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error make: *** [opengpio.target.mk:108: Release/obj.target/opengpio/cpp/opengpio.o] Error 1npm error gyp ERR! build error npm error gyp ERR! stack Error: `make` failed with exit code: 2npm error gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)npm error gyp ERR! System Linux 6.12.62+rpt-rpi-v8npm error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/opengpionpm error gyp ERR! node -v v22.22.0npm error gyp ERR! node-gyp -v v11.2.0npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2026-01-18T04_53_35_689Z-debug-0.log host.IoBroker Cannot install iobroker.rpi2@2.4.0: 1 ERROR: Process exited with code 25MOD-EDIT
Code-Tags gesetzt -
Finde die Kommentare ja sehr witzig aber danke dafür. Wenn ich Node installiere wie es die Nodeentwickler in ihrer Anleitung beschreiben ist das als falsch, gut da haben die Entwickler wohl beim entwickel gepennt und hier wurde dann ein weg gefunden das es richtig geht.
Aber egal, hatte ja erwähnt das ich den Broker schon 5 jahre nutze und meistens zu frieden war aber hier in manchen kommentaren hingestellt werde als wenn ich nicht wüsste was ich tuhe werde ich mich dann hier mal zurück ziehen.
@AndreB sagte in Muss ich echt auf Home Assistend umsteigen?:
Wenn ich Node installiere wie es die Nodeentwickler in ihrer Anleitung beschreiben ist das als falsch
Da wir nicht wissen, wie du es gemacht hast, ist das schwer exakt zu bewerten.
Um wirklich sinnvoll antworten und schlussendlich zügig helfen zu können, brauchen wir von dir u.a.- Ein- und Ausgaben der Konsole
- Errormeldungen vollständig
- Hardwarebedingungen
- Informationen zur Installation
vieles notwendiges ist hier schon beschrieben:
https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträgeAber du hattest es ja gesagt
@AndreB sagte in Muss ich echt auf Home Assistend umsteigen?:
Node vorher installieren mag der Iobroker wohl garnicht
Das lässt ohne weitere Fakten in Form von Code, logs und Meldungen sehr viel Platz für Vermutungen.
Dazu gibt es zuviele Möglichkeiten was und in welcher Kombination passiert/gemacht worden sein kann.und was "falsch" heissen soll ist auch nicht klar.
@AndreB sagte in Muss ich echt auf Home Assistend umsteigen?:
ah ja und für alle
@AndreB sagte in Muss ich echt auf Home Assistend umsteigen?:
ERROR: Process exited with code 25
das ist ein typisches Beispiel für eine Frage im Forum!
zum rpi2 gibt es schon diverse Threads, da beim Raspi5 die alte Version wegen geänderter Hardware, und deswegen geändertem OS nicht mehr läuft, die Anpassung aber gerade im Bau ist.Auch hier;
Bitte fragen mit mehr Informationen, dann eird dir geholfen -
ah ja und für alle die cryptisch nich verstehen
$ iobroker add rpi2 --host IoBroker NPM version: 10.9.4 Installing iobroker.rpi2@2.4.0... (System call) npm error code 1npm error path /opt/iobroker/node_modules/opengpionpm error command failednpm error command sh -c node-gyp rebuildnpm error make: Entering directory '/opt/iobroker/node_modules/opengpio/build'npm error CXX(target) Release/obj.target/opengpio/cpp/opengpio.onpm error make: Leaving directory '/opt/iobroker/node_modules/opengpio/build'npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioInput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:14:17: error: expected primary-expression before ‘line’npm error 14 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:19:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~npm error | gpiod::linenpm error In file included from /usr/include/gpiodcxx/chip.hpp:21,npm error from /usr/include/gpiod.hpp:27,npm error from ../cpp/opengpio.cpp:3:npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:19:58: error: ‘DIRECTION_INPUT’ is not a member of ‘gpiod::line_request’npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:28:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:30:22: error: ‘line’ is not capturednpm error 30 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:28:66: note: the lambda has no capture-defaultnpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:34:52: error: ‘line’ is not capturednpm error 34 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:33:67: note: the lambda has no capture-defaultnpm error 33 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioOutput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:49:17: error: expected primary-expression before ‘line’npm error 49 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:54:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:54:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:63:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:66:9: error: ‘line’ is not capturednpm error 66 | line.set_value(value); });npm error | ^~~~npm error ../cpp/opengpio.cpp:63:66: note: the lambda has no capture-defaultnpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:69:52: error: ‘line’ is not capturednpm error 69 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:68:67: note: the lambda has no capture-defaultnpm error 68 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:81:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 81 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:92:17: error: expected primary-expression before ‘line’npm error 92 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:100:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:100:58: error: ‘EVENT_BOTH_EDGES’ is not a member of ‘gpiod::line_request’npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:109:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:111:22: error: ‘line’ is not capturednpm error 111 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:109:66: note: the lambda has no capture-defaultnpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:115:11: error: ‘struct WatchContext’ has no member named ‘line’npm error 115 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:127:25: error: expected primary-expression before ‘line’npm error 127 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:131:33: error: ‘line’ is not capturednpm error 131 | bool hasEvent = line.event_wait(chrono::milliseconds(1));npm error | ^~~~npm error ../cpp/opengpio.cpp:124:10: note: the lambda has no capture-defaultnpm error 124 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp:134:28: error: ‘line_event’ is not a member of ‘gpiod’; did you mean ‘info_event’?npm error 134 | gpiod::line_event event = line.event_read();npm error | ^~~~~~~~~~npm error | info_eventnpm error ../cpp/opengpio.cpp:135:34: error: ‘event’ was not declared in this scope; did you mean ‘servent’?npm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~npm error | serventnpm error ../cpp/opengpio.cpp:135:61: error: ‘gpiod::line_event’ has not been declarednpm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~~~~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:147:19: error: ‘struct WatchContext’ has no member named ‘line’npm error 147 | data->line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:168:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 168 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioPwm(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:196:17: error: expected primary-expression before ‘line’npm error 196 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:201:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:201:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:213:11: error: ‘struct PwmContext’ has no member named ‘line’npm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:213:18: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 213 | data->line = line;npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:224:25: error: expected primary-expression before ‘line’npm error 224 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:264:17: error: ‘line’ is not capturednpm error 264 | line.set_value(true);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:278:17: error: ‘line’ is not capturednpm error 278 | line.set_value(false);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:327:25: error: expected primary-expression before ‘line’npm error 327 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:328:13: error: ‘line’ is not capturednpm error 328 | line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp:324:10: note: the lambda has no capture-defaultnpm error 324 | [](uv_work_t *req, int status)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error make: *** [opengpio.target.mk:108: Release/obj.target/opengpio/cpp/opengpio.o] Error 1npm error gyp ERR! build error npm error gyp ERR! stack Error: `make` failed with exit code: 2npm error gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)npm error gyp ERR! System Linux 6.12.62+rpt-rpi-v8npm error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/opengpionpm error gyp ERR! node -v v22.22.0npm error gyp ERR! node-gyp -v v11.2.0npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2026-01-18T04_53_35_689Z-debug-0.log host.IoBroker Cannot install iobroker.rpi2@2.4.0: 1 ERROR: Process exited with code 25MOD-EDIT
Code-Tags gesetzt@AndreB sagte in Muss ich echt auf Home Assistend umsteigen?:
ah ja und für alle die cryptisch nich verstehen
$ iobroker add rpi2 --host IoBroker NPM version: 10.9.4 Installing iobroker.rpi2@2.4.0... (System call) npm error code 1npm error path /opt/iobroker/node_modules/opengpionpm error command failednpm error command sh -c node-gyp rebuildnpm error make: Entering directory '/opt/iobroker/node_modules/opengpio/build'npm error CXX(target) Release/obj.target/opengpio/cpp/opengpio.onpm error make: Leaving directory '/opt/iobroker/node_modules/opengpio/build'npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioInput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:14:17: error: expected primary-expression before ‘line’npm error 14 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:19:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~npm error | gpiod::linenpm error In file included from /usr/include/gpiodcxx/chip.hpp:21,npm error from /usr/include/gpiod.hpp:27,npm error from ../cpp/opengpio.cpp:3:npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:19:58: error: ‘DIRECTION_INPUT’ is not a member of ‘gpiod::line_request’npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:28:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:30:22: error: ‘line’ is not capturednpm error 30 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:28:66: note: the lambda has no capture-defaultnpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:34:52: error: ‘line’ is not capturednpm error 34 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:33:67: note: the lambda has no capture-defaultnpm error 33 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioOutput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:49:17: error: expected primary-expression before ‘line’npm error 49 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:54:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:54:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:63:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:66:9: error: ‘line’ is not capturednpm error 66 | line.set_value(value); });npm error | ^~~~npm error ../cpp/opengpio.cpp:63:66: note: the lambda has no capture-defaultnpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:69:52: error: ‘line’ is not capturednpm error 69 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:68:67: note: the lambda has no capture-defaultnpm error 68 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:81:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 81 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:92:17: error: expected primary-expression before ‘line’npm error 92 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:100:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:100:58: error: ‘EVENT_BOTH_EDGES’ is not a member of ‘gpiod::line_request’npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:109:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:111:22: error: ‘line’ is not capturednpm error 111 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:109:66: note: the lambda has no capture-defaultnpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:115:11: error: ‘struct WatchContext’ has no member named ‘line’npm error 115 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:127:25: error: expected primary-expression before ‘line’npm error 127 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:131:33: error: ‘line’ is not capturednpm error 131 | bool hasEvent = line.event_wait(chrono::milliseconds(1));npm error | ^~~~npm error ../cpp/opengpio.cpp:124:10: note: the lambda has no capture-defaultnpm error 124 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp:134:28: error: ‘line_event’ is not a member of ‘gpiod’; did you mean ‘info_event’?npm error 134 | gpiod::line_event event = line.event_read();npm error | ^~~~~~~~~~npm error | info_eventnpm error ../cpp/opengpio.cpp:135:34: error: ‘event’ was not declared in this scope; did you mean ‘servent’?npm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~npm error | serventnpm error ../cpp/opengpio.cpp:135:61: error: ‘gpiod::line_event’ has not been declarednpm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~~~~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:147:19: error: ‘struct WatchContext’ has no member named ‘line’npm error 147 | data->line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:168:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 168 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioPwm(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:196:17: error: expected primary-expression before ‘line’npm error 196 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:201:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:201:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:213:11: error: ‘struct PwmContext’ has no member named ‘line’npm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:213:18: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 213 | data->line = line;npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:224:25: error: expected primary-expression before ‘line’npm error 224 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:264:17: error: ‘line’ is not capturednpm error 264 | line.set_value(true);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:278:17: error: ‘line’ is not capturednpm error 278 | line.set_value(false);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:327:25: error: expected primary-expression before ‘line’npm error 327 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:328:13: error: ‘line’ is not capturednpm error 328 | line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp:324:10: note: the lambda has no capture-defaultnpm error 324 | [](uv_work_t *req, int status)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error make: *** [opengpio.target.mk:108: Release/obj.target/opengpio/cpp/opengpio.o] Error 1npm error gyp ERR! build error npm error gyp ERR! stack Error: `make` failed with exit code: 2npm error gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)npm error gyp ERR! System Linux 6.12.62+rpt-rpi-v8npm error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/opengpionpm error gyp ERR! node -v v22.22.0npm error gyp ERR! node-gyp -v v11.2.0npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2026-01-18T04_53_35_689Z-debug-0.log host.IoBroker Cannot install iobroker.rpi2@2.4.0: 1 ERROR: Process exited with code 25Beschwerden bezüglich Fehlermeldungen die npm / node ausgibt bitte an die Entwickler von npm / node richten. ioBroker kann nur ausgeben was von dort kommt. opengpio ist KEIN ioBroker paket falls dir das unklar ist.
Aber manchmal hilft es auch einfach in die Releasenotes des betroffenen Adapters zu schaun:
https://github.com/iobroker-community-adapters/ioBroker.rpi2#300-2025-11-28
trixie brauch opengpio V2 und das kommt mit rpi2 3.x.x -
Finde die Kommentare ja sehr witzig aber danke dafür. Wenn ich Node installiere wie es die Nodeentwickler in ihrer Anleitung beschreiben ist das als falsch, gut da haben die Entwickler wohl beim entwickel gepennt und hier wurde dann ein weg gefunden das es richtig geht.
Aber egal, hatte ja erwähnt das ich den Broker schon 5 jahre nutze und meistens zu frieden war aber hier in manchen kommentaren hingestellt werde als wenn ich nicht wüsste was ich tuhe werde ich mich dann hier mal zurück ziehen.
@AndreB sagte in Muss ich echt auf Home Assistend umsteigen?:
Wenn ich Node installiere wie es die Nodeentwickler in ihrer Anleitung beschreiben ist das als falsch
Nein, aber die Installationswege (gibt unter Linux immer mehrere) passen nicht zum ioBroker.
Hier wird nodejs in der Version von 'nodesource' verwendet. Das ist auf dein System angepasst worden.werde als wenn ich nicht wüsste was ich tuhe werde ich mich dann hier mal zurück ziehen.
Wie man den ioBroker sauber installiert weißt du offenbar nicht.
ah ja und für alle die cryptisch nich verstehen
Ich verstehe die Meldung. Da ist die libgpiod oder opengpio in der falschen Version installiert.