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.
    • Moppedman
      Moppedman @Laser last edited by

      @laser Dazu habe ich ja mit @garfonso geschrieben. Er hat zuletzt ja gesagt das anpassen zu wollen. Wenn er das eingebaut hat, kannst du das Startverhalten über die Adaptereinstellung einstellen wie du willst.

      1 Reply Last reply Reply Quote 1
      • Moppedman
        Moppedman @Garfonso last edited by

        @garfonso Erst man vielen Dank das du das Startverhalten anpassen willst. Wenn du das fertig hast teste ich das gerne für dich. Einfach nur melden

        Hinsichtlich des Freischalten verstehe ich jetzt, das weder im alten noch im neunen Adapter die Ausgänge zurückgeschaltet werden.

        Kann es sein das im Betriebssystem für die GPIOs dieses Verhalten hinterlegt ist. Wenn ich das richtig gelesen habe wurden die GPIO von der Pi Foundation völlig neu aufgesetzt.

        Garfonso 2 Replies Last reply Reply Quote 0
        • S
          searcher57 @Garfonso last edited by

          @garfonso
          Hallo,
          was ist denn jetzt los? Auf einmal funktioniert der Gaszähler nicht mehr.
          Deinen Hinweis habe ich durchgeführt.

           sudo apt install libgpiod-dev
          Paketlisten werden gelesen… Fertig
          Abhängigkeitsbaum wird aufgebaut… Fertig
          Statusinformationen werden eingelesen… Fertig
          libgpiod-dev ist schon die neueste Version (1.6.3-1+b3).
          Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
            linux-headers-6.6.47+rpt-common-rpi linux-kbuild-6.6.47+rpt
          Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
          0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
          

          Trotzdem kommen folgende Fehlermeldungen auf meinem Raspi 5:

          v7.1.5
          13
          
          Log-Größe: 135.0 KB
          Zeit
          	
          rpi2.0
          	2024-12-22 13:58:12.326	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-22 13:58:12.326	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-22 13:58:12.325	warn	Cannot initialize GPIO: No chip found. GPIO functionality disabled!
          rpi2.0
          	2024-12-22 13:58:12.090	info	starting. Version 2.2.1 in /opt/iobroker/node_modules/iobroker.rpi2, node: v20.18.1, js-controller: 7.0.3
          

          Hast Du vielleicht eine Erklärung? Bis gestern hat alles funktioniert, wie es soll.

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

            @searcher57

            sudo apt update
            apt policy libgpiod*
            

            sagt? Und hast du den Adapter reinstalliert?
            Mal in

            raspi-config
            

            nach gpio geschaut?

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

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

              raspi-config

              So ich habe in der config I8 Remote GPIO Enable/disable remote access to GPIO pins aktiviert. Oder ist das falsch?

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

              @searcher57

              sudo apt update
              apt policy libgpiod*
              

              sagt? Und hast du den Adapter reinstalliert?
              Mal in

              raspi-config
              

              nach gpio geschaut?

              Also ich habe GPIO aktiviert, oder war das falsch?

              Hier die Ausgabe:

              sudo apt update
              apt policy libgpiod*
              OK:1 http://deb.debian.org/debian bookworm InRelease
              OK:2 http://deb.debian.org/debian-security bookworm-security InRelease
              Holen:3 http://deb.debian.org/debian bookworm-updates InRelease [55,4 kB]
              OK:4 http://archive.raspberrypi.com/debian bookworm InRelease
              OK:5 https://repos.influxdata.com/debian stable InRelease
              OK:6 https://deb.nodesource.com/node_20.x nodistro InRelease
              OK:7 https://repo.mosquitto.org/debian bookworm InRelease
              Es wurden 55,4 kB in 1 s geholt (85,0 kB/s).
              Paketlisten werden gelesen… Fertig
              Abhängigkeitsbaum wird aufgebaut… Fertig
              Statusinformationen werden eingelesen… Fertig
              Alle Pakete sind aktuell.
              libgpiod-dev:
                Installiert:           1.6.3-1+b3
                Installationskandidat: 1.6.3-1+b3
                Versionstabelle:
               *** 1.6.3-1+b3 500
                      500 http://deb.debian.org/debian bookworm/main arm64 Packages
                      100 /var/lib/dpkg/status
              libgpiod-doc:
                Installiert:           (keine)
                Installationskandidat: 1.6.3-1
                Versionstabelle:
                   1.6.3-1 500
                      500 http://deb.debian.org/debian bookworm/main arm64 Packages
                      500 http://deb.debian.org/debian bookworm/main armhf Packages
              libgpiod2:
                Installiert:           1.6.3-1+b3
                Installationskandidat: 1.6.3-1+b3
                Versionstabelle:
               *** 1.6.3-1+b3 500
                      500 http://deb.debian.org/debian bookworm/main arm64 Packages
                      100 /var/lib/dpkg/status
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @searcher57 last edited by

                @searcher57 sagte in Test Adapter rpi2 2.x:

                Also ich habe GPIO aktiviert, oder war das falsch?

                Nein, das passt.

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

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

                  @searcher57 sagte in Test Adapter rpi2 2.x:

                  Also ich habe GPIO aktiviert, oder war das falsch?

                  Nein, das passt.

                  Bis jetzt kein Erfolg. In der Config habe ich vorher nie etwas eingestellt.

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

                    @searcher57
                    Und was verrät

                    cd /opt/iobroker/ && npm ls opengpio
                    

                    Adapter nochmal drüber installiert?

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

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

                      @searcher57
                      Und was verrät

                      cd /opt/iobroker/ && npm ls opengpio
                      
                      pi@Raspi58GB:~ $ cd /opt/iobroker/ && npm ls opengpio
                      iobroker.inst@3.0.0 /opt/iobroker
                      └─┬ iobroker.rpi2@2.2.2
                        └── opengpio@1.0.17
                      
                      pi@Raspi58GB:/opt/iobroker $
                      
                      

                      Adapter gerade neu installiert, ohne Erfolg!

                      S Homoran 2 Replies Last reply Reply Quote 0
                      • S
                        searcher57 @searcher57 last edited by

                        @searcher57 said in Test Adapter rpi2 2.x:

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

                        @searcher57
                        Und was verrät

                        cd /opt/iobroker/ && npm ls opengpio
                        
                        pi@Raspi58GB:~ $ cd /opt/iobroker/ && npm ls opengpio
                        iobroker.inst@3.0.0 /opt/iobroker
                        └─┬ iobroker.rpi2@2.2.2
                          └── opengpio@1.0.17
                        
                        pi@Raspi58GB:/opt/iobroker $
                        
                        

                        Adapter gerade neu installiert, ohne Erfolg!

                        Hier nochmal das Protokoll:

                        pi2.0
                        	2024-12-22 16:20:54.990	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-22 16:20:54.990	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-22 16:20:54.989	warn	Cannot initialize GPIO: No chip found. GPIO functionality disabled!
                        rpi2.0
                        	2024-12-22 16:20:54.675	info	starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.rpi2, node: v20.18.1, js-controller: 7.0.3
                        rpi2.0
                        	2024-12-22 16:20:50.340	info	terminating
                        rpi2.0
                        	2024-12-22 16:20:49.841	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                        rpi2.0
                        	2024-12-22 16:20:49.840	info	terminating
                        rpi2.0
                        	2024-12-22 16:20:49.839	info	Got terminate signal TERMINATE_YOURSELF
                        rpi2.0
                        	2024-12-22 16:19:27.683	info	GPIO ports are not configured
                        rpi2.0
                        	2024-12-22 16:19:26.628	info	starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.rpi2, node: v20.18.1, js-controller: 7.0.3
                        rpi2.0
                        	2024-12-22 16:16:33.859	info	terminating
                        rpi2.0
                        	2024-12-22 16:16:33.359	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                        rpi2.0
                        	2024-12-22 16:16:33.359	info	terminating
                        rpi2.0
                        	2024-12-22 16:16:33.358	info	Got terminate signal TERMINATE_YOURSELF
                        rpi2.0
                        	2024-12-22 16:05:28.448	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-22 16:05:28.448	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.
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @searcher57 last edited by

                          @searcher57 sagte in Test Adapter rpi2 2.x:

                          Adapter gerade neu installiert, ohne Erfolg!

                          bist du sicher?

                          nicht nur die Instanz neu erstellt?

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

                            @homoran said in Test Adapter rpi2 2.x:

                            @searcher57 sagte in Test Adapter rpi2 2.x:

                            Adapter gerade neu installiert, ohne Erfolg!

                            bist du sicher?

                            nicht nur die Instanz neu erstellt?

                            Ja, bin mir sicher. Den Adapter gelöscht und über beta neu installiert und konfiguriert.

                            c16f4753-a4f1-426c-aee9-8ad92f566160-grafik.png

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

                              @searcher57 sagte in Test Adapter rpi2 2.x:

                              Dann bitte:

                              please report this issue to the adapter developer with the model of your device and deboug output from an adapter start

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

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

                                @searcher57 sagte in Test Adapter rpi2 2.x:

                                Dann bitte:

                                please report this issue to the adapter developer with the model of your device and deboug output from an adapter start

                                Danke für Deine Mühe! Habe ich schon gemacht!

                                Frohe Weihnachten!!

                                Thomas Braun Garfonso 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @searcher57 last edited by

                                  @searcher57

                                  Hier?

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

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

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

                                    @searcher57

                                    Hier?

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

                                    Nein, mache ich!

                                    1 Reply Last reply Reply Quote 0
                                    • Garfonso
                                      Garfonso Developer @Moppedman last edited by

                                      @moppedman

                                      Gerne die 2.3.0 testen, die bald im latest / auf npm erscheinen sollte.

                                      Da habe ich es jetzt so angepasst, dass Einfach nur Ausgang gar nicht beim starten gesetzt wird und die mit Startwert entsprechend einmal beim starten gesetzt werden, egal was jeweils im state (noch) steht.

                                      Moppedman 1 Reply Last reply Reply Quote 0
                                      • Garfonso
                                        Garfonso Developer @Moppedman last edited by

                                        @moppedman said in Test Adapter rpi2 2.x:

                                        Kann es sein das im Betriebssystem für die GPIOs dieses Verhalten hinterlegt ist. Wenn ich das richtig gelesen habe wurden die GPIO von der Pi Foundation völlig neu aufgesetzt.

                                        Ja, das ist meine Vermutung, dass es daran liegt. Ich habe extra nochmal in die alte Bibliothek reingeguckt, ob die da irgendwas macht. Aber da passiert beim beenden überall nichts.

                                        Wenn das wichtig ist, könnte man das vielleicht als zusätzlichen Konfigurationsparameter beim Ausgang mit dazu geben.

                                        1 Reply Last reply Reply Quote 0
                                        • Garfonso
                                          Garfonso Developer @searcher57 last edited by

                                          @searcher57
                                          debug log steht da. Bitte mal auf debug stellen und das log von nem Adapter start einfügen. Wenn wir Glück haben steht da was drinnen.... ansonsten hab ich spontan keine Idee, was da noch schief gehen soll. 😕

                                          Frohe Weihnachten trotzdem. 🙂

                                          S 2 Replies Last reply Reply Quote 0
                                          • S
                                            searcher57 @Garfonso last edited by

                                            @garfonso said in Test Adapter rpi2 2.x:

                                            @searcher57
                                            debug log steht da. Bitte mal auf debug stellen und das log von nem Adapter start einfügen. Wenn wir Glück haben steht da was drinnen.... ansonsten hab ich spontan keine Idee, was da noch schief gehen soll. 😕

                                            Frohe Weihnachten trotzdem. 🙂

                                            Habe ich in GitHub schon gemacht, aber hier nochmal:

                                            rpi2.0
                                            	2024-12-24 11:25:59.212	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-24 11:25:59.212	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-24 11:25:59.211	warn	Cannot initialize GPIO: No chip found. GPIO functionality disabled!
                                            rpi2.0
                                            	2024-12-24 11:25:58.956	info	starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.rpi2, node: v20.18.1, js-controller: 7.0.3
                                            rpi2.0
                                            	2024-12-24 11:25:51.507	info	terminating
                                            rpi2.0
                                            	2024-12-24 11:25:51.008	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                            rpi2.0
                                            	2024-12-24 11:25:51.008	info	terminating
                                            rpi2.0
                                            	2024-12-24 11:25:51.006	info	Got terminate signal TERMINATE_YOURSELF
                                            

                                            Auch Dir frohe und besinnliche Weihnachten!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            896
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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