Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter rpi2 2.x

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter rpi2 2.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Smallfeuer @Thomas Braun last edited by

      @thomas-braun Naja, bisher hörte sich das immer so an, als ob es bei dir mit der 2.3.0 funktioniert. Da du keine GPIO Pin nutzt, brauchst, geschweige denn testen möchtest, weiß ich ehrlich gesagt nicht wie wir hier weiter kommen wollen.
      Hatte ja gestern noch Hoffnung das es an meinem alten System liegt.

      @ALL Hat jemand die 2.3.0 evtl. mit der 32 Bit Lite Version am laufen, bzw. überhaupt irgendwie GPIO EIN-AUSgänge die er/sie nutzt?

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Smallfeuer last edited by

        @smallfeuer

        Ich weiß nicht mal wo und wie man die Dinger einstellt, weil ich das noch nie benötigt habe.

        S 1 Reply Last reply Reply Quote 0
        • S
          Smallfeuer @Thomas Braun last edited by

          @thomas-braun Na das ist easy, einfach bei der Instanz auf Einstellung, dann der Reiter GPIO und dort hinzufügen. Kannst die Pin 17 beispielsweise einfach als Eingang definieren. Dort auch wieder löschen, neustart -> Fehlermeldung wieder weg.

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Smallfeuer last edited by Thomas Braun

            @smallfeuer

            Hier kein Ding:

            2024-12-30 13:25:47.003  - info: rpi2.0 (558114) Got terminate signal TERMINATE_YOURSELF
            2024-12-30 13:25:47.011  - info: rpi2.0 (558114) terminating
            2024-12-30 13:25:47.013  - info: rpi2.0 (558114) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            2024-12-30 13:25:47.511  - info: rpi2.0 (558114) terminating
            2024-12-30 13:25:54.001  - info: rpi2.0 (609403) starting. Version 2.3.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v23.5.0, js-controller: 7.0.6
            
            

            Nix Fehlermeldung.

            Edit: Wenn ich den neuen Eintrag dann wieder lösche kommt natürlich korrekterweise der Hinweis, das kein GPIO konfiguriert ist:

            2024-12-30 13:35:54.277  - info: rpi2.0 (609889) starting. Version 2.3.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v23.5.0, js-controller: 7.0.6
            2024-12-30 13:35:54.846  - info: rpi2.0 (609889) GPIO ports are not configured
            
            
            S 1 Reply Last reply Reply Quote 0
            • S
              Smallfeuer @Thomas Braun last edited by Smallfeuer

              @thomas-braun na das ist ja interessant. Was für ein Pi hast du? Kann es sein das es an der Node Version liegt?
              Den State in den Objekten bekommst du angezeigt?

              S 1 Reply Last reply Reply Quote 0
              • S
                Smallfeuer @Smallfeuer last edited by Smallfeuer

                Ich hab jetzt node mal auf 23.5. gezogen -> ebenfalls keine Verbesserung.
                Wovon wir aber abgekommen sind, der Installationspfad.
                Für npm list | grep opengpio bekommme ich auf dem Raspberry Pi (SLAVE) keine Installation angezeigt. Das installiert er auf dem Master, darauf habe ich keinen Einfluss. Kann ich das manuell nachinstallieren? Am Master gibt es ja keine GPIO 😉

                Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Smallfeuer last edited by

                  @smallfeuer sagte in Test Adapter rpi2 2.x:

                  Das installiert er auf dem Master, darauf habe ich keinen Einfluss.

                  wieso nicht?
                  Hast du keinen SSH-Zugriff auf den Slave?

                  1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Smallfeuer last edited by

                    @smallfeuer sagte in Test Adapter rpi2 2.x:

                    Das installiert er auf dem Master, darauf habe ich keinen Einfluss.

                    Versuch den Adapter mal direkt auf dem Slave zu installieren. Mit der Option --host geht das.

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Thomas Braun last edited by

                      @thomas-braun ich dachte er meint opengpio würde auf dem Master installiert.
                      das kann man doch via SSH auf dem Slave installieren.

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Smallfeuer @Homoran last edited by

                        @homoran

                        Der 1. Befehlt (npm list | grep opengpio) gibt keine Ausgabe, der 2.( npm ls opengpio ) Befehlt passt wie folgt:

                        smallfeuer@pi3garage:/opt/iobroker $ npm list | grep opengpio
                        smallfeuer@pi3garage:/opt/iobroker $ cd /opt/iobroker
                        npm ls opengpio
                        iobroker.inst@3.0.0 /opt/iobroker
                        └─┬ iobroker.rpi2@2.3.0
                          └── opengpio@1.0.17
                        
                        smallfeuer@pi3garage:/opt/iobroker $
                        
                        

                        die Json Datei die wir gestern angesprochen haben liegt aber auf dem Master.

                        @thomas braun Kannst du mir sagen wie ich den Adapter jetzt mit --host installieren soll? Über benutzerdefinierte Installation ? -> dann so?

                        https://github.com/iobroker-community-adapters/ioBroker.rpi2.git --pi3garage
                        

                        oder via ssh ? mit welchem Befehl ?

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Smallfeuer @Smallfeuer last edited by Smallfeuer

                          @Homoran @thomas-braun

                          rpi2.0
                          2024-12-30 14:38:37.582	warn	If the library is installed and npm list | grep opengpio shows the npm library is also installed, please report this issue to the adapter developer with the model of your device and deboug output from an adapter start.
                          
                          rpi2.0
                          2024-12-30 14:38:37.581	warn	Please make sure that libgpiod-dev (on raspian/debian run sudo apt install libgpiod-dev) is installed in the system and then reinstall the adapter.
                          
                          rpi2.0
                          2024-12-30 14:38:37.579	warn	Cannot initialize GPIO: No chip found. GPIO functionality disabled!
                          
                          rpi2.0
                          2024-12-30 14:38:33.471	info	starting. Version 2.3.0 (non-npm: iobroker-community-adapters/ioBroker.rpi2#9c52326d12cf43e152fca1daedb16389cead6fb6) in /opt/iobroker/node_modules/iobroker.rpi2, node: v23.5.0, js-controller: 7.0.6
                          
                          host.pi3garage
                          2024-12-30 14:38:29.335	info	instance system.adapter.rpi2.0 in version "2.3.0" (non-npm: iobroker-community-adapters/ioBroker.rpi2#9c52326d12cf43e152fca1daedb16389cead6fb6) started with pid 1493
                          
                          host.pi3garage
                          2024-12-30 14:38:15.164	info	instance system.adapter.rpi2.0 terminated with code null ()
                          
                          host.pi3garage
                          2024-12-30 14:38:15.163	warn	instance system.adapter.rpi2.0 terminated due to SIGKILL
                          
                          host.pi3garage
                          2024-12-30 14:38:14.475	info	stopInstance timeout system.adapter.rpi2.0 killing pid 1485
                          
                          host.pi3garage
                          2024-12-30 14:38:13.473	info	stopInstance system.adapter.rpi2.0 send kill signal
                          
                          host.pi3garage
                          2024-12-30 14:38:13.343	info	stopInstance system.adapter.rpi2.0 (force=false, process=true)
                          
                          host.pi3garage
                          2024-12-30 14:38:12.435	info	instance system.adapter.rpi2.0 in version "2.3.0" (non-npm: iobroker-community-adapters/ioBroker.rpi2#9c52326d12cf43e152fca1daedb16389cead6fb6) started with pid 1485
                          
                          host.pi3garage
                          2024-12-30 14:38:00.516	info	iobroker exit 0
                          
                          host.pi3garage
                          2024-12-30 14:37:59.414	info	iobroker host.pi3garage object system.adapter.rpi2.0 created
                          
                          host.pi3garage
                          2024-12-30 14:37:59.353	info	iobroker host.pi3garage object system.adapter.rpi2.0.logLevel created
                          
                          host.pi3garage
                          2024-12-30 14:37:59.294	info	iobroker host.pi3garage object system.adapter.rpi2.0.sigKill created
                          
                          host.pi3garage
                          2024-12-30 14:37:59.234	info	iobroker host.pi3garage object system.adapter.rpi2.0.eventLoopLag created
                          
                          host.pi3garage
                          2024-12-30 14:37:59.178	info	iobroker host.pi3garage object system.adapter.rpi2.0.outputCount created
                          
                          host.pi3garage
                          2024-12-30 14:37:59.122	info	iobroker host.pi3garage object system.adapter.rpi2.0.inputCount created
                          
                          host.pi3garage
                          2024-12-30 14:37:59.061	info	iobroker host.pi3garage object system.adapter.rpi2.0.uptime created
                          
                          host.pi3garage
                          2024-12-30 14:37:59.013	info	iobroker host.pi3garage object system.adapter.rpi2.0.memRss created
                          
                          host.pi3garage
                          2024-12-30 14:37:58.962	info	iobroker host.pi3garage object system.adapter.rpi2.0.memHeapTotal created
                          
                          host.pi3garage
                          2024-12-30 14:37:58.906	info	iobroker host.pi3garage object system.adapter.rpi2.0.memHeapUsed created
                          
                          host.pi3garage
                          2024-12-30 14:37:58.851	info	iobroker host.pi3garage object system.adapter.rpi2.0.cputime created
                          
                          host.pi3garage
                          2024-12-30 14:37:58.790	info	iobroker host.pi3garage object system.adapter.rpi2.0.cpu created
                          
                          host.pi3garage
                          2024-12-30 14:37:58.734	info	iobroker host.pi3garage object system.adapter.rpi2.0.compactMode created
                          
                          host.pi3garage
                          2024-12-30 14:37:58.678	info	iobroker host.pi3garage object system.adapter.rpi2.0.connected created
                          
                          host.pi3garage
                          2024-12-30 14:37:58.618	info	iobroker host.pi3garage object system.adapter.rpi2.0.alive created
                          
                          host.pi3garage
                          2024-12-30 14:37:58.562	info	iobroker host.pi3garage create instance rpi2
                          
                          host.pi3garage
                          2024-12-30 14:37:50.686	info	iobroker add rpi2 auto --host pi3garage --debug
                          
                          host.pi3garage
                          2024-12-30 14:31:40.001	info	iobroker exit 0
                          
                          host.pi3garage
                          2024-12-30 14:31:36.084	info	iobroker Updating objects from io-package.json for adapter "rpi2" with version "2.3.0"
                          
                          host.pi3garage
                          2024-12-30 14:31:35.864	info	iobroker upload [0] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/words.js words.js application/javascript
                          
                          host.pi3garage
                          2024-12-30 14:31:35.714	info	iobroker upload [1] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/rpi2.png rpi2.png image/png
                          
                          host.pi3garage
                          2024-12-30 14:31:35.603	info	iobroker upload [2] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/jsonConfig.json jsonConfig.json application/json
                          
                          host.pi3garage
                          2024-12-30 14:31:35.425	info	iobroker upload [3] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                          
                          host.pi3garage
                          2024-12-30 14:31:35.293	info	iobroker upload [4] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/uk/translations.json i18n/uk/translations.json application/json
                          
                          host.pi3garage
                          2024-12-30 14:31:35.080	info	iobroker upload [5] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                          
                          host.pi3garage
                          2024-12-30 14:31:34.982	info	iobroker upload [6] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                          
                          host.pi3garage
                          2024-12-30 14:31:34.896	info	iobroker upload [7] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                          
                          host.pi3garage
                          2024-12-30 14:31:34.781	info	iobroker upload [8] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                          
                          host.pi3garage
                          2024-12-30 14:31:34.684	info	iobroker upload [9] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/it/translations.json i18n/it/translations.json application/json
                          
                          host.pi3garage
                          2024-12-30 14:31:34.564	info	iobroker upload [10] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                          
                          host.pi3garage
                          2024-12-30 14:31:34.393	info	iobroker upload [11] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/es/translations.json i18n/es/translations.json application/json
                          
                          host.pi3garage
                          2024-12-30 14:31:34.288	info	iobroker upload [12] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/en/translations.json i18n/en/translations.json application/json
                          
                          host.pi3garage
                          2024-12-30 14:31:34.125	info	iobroker upload [13] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/de/translations.json i18n/de/translations.json application/json
                          
                          host.pi3garage
                          2024-12-30 14:31:22.448	info	iobroker up to date in 3m57 packages are looking for funding run `npm fund` for details
                          
                          host.pi3garage
                          2024-12-30 14:28:09.019	info	iobroker Installing iobroker-community-adapters/ioBroker.rpi2#9c52326d12cf43e152fca1daedb16389cead6fb6... (System call)
                          
                          host.pi3garage
                          2024-12-30 14:28:09.016	info	iobroker NPM version: 10.9.2
                          
                          host.pi3garage
                          2024-12-30 14:28:08.497	info	iobroker install iobroker-community-adapters/ioBroker.rpi2#9c52326d12cf43e152fca1daedb16389cead6fb6
                          
                          host.pi3garage
                          2024-12-30 14:28:03.035	info	iobroker url https://github.com/iobroker-community-adapters/ioBroker.rpi2.git --host pi3garage --host pi3garage --debug
                          

                          In dem Files Pfad taucht allerdings kein rpi2.admin auf. Aber vielleicht hat er da auch nichts zu suchen. Diesen finde ich nur auf dem Master. Das Thema hatten wir gestern bereits angekratzt.

                          smallfeuer@pi3garage:/opt/iobroker/iobroker-data/files $ dir
                          admin.admin  backitup.admin  discovery.admin
                          

                          @smallfeuer sagte in Test Adapter rpi2 2.x:

                          @thomas-braun
                          Der Pfad /opt/iobroker/iobroker-date/files/rpi2.admin wurde bei mir auf dem Master erstellt. Nicht auf dem Slave. Ist das korrekt? Wäre es nicht sinnvoll das die Daten auf dem Slave installiert werden?

                          1 Reply Last reply Reply Quote 0
                          • S
                            stenmic @stoffel67 last edited by stenmic

                            ich wollte heute den Adapter auf einem neuen System endlich testen.

                            Pi4 mit Pi OS Lite (64-bit Bookworm)

                            Nach dem Start kommt fogende Meldung

                            rpi2.0
                            	2025-01-01 12:55:44.374	warn	If the library is installed and npm list | grep opengpio shows the npm library is also installed, please report this issue to the adapter developer with the model of your device and deboug output from an adapter start.
                            rpi2.0
                            	2025-01-01 12:55:44.373	warn	Please make sure that libgpiod-dev (on raspian/debian run sudo apt install libgpiod-dev) is installed in the system and then reinstall the adapter.
                            rpi2.0
                            	2025-01-01 12:55:44.372	warn	Cannot initialize GPIO: No chip found. GPIO functionality disabled!
                            
                            sudo apt install libgpiod-dev
                            Reading package lists... Done
                            Building dependency tree... Done
                            Reading state information... Done
                            libgpiod-dev is already the newest version (1.6.3-1+b3).
                            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                            
                            

                            npm list | grep opengpio zeigt nix an.

                            Ich möchte lediglich den Reeder meiner Gasuhr einbinden.
                            2025-01-01 13 04 20.jpg

                            Jemand einen Tipp für mich?

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @stenmic last edited by

                              @stenmic sagte in Test Adapter rpi2 2.x:

                              npm list | grep opengpio zeigt nix an.

                              Kann auch nicht. Der Befehl lautet

                              cd /opt/iobroker && npm ls opengpio
                              
                              S 2 Replies Last reply Reply Quote 1
                              • S
                                stenmic @Thomas Braun last edited by

                                @thomas-braun sagte in Test Adapter rpi2 2.x:

                                cd /opt/iobroker && npm ls opengpio

                                dann komm das hier

                                pi@Smartmeter:~ $ cd /opt/iobroker && npm ls opengpio
                                iobroker.inst@3.0.0 /opt/iobroker
                                └─┬ iobroker.rpi2@2.2.1
                                  └── opengpio@1.0.17
                                
                                pi@Smartmeter:/opt/iobroker $
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • S
                                  stenmic @Thomas Braun last edited by

                                  @thomas-braun muss ich noch etwas unter "raspi-config" einstellen?

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @stenmic last edited by

                                    @stenmic

                                    2025-01-01 12:55:44.374 warn If the library is installed and npm list | grep opengpio shows the npm library is also installed, please report this issue to the adapter developer with the model of your device and deboug output from an adapter start.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stenmic @Thomas Braun last edited by

                                      @thomas-braun sagte in Test Adapter rpi2 2.x:

                                      @smallfeuer sagte in Test Adapter rpi2 2.x:

                                      2024-12-30 12:24:43.719 warn Cannot initialize GPIO: No chip found. GPIO functionality disabled!

                                      Ist das im

                                      rpi-config
                                      

                                      aktiviert?

                                      was muss denn in der config aktiviert werden?

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @stenmic last edited by

                                        @stenmic

                                        'Früher' konnte man da soweit ich weiß die GPIOs einstellen. Ist aber wohl rausgefallen.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          Smallfeuer @Thomas Braun last edited by

                                          @thomas-braun
                                          @stenmic
                                          @Homoran

                                          Wenn ich es richtig sehe liegt der Fehler in der Initialisierung des richtigen Pi. Der Fehler läuft also in der Abfrage in der Datei gpioControl.js in den Fehler.

                                          Pi kleiner 5 sollte hier also gpio Chip 0 sein. ansonsten 4.

                                          Vielleicht sieht hier einer von euch das Problem: Zeile 9 liest er das Model aus, oder versucht es aus der Info:
                                          der Befehl

                                          cat /proc/cpuinfo
                                          

                                          ergibt bei mir in der letzten Zeile:

                                          "Model           : Raspberry Pi 3 Model B Rev 1.2"
                                          

                                          was hier anscheinend abgefragt wird - mal ein Ausschnitt aus der Datei - am Ende unsere Fehlermeldung:

                                          function getRaspberryModelFromCpuInfo(cpuinfo) {
                                              //Zero reports: Raspberry Pi Zero 2 W Rev 1.0
                                              // RPi Zero family has a different naming.
                                              // All Rpi Zero share the same ChipNum as RPi 1 and thus can all be handled as a Rpi 1.
                                              if (cpuinfo.includes('Zero')) {
                                                  return 1;
                                              }
                                          
                                              const modelRegEx = /^Raspberry Pi (\d+) Model.*/mi;
                                              const model = modelRegEx.exec(cpuinfo)[1];
                                              return Number(model);
                                          }
                                          
                                          class GpioControl {
                                              constructor(adapter, log) {
                                                  this.adapter = adapter;
                                                  this.gpioChip = null;
                                                  //this.gpioButtons = null;
                                                  this.log = log;
                                                  this.gpioPorts = [];
                                                  this.gpioSettings = [];
                                                  this.gpioPortLastWrite = [];
                                                  this.gpioInputPorts = [];
                                                  this.gpioOutputPorts = [];
                                                  this.gpioInputPortsHandler = null;
                                              }
                                          
                                              /**
                                               * Setup GPIO ports & buttons
                                               * @param gpioPorts {Array<Object>}
                                               * @param buttonPorts {Array<Object>}
                                               * @returns undefined
                                               */
                                              async setupGpio(gpioPorts, buttonPorts) {
                                                  if (gpioPorts.length === 0 && buttonPorts.length === 0) return;
                                          
                                                  try {
                                          
                                                      const { DefaultDevice, Edge } = require('opengpio');
                                          
                                                      let chipNum = 0;
                                                      try {
                                                          this.log.debug(DefaultDevice);
                                          
                                                          const {stdout, stderr} = await exec('cat /proc/device-tree/model');
                                                          this.log.debug('CPU Info: ' + stdout);
                                                          this.log.debug('STDERR: ' + stderr);
                                                          const model = getRaspberryModelFromCpuInfo(stdout);
                                                          this.log.debug(`Got ${model} from ${stdout}.`);
                                                          if (model >= 5) {
                                                              this.log.debug('Using GPIO chip 4 for Raspberry Pi 5 or newer.');
                                                              chipNum = 4;
                                                          }
                                                          this.gpioChip = true; //let's keep this condition for now.
                                                      } catch (e) {
                                                          this.log.error('Cannot read CPU Info: ' + e);
                                                      }
                                          
                                                      this.gpioChip = DefaultDevice;
                                                      if (this.gpioChip === undefined) {
                                                          this.log.warn('Cannot initialize GPIO: No chip found. GPIO functionality disabled!');
                                                          this.log.warn('Please make sure that libgpiod-dev (on raspian/debian run sudo apt install libgpiod-dev) is installed in the system and then reinstall the adapter.');
                                                          this.log.warn('If the library is installed and npm list | grep opengpio shows the npm library is also installed, please report this issue to the adapter developer with the model of your device and deboug output from an adapter start.');
                                                      }
                                                      this.log.debug('Got chip: ' + this.gpioChip);
                                                      this.log.debug(`GPIO chip ${JSON.stringify(this.gpioChip?.info)} initialized`);
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • Garfonso
                                            Garfonso Developer @searcher57 last edited by

                                            @searcher57 said in Test Adapter rpi2 2.x:

                                            So jetzt hab ich es!

                                            Jo... das ist das debug log.
                                            Puh... keine Idee, was das ist... 😕

                                            Letzter Strohalm war, dass du opengio@1.0.17 installiert hast. Hab ich jetzt auch mal bei mir installiert, aber läuft weiterhin...

                                            @smallfeuer said in Test Adapter rpi2 2.x:

                                            In dem Files Pfad taucht allerdings kein rpi2.admin auf

                                            Das (und alles, was mit upload passiert) hat nur was mit der Configseite zu tun. Kann gut sein, dass das nur da benötigt wird, wo admin installiert ist (also vermutlich auf dem Master). Die Datei wird jedenfalls nichts mit deinem Problem zu tun haben.

                                            An euch beide, könnt ihr mal gucken, ob im Pfad /opt/iobroker/node_modules/opengpio/build/Release eine Datei opengpio.node liegt? (sollte eigentlich, sonst sollte der Adapter nicht starten bzw. abstürzen, beim Versuch das zu laden, aber wer weiß)

                                            @smallfeuer said in Test Adapter rpi2 2.x:

                                            Wenn ich es richtig sehe liegt der Fehler in der Initialisierung des richtigen Pi

                                            Wie kommst du darauf?
                                            Und warum sollte es da ein Problem geben? Wenn du das vermutest, dann mach doch mal debug log an und guck, welchen Chip er für den RPI 3 nimmt.

                                            Er nimmt übrigens nicht /proc/cpuinfo, sondern /proc/device-tree/model (wie man in dem von dir kopierten Code-Teil auch sehen kann). Da steht nur das Modell drin, daher passt damit auch der RegEx (hast mich erst geschockt 😛 ).
                                            Ich nehme gerne Alternativvorschläge für den Code entgegen (als PR auf Github). Bisher war das so die einfachste Lösung. 🙂 Und ich bin mir relativ sicher, dass es an der Stelle kein Problem gibt... ich fürchte es gibt da irgendwo subtile Buildprobleme oder irgendwas in der Richtung.... 😕

                                            S S 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            897
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            27
                                            496
                                            62360
                                            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