Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Probleme mit Serialport bei zwave2

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Probleme mit Serialport bei zwave2

    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      Esmax666 @Thomas Braun last edited by

      @thomas-braun said in Probleme mit Serialport bei zwave2:

      ls -ls /dev/ | grep serial

      pi@raspberrypi:/opt/iobroker/node_modules/iobroker.zwave2 $ ls -ls /dev/ | grep serial
      0 lrwxrwxrwx 1 root root           5 Mai 20 20:56 serial0 -> ttyS0
      0 lrwxrwxrwx 1 root root           7 Mai 20 20:56 serial1 -> ttyAMA0
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Esmax666 last edited by Thomas Braun

        @esmax666 sagte in Probleme mit Serialport bei zwave2:

        Am Beispiel von meinem System (da weiß ich was installiert ist...)

        echad@chet:~ $ ls -ls /dev/ | grep serial
        0 lrwxrwxrwx 1 root root           5 Mai 20 20:29 serial0 -> ttyS0
        0 lrwxrwxrwx 1 root root           7 Mai 20 20:29 serial1 -> ttyAMA0
        

        ttyS0 -> Mein Raspbee I über die GPIO-Ports vom Raspi4
        ttyAMA0 -> Das Raspi-interne Bluetooth.

        Über USB direkt habe ich nichts an der Mühle dran.

        1 Reply Last reply Reply Quote 0
        • AlCalzone
          AlCalzone Developer @Esmax666 last edited by

          @esmax666 sagte in Probleme mit Serialport bei zwave2:

          mit /dev/serial0/

          Ok, da ist kein Z-Wave Stick dran

          No such file or directory, cannot open dev/ttyAMA0

          Du hast das führende / vergessen: /dev/ttyAMA0, nicht dev/ttyAMA0

          E 1 Reply Last reply Reply Quote 0
          • E
            Esmax666 @AlCalzone last edited by

            hat schon jemand zwave2 mit aeotec z wave + und iobroker ?

            gibt es sonst fertig image ?

            ich habe die image verwendet:
            https://www.raspberrypi.org/software/operating-systems/

            ok stimmt er ist hier blokiert:

            pi@raspberrypi:~ $ cd /opt/iobroker/node_modules/iobroker.zwave2
            pi@raspberrypi:/opt/iobroker/node_modules/iobroker.zwave2 $ node build/main.js -                                                                                                             -force --logs
            2021-05-20 21:56:05.370  - error: zwave2.0 (15073) adapter disabled
            2021-05-20 21:56:05.380  - info: zwave2.0 (15073) starting. Version 1.9.3 in /op                                                                                                             t/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
            21:56:05.452 DRIVER   ███████╗ ██╗    ██╗  █████╗  ██╗   ██╗ ███████╗                                                                                                                          ██╗ ███████╗
                                  ╚══███╔╝ ██║    ██║ ██╔══██╗ ██║   ██║ ██╔════╝                                                                                                                          ██║ ██╔════╝
                                    ███╔╝  ██║ █╗ ██║ ███████║ ██║   ██║ █████╗   █████╗                                                                                                                   ██║ ███████╗
                                   ███╔╝   ██║███╗██║ ██╔══██║ ╚██╗ ██╔╝ ██╔══╝   ╚════╝ ██                                                                                                                ██║ ╚════██║
                                  ███████╗ ╚███╔███╔╝ ██║  ██║  ╚████╔╝  ███████╗        ╚██                                                                                                             ███╔╝ ███████║
                                  ╚══════╝  ╚══╝╚══╝  ╚═╝  ╚═╝   ╚═══╝   ╚══════╝         ╚═                                                                                                             ═══╝  ╚══════╝
            21:56:05.456 DRIVER   version 7.4.0
            21:56:05.457 CONFIG   version 7.4.0
            21:56:05.458 DRIVER
            21:56:05.459 DRIVER   starting driver...
            21:56:05.486 DRIVER   opening serial port /dev/ttyAMA0
            21:56:05.504 DRIVER   serial port opened
            21:56:05.506 SERIAL » [NAK]                                                                                                                                                                                (0x15)
            
            
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Esmax666 last edited by

              @esmax666 sagte in Probleme mit Serialport bei zwave2:

              aeotec

              https://forum.iobroker.net/topic/45179/aeotec-gen5-nicht-connected/23?_=1621540896642

              1 Reply Last reply Reply Quote 0
              • AlCalzone
                AlCalzone Developer @Esmax666 last edited by

                @Thomas-Braun:

                @esmax666 sagte in Probleme mit Serialport bei zwave2:

                Z-Stick Gen5 +

                Der sollte gehen.

                E 1 Reply Last reply Reply Quote 0
                • E
                  Esmax666 @AlCalzone last edited by

                  @alcalzone
                  also das ist genau ZW090-C (steht zwave plus)

                  AlCalzone 1 Reply Last reply Reply Quote 0
                  • AlCalzone
                    AlCalzone Developer @Esmax666 last edited by

                    @esmax666 Stopp, nicht verwechseln... Beide sind Z-Wave Plus, beide werden unter "ZW090-C" verkauft.
                    Aber einer heißt Gen5 und macht fiese Probleme wenn er nicht in einem externen USB2.0-Hub steckt und einer heißt Gen5+ und funktioniert einwandfrei.

                    E 1 Reply Last reply Reply Quote 0
                    • E
                      Esmax666 @AlCalzone last edited by

                      @alcalzone ach so dann habe ich gen5, ich muss jetzt ein hub kaufen 😕

                      AlCalzone 1 Reply Last reply Reply Quote 0
                      • AlCalzone
                        AlCalzone Developer @Esmax666 last edited by

                        @esmax666 Bevor du viel Geld für nen Hub ausgibst, kauf dir lieber gleich nen Z-Wave 700 Stick:
                        https://www.mouser.de/ProductDetail/Silicon-Labs/SLUSB001A?qs=u16ybLDytRbJsMfgk3EnSA==
                        Kostet fast nix und ist Zukunftssicher.

                        E Lenny.CB 3 Replies Last reply Reply Quote 0
                        • E
                          Esmax666 @AlCalzone last edited by

                          @alcalzone hab noch ein irgenwo zu hause, finde ich gerade leider nicht
                          sonst gibt auch modele für 3€

                          1 Reply Last reply Reply Quote 0
                          • E
                            Esmax666 @AlCalzone last edited by Esmax666

                            @alcalzone
                            EDIT: es geht jetzt : (mit ACM09
                            24cd3297-bfc9-481b-ac18-9a178c203434-image.png

                            hi hab jetzt ein usb hub, und jetzt zeigt er ACM0

                            9ba52eb0-5813-4821-987a-591f0c722e51-image.png

                            und ich bekomme das:

                            pi@raspberrypi:~ $ ls -ls /dev/ | grep serial
                            0 drwxr-xr-x 4 root root          80 Mai 21 13:46 serial
                            0 lrwxrwxrwx 1 root root           5 Mai 20 20:56 serial0 -> ttyS0
                            0 lrwxrwxrwx 1 root root           7 Mai 20 20:56 serial1 -> ttyAMA0
                            pi@raspberrypi:~ $ cd /opt/iobroker/node_modules/iobroker.zwave2
                            pi@raspberrypi:/opt/iobroker/node_modules/iobroker.zwave2 $ node build/main.js -                                                                                                                                                                                                                                             -force --logs
                            2021-05-21 13:52:23.280  - info: zwave2.0 (393) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                            13:52:23.362 DRIVER   ███████╗ ██╗    ██╗  █████╗  ██╗   ██╗ ███████╗             ██╗ ███████╗
                                                  ╚══███╔╝ ██║    ██║ ██╔══██╗ ██║   ██║ ██╔════╝             ██║ ██╔════╝
                                                    ███╔╝  ██║ █╗ ██║ ███████║ ██║   ██║ █████╗   █████╗      ██║ ███████╗
                                                   ███╔╝   ██║███╗██║ ██╔══██║ ╚██╗ ██╔╝ ██╔══╝   ╚════╝ ██   ██║ ╚════██║
                                                  ███████╗ ╚███╔███╔╝ ██║  ██║  ╚████╔╝  ███████╗        ╚█████╔╝ ███████║
                                                  ╚══════╝  ╚══╝╚══╝  ╚═╝  ╚═╝   ╚═══╝   ╚══════╝         ╚════╝  ╚══════╝
                            13:52:23.369 DRIVER   version 7.4.0
                            13:52:23.371 CONFIG   version 7.4.0
                            13:52:23.372 DRIVER
                            13:52:23.372 DRIVER   starting driver...
                            13:52:23.409 DRIVER   opening serial port /dev/serial1
                            13:52:23.429 DRIVER   serial port errored: Error Resource temporarily unavailable Cannot lock port
                            13:52:23.430 DRIVER   destroying driver instance...
                            2021-05-21 13:52:23.433  - error: zwave2.0 (393) The Z-Wave driver could not be started: Error Resource temporarily unavailable Cannot lock port
                            
                            

                            /dev/serial1

                            pi@raspberrypi:/opt/iobroker/node_modules/iobroker.zwave2 $ node build/main.js --force --logs
                            2021-05-21 13:53:56.938  - info: zwave2.0 (530) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                            13:53:57.027 DRIVER   ███████╗ ██╗    ██╗  █████╗  ██╗   ██╗ ███████╗             ██╗ ███████╗
                                                  ╚══███╔╝ ██║    ██║ ██╔══██╗ ██║   ██║ ██╔════╝             ██║ ██╔════╝
                                                    ███╔╝  ██║ █╗ ██║ ███████║ ██║   ██║ █████╗   █████╗      ██║ ███████╗
                                                   ███╔╝   ██║███╗██║ ██╔══██║ ╚██╗ ██╔╝ ██╔══╝   ╚════╝ ██   ██║ ╚════██║
                                                  ███████╗ ╚███╔███╔╝ ██║  ██║  ╚████╔╝  ███████╗        ╚█████╔╝ ███████║
                                                  ╚══════╝  ╚══╝╚══╝  ╚═╝  ╚═╝   ╚═══╝   ╚══════╝         ╚════╝  ╚══════╝
                            13:53:57.032 DRIVER   version 7.4.0
                            13:53:57.034 CONFIG   version 7.4.0
                            13:53:57.035 DRIVER
                            13:53:57.036 DRIVER   starting driver...
                            13:53:57.069 DRIVER   opening serial port /dev/serial1
                            13:53:57.089 DRIVER   serial port errored: Error Resource temporarily unavailable Cannot lock port
                            13:53:57.092 DRIVER   destroying driver instance...
                            2021-05-21 13:53:57.096  - error: zwave2.0 (530) The Z-Wave driver could not be started: Error Resource temporarily unavailable Cannot lock port
                            
                            

                            /dev/ttyACM0

                            pi@raspberrypi:/opt/iobroker/node_modules/iobroker.zwave2 $ node build/main.js --force --logs
                            2021-05-21 13:56:15.231  - info: zwave2.0 (615) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                            13:56:15.326 DRIVER   ███████╗ ██╗    ██╗  █████╗  ██╗   ██╗ ███████╗             ██╗ ███████╗
                                                  ╚══███╔╝ ██║    ██║ ██╔══██╗ ██║   ██║ ██╔════╝             ██║ ██╔════╝
                                                    ███╔╝  ██║ █╗ ██║ ███████║ ██║   ██║ █████╗   █████╗      ██║ ███████╗
                                                   ███╔╝   ██║███╗██║ ██╔══██║ ╚██╗ ██╔╝ ██╔══╝   ╚════╝ ██   ██║ ╚════██║
                                                  ███████╗ ╚███╔███╔╝ ██║  ██║  ╚████╔╝  ███████╗        ╚█████╔╝ ███████║
                                                  ╚══════╝  ╚══╝╚══╝  ╚═╝  ╚═╝   ╚═══╝   ╚══════╝         ╚════╝  ╚══════╝
                            13:56:15.330 DRIVER   version 7.4.0
                            13:56:15.332 CONFIG   version 7.4.0
                            13:56:15.333 DRIVER
                            13:56:15.334 DRIVER   starting driver...
                            13:56:15.365 DRIVER   opening serial port /dev/ttyACM0
                            13:56:15.386 DRIVER   serial port errored: Error Resource temporarily unavailable Cannot lock port
                            13:56:15.387 DRIVER   destroying driver instance...
                            2021-05-21 13:56:15.390  - error: zwave2.0 (615) The Z-Wave driver could not be started: Error Resource temporarily unavailable Cannot lock port
                            2021-05-21 13:56:15.948  - debug: zwave2.0 (615) sendTo "getAssociationGroups" to system.adapter.admin.0 from system.adapter.zwave2.0
                            2021-05-21 13:56:15.952  - debug: zwave2.0 (615) sendTo "getAssociationGroups" to system.adapter.admin.0 from system.adapter.zwave2.0
                            2021-05-21 13:56:15.953  - debug: zwave2.0 (615) sendTo "getAssociationGroups" to system.adapter.admin.0 from system.adapter.zwave2.0
                            2021-05-21 13:56:16.953  - debug: zwave2.0 (615) sendTo "getAssociations" to system.adapter.admin.0 from system.adapter.zwave2.0
                            2021-05-21 13:56:16.957  - debug: zwave2.0 (615) sendTo "getAssociations" to system.adapter.admin.0 from system.adapter.zwave2.0
                            2021-05-21 13:56:16.961  - debug: zwave2.0 (615) sendTo "getAssociations" to system.adapter.admin.0 from system.adapter.zwave2.0
                            
                            
                            pi@raspberrypi:/opt/iobroker/node_modules/iobroker.zwave2 $ node build/main.js --force --logs
                            2021-05-21 13:57:06.347  - info: zwave2.0 (643) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                            13:57:06.432 DRIVER   ███████╗ ██╗    ██╗  █████╗  ██╗   ██╗ ███████╗             ██╗ ███████╗
                                                  ╚══███╔╝ ██║    ██║ ██╔══██╗ ██║   ██║ ██╔════╝             ██║ ██╔════╝
                                                    ███╔╝  ██║ █╗ ██║ ███████║ ██║   ██║ █████╗   █████╗      ██║ ███████╗
                                                   ███╔╝   ██║███╗██║ ██╔══██║ ╚██╗ ██╔╝ ██╔══╝   ╚════╝ ██   ██║ ╚════██║
                                                  ███████╗ ╚███╔███╔╝ ██║  ██║  ╚████╔╝  ███████╗        ╚█████╔╝ ███████║
                                                  ╚══════╝  ╚══╝╚══╝  ╚═╝  ╚═╝   ╚═══╝   ╚══════╝         ╚════╝  ╚══════╝
                            13:57:06.437 DRIVER   version 7.4.0
                            13:57:06.439 CONFIG   version 7.4.0
                            13:57:06.439 DRIVER
                            13:57:06.440 DRIVER   starting driver...
                            13:57:06.472 DRIVER   opening serial port /dev/ttyAMA0
                            13:57:06.496 DRIVER   serial port errored: Error Resource temporarily unavailable Cannot lock port
                            13:57:06.497 DRIVER   destroying driver instance...
                            2021-05-21 13:57:06.501  - error: zwave2.0 (643) The Z-Wave driver could not be started: Error Resource temporarily unavailable Cannot lock port
                            
                            
                            AlCalzone 1 Reply Last reply Reply Quote 0
                            • AlCalzone
                              AlCalzone Developer @Esmax666 last edited by

                              @esmax666 sagte in Probleme mit Serialport bei zwave2:

                              Resource temporarily unavailable Cannot lock port

                              Da scheint immer noch was anderes drauf zuzugreifen.

                              E 1 Reply Last reply Reply Quote 0
                              • Lenny.CB
                                Lenny.CB Most Active @AlCalzone last edited by

                                @alcalzone 20€ Versandkosten... krass, ist ja mehr als der Stick kostet. 🤮

                                1 Reply Last reply Reply Quote 0
                                • E
                                  Esmax666 @AlCalzone last edited by

                                  @alcalzone was kannst ich sonst noch machen ? willst du noch etwas sehen ?

                                  E 1 Reply Last reply Reply Quote 0
                                  • E
                                    Esmax666 @Esmax666 last edited by Esmax666

                                    @esmax666
                                    ich habe sonst ganz normal hier rasbian hier runtergelanden
                                    https://www.raspberrypi.org/software/operating-systems/

                                    und dann einfach

                                    curl -sLf https://iobroker.net/install.sh | bash -
                                    

                                    soll man lieber / gibt es sonst fertig image mit rasbian ?

                                    oder wo konnte noch das problem kommen ?

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

                                      @esmax666
                                      Nein, alles richtig gemacht.

                                      Du schreibst doch aber oben, dass jetzt alles funktioniert?

                                      AlCalzone 1 Reply Last reply Reply Quote 0
                                      • AlCalzone
                                        AlCalzone Developer @Thomas Braun last edited by

                                        @thomas-braun sagte in Probleme mit Serialport bei zwave2:

                                        Du schreibst doch anber oben, dass jetzt alles funktioniert?

                                        Tuts aber nicht - der Adapter verweigert immer noch den "richtigen" Start wegen "cannot lock port".

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

                                          @alcalzone @Esmax666

                                          Dann halt nochmal mit

                                          sudo lsof /dev/tty[wasauchimmergeradeaktivseinsollte]
                                          

                                          schauen.

                                          E 1 Reply Last reply Reply Quote 0
                                          • AlCalzone
                                            AlCalzone Developer last edited by

                                            @Esmax666 schau auch mal ob in /boot/config.txt eine Zeile enable_uart=1 zu finden ist.
                                            Auf meinem Pi4 ist das der Fall und dort geht der Adapter.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            614
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            118
                                            6853
                                            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