Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst]Modbus - nach Node Update USB-Stick nicht gefunden

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    UNSOLVED [gelöst]Modbus - nach Node Update USB-Stick nicht gefunden

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 @mguenther last edited by paul53

      @mguenther
      Die zweite Zeile ist offenbar abgeschnitten, sonst könnte man erkennen, wie der Stick zugewiesen ist:

      [    3.210247] usb 1-1.4: Detected FT232RL
      [    3.216199] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUS                                                                                        B0
      
      1 Reply Last reply Reply Quote 0
      • M
        mguenther last edited by

        ich habe eben noch einmal geschaut - das sind die Screenshots, ohne das was abgeschnitten ist. Hier noch einmal ein aktueller Screenshot von "dmseg" - da steht:
        modbus_Fehler.JPG

        Dann noch einmal zur Prüfung "lsusb":
        modbus_Fehler3.JPG

        Mein Problem ist, dass ich in der Instanz MODBUS unter "Port" keine Auswahl habe:
        modbus_Fehler2.JPG

        ich habe noch nen 2. Stick am laufen, da funktioniert alles. Ist nen deConz.

        paul53 apollon77 3 Replies Last reply Reply Quote 0
        • paul53
          paul53 @mguenther last edited by paul53

          @mguenther sagte:

          dass ich in der Instanz MODBUS unter "Port" keine Auswahl habe:

          Braucht Serial RTU einen Port ? Oder ist das /dev/ttyUSB0 ?
          Sorry, kenne mich mit dem Modbus-Adapter nicht aus.

          M 1 Reply Last reply Reply Quote 0
          • M
            mguenther @paul53 last edited by

            @paul53
            scheinbar schon - ich bekomme oben die Fehlermeldung und der Adapter funtioniert nicht.

            Hier hatte mir damals wendy geholfen und da musste der Port angegeben werden.

            1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @mguenther last edited by

              @mguenther sagte:

              dass ich in der Instanz MODBUS unter "Port" keine Auswahl habe:

              Vielleicht hilft es, es direkt im Objekt "system.adapter.modbus.0" unter RAW einzutragen ?

                "native": {
                  "params": {
                    "type": "serial",
                    "bind": "127.0.0.1",
                    "port": "502",
                    "comName": "/dev/ttyUSB0",
                    "baudRate": "9600",
              
              M 1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 @mguenther last edited by

                @mguenther du hast gesagt das du nodejs Update Genacht hast. Wie? Nachdem how to hier im Forum? Hast du npm rebuild ausgeführt? Weil wenn nein und auch sonst Anleitung nicht befolgt dann ist dein serialport nicht mit der neuen nodejs Version neu gebaut und damit geht’s nicht.

                M 1 Reply Last reply Reply Quote 0
                • M
                  mguenther last edited by

                  Hallo, habe die Anleitung (Eric hatte mir den Link in FB mitgeteilt) hier befolgt und dann im Anschluss nen npm rebuild ausgeführt.
                  Marcus

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mguenther @mguenther last edited by mguenther

                    hier der Link

                    1 Reply Last reply Reply Quote 0
                    • M
                      mguenther @apollon77 last edited by

                      @apollon77 sagte in Modbus -USB-Stick wird nicht gefunden:

                      @mguenther du hast gesagt das du nodejs Update Genacht hast. Wie? Nachdem how to hier im Forum? Hast du npm rebuild ausgeführt? Weil wenn nein und auch sonst Anleitung nicht befolgt dann ist dein serialport nicht mit der neuen nodejs Version neu gebaut und damit geht’s nicht.

                      Zumindest sind mir keine Fehlermeldungen aufgefallen. Es gab warnings, aber das war es auch. Würde denn ein Entfernen von node und nodejs und ein nochmaliges installieren helfen?

                      apollon77 1 Reply Last reply Reply Quote 0
                      • M
                        mguenther @paul53 last edited by

                        @paul53 sagte in Modbus -USB-Stick wird nicht gefunden:

                        system.adapter.modbus.0

                        das steht schon da...
                        modbus_Fehler3.JPG

                        apollon77 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @mguenther last edited by

                          @mguenther hast Du das "how to nodejs richtig updaten" gelesen?

                          M 1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 @mguenther last edited by

                            @mguenther Und ist der Port bzw im Filesystem /dev/ttyUSB0 überhaupt da? Ansonsten nochwas: Wenn DU mehrere USB Sticks an einem Linix hastkann es sein das die manchmal die reihenfolge tauschen

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              mguenther @apollon77 last edited by

                              @apollon77 sagte in Modbus -USB-Stick wird nicht gefunden:

                              @mguenther hast Du das "how to nodejs richtig updaten" gelesen?

                              Ja, gelesen und ich habe es bis 4a angewandt. Mir war ein Fehler beim Befehl npm rebuild unterlaufen - den hatte ich erst auf der obersten Ordner Ebene ausgeführt, es gab keine Fehlermeldungen. Dann aber nochmal gelesen und vergessen ins iobroker-Verzeichnis zu wechseln. Das dann gemacht und nochmal npm rebuild aufgerufen. So der Stand.

                              1 Reply Last reply Reply Quote 0
                              • M
                                mguenther @apollon77 last edited by

                                @apollon77 sagte in Modbus -USB-Stick wird nicht gefunden:

                                @mguenther Und ist der Port bzw im Filesystem /dev/ttyUSB0 überhaupt da? Ansonsten nochwas: Wenn DU mehrere USB Sticks an einem Linix hastkann es sein das die manchmal die reihenfolge tauschen

                                wie kann ich das erkennen?

                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @mguenther last edited by

                                  @mguenther Erstmal kannst Du einmal mit ls -la /dev/ttyUSB* schauen was so da ist.

                                  Unter /dev/serial-by-id und serial-by-name oder so gibt es noch mehr, vllt findest Du es darüber raus

                                  M 2 Replies Last reply Reply Quote 0
                                  • M
                                    mguenther @apollon77 last edited by

                                    @apollon77 :

                                    modbus_Fehler3.JPG

                                    zumindest gibt es da etwas

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      mguenther @apollon77 last edited by

                                      @apollon77 sagte in Modbus -USB-Stick wird nicht gefunden:

                                      serial-by-id

                                      ein ls -la im /dev/ Verzeichnis liefert das:

                                      pi@ioBroker-Pi:/dev $ ls -la
                                      insgesamt 4
                                      drwxr-xr-x 15 root root        3400 Jul 29 08:07 .
                                      drwxr-xr-x 21 root root        4096 Feb 24 19:15 ..
                                      crw-r--r--  1 root root     10, 235 Jul 29 07:48 autofs
                                      drwxr-xr-x  2 root root         580 Jul 29 07:48 block
                                      crw-------  1 root root     10, 234 Jul 29 07:48 btrfs-control
                                      drwxr-xr-x  3 root root          60 Jan  1  1970 bus
                                      crw-------  1 root root     10,  63 Jul 29 07:48 cachefiles
                                      drwxr-xr-x  2 root root        2520 Jul 29 08:07 char
                                      crw-------  1 root root      5,   1 Jul 29 07:48 console
                                      crw-------  1 root root     10,  62 Jul 29 07:48 cpu_dma_latency
                                      crw-------  1 root root     10, 203 Jul 29 07:48 cuse
                                      drwxr-xr-x  7 root root         140 Jul 29 07:48 disk
                                      crw-rw----  1 root video    29,   0 Jul 29 07:48 fb0
                                      lrwxrwxrwx  1 root root          13 Nov  3  2016 fd -> /proc/self/fd
                                      crw-rw-rw-  1 root root      1,   7 Jul 29 07:48 full
                                      crw-rw-rw-  1 root root     10, 229 Jul 29 07:48 fuse
                                      crw-rw----  1 root gpio    254,   0 Jul 29 07:48 gpiochip0
                                      crw-rw----  1 root gpio    254,   1 Jul 29 07:48 gpiochip1
                                      crw-rw----  1 root gpio    254,   2 Jul 29 07:48 gpiochip2
                                      crw-rw----  1 root gpio    248,   0 Jul 29 07:48 gpiomem
                                      crw-------  1 root root     10, 183 Jul 29 07:48 hwrng
                                      lrwxrwxrwx  1 root root          25 Nov  3  2016 initctl -> /run/systemd/initctl/fifo
                                      drwxr-xr-x  2 root root          60 Jan  1  1970 input
                                      crw-r--r--  1 root root      1,  11 Jul 29 07:48 kmsg
                                      lrwxrwxrwx  1 root root          28 Nov  3  2016 log -> /run/systemd/journal/dev-log
                                      brw-rw----  1 root disk      7,   0 Jul 29 07:48 loop0
                                      brw-rw----  1 root disk      7,   1 Jul 29 07:48 loop1
                                      brw-rw----  1 root disk      7,   2 Jul 29 07:48 loop2
                                      brw-rw----  1 root disk      7,   3 Jul 29 07:48 loop3
                                      brw-rw----  1 root disk      7,   4 Jul 29 07:48 loop4
                                      brw-rw----  1 root disk      7,   5 Jul 29 07:48 loop5
                                      brw-rw----  1 root disk      7,   6 Jul 29 07:48 loop6
                                      brw-rw----  1 root disk      7,   7 Jul 29 07:48 loop7
                                      crw-rw----  1 root disk     10, 237 Jul 29 07:48 loop-control
                                      drwxr-xr-x  2 root root          60 Jul 29 07:48 mapper
                                      crw-r-----  1 root kmem      1,   1 Jul 29 07:48 mem
                                      crw-------  1 root root     10,  59 Jul 29 07:48 memory_bandwidth
                                      brw-rw----  1 root disk    179,   0 Jul 29 07:48 mmcblk0
                                      brw-rw----  1 root disk    179,   1 Jul 29 07:48 mmcblk0p1
                                      brw-rw----  1 root disk    179,   2 Jul 29 07:48 mmcblk0p2
                                      drwxrwxrwt  2 root root          40 Jan  1  1970 mqueue
                                      drwxr-xr-x  2 root root          60 Jul 29 07:48 net
                                      crw-------  1 root root     10,  61 Jul 29 07:48 network_latency
                                      crw-------  1 root root     10,  60 Jul 29 07:48 network_throughput
                                      crw-rw-rw-  1 root root      1,   3 Jul 29 07:48 null
                                      crw-------  1 root root    108,   0 Jul 29 07:48 ppp
                                      crw-rw-rw-  1 root tty       5,   2 Jul 30 08:37 ptmx
                                      drwxr-xr-x  2 root root           0 Nov  3  2016 pts
                                      brw-rw----  1 root disk      1,   0 Jul 29 07:48 ram0
                                      brw-rw----  1 root disk      1,   1 Jul 29 07:48 ram1
                                      brw-rw----  1 root disk      1,  10 Jul 29 07:48 ram10
                                      brw-rw----  1 root disk      1,  11 Jul 29 07:48 ram11
                                      brw-rw----  1 root disk      1,  12 Jul 29 07:48 ram12
                                      brw-rw----  1 root disk      1,  13 Jul 29 07:48 ram13
                                      brw-rw----  1 root disk      1,  14 Jul 29 07:48 ram14
                                      brw-rw----  1 root disk      1,  15 Jul 29 07:48 ram15
                                      brw-rw----  1 root disk      1,   2 Jul 29 07:48 ram2
                                      brw-rw----  1 root disk      1,   3 Jul 29 07:48 ram3
                                      brw-rw----  1 root disk      1,   4 Jul 29 07:48 ram4
                                      brw-rw----  1 root disk      1,   5 Jul 29 07:48 ram5
                                      brw-rw----  1 root disk      1,   6 Jul 29 07:48 ram6
                                      brw-rw----  1 root disk      1,   7 Jul 29 07:48 ram7
                                      brw-rw----  1 root disk      1,   8 Jul 29 07:48 ram8
                                      brw-rw----  1 root disk      1,   9 Jul 29 07:48 ram9
                                      crw-rw-rw-  1 root root      1,   8 Jul 29 07:48 random
                                      drwxr-xr-x  2 root root          60 Jan  1  1970 raw
                                      crw-rw-r--  1 root netdev   10,  58 Jul 29 07:48 rfkill
                                      drwxr-xr-x  4 root root          80 Jul 29 07:48 serial
                                      lrwxrwxrwx  1 root root           5 Jul 29 07:48 serial0 -> ttyS0
                                      lrwxrwxrwx  1 root root           7 Jul 29 07:48 serial1 -> ttyAMA0
                                      drwxrwxrwt  2 root root          40 Nov  3  2016 shm
                                      drwxr-xr-x  3 root root         160 Jul 29 07:48 snd
                                      lrwxrwxrwx  1 root root          15 Nov  3  2016 stderr -> /proc/self/fd/2
                                      lrwxrwxrwx  1 root root          15 Nov  3  2016 stdin -> /proc/self/fd/0
                                      lrwxrwxrwx  1 root root          15 Nov  3  2016 stdout -> /proc/self/fd/1
                                      crw-rw-rw-  1 root tty       5,   0 Jul 29 07:48 tty
                                      crw--w----  1 root tty       4,   0 Jul 29 07:48 tty0
                                      crw--w----  1 root tty       4,   1 Jul 29 07:48 tty1
                                      crw--w----  1 root tty       4,  10 Jul 29 07:48 tty10
                                      crw--w----  1 root tty       4,  11 Jul 29 07:48 tty11
                                      crw--w----  1 root tty       4,  12 Jul 29 07:48 tty12
                                      crw--w----  1 root tty       4,  13 Jul 29 07:48 tty13
                                      crw--w----  1 root tty       4,  14 Jul 29 07:48 tty14
                                      crw--w----  1 root tty       4,  15 Jul 29 07:48 tty15
                                      crw--w----  1 root tty       4,  16 Jul 29 07:48 tty16
                                      crw--w----  1 root tty       4,  17 Jul 29 07:48 tty17
                                      crw--w----  1 root tty       4,  18 Jul 29 07:48 tty18
                                      crw--w----  1 root tty       4,  19 Jul 29 07:48 tty19
                                      crw--w----  1 root tty       4,   2 Jul 29 07:48 tty2
                                      crw--w----  1 root tty       4,  20 Jul 29 07:48 tty20
                                      crw--w----  1 root tty       4,  21 Jul 29 07:48 tty21
                                      crw--w----  1 root tty       4,  22 Jul 29 07:48 tty22
                                      crw--w----  1 root tty       4,  23 Jul 29 07:48 tty23
                                      crw--w----  1 root tty       4,  24 Jul 29 07:48 tty24
                                      crw--w----  1 root tty       4,  25 Jul 29 07:48 tty25
                                      crw--w----  1 root tty       4,  26 Jul 29 07:48 tty26
                                      crw--w----  1 root tty       4,  27 Jul 29 07:48 tty27
                                      crw--w----  1 root tty       4,  28 Jul 29 07:48 tty28
                                      crw--w----  1 root tty       4,  29 Jul 29 07:48 tty29
                                      crw--w----  1 root tty       4,   3 Jul 29 07:48 tty3
                                      crw--w----  1 root tty       4,  30 Jul 29 07:48 tty30
                                      crw--w----  1 root tty       4,  31 Jul 29 07:48 tty31
                                      crw--w----  1 root tty       4,  32 Jul 29 07:48 tty32
                                      crw--w----  1 root tty       4,  33 Jul 29 07:48 tty33
                                      crw--w----  1 root tty       4,  34 Jul 29 07:48 tty34
                                      crw--w----  1 root tty       4,  35 Jul 29 07:48 tty35
                                      crw--w----  1 root tty       4,  36 Jul 29 07:48 tty36
                                      crw--w----  1 root tty       4,  37 Jul 29 07:48 tty37
                                      crw--w----  1 root tty       4,  38 Jul 29 07:48 tty38
                                      crw--w----  1 root tty       4,  39 Jul 29 07:48 tty39
                                      crw--w----  1 root tty       4,   4 Jul 29 07:48 tty4
                                      crw--w----  1 root tty       4,  40 Jul 29 07:48 tty40
                                      crw--w----  1 root tty       4,  41 Jul 29 07:48 tty41
                                      crw--w----  1 root tty       4,  42 Jul 29 07:48 tty42
                                      crw--w----  1 root tty       4,  43 Jul 29 07:48 tty43
                                      crw--w----  1 root tty       4,  44 Jul 29 07:48 tty44
                                      crw--w----  1 root tty       4,  45 Jul 29 07:48 tty45
                                      crw--w----  1 root tty       4,  46 Jul 29 07:48 tty46
                                      crw--w----  1 root tty       4,  47 Jul 29 07:48 tty47
                                      crw--w----  1 root tty       4,  48 Jul 29 07:48 tty48
                                      crw--w----  1 root tty       4,  49 Jul 29 07:48 tty49
                                      crw--w----  1 root tty       4,   5 Jul 29 07:48 tty5
                                      crw--w----  1 root tty       4,  50 Jul 29 07:48 tty50
                                      crw--w----  1 root tty       4,  51 Jul 29 07:48 tty51
                                      crw--w----  1 root tty       4,  52 Jul 29 07:48 tty52
                                      crw--w----  1 root tty       4,  53 Jul 29 07:48 tty53
                                      crw--w----  1 root tty       4,  54 Jul 29 07:48 tty54
                                      crw--w----  1 root tty       4,  55 Jul 29 07:48 tty55
                                      crw--w----  1 root tty       4,  56 Jul 29 07:48 tty56
                                      crw--w----  1 root tty       4,  57 Jul 29 07:48 tty57
                                      crw--w----  1 root tty       4,  58 Jul 29 07:48 tty58
                                      crw--w----  1 root tty       4,  59 Jul 29 07:48 tty59
                                      crw--w----  1 root tty       4,   6 Jul 29 07:48 tty6
                                      crw--w----  1 root tty       4,  60 Jul 29 07:48 tty60
                                      crw--w----  1 root tty       4,  61 Jul 29 07:48 tty61
                                      crw--w----  1 root tty       4,  62 Jul 29 07:48 tty62
                                      crw--w----  1 root tty       4,  63 Jul 29 07:48 tty63
                                      crw--w----  1 root tty       4,   7 Jul 29 07:48 tty7
                                      crw--w----  1 root tty       4,   8 Jul 29 07:48 tty8
                                      crw--w----  1 root tty       4,   9 Jul 29 07:48 tty9
                                      crw-rw----  1 root dialout 204,  64 Jul 29 07:48 ttyAMA0
                                      crw-------  1 root root      5,   3 Jul 29 07:48 ttyprintk
                                      crw-rw----  1 root dialout   4,  64 Jul 29 07:48 ttyS0
                                      crw-rw----  1 root dialout 188,   0 Jul 29 08:07 ttyUSB0
                                      crw-rw----  1 root dialout 188,   1 Jul 30 08:37 ttyUSB1
                                      crw-------  1 root root     10, 239 Jul 29 07:48 uhid
                                      crw-------  1 root root     10, 223 Jul 29 07:48 uinput
                                      crw-rw-rw-  1 root root      1,   9 Jul 29 07:48 urandom
                                      crw-rw----  1 root video   245,   0 Jul 29 07:48 vchiq
                                      crw-rw----  1 root video   249,   0 Jul 29 07:48 vcio
                                      crw-------  1 root root    250,   0 Jul 29 07:48 vc-mem
                                      crw-rw----  1 root tty       7,   0 Jul 29 07:48 vcs
                                      crw-rw----  1 root tty       7,   1 Jul 29 07:48 vcs1
                                      crw-rw----  1 root tty       7,   2 Jul 29 07:48 vcs2
                                      crw-rw----  1 root tty       7,   3 Jul 29 07:48 vcs3
                                      crw-rw----  1 root tty       7,   4 Jul 29 07:48 vcs4
                                      crw-rw----  1 root tty       7,   5 Jul 29 07:48 vcs5
                                      crw-rw----  1 root tty       7,   6 Jul 29 07:48 vcs6
                                      crw-rw----  1 root tty       7, 128 Jul 29 07:48 vcsa
                                      crw-rw----  1 root tty       7, 129 Jul 29 07:48 vcsa1
                                      crw-rw----  1 root tty       7, 130 Jul 29 07:48 vcsa2
                                      crw-rw----  1 root tty       7, 131 Jul 29 07:48 vcsa3
                                      crw-rw----  1 root tty       7, 132 Jul 29 07:48 vcsa4
                                      crw-rw----  1 root tty       7, 133 Jul 29 07:48 vcsa5
                                      crw-rw----  1 root tty       7, 134 Jul 29 07:48 vcsa6
                                      crw-rw----  1 root video   246,   0 Jul 29 07:48 vcsm
                                      crw-------  1 root root     10, 137 Jul 29 07:48 vhci
                                      crw-------  1 root root     10, 130 Jul 29 07:48 watchdog
                                      crw-------  1 root root    252,   0 Jul 29 07:48 watchdog0
                                      crw-rw-rw-  1 root root      1,   5 Jul 29 07:48 zero
                                      
                                      
                                      apollon77 1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @mguenther last edited by

                                        @mguenther ls -la /dev/serial/serial-by-* ...

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          mguenther @apollon77 last edited by

                                          @apollon77 sagte in Modbus -USB-Stick wird nicht gefunden:

                                          ls -la /dev/serial/serial-by-*

                                          pi@ioBroker-Pi:/dev $ ls -la /dev/serial/serial-by-*
                                          ls: Zugriff auf '/dev/serial/serial-by-*' nicht möglich: Datei oder Verzeichnis nicht gefunden
                                          pi@ioBroker-Pi:/dev $
                                          
                                          apollon77 1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @mguenther last edited by

                                            @mguenther really ... Ok, ich schreibe demnächst dazu wenn ich nur vermute oder aus dem Gedächtnis Ansaätze liefere bzw erwarte das jemand selbst tiefer schaut ..

                                            ls -la /dev/serial/by-id/*

                                            dann siehst du welche rstick ws ist wenn dir die Infos helfen.

                                            Ich tippe darauf das unter ttypUSB0 ein anderer deiner beiden Sticks jetzt hängt.

                                            M 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            974
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            usb-stick
                                            7
                                            72
                                            4833
                                            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