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.
    • 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
                                        • E
                                          Esmax666 @Thomas Braun last edited by

                                          @thomas-braun

                                          pi@raspberrypi:/opt/iobroker/node_modules/iobroker.zwave2 $ sudo lsof /dev/ttyACM0
                                          COMMAND PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
                                          node    673 iobroker   26uW  CHR  166,0      0t0  427 /dev/ttyACM0
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • E
                                            Esmax666 @AlCalzone last edited by Esmax666

                                            @alcalzone said in Probleme mit Serialport bei zwave2:

                                            config.txt

                                            ganz am ende

                                            pi@raspberrypi:/boot $ cat config.txt
                                            # For more options and information see
                                            # http://rpf.io/configtxt
                                            # Some settings may impact device functionality. See link above for details
                                            
                                            # uncomment if you get no picture on HDMI for a default "safe" mode
                                            #hdmi_safe=1
                                            
                                            # uncomment this if your display has a black border of unused pixels visible
                                            # and your display can output without overscan
                                            #disable_overscan=1
                                            
                                            # uncomment the following to adjust overscan. Use positive numbers if console
                                            # goes off screen, and negative if there is too much border
                                            #overscan_left=16
                                            #overscan_right=16
                                            #overscan_top=16
                                            #overscan_bottom=16
                                            
                                            # uncomment to force a console size. By default it will be display's size minus
                                            # overscan.
                                            #framebuffer_width=1280
                                            #framebuffer_height=720
                                            
                                            # uncomment if hdmi display is not detected and composite is being output
                                            #hdmi_force_hotplug=1
                                            
                                            # uncomment to force a specific HDMI mode (this will force VGA)
                                            #hdmi_group=1
                                            #hdmi_mode=1
                                            
                                            # uncomment to force a HDMI mode rather than DVI. This can make audio work in
                                            # DMT (computer monitor) modes
                                            #hdmi_drive=2
                                            
                                            # uncomment to increase signal to HDMI, if you have interference, blanking, or
                                            # no display
                                            #config_hdmi_boost=4
                                            
                                            # uncomment for composite PAL
                                            #sdtv_mode=2
                                            
                                            #uncomment to overclock the arm. 700 MHz is the default.
                                            #arm_freq=800
                                            
                                            # Uncomment some or all of these to enable the optional hardware interfaces
                                            #dtparam=i2c_arm=on
                                            #dtparam=i2s=on
                                            #dtparam=spi=on
                                            
                                            # Uncomment this to enable infrared communication.
                                            #dtoverlay=gpio-ir,gpio_pin=17
                                            #dtoverlay=gpio-ir-tx,gpio_pin=18
                                            
                                            # Additional overlays and parameters are documented /boot/overlays/README
                                            
                                            # Enable audio (loads snd_bcm2835)
                                            dtparam=audio=on
                                            
                                            [pi4]
                                            # Enable DRM VC4 V3D driver on top of the dispmanx display stack
                                            dtoverlay=vc4-fkms-v3d
                                            max_framebuffers=2
                                            
                                            [all]
                                            #dtoverlay=vc4-fkms-v3d
                                            enable_uart=1
                                            
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            668
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

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