Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. RPi Zero 2W und IOBroker

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    RPi Zero 2W und IOBroker

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      ducis last edited by

      Hallo, das Thema wurde zwar schon öfter bearbeitet aber eine eindeutige Antwort habe ich noch nicht gefunden.

      Ich möchte auf einem Rpi Zero 2W einen IOBroker laufen lassen. Die Installation läuft fehlerlos durch. Allerdings antwortet der IOBroker unter seinem Port 8081 nicht. Ich habe Raspberry PI OS lite 64bit als Betriebssystem genommen.

      Geht das auf dem Zero2 ev gar nicht?

      Grüße
      ducis

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

        @ducis sagte in RPi Zero 2W und IOBroker:

        Rpi Zero 2W - 512MB of SDRAM

        Das ist zu wenig für einen vollen ioBroker.

        D 1 Reply Last reply Reply Quote 0
        • D
          ducis @Thomas Braun last edited by

          @thomas-braun
          Danke, Soll nur per Modbus einen Wert abholen und in Abhängigkeit davon einen GPIO setzen.
          Ich möchte nur ausschließen, dass ich einen Installationsfehler gemacht habe....

          Selbst bei wenig RAM sollte er doch zumindest starten oder?

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

            @ducis sagte in RPi Zero 2W und IOBroker:

            Selbst bei wenig RAM sollte er doch zumindest starten oder?

            Aber SEHR, SEHR, SEHR langsam.
            Kommst du denn grundsätzlich auf die Kiste drauf und kannst

            iob diag
            

            ausführen?

            D 1 Reply Last reply Reply Quote 0
            • D
              ducis @Thomas Braun last edited by

              Recommended versions are nodejs and npm
              *** nodejs is NOT correctly installed ***
              Wrong installation path detected. This needs to be fixed.

              Please execute
              iob nodejs-update
              to fix these errors.

              Ich komme auf den IOBroker. Hat ein Problem mit nodejs. Fixen funtioniert nicht. Ich setze nochmal komplett neu auf und hoffe dass es nicht in der selben Sackgasse endet.

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

                @ducis

                Dual Arm Cortex-M33 Kerne (im Vergleich zu Dual Arm Cortex-M0+)

                was ist das denn für eine Architektur?

                bitte iob diag in der Langfassung auch zeigen!


                EDIT:
                Hiernach
                Screenshot_20241202-092540_Firefox.jpg
                (Quelle: Wikipedia)

                ist es ARMv8.
                Wenn die -M Variante da nicht anders tickt, müsste es ein aktuelles nodejs geben.

                Der RAM bleibt natürlich als Nadelöhr

                D 1 Reply Last reply Reply Quote 0
                • D
                  ducis @Homoran last edited by

                  @homoran: mach ich das nächste Mal.

                  Ich habs jetzt neu aufgesetzt und es startet. Aber ständig Timeouts. Und keine Freude beim Klicken und warten.

                  Habe jetzt einen alten Rpi3 rausgekramt und mache es mit dem.

                  Danke für euere Tips.
                  Grüße

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    ducis @ducis last edited by Homoran

                    ich bekomms einfach nicht hin.
                    Rpi3 mit nagelneuem Rpi OS Lite 64bit (ohne Desktop).
                    Lt. https://iobroker.readthedocs.io/de/latest/getting-started/installation.html
                    Müsste ich nur
                    curl -sLf https://iobroker.net/install.sh | bash -
                    ausführen. Nodejs kann man auch vorher manuell installieren, braucht man aber nicht.

                    Und so hängt sich der Rpi auf:

                    login as: pi
                    pi@192.168.2.68's password:
                    Linux PowershifterPiZero2 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64
                    
                    The programs included with the Debian GNU/Linux system are free software;
                    the exact distribution terms for each program are described in the
                    individual files in /usr/share/doc/*/copyright.
                    
                    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                    permitted by applicable law.
                    Last login: Mon Dec  2 14:21:19 2024 from 192.168.2.31
                    pi@PowershifterPiZero2:~ $ curl -sLf https://iobroker.net/install.sh | bash -
                    library: loaded
                    Library version=2024-10-22
                    
                    ==========================================================================
                    
                        Welcome to the ioBroker installer!
                        Installer version: 2024-10-22
                    
                        You might need to enter your password a couple of times.
                    
                    ==========================================================================
                    
                    
                    ==========================================================================
                        Installing prerequisites (1/4)
                    ==========================================================================
                    
                    Hit:1 http://deb.debian.org/debian bookworm InRelease
                    Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
                    Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                    Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
                    Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
                    Reading package lists... Done
                    
                    ==========================================================================
                    
                        Node.js not found. Installing...
                    
                    ==========================================================================
                    
                    BDB0002 __fop_file_setup:  Retry limit (100) exceeded
                    apt-listchanges: Database /var/lib/apt/listchanges.db failed to load: [Errno 17] File exists: '/var/lib/apt/listchanges'
                    

                    MOD-EDIT: Code in code-tags gesetzt!

                    Wo liegt der Fehler??

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

                      @ducis

                      Zeig mal die Ausgabe von

                      iob diag
                      

                      In der Langfassung.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        ducis @Thomas Braun last edited by Homoran

                        pi@PowershifterPiZero2:~ $ iob diag
                        -bash: iob: command not found
                        pi@PowershifterPiZero2:~ $
                        

                        MOD-EDIT: Code in code-tags gesetzt!

                        iob ist ja auch noch nicht installiert.

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

                          @ducis

                          sudo apt update
                          

                          sagt?

                          1 Reply Last reply Reply Quote 0
                          • D
                            ducis @ducis last edited by Homoran

                            update und upgrade habe ich gemacht

                            pi@PowershifterPiZero2:~ $ sudo apt update
                            Hit:1 http://deb.debian.org/debian bookworm InRelease
                            Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
                            Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                            Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
                            Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
                            Reading package lists... Done
                            Building dependency tree... Done
                            Reading state information... Done
                            15 packages can be upgraded. Run 'apt list --upgradable' to see them.
                            

                            MOD-EDIT: Code in code-tags gesetzt!

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              ducis @ducis last edited by Homoran

                              pi@PowershifterPiZero2:~ $ sudo apt update -y && sudo apt upgrade -y
                              Hit:1 http://deb.debian.org/debian bookworm InRelease
                              Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
                              Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                              Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
                              Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
                              Reading package lists... Done
                              Building dependency tree... Done
                              Reading state information... Done
                              15 packages can be upgraded. Run 'apt list --upgradable' to see them.
                              E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
                              
                              sudo dpkg --configure -a ändert dann aber nichts.
                              

                              MOD-EDIT: Code in code-tags gesetzt!

                              Wie bekommt ihr die Shellausgaben in diese schwarzen Kästchen kopiert?

                              MartinP 1 Reply Last reply Reply Quote 0
                              • MartinP
                                MartinP @ducis last edited by

                                @ducis sagte in RPi Zero 2W und IOBroker:

                                sudo apt update -y && sudo apt upgrade -y

                                nach dem Logging läuft das "apt update" durch, Probleme gibt es beim "apt upgrade" ...

                                Dieses Kombinieren der beiden Schritte in eine Kommandozeile sollte man nicht anwenden, wenn man Probleme hat ...

                                Drei Backticks (```) vor die 1. Zeile und drei hinter die letzte die man als Code formatieren will...

                                Oder dieses Icon klicken
                                db7c186c-7d44-4b09-bdc7-43042cba4071-grafik.png

                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  ducis @MartinP last edited by

                                  @martinp ; Danke, ich mache jetzt erstmal ne frische SD fertig.

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

                                    @ducis

                                    Da wurde eine Aktion des Paketmanagers abgewürgt.

                                    sudo dpkg --configure -a
                                    

                                    versuchen. Und ja: Auf dem kleinen Ding dauert ALLES lange. Auch Paketinstallationen.

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      ducis @Thomas Braun last edited by

                                      Also an alle die es versuchen wollen. Es geht nicht einen IOBroker auf einem RPI Zero nach Standartroutine zu installieren. Und wenn man es hingefummelt bekommen hat, ist es nicht stabil.

                                      H 1 Reply Last reply Reply Quote 0
                                      • H
                                        holgerwolf @ducis last edited by

                                        @ducis sagte in RPi Zero 2W und IOBroker:

                                        RPI Zero

                                        Läuft bei mir seit Monaten als Slave für den BLE Adapter (wegen der BLE Reichweite):

                                        456fc4eb-e032-47f6-9ded-f5272327ab4b-grafik.png

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

                                          @holgerwolf Bitte keine 4k Screenshots!
                                          Die sind mobil nicht zu entziffern.

                                          Das muss aber ein anderer sein.
                                          Cortex A53 statt Cortex M33

                                          Außerdem wird @ducis möglicherweise sofort mit controller v7 gestartet haben, du hast noch v6.

                                          H 1 Reply Last reply Reply Quote 0
                                          • H
                                            holgerwolf @Homoran last edited by holgerwolf

                                            @homoran Das ist genau der:

                                            https://www.amazon.de/gp/product/B09KLVX4RT/ref=ppx_yo_dt_b_search_asin_image?ie=UTF8&psc=1

                                            Raspberry Pi Zero 2 W

                                            CPU: 0,47 %
                                            RAM: 55 %
                                            Betriebszeit: 41d20h
                                            Verfügbar: 7.0.3
                                            Installiert: 6.0.11
                                            Ereignisse: ⇥47 / ↦13
                                            Plattform: linux
                                            Betriebssystem: linux
                                            Architektur: arm64
                                            CPUs: 4
                                            Geschwindigkeit: 1000 MHz
                                            Modell: Cortex-A53
                                            RAM: 417 MB
                                            System-Betriebszeit: 53 T. 00:21:07
                                            Node.js: v20.18.0
                                            time: 1733127834068
                                            timeOffset: --
                                            NPM: 10.8.2
                                            Adapter-Anzahl: 547
                                            Datenträgergröße: 14.1 GB
                                            Freier Festplattenspeicher: 10.9 GB
                                            Aktive Instanzen: 2
                                            Pfad: /opt/iobroker/
                                            Betriebszeit: 38 T. 21:09:27

                                            Das mit dem controller V7 kann natürlich sein.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            948
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            22
                                            812
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo