Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
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.0k

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

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

Test Adapter rpi2 2.x

Test Adapter rpi2 2.x

Scheduled Pinned Locked Moved Tester
519 Posts 29 Posters 148.1k Views 20 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Laser

    @mcm1957 OK, ich installiere nochmal neu über Beta- Reposterie ohne Github.

    
    otto@PiIOBroker:~ $ cd /opt/iobroker
    otto@PiIOBroker:/opt/iobroker $ npm ls |grep rpi2
    ├── iobroker.rpi2@2.0.0
    otto@PiIOBroker:/opt/iobroker $
    
    

    Leider funktionieren die GPIO's nicht mehr.
    Ist aber nur ein Testsystem.

    mcm1957M Online
    mcm1957M Online
    mcm1957
    wrote on last edited by mcm1957
    #50

    @laser said in Test Adapter rpi2 2.x:

    Leider funktionieren die GPIO's nicht mehr.
    Ist aber nur ein Testsystem.

    Dann erröffne ein Issue beim Adapter oder warte bis sich der Dev nach seinem Urlaub hier meldet.

    Die OFFENEN Issues kennst du ja wahrscheinlich:
    https://github.com/iobroker-community-adapters/ioBroker.rpi2/issues/167
    https://github.com/iobroker-community-adapters/ioBroker.rpi2/issues/174

    und

    https://github.com/iobroker-community-adapters/ioBroker.rpi2/issues/200#issuecomment-2244921229

    sigmashig created this issue in iobroker-community-adapters/ioBroker.rpi2

    closed Can't set GPIO port as output - Raspberry 4 and 5 #167

    JR-Home created this issue in iobroker-community-adapters/ioBroker.rpi2

    open Pull up configuration wrong for some GPIO inputs #174

    GermanBluefox created this issue in iobroker-community-adapters/ioBroker.rpi2

    closed Update stable version in repo from 1.3.2 to 2.0.0 #200

    Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
    Support Repositoryverwaltung.

    Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

    LESEN - gute Forenbeitrage

    L 1 Reply Last reply
    0
    • mcm1957M mcm1957

      @laser said in Test Adapter rpi2 2.x:

      Leider funktionieren die GPIO's nicht mehr.
      Ist aber nur ein Testsystem.

      Dann erröffne ein Issue beim Adapter oder warte bis sich der Dev nach seinem Urlaub hier meldet.

      Die OFFENEN Issues kennst du ja wahrscheinlich:
      https://github.com/iobroker-community-adapters/ioBroker.rpi2/issues/167
      https://github.com/iobroker-community-adapters/ioBroker.rpi2/issues/174

      und

      https://github.com/iobroker-community-adapters/ioBroker.rpi2/issues/200#issuecomment-2244921229

      sigmashig created this issue in iobroker-community-adapters/ioBroker.rpi2

      closed Can't set GPIO port as output - Raspberry 4 and 5 #167

      JR-Home created this issue in iobroker-community-adapters/ioBroker.rpi2

      open Pull up configuration wrong for some GPIO inputs #174

      GermanBluefox created this issue in iobroker-community-adapters/ioBroker.rpi2

      closed Update stable version in repo from 1.3.2 to 2.0.0 #200

      L Offline
      L Offline
      Laser
      wrote on last edited by
      #51

      @mcm1957 Ich warte...
      Solange wird das Produktivsystem kein Update erhalten.

      mcm1957M 1 Reply Last reply
      0
      • L Laser

        @mcm1957 Ich warte...
        Solange wird das Produktivsystem kein Update erhalten.

        mcm1957M Online
        mcm1957M Online
        mcm1957
        wrote on last edited by
        #52

        @laser
        Ein Produktivsystem sollte eh kein Update vom LATEST Repo erhalten. Das ist ja eigentlich selbstverständlich.

        Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
        Support Repositoryverwaltung.

        Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

        LESEN - gute Forenbeitrage

        L 1 Reply Last reply
        0
        • mcm1957M mcm1957

          @laser
          Ein Produktivsystem sollte eh kein Update vom LATEST Repo erhalten. Das ist ja eigentlich selbstverständlich.

          L Offline
          L Offline
          Laser
          wrote on last edited by
          #53

          @mcm1957 Ich meinte jetzt das Bookworm- System. Das bleibt auf dem Stand, wo der alte RPI-Monitor noch funktionierte.

          mcm1957M 1 Reply Last reply
          0
          • L Laser

            @mcm1957 Ich meinte jetzt das Bookworm- System. Das bleibt auf dem Stand, wo der alte RPI-Monitor noch funktionierte.

            mcm1957M Online
            mcm1957M Online
            mcm1957
            wrote on last edited by
            #54

            Und falls sonst noch wer hier mitliest:

            Vor Ende August wird sich hier sicher nichst tun da der Dev derzeit urlaubsbedingt offline ist.

            Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
            Support Repositoryverwaltung.

            Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

            LESEN - gute Forenbeitrage

            1 Reply Last reply
            1
            • Thomas BraunT Thomas Braun

              @jrgsch sagte in Test Adapter rpi2 2.x:

              Wird es nicht automatisch mit dem Adapter installiert?

              Eigentlich schon.

              J Offline
              J Offline
              jrgsch
              wrote on last edited by
              #55

              @thomas-braun

              Wie angekündigt, habe ich ein "bookworm" System völlig neu aufgesetzt.

              pi@iobroker-24d-test:~ $ node -v
              v20.16.0
              pi@iobroker-24d-test:~ $ nodejs -v
              v20.16.0
              pi@iobroker-24d-test:~ $ npm -v
              10.8.1
              pi@iobroker-24d-test:~ $
              

              Beim Abarbeiten von „Erstes ioBroker Setup“ dann nur den Javascript Adapter ausgewählt, den ich immer brauche.
              Anschließend das Repository auf "latest" umgestellt, die dann angebotenen neusten Versionen der Admin-, Javascript-, BackItUp- und Gerätesuche-Adapter installiert.

              Obwohl ich wusste, dass unter "bookworm" das Paket "python" so nicht mehr existiert, nochmal den im rpi2-github geforderten Befehl

              sudo apt-get install -y build-essential python
              

              ausgeführt. Ergebnis:

              pi@iobroker-24d-test:~ $ 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
              pi@iobroker-24d-test:~ $
              

              Dann habe ich getestet, ob die Pakete "python-is-python3" und "2to3" installiert sind. Ergebnis:

              pi@iobroker-24d-test:~ $ sudo apt-get install -y python-is-python3 2to3
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              python-is-python3 is already the newest version (3.11.2-1+deb12u1).
              The following NEW packages will be installed:
                2to3
              0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
              Need to get 10.0 kB of archives.
              After this operation, 31.7 kB of additional disk space will be used.
              Get:1 http://deb.debian.org/debian bookworm/main arm64 2to3 all 3.11.2-1 [10.0 kB]
              Fetched 10.0 kB in 0s (157 kB/s)
              Selecting previously unselected package 2to3.
              (Reading database ... 140363 files and directories currently installed.)
              Preparing to unpack .../archives/2to3_3.11.2-1_all.deb ...
              Unpacking 2to3 (3.11.2-1) ...
              Setting up 2to3 (3.11.2-1) ...
              Processing triggers for man-db (2.11.2-2) ...
              pi@iobroker-24d-test:~ $
              

              "2to3" wurde also nachinstalliert, vermutlich wird es aber nicht benötigt.

              Im nächsten Schritt dann vom Admin Adapter aus "rpi2 2.0.0" installiert. Ergebnis:

              rpi2.0	2024-08-07 09:33:36.755	error	Cannot initialize/setMode GPIO: Error: Cannot find module 'opengpio' Require stack: - /opt/iobroker/node_modules/iobroker.rpi2/lib/gpioControl.js - /opt/iobroker/node_modules/iobroker.rpi2/main.js
              

              Für mich sieht es danach aus, dass das Modul "opengpio" nicht automatisch mit installiert wird.

              Nächste Idee -> evtl. wird ja doch die Freigabe „Remote GPIO“ in „raspi-config“ bvenötigt.
              Rpi2 Adapter im Admin deinstalliert, „Remote GPIO enabled“ gesetzt und "rpi2 2.0.0" wieder installiert

              pi@iobroker-24d-test:/opt/iobroker $ npm ls opengpio
              iobroker.inst@3.0.0 /opt/iobroker
              └─┬ iobroker.rpi2@2.0.0
                └── opengpio@1.1.0
              pi@iobroker-24d-test:/opt/iobroker $
              

              Das sieht schon mal besser aus. Wenn ich jetzt einzelne GPIO’s konfigurieren möchte, kommt

              rpi2.0	2024-08-07 10:02:25.431	error	Cannot initialize/setMode GPIO: TypeError: Cannot read properties of undefined (reading 'watch')
              rpi2.0	2024-08-07 10:10:47.138	error	Cannot initialize/setMode GPIO: TypeError: Cannot read properties of undefined (reading 'output')
              

              Diese Fehlermeldung wurde hier im Forum bereits diskutiert und bedeutet wohl „warten auf den Entwickler“.

              Trotzdem werde nochmal bei Null beginnen und vor der Erstinstallation des rpi2-Adapters „Remote GPIO enabled“ setzen. Mal sehen, ob dann das „open_gpio“ Thema vom Tisch ist, man müsste den Schritt in „raspi-config“ dann nur mal in der Doku erwähnen (oder ich habe es überlesen).

              1 Reply Last reply
              0
              • R Offline
                R Offline
                roughestboy
                wrote on last edited by
                #56

                Mein Usecase für rpi-Adapter: vor ca. 2 Jahren den Gaszähler ausgelesen. Heute habe ich eine Wärmepumpe, und kürzlich habe ich mich daran gemacht, deren Stromzähler auszulesen, über die S0 Schnittstelle. Ist im Prinzip ein Taster, der mit jeder verbrauchten Wh kurz schließt.
                Vorher habe ich alles wunderschön auf Stand gebracht, iobroker und auch raspian, jetzt auf bookworm, und nun das.
                Fehler bei mir, wenn der Adapter startet, wie obenstehend

                Cannot initialize/setMode GPIO: TypeError: Cannot read properties of undefined (reading 'watch')
                
                L 1 Reply Last reply
                0
                • R roughestboy

                  Mein Usecase für rpi-Adapter: vor ca. 2 Jahren den Gaszähler ausgelesen. Heute habe ich eine Wärmepumpe, und kürzlich habe ich mich daran gemacht, deren Stromzähler auszulesen, über die S0 Schnittstelle. Ist im Prinzip ein Taster, der mit jeder verbrauchten Wh kurz schließt.
                  Vorher habe ich alles wunderschön auf Stand gebracht, iobroker und auch raspian, jetzt auf bookworm, und nun das.
                  Fehler bei mir, wenn der Adapter startet, wie obenstehend

                  Cannot initialize/setMode GPIO: TypeError: Cannot read properties of undefined (reading 'watch')
                  
                  L Offline
                  L Offline
                  Laser
                  wrote on last edited by
                  #57

                  Was tun denn die Leute, die sich standhaft weigern, die GPIO's zu benutzen? I2C Bus mit E/A Baugruppen anschließen? Oder benutzen nur wenige Binäre Ein/Ausgänge?

                  HomoranH 1 Reply Last reply
                  0
                  • L Laser

                    Was tun denn die Leute, die sich standhaft weigern, die GPIO's zu benutzen? I2C Bus mit E/A Baugruppen anschließen? Oder benutzen nur wenige Binäre Ein/Ausgänge?

                    HomoranH Do not disturb
                    HomoranH Do not disturb
                    Homoran
                    Global Moderator Administrators
                    wrote on last edited by
                    #58

                    @laser sagte in Test Adapter rpi2 2.x:

                    die sich standhaft weigern

                    was soll das denn?
                    wieso weigern?

                    das braucht schlicht und einfach fast niemand am RasPi

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    L S 2 Replies Last reply
                    0
                    • HomoranH Homoran

                      @laser sagte in Test Adapter rpi2 2.x:

                      die sich standhaft weigern

                      was soll das denn?
                      wieso weigern?

                      das braucht schlicht und einfach fast niemand am RasPi

                      L Offline
                      L Offline
                      Laser
                      wrote on last edited by Laser
                      #59

                      @homoran OK. Ich habe das immer für etwas Tolles gehalten. Ein/Ausgänge ohne Zusatzbaugruppen. Klar, bei Fehlverschaltung riskiert man möglicherweise den gesamten Pi.

                      1 Reply Last reply
                      0
                      • HomoranH Homoran

                        @laser sagte in Test Adapter rpi2 2.x:

                        die sich standhaft weigern

                        was soll das denn?
                        wieso weigern?

                        das braucht schlicht und einfach fast niemand am RasPi

                        S Do not disturb
                        S Do not disturb
                        stenmic
                        wrote on last edited by stenmic
                        #60

                        @homoran sagte in Test Adapter rpi2 2.x:

                        @laser sagte in Test Adapter rpi2 2.x:

                        das braucht schlicht und einfach fast niemand am RasPi

                        Ich würde es auch brauchen (für meinen Reed Sensor an der Gasuhr) ich hoffe es kommt bald ne Lösung. Ich möchte ungern auf einen esp umsteigen.

                        mcm1957M 1 Reply Last reply
                        0
                        • S stenmic

                          @homoran sagte in Test Adapter rpi2 2.x:

                          @laser sagte in Test Adapter rpi2 2.x:

                          das braucht schlicht und einfach fast niemand am RasPi

                          Ich würde es auch brauchen (für meinen Reed Sensor an der Gasuhr) ich hoffe es kommt bald ne Lösung. Ich möchte ungern auf einen esp umsteigen.

                          mcm1957M Online
                          mcm1957M Online
                          mcm1957
                          wrote on last edited by
                          #61

                          Um die Erwartungshaltung ggF anzupassen wiederhole ich:

                          Vor Ende August wird sich hier sicher nichts tun da der Dev derzeit urlaubsbedingt offline ist.

                          Es wird daran gearbeitet. Aber da der Support im Betriebsystem grundlegend geändert wurde und die früher verwendete hardwarenahe Bibliothek nicht mehr aktualisisert wurde ist das Anpassen keine Kleinigkeit. Falls die jetzt hier aktiven Poster schon im Juni mit dem Dev Kontakt hatten und mitgetestet haben sollte das bekannt sein. Alle anderen lade ich gerne ein beim weiteren Testen order Anpassen des Codes mitzuwirken. Meiner Kenntnis nach benutzt der Dev die GPIOs selbst nicht und macht diese Anpassungen nur für euch.

                          Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                          Support Repositoryverwaltung.

                          Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

                          LESEN - gute Forenbeitrage

                          1 Reply Last reply
                          3
                          • R Offline
                            R Offline
                            roughestboy
                            wrote on last edited by
                            #62

                            Tut euch keinen Zwang an. Ich werde derweil mal ausprobieren, wie das mit einem wemos d1 mini funktioniert.

                            L 1 Reply Last reply
                            0
                            • R roughestboy

                              Tut euch keinen Zwang an. Ich werde derweil mal ausprobieren, wie das mit einem wemos d1 mini funktioniert.

                              L Offline
                              L Offline
                              Laser
                              wrote on last edited by
                              #63

                              @mcm1957 Urlaub muß sein. Es ist toll, daß sich dieser GPIO Sache jemand annimmt. GPIO's gehören nun mal zum Pi. Sind ja nicht umsonst sogar fest verlötet.😁

                              1 Reply Last reply
                              0
                              • Thomas BraunT Thomas Braun

                                @jrgsch sagte in Test Adapter rpi2 2.x:

                                Wird es nicht automatisch mit dem Adapter installiert?

                                Eigentlich schon.

                                GarfonsoG Offline
                                GarfonsoG Offline
                                Garfonso
                                Developer
                                wrote on last edited by Garfonso
                                #64

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

                                @jrgsch sagte in Test Adapter rpi2 2.x:

                                Wird es nicht automatisch mit dem Adapter installiert?

                                Eigentlich schon.

                                Jain.. es ist eine optionale dependency. Die wird nur installiert, wenn das systempaket libgpiod-dev bereits installiert ist.

                                An @jrgsch:
                                Ich hab die Readme mal entsprechend angepasst, auf dem Rapi mal den Befehl ausfüren: `sudo apt install -y libgpiod-dev.
                                https://github.com/iobroker-community-adapters/ioBroker.rpi2/blob/master/README.md

                                Ich dachte, ich hätte das Readme entsprechend angepasst... hab ich aber wohl übersehen. 😕

                                Und für die "undefined watch of" oder so Fehlermeldungen würde mir ein issue inklusive der Konfiguration der GPIOs vermutlich helfen.

                                Ultimativer Lovelace Leitfaden: https://forum.iobroker.net/topic/35937/der-ultimative-iobroker-lovelace-leitfaden-dokumentation

                                Lovelace UI Beispiele: https://forum.iobroker.net/topic/35950/zeigt-her-eure-lovelace-visualisierung

                                1 Reply Last reply
                                0
                                • D Offline
                                  D Offline
                                  dfred
                                  wrote on last edited by Homoran
                                  #65
                                  • Adaptername: RPI 2.0.0
                                  • Link zu Adapterrepository: https://github.com/iobroker-community-adapters/ioBroker.rpi2
                                  • Adapterversion: 2.0.0
                                  • js-controller Version: v20.16.0
                                  • Admin Version: ...
                                  • Hardwaresystem: Pi4B
                                  • Arbeitsspeicher: 8GB
                                  • Festplattenart: SSD
                                  • Betriebssystem: Linux
                                  • Nodejs-Version: v20.16.0
                                  • NPM-Version: 10.8.1
                                  • Installationsart: Skrip
                                  • Image, Docker genutzt: Nein
                                  • Ort, Name der Imagedatei: ...

                                  Fehler: Vermutlich seit dem Update der NodeJs gehen die GPIOs des Raspi nicht mehr. Vorher funktionierten die GPIOs einwandfrei und Jahrelang

                                  Beim ändern der config kommt folgender Fehler:

                                  rpi2.0 2024-08-20 10:55:18.200	error	Cannot initialize/setMode GPIO: Error: error requesting GPIO lines: Device or resource busy
                                  
                                  
                                  rpi2.0 2024-08-20 10:56:01.757	error	GPIO is not initialized!
                                  

                                  Downgrade auf NodeJS 18 und RPI 1.3.2 haben nichts verändert.

                                  iob diag:

                                  iobroker [command]
                                  
                                  Commands:
                                    iobroker setup                                               Setup ioBroker
                                    iobroker start [all|<adapter>.<instance>|<adapter>]          Starts the js-con                                                                                          troller or a specified adapter instance or all instances of an adapter
                                    iobroker stop [<adapter>.<instance>|<adapter>]               stops the js-cont                                                                                          roller or a specified adapter instance or all instances of an adapter
                                    iobroker restart [<adapter>.<instance>|<adapter>]            Restarts js-contr                                                                                          oller or a specified adapter instance or all instances of an adapter  [aliases:                                                                                           r]
                                    iobroker debug <adapter>[.<instance>]                        Starts a Node.js                                                                                           debugging session for the adapter instance
                                    iobroker info                                                Shows the host in                                                                                          fo
                                    iobroker logs [<adapter>]                                    Monitor log
                                    iobroker add <adapter> [desiredNumber]                       Add instance of a                                                                                          dapter  [aliases: a]
                                    iobroker install <adapter>                                   Installs a specif                                                                                          ied adapter  [aliases: i]
                                    iobroker rebuild [<module>]                                  Rebuild all nativ                                                                                          e modules or path
                                    iobroker url <url> [<name>]                                  Install adapter f                                                                                          rom specified url, e.g. GitHub, if a package name is provided instead of an url,                                                                                           it will be installed from npm
                                    iobroker del <adapter>                                       Remove adapter an                                                                                          d all instances from this host  [aliases: delete]
                                    iobroker del <adapter>.<instance>                            Remove adapter in                                                                                          stance  [aliases: delete]
                                    iobroker update [<repositoryUrl>]                            Update repository                                                                                           and list adapters
                                    iobroker upgrade                                             Upgrade managemen                                                                                          t
                                    iobroker upload [all|<adapter>]                              Upload management                                                                                            [aliases: u]
                                    iobroker object                                              Object management                                                                                            [aliases: o]
                                    iobroker state                                               State management                                                                                            [aliases: s]
                                    iobroker message <adapter>[.instance] <command> [<message>]  Send message to a                                                                                          dapter instance/s
                                    iobroker list <type> [<filter>]                              List all entries,                                                                                           like objects
                                    iobroker chmod <mode> <file>                                 Change file right                                                                                          s
                                    iobroker chown <user> <group> <file>                         Change file owner                                                                                          ship
                                    iobroker touch <file>                                        Touch file
                                    iobroker rm <file>                                           Remove file
                                    iobroker file                                                File management
                                    iobroker user                                                User commands
                                    iobroker group                                               group management
                                    iobroker host <hostname>                                     Set host to given                                                                                           hostname
                                    iobroker set <adapter>.<instance>                            Change settings o                                                                                          f adapter config
                                    iobroker license <license.file or license.text>              Update license by                                                                                           given file
                                    iobroker cert                                                Certificate manag                                                                                          ement
                                    iobroker clean <yes>                                         Clears all object                                                                                          s and states
                                    iobroker backup                                              Create backup
                                    iobroker restore <backup name or path>                       Restore a specifi                                                                                          ed backup
                                    iobroker validate <backup name or path>                      Validate a specif                                                                                          ied backup
                                    iobroker status [all|<adapter>.<instance>]                   Status of ioBroke                                                                                          r or adapter instance  [aliases: isrun]
                                    iobroker repo [<name>]                                       Show repo informa                                                                                          tion
                                    iobroker uuid                                                Show uuid of the                                                                                           installation  [aliases: id]
                                    iobroker unsetup                                             Reset license, in                                                                                          stallation secret and language
                                    iobroker fix                                                 Execute the insta                                                                                          llation fixer script, this updates your ioBroker installation
                                    iobroker nodejs-update [<major-version>]                     Upgrade the Node.                                                                                          JS installation to the current LTS
                                    iobroker multihost                                           Multihost managem                                                                                          ent
                                    iobroker compact                                             compact group man                                                                                          agement
                                    iobroker plugin                                              Plugin management
                                    iobroker vendor <passphrase> [<vendor.json>]                 Update the vendor                                                                                           information using given passphrase
                                    iobroker version [<adapter>]                                 Show version of j                                                                                          s-controller or specified adapter  [aliases: v]
                                  
                                  Options:
                                    --help  Show help  [boolean]
                                  
                                  

                                  MOD-EDIT: Code in code-tags gesetzt!

                                  Samson71S CodierknechtC Thomas BraunT D 4 Replies Last reply
                                  0
                                  • D dfred
                                    • Adaptername: RPI 2.0.0
                                    • Link zu Adapterrepository: https://github.com/iobroker-community-adapters/ioBroker.rpi2
                                    • Adapterversion: 2.0.0
                                    • js-controller Version: v20.16.0
                                    • Admin Version: ...
                                    • Hardwaresystem: Pi4B
                                    • Arbeitsspeicher: 8GB
                                    • Festplattenart: SSD
                                    • Betriebssystem: Linux
                                    • Nodejs-Version: v20.16.0
                                    • NPM-Version: 10.8.1
                                    • Installationsart: Skrip
                                    • Image, Docker genutzt: Nein
                                    • Ort, Name der Imagedatei: ...

                                    Fehler: Vermutlich seit dem Update der NodeJs gehen die GPIOs des Raspi nicht mehr. Vorher funktionierten die GPIOs einwandfrei und Jahrelang

                                    Beim ändern der config kommt folgender Fehler:

                                    rpi2.0 2024-08-20 10:55:18.200	error	Cannot initialize/setMode GPIO: Error: error requesting GPIO lines: Device or resource busy
                                    
                                    
                                    rpi2.0 2024-08-20 10:56:01.757	error	GPIO is not initialized!
                                    

                                    Downgrade auf NodeJS 18 und RPI 1.3.2 haben nichts verändert.

                                    iob diag:

                                    iobroker [command]
                                    
                                    Commands:
                                      iobroker setup                                               Setup ioBroker
                                      iobroker start [all|<adapter>.<instance>|<adapter>]          Starts the js-con                                                                                          troller or a specified adapter instance or all instances of an adapter
                                      iobroker stop [<adapter>.<instance>|<adapter>]               stops the js-cont                                                                                          roller or a specified adapter instance or all instances of an adapter
                                      iobroker restart [<adapter>.<instance>|<adapter>]            Restarts js-contr                                                                                          oller or a specified adapter instance or all instances of an adapter  [aliases:                                                                                           r]
                                      iobroker debug <adapter>[.<instance>]                        Starts a Node.js                                                                                           debugging session for the adapter instance
                                      iobroker info                                                Shows the host in                                                                                          fo
                                      iobroker logs [<adapter>]                                    Monitor log
                                      iobroker add <adapter> [desiredNumber]                       Add instance of a                                                                                          dapter  [aliases: a]
                                      iobroker install <adapter>                                   Installs a specif                                                                                          ied adapter  [aliases: i]
                                      iobroker rebuild [<module>]                                  Rebuild all nativ                                                                                          e modules or path
                                      iobroker url <url> [<name>]                                  Install adapter f                                                                                          rom specified url, e.g. GitHub, if a package name is provided instead of an url,                                                                                           it will be installed from npm
                                      iobroker del <adapter>                                       Remove adapter an                                                                                          d all instances from this host  [aliases: delete]
                                      iobroker del <adapter>.<instance>                            Remove adapter in                                                                                          stance  [aliases: delete]
                                      iobroker update [<repositoryUrl>]                            Update repository                                                                                           and list adapters
                                      iobroker upgrade                                             Upgrade managemen                                                                                          t
                                      iobroker upload [all|<adapter>]                              Upload management                                                                                            [aliases: u]
                                      iobroker object                                              Object management                                                                                            [aliases: o]
                                      iobroker state                                               State management                                                                                            [aliases: s]
                                      iobroker message <adapter>[.instance] <command> [<message>]  Send message to a                                                                                          dapter instance/s
                                      iobroker list <type> [<filter>]                              List all entries,                                                                                           like objects
                                      iobroker chmod <mode> <file>                                 Change file right                                                                                          s
                                      iobroker chown <user> <group> <file>                         Change file owner                                                                                          ship
                                      iobroker touch <file>                                        Touch file
                                      iobroker rm <file>                                           Remove file
                                      iobroker file                                                File management
                                      iobroker user                                                User commands
                                      iobroker group                                               group management
                                      iobroker host <hostname>                                     Set host to given                                                                                           hostname
                                      iobroker set <adapter>.<instance>                            Change settings o                                                                                          f adapter config
                                      iobroker license <license.file or license.text>              Update license by                                                                                           given file
                                      iobroker cert                                                Certificate manag                                                                                          ement
                                      iobroker clean <yes>                                         Clears all object                                                                                          s and states
                                      iobroker backup                                              Create backup
                                      iobroker restore <backup name or path>                       Restore a specifi                                                                                          ed backup
                                      iobroker validate <backup name or path>                      Validate a specif                                                                                          ied backup
                                      iobroker status [all|<adapter>.<instance>]                   Status of ioBroke                                                                                          r or adapter instance  [aliases: isrun]
                                      iobroker repo [<name>]                                       Show repo informa                                                                                          tion
                                      iobroker uuid                                                Show uuid of the                                                                                           installation  [aliases: id]
                                      iobroker unsetup                                             Reset license, in                                                                                          stallation secret and language
                                      iobroker fix                                                 Execute the insta                                                                                          llation fixer script, this updates your ioBroker installation
                                      iobroker nodejs-update [<major-version>]                     Upgrade the Node.                                                                                          JS installation to the current LTS
                                      iobroker multihost                                           Multihost managem                                                                                          ent
                                      iobroker compact                                             compact group man                                                                                          agement
                                      iobroker plugin                                              Plugin management
                                      iobroker vendor <passphrase> [<vendor.json>]                 Update the vendor                                                                                           information using given passphrase
                                      iobroker version [<adapter>]                                 Show version of j                                                                                          s-controller or specified adapter  [aliases: v]
                                    
                                    Options:
                                      --help  Show help  [boolean]
                                    
                                    

                                    MOD-EDIT: Code in code-tags gesetzt!

                                    Samson71S Offline
                                    Samson71S Offline
                                    Samson71
                                    Global Moderator
                                    wrote on last edited by
                                    #66

                                    @dfred
                                    Code bitte in Code-Tags </> einbetten.

                                    74ae9114-57b0-42fc-b697-6cee673ca6ad-image.png

                                    iob diag:

                                    Das ist kein iob diag

                                    Gruß, Markus

                                    Maßnahmen zum Schutz des Forums:
                                    https://forum.iobroker.net/topic/79618/ma%C3%9Fnahmen-zum-schutz-des-forums
                                    Hinweise für gute Forenbeiträge:
                                    https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                                    D 1 Reply Last reply
                                    0
                                    • D dfred
                                      • Adaptername: RPI 2.0.0
                                      • Link zu Adapterrepository: https://github.com/iobroker-community-adapters/ioBroker.rpi2
                                      • Adapterversion: 2.0.0
                                      • js-controller Version: v20.16.0
                                      • Admin Version: ...
                                      • Hardwaresystem: Pi4B
                                      • Arbeitsspeicher: 8GB
                                      • Festplattenart: SSD
                                      • Betriebssystem: Linux
                                      • Nodejs-Version: v20.16.0
                                      • NPM-Version: 10.8.1
                                      • Installationsart: Skrip
                                      • Image, Docker genutzt: Nein
                                      • Ort, Name der Imagedatei: ...

                                      Fehler: Vermutlich seit dem Update der NodeJs gehen die GPIOs des Raspi nicht mehr. Vorher funktionierten die GPIOs einwandfrei und Jahrelang

                                      Beim ändern der config kommt folgender Fehler:

                                      rpi2.0 2024-08-20 10:55:18.200	error	Cannot initialize/setMode GPIO: Error: error requesting GPIO lines: Device or resource busy
                                      
                                      
                                      rpi2.0 2024-08-20 10:56:01.757	error	GPIO is not initialized!
                                      

                                      Downgrade auf NodeJS 18 und RPI 1.3.2 haben nichts verändert.

                                      iob diag:

                                      iobroker [command]
                                      
                                      Commands:
                                        iobroker setup                                               Setup ioBroker
                                        iobroker start [all|<adapter>.<instance>|<adapter>]          Starts the js-con                                                                                          troller or a specified adapter instance or all instances of an adapter
                                        iobroker stop [<adapter>.<instance>|<adapter>]               stops the js-cont                                                                                          roller or a specified adapter instance or all instances of an adapter
                                        iobroker restart [<adapter>.<instance>|<adapter>]            Restarts js-contr                                                                                          oller or a specified adapter instance or all instances of an adapter  [aliases:                                                                                           r]
                                        iobroker debug <adapter>[.<instance>]                        Starts a Node.js                                                                                           debugging session for the adapter instance
                                        iobroker info                                                Shows the host in                                                                                          fo
                                        iobroker logs [<adapter>]                                    Monitor log
                                        iobroker add <adapter> [desiredNumber]                       Add instance of a                                                                                          dapter  [aliases: a]
                                        iobroker install <adapter>                                   Installs a specif                                                                                          ied adapter  [aliases: i]
                                        iobroker rebuild [<module>]                                  Rebuild all nativ                                                                                          e modules or path
                                        iobroker url <url> [<name>]                                  Install adapter f                                                                                          rom specified url, e.g. GitHub, if a package name is provided instead of an url,                                                                                           it will be installed from npm
                                        iobroker del <adapter>                                       Remove adapter an                                                                                          d all instances from this host  [aliases: delete]
                                        iobroker del <adapter>.<instance>                            Remove adapter in                                                                                          stance  [aliases: delete]
                                        iobroker update [<repositoryUrl>]                            Update repository                                                                                           and list adapters
                                        iobroker upgrade                                             Upgrade managemen                                                                                          t
                                        iobroker upload [all|<adapter>]                              Upload management                                                                                            [aliases: u]
                                        iobroker object                                              Object management                                                                                            [aliases: o]
                                        iobroker state                                               State management                                                                                            [aliases: s]
                                        iobroker message <adapter>[.instance] <command> [<message>]  Send message to a                                                                                          dapter instance/s
                                        iobroker list <type> [<filter>]                              List all entries,                                                                                           like objects
                                        iobroker chmod <mode> <file>                                 Change file right                                                                                          s
                                        iobroker chown <user> <group> <file>                         Change file owner                                                                                          ship
                                        iobroker touch <file>                                        Touch file
                                        iobroker rm <file>                                           Remove file
                                        iobroker file                                                File management
                                        iobroker user                                                User commands
                                        iobroker group                                               group management
                                        iobroker host <hostname>                                     Set host to given                                                                                           hostname
                                        iobroker set <adapter>.<instance>                            Change settings o                                                                                          f adapter config
                                        iobroker license <license.file or license.text>              Update license by                                                                                           given file
                                        iobroker cert                                                Certificate manag                                                                                          ement
                                        iobroker clean <yes>                                         Clears all object                                                                                          s and states
                                        iobroker backup                                              Create backup
                                        iobroker restore <backup name or path>                       Restore a specifi                                                                                          ed backup
                                        iobroker validate <backup name or path>                      Validate a specif                                                                                          ied backup
                                        iobroker status [all|<adapter>.<instance>]                   Status of ioBroke                                                                                          r or adapter instance  [aliases: isrun]
                                        iobroker repo [<name>]                                       Show repo informa                                                                                          tion
                                        iobroker uuid                                                Show uuid of the                                                                                           installation  [aliases: id]
                                        iobroker unsetup                                             Reset license, in                                                                                          stallation secret and language
                                        iobroker fix                                                 Execute the insta                                                                                          llation fixer script, this updates your ioBroker installation
                                        iobroker nodejs-update [<major-version>]                     Upgrade the Node.                                                                                          JS installation to the current LTS
                                        iobroker multihost                                           Multihost managem                                                                                          ent
                                        iobroker compact                                             compact group man                                                                                          agement
                                        iobroker plugin                                              Plugin management
                                        iobroker vendor <passphrase> [<vendor.json>]                 Update the vendor                                                                                           information using given passphrase
                                        iobroker version [<adapter>]                                 Show version of j                                                                                          s-controller or specified adapter  [aliases: v]
                                      
                                      Options:
                                        --help  Show help  [boolean]
                                      
                                      

                                      MOD-EDIT: Code in code-tags gesetzt!

                                      CodierknechtC Offline
                                      CodierknechtC Offline
                                      Codierknecht
                                      Developer Most Active
                                      wrote on last edited by
                                      #67

                                      @dfred

                                      1. Warum englisch?
                                      2. Wenn iob diag schon nicht vorhanden ist, vermute ich ein völlig veraltetes Betriebssystem.
                                        Was hast Du da am Start?
                                      cat /etc/os-release
                                      

                                      "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                                      Proxmox 8.2.4 LXC|8 GB|Core i7-6700
                                      HmIP|ZigBee|Tasmota|Unifi + dies & das
                                      Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                                      1 Reply Last reply
                                      0
                                      • Samson71S Samson71

                                        @dfred
                                        Code bitte in Code-Tags </> einbetten.

                                        74ae9114-57b0-42fc-b697-6cee673ca6ad-image.png

                                        iob diag:

                                        Das ist kein iob diag

                                        D Offline
                                        D Offline
                                        dfred
                                        wrote on last edited by
                                        #68

                                        @samson71
                                        PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
                                        NAME="Raspbian GNU/Linux"
                                        VERSION_ID="11"
                                        VERSION="11 (bullseye)"
                                        VERSION_CODENAME=bullseye
                                        ID=raspbian
                                        ID_LIKE=debian
                                        HOME_URL="http://www.raspbian.org/"
                                        SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                                        BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

                                        1 Reply Last reply
                                        0
                                        • D dfred
                                          • Adaptername: RPI 2.0.0
                                          • Link zu Adapterrepository: https://github.com/iobroker-community-adapters/ioBroker.rpi2
                                          • Adapterversion: 2.0.0
                                          • js-controller Version: v20.16.0
                                          • Admin Version: ...
                                          • Hardwaresystem: Pi4B
                                          • Arbeitsspeicher: 8GB
                                          • Festplattenart: SSD
                                          • Betriebssystem: Linux
                                          • Nodejs-Version: v20.16.0
                                          • NPM-Version: 10.8.1
                                          • Installationsart: Skrip
                                          • Image, Docker genutzt: Nein
                                          • Ort, Name der Imagedatei: ...

                                          Fehler: Vermutlich seit dem Update der NodeJs gehen die GPIOs des Raspi nicht mehr. Vorher funktionierten die GPIOs einwandfrei und Jahrelang

                                          Beim ändern der config kommt folgender Fehler:

                                          rpi2.0 2024-08-20 10:55:18.200	error	Cannot initialize/setMode GPIO: Error: error requesting GPIO lines: Device or resource busy
                                          
                                          
                                          rpi2.0 2024-08-20 10:56:01.757	error	GPIO is not initialized!
                                          

                                          Downgrade auf NodeJS 18 und RPI 1.3.2 haben nichts verändert.

                                          iob diag:

                                          iobroker [command]
                                          
                                          Commands:
                                            iobroker setup                                               Setup ioBroker
                                            iobroker start [all|<adapter>.<instance>|<adapter>]          Starts the js-con                                                                                          troller or a specified adapter instance or all instances of an adapter
                                            iobroker stop [<adapter>.<instance>|<adapter>]               stops the js-cont                                                                                          roller or a specified adapter instance or all instances of an adapter
                                            iobroker restart [<adapter>.<instance>|<adapter>]            Restarts js-contr                                                                                          oller or a specified adapter instance or all instances of an adapter  [aliases:                                                                                           r]
                                            iobroker debug <adapter>[.<instance>]                        Starts a Node.js                                                                                           debugging session for the adapter instance
                                            iobroker info                                                Shows the host in                                                                                          fo
                                            iobroker logs [<adapter>]                                    Monitor log
                                            iobroker add <adapter> [desiredNumber]                       Add instance of a                                                                                          dapter  [aliases: a]
                                            iobroker install <adapter>                                   Installs a specif                                                                                          ied adapter  [aliases: i]
                                            iobroker rebuild [<module>]                                  Rebuild all nativ                                                                                          e modules or path
                                            iobroker url <url> [<name>]                                  Install adapter f                                                                                          rom specified url, e.g. GitHub, if a package name is provided instead of an url,                                                                                           it will be installed from npm
                                            iobroker del <adapter>                                       Remove adapter an                                                                                          d all instances from this host  [aliases: delete]
                                            iobroker del <adapter>.<instance>                            Remove adapter in                                                                                          stance  [aliases: delete]
                                            iobroker update [<repositoryUrl>]                            Update repository                                                                                           and list adapters
                                            iobroker upgrade                                             Upgrade managemen                                                                                          t
                                            iobroker upload [all|<adapter>]                              Upload management                                                                                            [aliases: u]
                                            iobroker object                                              Object management                                                                                            [aliases: o]
                                            iobroker state                                               State management                                                                                            [aliases: s]
                                            iobroker message <adapter>[.instance] <command> [<message>]  Send message to a                                                                                          dapter instance/s
                                            iobroker list <type> [<filter>]                              List all entries,                                                                                           like objects
                                            iobroker chmod <mode> <file>                                 Change file right                                                                                          s
                                            iobroker chown <user> <group> <file>                         Change file owner                                                                                          ship
                                            iobroker touch <file>                                        Touch file
                                            iobroker rm <file>                                           Remove file
                                            iobroker file                                                File management
                                            iobroker user                                                User commands
                                            iobroker group                                               group management
                                            iobroker host <hostname>                                     Set host to given                                                                                           hostname
                                            iobroker set <adapter>.<instance>                            Change settings o                                                                                          f adapter config
                                            iobroker license <license.file or license.text>              Update license by                                                                                           given file
                                            iobroker cert                                                Certificate manag                                                                                          ement
                                            iobroker clean <yes>                                         Clears all object                                                                                          s and states
                                            iobroker backup                                              Create backup
                                            iobroker restore <backup name or path>                       Restore a specifi                                                                                          ed backup
                                            iobroker validate <backup name or path>                      Validate a specif                                                                                          ied backup
                                            iobroker status [all|<adapter>.<instance>]                   Status of ioBroke                                                                                          r or adapter instance  [aliases: isrun]
                                            iobroker repo [<name>]                                       Show repo informa                                                                                          tion
                                            iobroker uuid                                                Show uuid of the                                                                                           installation  [aliases: id]
                                            iobroker unsetup                                             Reset license, in                                                                                          stallation secret and language
                                            iobroker fix                                                 Execute the insta                                                                                          llation fixer script, this updates your ioBroker installation
                                            iobroker nodejs-update [<major-version>]                     Upgrade the Node.                                                                                          JS installation to the current LTS
                                            iobroker multihost                                           Multihost managem                                                                                          ent
                                            iobroker compact                                             compact group man                                                                                          agement
                                            iobroker plugin                                              Plugin management
                                            iobroker vendor <passphrase> [<vendor.json>]                 Update the vendor                                                                                           information using given passphrase
                                            iobroker version [<adapter>]                                 Show version of j                                                                                          s-controller or specified adapter  [aliases: v]
                                          
                                          Options:
                                            --help  Show help  [boolean]
                                          
                                          

                                          MOD-EDIT: Code in code-tags gesetzt!

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          wrote on last edited by
                                          #69

                                          @dfred sagte in Raspberry 4B GPIOs since Update NodeJs 20.x are not Working:

                                          Vermutlich seit dem Update der NodeJs gehen die GPIOs des Raspi nicht mehr.

                                          Das hat mit nodejs@20 nix zu tun.

                                          iob stop
                                          iob fix
                                          iob start
                                          

                                          Und dann funktioniert auch

                                          iob diag
                                          

                                          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

                                          D 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          379

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe