Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter rpi2 2.x

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

Test Adapter rpi2 2.x

Geplant Angeheftet Gesperrt Verschoben Tester
519 Beiträge 29 Kommentatoren 148.3k Aufrufe 20 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @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 Offline
    S Offline
    Smallfeuer
    schrieb am zuletzt editiert von
    #314

    @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 Antwort Letzte Antwort
    0
    • S Smallfeuer

      @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 Offline
      S Offline
      Smallfeuer
      schrieb am zuletzt editiert von
      #315
      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 BraunT 1 Antwort Letzte Antwort
      0
      • S Smallfeuer
        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 BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #316

        @smallfeuer

        Ja, das Paket heißt python3

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        S 1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @smallfeuer

          Ja, das Paket heißt python3

          S Offline
          S Offline
          Smallfeuer
          schrieb am zuletzt editiert von
          #317

          @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 BraunT 1 Antwort Letzte Antwort
          0
          • S Smallfeuer

            @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 BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von Thomas Braun
            #318

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

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            S 2 Antworten Letzte Antwort
            0
            • Thomas BraunT 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 Offline
              S Offline
              Smallfeuer
              schrieb am zuletzt editiert von
              #319

              @thomas-braun

              smallfeuer@pi3garage:~ $ npm list | grep opengpio
              smallfeuer@pi3garage:~ $
              
              
              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • S Smallfeuer

                @thomas-braun

                smallfeuer@pi3garage:~ $ npm list | grep opengpio
                smallfeuer@pi3garage:~ $
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #320

                @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
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                S 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @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 Offline
                  S Offline
                  Smallfeuer
                  schrieb am zuletzt editiert von
                  #321

                  @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 BraunT 1 Antwort Letzte Antwort
                  0
                  • S Smallfeuer

                    @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 BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #322

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

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    S 2 Antworten Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @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 Offline
                      S Offline
                      Smallfeuer
                      schrieb am zuletzt editiert von
                      #323

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

                      1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @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 Offline
                        S Offline
                        Smallfeuer
                        schrieb am zuletzt editiert von
                        #324

                        @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 Antwort Letzte Antwort
                        0
                        • S Smallfeuer

                          @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 Offline
                          S Offline
                          Smallfeuer
                          schrieb am zuletzt editiert von Smallfeuer
                          #325

                          @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 BraunT 1 Antwort Letzte Antwort
                          0
                          • S 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 BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #326

                            @smallfeuer

                            Das wird dahin installiert, wo du sagst das es hin soll...

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            S 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @smallfeuer

                              Das wird dahin installiert, wo du sagst das es hin soll...

                              S Offline
                              S Offline
                              Smallfeuer
                              schrieb am zuletzt editiert von
                              #327

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

                              iert, wo du sagst das es h

                              Bei der installation in der Rubrik Adapter habe ich den pi3 ausgewählt, installiert wurde dort aber nichts

                              $ iobroker add rpi2 auto --host pi3garage --debug
                              
                              upload [13] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/de/translations.json i18n/de/translations.json application/json
                              
                              upload [12] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/en/translations.json i18n/en/translations.json application/json
                              
                              upload [11] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/es/translations.json i18n/es/translations.json application/json
                              
                              upload [10] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                              
                              upload [9] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/it/translations.json i18n/it/translations.json application/json
                              
                              upload [8] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                              
                              upload [7] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                              
                              upload [6] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                              
                              upload [5] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                              
                              upload [4] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/uk/translations.json i18n/uk/translations.json application/json
                              
                              upload [3] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                              
                              upload [2] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/jsonConfig.json jsonConfig.json application/json
                              
                              upload [1] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/rpi2.png rpi2.png image/png
                              
                              upload [0] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/words.js words.js application/javascript
                              
                              host.pi3garage create instance rpi2
                              
                              S 1 Antwort Letzte Antwort
                              0
                              • S Smallfeuer

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

                                iert, wo du sagst das es h

                                Bei der installation in der Rubrik Adapter habe ich den pi3 ausgewählt, installiert wurde dort aber nichts

                                $ iobroker add rpi2 auto --host pi3garage --debug
                                
                                upload [13] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/de/translations.json i18n/de/translations.json application/json
                                
                                upload [12] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/en/translations.json i18n/en/translations.json application/json
                                
                                upload [11] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/es/translations.json i18n/es/translations.json application/json
                                
                                upload [10] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                                
                                upload [9] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/it/translations.json i18n/it/translations.json application/json
                                
                                upload [8] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                                
                                upload [7] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                                
                                upload [6] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                                
                                upload [5] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                                
                                upload [4] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/uk/translations.json i18n/uk/translations.json application/json
                                
                                upload [3] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                                
                                upload [2] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/jsonConfig.json jsonConfig.json application/json
                                
                                upload [1] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/rpi2.png rpi2.png image/png
                                
                                upload [0] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/words.js words.js application/javascript
                                
                                host.pi3garage create instance rpi2
                                
                                S Offline
                                S Offline
                                Smallfeuer
                                schrieb am zuletzt editiert von Smallfeuer
                                #328

                                @thomas-braun

                                admin.0
                                2024-12-29 23:25:08.046	warn	rpi2 has an invalid jsonConfig: [{"instancePath":"/items/_gpios/items/_pullUpWarning/hidden","schemaPath":"#/patternProperties/%5E.%2B/properties/hidden/type","keyword":"type","params":{"type":"string"},"message":"must be string"},{"instancePath":"/items/_gpios","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/9/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]
                                

                                Aufgefallen ist es mir auf Grund dieser Meldung

                                S 1 Antwort Letzte Antwort
                                0
                                • S Smallfeuer

                                  @thomas-braun

                                  admin.0
                                  2024-12-29 23:25:08.046	warn	rpi2 has an invalid jsonConfig: [{"instancePath":"/items/_gpios/items/_pullUpWarning/hidden","schemaPath":"#/patternProperties/%5E.%2B/properties/hidden/type","keyword":"type","params":{"type":"string"},"message":"must be string"},{"instancePath":"/items/_gpios","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/9/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]
                                  

                                  Aufgefallen ist es mir auf Grund dieser Meldung

                                  S Offline
                                  S Offline
                                  Smallfeuer
                                  schrieb am zuletzt editiert von
                                  #329

                                  @Garfonso @thomas-braun
                                  Fall jemand eine Idee hat, bin für jeden Rat dankbar.
                                  Ich hab jetzt ein sauberes - neu aufgesetztes System als Slave und kann mit der aktuellen Beta seit dem letzten Host Update im stable keine Gpio mehr sehen bzw. setzen. Der Host läuft auf Proxmoxx, der Slave ist ein Pi3 B. Falls ich noch irgendwie mit Daten beitragen kann sagt es.

                                  1 Antwort Letzte Antwort
                                  1
                                  • S Offline
                                    S Offline
                                    Smallfeuer
                                    schrieb am zuletzt editiert von
                                    #330

                                    Hier noch der DEBUG Text.

                                    
                                    rpi2.0
                                    2024-12-30 12:24:43.720	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 12:24:43.720	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 12:24:43.719	warn	Cannot initialize GPIO: No chip found. GPIO functionality disabled!
                                    rpi2.0
                                    2024-12-30 12:24:43.718	debug	Got 3 from Raspberry Pi 3 Model B Plus Rev 1.3.
                                    rpi2.0
                                    2024-12-30 12:24:43.716	debug	STDERR:
                                    rpi2.0
                                    2024-12-30 12:24:43.715	debug	CPU Info: Raspberry Pi 3 Model B Plus Rev 1.3
                                    rpi2.0
                                    2024-12-30 12:24:43.700	debug	undefined
                                    rpi2.0
                                    2024-12-30 12:24:43.459	debug	Creating gpio.17.isInput
                                    rpi2.0
                                    2024-12-30 12:24:43.375	debug	wlan disabled -> clean up.
                                    
                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • S Smallfeuer

                                      Hier noch der DEBUG Text.

                                      
                                      rpi2.0
                                      2024-12-30 12:24:43.720	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 12:24:43.720	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 12:24:43.719	warn	Cannot initialize GPIO: No chip found. GPIO functionality disabled!
                                      rpi2.0
                                      2024-12-30 12:24:43.718	debug	Got 3 from Raspberry Pi 3 Model B Plus Rev 1.3.
                                      rpi2.0
                                      2024-12-30 12:24:43.716	debug	STDERR:
                                      rpi2.0
                                      2024-12-30 12:24:43.715	debug	CPU Info: Raspberry Pi 3 Model B Plus Rev 1.3
                                      rpi2.0
                                      2024-12-30 12:24:43.700	debug	undefined
                                      rpi2.0
                                      2024-12-30 12:24:43.459	debug	Creating gpio.17.isInput
                                      rpi2.0
                                      2024-12-30 12:24:43.375	debug	wlan disabled -> clean up.
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #331

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

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      S S 2 Antworten Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

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

                                        S Offline
                                        S Offline
                                        Smallfeuer
                                        schrieb am zuletzt editiert von
                                        #332

                                        @thomas-braun Guten Morgen 😉 raspi-config meinst du? Ja, dort ist aktiv. Testweise hab ich grad den Zugriff mit folgender "Datei" getestet:

                                        import lgpio
                                        import time
                                        
                                        # Öffne den GPIO-Chip
                                        h = lgpio.gpiochip_open(0)
                                        
                                        # Definiere den Pin 17 als Eingang
                                        lgpio.gpio_claim_output(h, 17, lgpio.LOW)
                                        lgpio.gpio_claim_input(h, 17)
                                        
                                        while True:
                                            # Lies den Zustand des Pins
                                            zustand = lgpio.gpio_read(h, 17)
                                            print("Pin 17: ", zustand)
                                            time.sleep(0.1)
                                        
                                        # Schließe den GPIO-Chip
                                        lgpio.gpiochip_close(h)
                                        

                                        Das auslesen des Pins klappt damit einwandfrei.

                                        1 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT 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 Offline
                                          S Offline
                                          Smallfeuer
                                          schrieb am zuletzt editiert von
                                          #333

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

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

                                          Hast du mal testweise einen EINGANG bei dir definiert?

                                          Thomas BraunT 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          716

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe