Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Switch möglich ? PI2 IOB > PI5 IOB

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Switch möglich ? PI2 IOB > PI5 IOB

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Zimbl last edited by

      @zimbl sagte in Switch möglich ? PI2 IOB > PI5 IOB:

      ich habe halt einige GPIO´s im Einsatz

      das hast du schon gelesen:

      @martinp sagte in Switch möglich ? PI2 IOB > PI5 IOB:

      Solltest Du GPIO vom alten Pi nutzen, oder serielle ...Peripherie angeschlossen haben, könnte ein wenig Anpassung nötig werden ...

      Heisst im Klartext:
      die GPIO im rpi2 Adapter funktionieren nicht mehr auf Pi5

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

        @homoran said in Switch möglich ? PI2 IOB > PI5 IOB:

        fast alles richtig, bis auf USB. Das funktioniert weiterhin problemlos.

        Wenn man brav nach den Spielregeln für das Ansprechen der Peripherie den Eintrag in ...

        /dev/serial/by-id
        

        ... genommen hat, kann ich Dir nur zustimmen..

        aus

        /dev/ttyUSB0
        

        Kann aber auch mal etwas anders werden, wenn man das gastgebende System für den USB-Stick ändert ....

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

          @martinp sagte in Switch möglich ? PI2 IOB > PI5 IOB:

          Wenn man brav nach den Spielregeln

          ich hab damit sogar beim Umzug von NUC/Tinkerboard auf den Pi 5, den USB HUB mit den Geräten einfach umgesteckt und alles lief

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

            @homoran Das SOLLTE eigentlich so sein ...

            Bei meinen nächsten Experimenten mit ESP-Boards und Code-Uploads über USB muss ich auch mal schauen, ob da auch diese "by-id" Einträge zu den USB-Schnittstellen der verschiedenen Boards auftauchen ( am Besten incl. individueller Seriennummern) ...

            Da fängt ansonsten auch immer das Suchen an, welcher "ttyUSB.." bzw. "ttyAMA..." Eintrag der Richtige an, wenn man ein Board abzieht und wieder ansteckt ...

            Thomas Braun Homoran 2 Replies Last reply Reply Quote 1
            • Thomas Braun
              Thomas Braun Most Active @MartinP last edited by

              @martinp sagte in Switch möglich ? PI2 IOB > PI5 IOB:

              ( am Besten incl. individueller Seriennummern)

              Der Dateiname 'by-id' setzt sich u. a. auch aus der Seriennummer zusammen.

              Z 1 Reply Last reply Reply Quote 0
              • Z
                Zimbl @Thomas Braun last edited by

                so ich habe wieder mal ein Diag gemacht...

                
                ======== Start marking the full check here =========
                
                Skript v.2023-10-10
                
                *** BASE SYSTEM ***
                   Static hostname: raspberrypi
                         Icon name: computer
                  Operating System: Raspbian GNU/Linux 11 (bullseye)
                            Kernel: Linux 6.1.21-v7+
                      Architecture: arm
                
                Model           : Raspberry Pi 2 Model B Rev 1.1
                Docker          : false
                Virtualization  : none
                Kernel          : armv7l
                Userland        : armhf
                
                Systemuptime and Load:
                 12:47:48 up  4:07,  1 user,  load average: 0.06, 0.18, 0.26
                CPU threads: 4
                
                
                *** RASPBERRY THROTTLING ***
                Current issues:
                ~ Under-voltage detected
                ~ Arm frequency capped
                
                Previously detected issues:
                ~ Under-voltage has occurred
                ~ Arm frequency capping has occurred
                
                *** Time and Time Zones ***
                               Local time: Tue 2024-04-30 12:47:49 BST
                           Universal time: Tue 2024-04-30 11:47:49 UTC
                                 RTC time: n/a
                                Time zone: Europe/London (BST, +0100)
                System clock synchronized: yes
                              NTP service: active
                          RTC in local TZ: no
                
                *** User and Groups ***
                pi
                /home/pi
                pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
                
                *** X-Server-Setup ***
                X-Server:       false
                Desktop:
                Terminal:       tty
                Boot Target:    multi-user.target
                
                *** MEMORY ***
                               total        used        free      shared  buff/cache   available
                Mem:            921M        530M        152M        0.0K        238M        326M
                Swap:            99M         68M         31M
                Total:          1.0G        599M        184M
                
                          921 M total memory
                          531 M used memory
                          222 M active memory
                          453 M inactive memory
                          152 M free memory
                           28 M buffer memory
                          210 M swap cache
                           99 M total swap
                           68 M used swap
                           31 M free swap
                
                Raspberry only:
                oom events: 0
                lifetime oom required: 0 Mbytes
                total time in oom handler: 0 ms
                max time spent in oom handler: 0 ms
                
                *** FAILED SERVICES ***
                
                  UNIT LOAD ACTIVE SUB DESCRIPTION
                0 loaded units listed.
                
                *** FILESYSTEM ***
                Filesystem     Type      Size  Used Avail Use% Mounted on
                /dev/root      ext4       59G  5.3G   51G  10% /
                devtmpfs       devtmpfs  333M     0  333M   0% /dev
                tmpfs          tmpfs     461M     0  461M   0% /dev/shm
                tmpfs          tmpfs     185M  944K  184M   1% /run
                tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                /dev/mmcblk0p1 vfat      255M   51M  205M  20% /boot
                tmpfs          tmpfs      93M     0   93M   0% /run/user/1000
                
                Messages concerning ext4 filesystem in dmesg:
                [Tue Apr 30 08:39:50 2024] Kernel command line: coherent_pool=1M snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=a13bd72e-02 rootfstype=ext4 fsck.repair=yes rootwait
                [Tue Apr 30 08:39:54 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
                [Tue Apr 30 08:39:54 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                [Tue Apr 30 08:39:59 2024] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
                
                Show mounted filesystems \(real ones only\):
                TARGET  SOURCE         FSTYPE OPTIONS
                /       /dev/mmcblk0p2 ext4   rw,noatime
                `-/boot /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                
                Files in neuralgic directories:
                
                /var:
                2.3G    /var/
                2.0G    /var/log
                1.9G    /var/log/journal/b4db8c2bf1074a1ba2ba6c07d9465d9d
                1.9G    /var/log/journal
                170M    /var/cache
                
                Archived and active journals take up 1.8G in the file system.
                
                /opt/iobroker/backups:
                64M     /opt/iobroker/backups/
                
                /opt/iobroker/iobroker-data:
                199M    /opt/iobroker/iobroker-data/
                114M    /opt/iobroker/iobroker-data/files
                72M     /opt/iobroker/iobroker-data/backup-objects
                57M     /opt/iobroker/iobroker-data/files/javascript.admin
                38M     /opt/iobroker/iobroker-data/files/javascript.admin/static
                
                The five largest files in iobroker-data are:
                22M     /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.578d79d9.js.map
                10M     /opt/iobroker/iobroker-data/objects.jsonl
                8.8M    /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.578d79d9.js
                7.0M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/675.d0c8b930.chunk.js.map
                6.3M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
                
                USB-Devices by-id:
                USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
                
                /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ceccc8e6cbc9eb119edf8b4f1d69213e-if00-port0
                
                *** NodeJS-Installation ***
                
                /usr/bin/nodejs         v18.20.2
                /usr/bin/node           v18.20.2
                /usr/bin/npm            10.5.0
                /usr/bin/npx            10.5.0
                /usr/bin/corepack       0.25.2
                
                
                nodejs:
                  Installed: 18.20.2-1nodesource1
                  Candidate: 18.20.2-1nodesource1
                  Version table:
                 *** 18.20.2-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                        100 /var/lib/dpkg/status
                     18.20.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.20.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.19.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.19.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.18.2-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.18.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.18.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.17.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.17.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.16.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.16.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.15.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.14.2-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.14.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.14.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.13.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.12.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.11.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.10.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.9.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.9.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.8.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.7.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.6.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.5.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.4.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.3.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.2.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.1.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.0.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     12.22.12~dfsg-1~deb11u4 500
                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                
                Temp directories causing npm8 problem: 0
                No problems detected
                
                Errors in npm tree:
                
                *** ioBroker-Installation ***
                
                ioBroker Status
                iobroker is running on this host.
                
                
                Objects type: jsonl
                States  type: jsonl
                
                Core adapters versions
                js-controller:  5.0.19
                admin:          6.13.16
                javascript:     7.8.0
                
                Adapters from github:   0
                
                Adapter State
                + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                + system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
                  system.adapter.discovery.0              : discovery             : raspberrypi                              - disabled
                  system.adapter.gruenbeck.0              : gruenbeck             : raspberrypi                              - disabled
                + system.adapter.javascript.0             : javascript            : raspberrypi                              -  enabled
                + system.adapter.modbus.0                 : modbus                : raspberrypi                              -  enabled
                + system.adapter.ping.0                   : ping                  : raspberrypi                              -  enabled
                + system.adapter.rpi2.0                   : rpi2                  : raspberrypi                              -  enabled
                + system.adapter.shelly.0                 : shelly                : raspberrypi                              -  enabled, port: 1882, bind: 0.0.0.0
                + system.adapter.tuya.0                   : tuya                  : raspberrypi                              -  enabled
                + system.adapter.zigbee.0                 : zigbee                : raspberrypi                              -  enabled, port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ceccc8e6cbc9eb119edf8b4f1d69213e-if00-port0
                
                + instance is alive
                
                Enabled adapters with bindings
                + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                + system.adapter.shelly.0                 : shelly                : raspberrypi                              -  enabled, port: 1882, bind: 0.0.0.0
                + system.adapter.zigbee.0                 : zigbee                : raspberrypi                              -  enabled, port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ceccc8e6cbc9eb119edf8b4f1d69213e-if00-port0
                
                ioBroker-Repositories
                stable        : http://download.iobroker.net/sources-dist.json
                beta          : http://download.iobroker.net/sources-dist-latest.json
                
                Active repo(s): stable
                
                Installed ioBroker-Instances
                Used repository: stable
                Adapter    "admin"        : 6.13.16  , installed 6.13.16
                Adapter    "backitup"     : 2.11.0   , installed 2.11.0
                Adapter    "deconz"       : 1.4.0    , installed 1.4.0
                Adapter    "discovery"    : 4.4.0    , installed 4.4.0
                Adapter    "gruenbeck"    : 0.0.42   , installed 0.0.42
                Adapter    "javascript"   : 7.8.0    , installed 7.8.0
                Controller "js-controller": 5.0.19   , installed 5.0.19
                Adapter    "modbus"       : 6.1.0    , installed 6.1.0
                Adapter    "ping"         : 1.6.2    , installed 1.6.2
                Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                Adapter    "shelly"       : 6.9.0    , installed 6.9.0
                Adapter    "sonoff"       : 3.0.3    , installed 3.0.3
                Adapter    "tuya"         : 3.15.0   , installed 3.15.0
                Adapter    "zigbee"       : 1.10.3   , installed 1.10.3
                
                Objects and States
                Please stand by - This may take a while
                Objects:        900
                States:         598
                
                *** OS-Repositories and Updates ***
                Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
                Reading package lists...
                Pending Updates: 0
                
                *** Listening Ports ***
                Active Internet connections (only servers)
                Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       157134     18099/iobroker.js-c
                tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       157968     18099/iobroker.js-c
                tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          11873      449/sshd: /usr/sbin
                tcp6       0      0 :::8081                 :::*                    LISTEN      1001       157249     18120/io.admin.0
                tcp6       0      0 :::22                   :::*                    LISTEN      0          11875      449/sshd: /usr/sbin
                udp        0      0 0.0.0.0:6666            0.0.0.0:*                           1001       158335     18167/io.tuya.0
                udp        0      0 0.0.0.0:6667            0.0.0.0:*                           1001       158336     18167/io.tuya.0
                udp        0      0 0.0.0.0:5683            0.0.0.0:*                           1001       156662     18231/io.shelly.0
                udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          12555      574/dhcpcd
                udp        0      0 0.0.0.0:34377           0.0.0.0:*                           108        10923      346/avahi-daemon: r
                udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        10921      346/avahi-daemon: r
                udp6       0      0 :::546                  :::*                                0          14091      574/dhcpcd
                udp6       0      0 :::5353                 :::*                                108        10922      346/avahi-daemon: r
                udp6       0      0 :::37205                :::*                                108        10924      346/avahi-daemon: r
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Zimbl last edited by

                  @zimbl sagte in Switch möglich ? PI2 IOB > PI5 IOB:

                  Time zone: Europe/London (BST, +0100)

                  Setz das richtig. Das ist wichtig.

                  Die Ausgabe von iob diag ist nicht vollständig.

                  Z 1 Reply Last reply Reply Quote 0
                  • Z
                    Zimbl @Thomas Braun last edited by

                    @thomas-braun

                    jetzt habe ich den Standort angepasst und nun ist der Pi nicht mehr zu erreichen...
                    ich schaue doch mal was ich da beim Netzteil machen kann...

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

                      @zimbl sagte in Switch möglich ? PI2 IOB > PI5 IOB:

                      jetzt habe ich den Standort angepasst und nun ist der Pi nicht mehr zu erreichen...

                      ???

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

                        @martinp sagte in Switch möglich ? PI2 IOB > PI5 IOB:

                        am Besten incl. individueller Seriennummern

                        da musst du beim Kauf drauf achten ob die Geräte individuelle Seriennummern haben. Billige USB2RS485 haben das z.B. meines Wissens nicht.

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

                          @homoran sagte in Switch möglich ? PI2 IOB > PI5 IOB:

                          Billige USB2RS485 haben das z.B. meines Wissens nicht.

                          Oder immer die gleiche...

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

                            @thomas-braun sagte in Switch möglich ? PI2 IOB > PI5 IOB:

                            Oder immer die gleiche...

                            sachichdoch

                            @homoran sagte in Switch möglich ? PI2 IOB > PI5 IOB:

                            individuelle Seriennummern

                            haben sie nicht

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate
                            FAQ Cloud / IOT
                            HowTo: Node.js-Update
                            HowTo: Backup/Restore
                            Downloads
                            BLOG

                            806
                            Online

                            31.9k
                            Users

                            80.3k
                            Topics

                            1.3m
                            Posts

                            4
                            28
                            835
                            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