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

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • 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.
    • Homoran
      Homoran Global Moderator Administrators @Zimbl last edited by

      @zimbl sagte in Test Adapter rpi2 2.x:

      Weil mit dem alten PI2 hatte ich keine Probleme.

      es ist nicht der Pi2 oder 5, sondern das komplett neu gestrickte Betriebssystem, das mit Bookworm kam.

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

        Also bei mir geht jetzt auf dem Pi3 nichts mehr.
        Alles bereinigt, Adapter gelöscht, Update und upgrade & IOB update -> alles erledigt.
        GPIO kann ich auch nicht mehr manuell auslesen .. gpio readall bringt kein ergebnis
        Ideen?

        
        rpi2.0
        2024-12-29 20:09:32.163	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-29 20:09:32.161	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-29 20:09:32.158	warn	Cannot initialize GPIO: No chip found. GPIO functionality disabled!
        
        rpi2.0
        2024-12-29 20:09:29.021	info	starting. Version 2.3.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v18.17.1, js-controller: 7.0.6
        
        rpi2.0
        2024-12-29 20:09:11.869	info	terminating
        
        rpi2.0
        2024-12-29 20:09:11.374	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
        
        rpi2.0
        2024-12-29 20:09:11.369	info	terminating
        
        rpi2.0
        2024-12-29 20:09:11.362	info	Got terminate signal TERMINATE_YOURSELF
        
        rpi2.0
        2024-12-29 20:08:40.966	info	GPIO ports are not configured
        
        rpi2.0
        2024-12-29 20:08:36.489	info	starting. Version 2.3.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v18.17.1, js-controller: 7.0.6
        
        rpi2.0
        2024-12-29 15:55:32.670	info	terminating
        
        rpi2.0
        2024-12-29 15:55:32.174	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
        
        rpi2.0
        2024-12-29 15:55:32.171	info	terminating
        
        rpi2.0
        2024-12-29 15:55:32.165	info	Got terminate signal TERMINATE_YOURSELF
        
        S 1 Reply Last reply Reply Quote 0
        • S
          Smallfeuer @Smallfeuer last edited by

          @smallfeuer sagte in Test Adapter rpi2 2.x:

          If the library is installed

          pi@Pi3IOBrokerGarage:~ $ sudo apt-get update && sudo apt-get upgrade
          Holen:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
          OK:2 https://deb.nodesource.com/node_18.x buster InRelease
          OK:3 http://archive.raspberrypi.org/debian buster InRelease
          Es wurden 15,0 kB in 1 s geholt (11,3 kB/s).
          Paketlisten werden gelesen... Fertig
          Paketlisten werden gelesen... Fertig
          Abhängigkeitsbaum wird aufgebaut.
          Statusinformationen werden eingelesen.... Fertig
          Paketaktualisierung (Upgrade) wird berechnet... Fertig
          0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
          pi@Pi3IOBrokerGarage:~ $ sudo apt-get install -y build-essential python
          Paketlisten werden gelesen... Fertig
          Abhängigkeitsbaum wird aufgebaut.
          Statusinformationen werden eingelesen.... Fertig
          build-essential ist schon die neueste Version (12.6).
          python ist schon die neueste Version (2.7.16-1).
          0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
          pi@Pi3IOBrokerGarage:~ $ sudo apt-get install -y libgpiod-dev
          Paketlisten werden gelesen... Fertig
          Abhängigkeitsbaum wird aufgebaut.
          Statusinformationen werden eingelesen.... Fertig
          libgpiod-dev ist schon die neueste Version (1.2-3+rpi1).
          0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
          pi@Pi3IOBrokerGarage:~ $ sudo apt-get install -y libgpiod-dev
          Paketlisten werden gelesen... Fertig
          Abhängigkeitsbaum wird aufgebaut.
          Statusinformationen werden eingelesen.... Fertig
          libgpiod-dev ist schon die neueste Version (1.2-3+rpi1).
          0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Smallfeuer last edited by

            @smallfeuer

            Buster ist ZU ALT!!!
            Seit Jahren tot. Beerdige das Ding.

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

              @thomas-braun Also das Gesamte System platt machen und was (?) raufspielen? Sorry, es gibt echt so viele Versionen. Der Pi läuft nur im Slave. Normalerweise sollte es total egal sein, welches System...aber gut. Was muss auf die SD Karte?

              Thomas Braun 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:

                Normalerweise sollte es total egal sein, welches System

                Nein, ist es nicht...

                https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht

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

                  @thomas-braun Dann hol ich mal meine SD-Karte rein. Hätte gedacht sowas einfaches wie GPIO IN/OUT zu setzen würde in der BASIS nicht vom Betriebssystem abhängen, aber da lieg ich ja anscheinend daneben. Wurde wohl viel optimiert. Na ich gebe später ein Feedback, ob es wieder läuft. Danke schonmal.

                  Thomas Braun 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:

                    Hätte gedacht sowas einfaches wie GPIO IN/OUT zu setzen würde in der BASIS nicht vom Betriebssystem abhängen

                    Wovon denn sonst?

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

                      @thomas-braun Kein plan.. das ist wie im DOS. Egal welche Version, es gab immer ne autoexec.bat 😉

                      Egal. Aber eine Frage dazu noch -> Ich muss dann sicher den Slave im IOB trennen und neu hinzufügen, oder?
                      Hast du den Befehl parat, ansonsten such ich mich durch.

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

                        sudo apt-get install -y build-essential python
                        Reading package lists... Done
                        Building dependency tree... Done
                        Reading state information... Done
                        Package python is not available, but is referred to by another package.
                        This may mean that the package is missing, has been obsoleted, or
                        is only available from another source
                        However the following packages replace it:
                          python-is-python3 2to3
                        
                        E: Package 'python' has no installation candidate
                        

                        Muss ich hier dann "sudo apt-get install -y build-essential python3" eingeben?

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

                          @smallfeuer

                          Ja, das Paket heißt python3

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

                            @thomas-braun
                            Ok, hab ich installiert.

                            Danach die Instanz:

                            
                            rpi2.0
                            2024-12-29 21:52:51.130	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-29 21:52:51.129	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-29 21:52:51.126	warn	Cannot initialize GPIO: No chip found. GPIO functionality disabled!
                            
                            rpi2.0
                            2024-12-29 21:52:49.119	info	starting. Version 2.3.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v20.18.1, js-controller: 7.0.6
                            

                            Der Befehl npm list | grep opengpio bringt auch keine Ausgabe

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

                              @smallfeuer sagte in Test Adapter rpi2 2.x:

                              Der Befehl npm list | grep opengpio bringt auch keine Ausgabe

                              In welchem Verzeichnis ausgeführt?
                              Am besten immer die vollen Ein- und Ausgaben inkl. prompt im Terminal zeigen.

                              Der adapter sollte sich eigentlich so melden:

                              2024-12-29 21:57:25.585  - info: rpi2.0 (558114) starting. Version 2.3.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v23.5.0, js-controller: 7.0.6
                              2024-12-29 21:57:26.227  - info: rpi2.0 (558114) GPIO ports are not configured
                              

                              GPIOs habe ich auf meiner Kiste nicht eingestellt, daher die Meldung an der Stelle.

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

                                @thomas-braun

                                smallfeuer@pi3garage:~ $ npm list | grep opengpio
                                smallfeuer@pi3garage:~ $
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Smallfeuer last edited by

                                  @smallfeuer

                                  Logisch, in ~ / deinem home ist ja auch kein npm-Modul installiert...
                                  Du musst zuvor in das Installationsverzeichnis wechseln.

                                  cd /opt/iobroker
                                  npm ls opengpio
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    Smallfeuer @Thomas Braun last edited by

                                    @thomas-braun
                                    Ich hab mal ein zwei Pfade probiert...

                                    
                                    smallfeuer@pi3garage:/opt/iobroker/node_modules/iobroker.rpi2 $ npm list | grep opengpio
                                    ├── UNMET DEPENDENCY opengpio@^1.0.16
                                    npm error code ELSPROBLEMS
                                    npm error missing: @alcalzone/release-script-plugin-iobroker@^3.7.2, required by iobroker.rpi2@2.3.                                              0
                                    npm error missing: @alcalzone/release-script-plugin-license@^3.7.0, required by iobroker.rpi2@2.3.0
                                    npm error missing: @alcalzone/release-script-plugin-manual-review@^3.7.0, required by iobroker.rpi2                                              @2.3.0
                                    npm error missing: @alcalzone/release-script@^3.8.0, required by iobroker.rpi2@2.3.0
                                    npm error missing: @iobroker/adapter-core@^3.2.2, required by iobroker.rpi2@2.3.0
                                    npm error missing: @iobroker/adapter-dev@^1.3.0, required by iobroker.rpi2@2.3.0
                                    npm error missing: @iobroker/testing@^5.0.0, required by iobroker.rpi2@2.3.0
                                    npm error missing: @tsconfig/node18@^18.2.4 < 19, required by iobroker.rpi2@2.3.0
                                    npm error missing: @types/chai-as-promised@^8.0.1, required by iobroker.rpi2@2.3.0
                                    npm error missing: @types/chai@^4.3.20, required by iobroker.rpi2@2.3.0
                                    npm error missing: @types/mocha@^10.0.10, required by iobroker.rpi2@2.3.0
                                    npm error missing: @types/node@^18.19.54 < 19, required by iobroker.rpi2@2.3.0
                                    npm error missing: @types/proxyquire@^1.3.31, required by iobroker.rpi2@2.3.0
                                    npm error missing: @types/sinon-chai@^3.2.12, required by iobroker.rpi2@2.3.0
                                    npm error missing: @types/sinon@^17.0.3, required by iobroker.rpi2@2.3.0
                                    npm error missing: chai-as-promised@^8.0.1, required by iobroker.rpi2@2.3.0
                                    npm error missing: chai@^4.4.1, required by iobroker.rpi2@2.3.0
                                    npm error missing: ci@^2.3.0, required by iobroker.rpi2@2.3.0
                                    npm error missing: eslint@^8.57.1, required by iobroker.rpi2@2.3.0
                                    npm error missing: mocha@^10.8.2, required by iobroker.rpi2@2.3.0
                                    npm error missing: opengpio@^1.0.16, required by iobroker.rpi2@2.3.0
                                    npm error missing: proxyquire@^2.1.3, required by iobroker.rpi2@2.3.0
                                    npm error missing: sinon-chai@^3.7.0, required by iobroker.rpi2@2.3.0
                                    npm error missing: sinon@^19.0.2, required by iobroker.rpi2@2.3.0
                                    npm error missing: typescript@~5.7.2, required by iobroker.rpi2@2.3.0
                                    npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-12-29T21_01_25                                              _587Z-debug-0.log
                                    smallfeuer@pi3garage:/opt/iobroker/node_modules/iobroker.rpi2 $ ^C
                                    smallfeuer@pi3garage:/opt/iobroker/node_modules/iobroker.rpi2 $ cd
                                    smallfeuer@pi3garage:~ $ cd /opt/iobroker
                                    smallfeuer@pi3garage:/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 $ npm list | grep opengpio
                                    smallfeuer@pi3garage:/opt/iobroker $ cd
                                    smallfeuer@pi3garage:~ $ npm list | grep opengpio
                                    smallfeuer@pi3garage:~ $
                                    
                                    
                                    Thomas Braun 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:

                                      Ich hab mal ein zwei Pfade probiert...

                                      Du sollst nix probieren, du sollst in das richtige Verzeichnis gehen...
                                      Schaut auf einem gescheiten System dann so aus:

                                      echad@chet:/opt/iobroker $ npm ls opengpio
                                      iobroker.inst@3.0.0 /opt/iobroker
                                      └─┬ iobroker.rpi2@2.3.0
                                        └── opengpio@1.0.16
                                      
                                      echad@chet:/opt/iobroker $ 
                                      
                                      S 2 Replies Last reply Reply Quote 0
                                      • S
                                        Smallfeuer @Thomas Braun last edited by

                                        @thomas-braun Na das steht in Zeile 35-37 auch 🙂

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

                                          @thomas-braun Aber merkwürdig, in Zeile 3 (wenn auch zu tief im Pfad) zeigt er

                                          ├── UNMET DEPENDENCY opengpio@^1.0.16
                                          

                                          Zeile 34-37 dann:

                                          smallfeuer@pi3garage:/opt/iobroker $ npm ls opengpio
                                          iobroker.inst@3.0.0 /opt/iobroker
                                          └─┬ iobroker.rpi2@2.3.0
                                            └── opengpio@1.0.17
                                          
                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            Smallfeuer @Smallfeuer last edited by Smallfeuer

                                            @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?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            748
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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