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 goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Probleme mit Serialport bei zwave2

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

      @thomas-braun said in Test Adapter Z-Wave 2 v1.10.x:

      Windows User, oder? Der Treiber ist im Linux-Kernel schon drin.

      warum windows User ?
      steht sogar in log

      host.raspberrypi	2021-05-16 08:00:00.072	info	instance system.adapter.ical.0 started with pid 29746
      zwave2.0	2021-05-16 07:55:56.747	error	(12308) The Z-Wave driver could not be started: Error: Is a directory, cannot open /dev/
      zwave2.0	2021-05-16 07:55:56.584	info	(12308) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
      host.raspberrypi	2021-05-16 07:55:54.148	info	instance system.adapter.zwave2.0 started with pid 12308
      host.raspberrypi	2021-05-16 07:55:51.659	info	instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      zwave2.0	2021-05-16 07:55:51.028	info	(6004) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      zwave2.0	2021-05-16 07:55:51.026	info	(6004) terminating
      
      E Thomas Braun 2 Replies Last reply Reply Quote 0
      • E
        Esmax666 @Esmax666 last edited by

        Linux raspberrypi 5.10.17-v7l+ #1414 SMP Fri Apr 30 13:20:47 BST 2021 armv7l
        
        The programs included with the Debian GNU/Linux system are free software;
        the exact distribution terms for each program are described in the
        individual files in /usr/share/doc/*/copyright.
        
        Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
        permitted by applicable law.
        Last login: Sun May 16 00:06:39 2021
        pi@raspberrypi:~ $ npm i iobroker.zwave2
        
        > @serialport/bindings@9.0.7 install /home/pi/node_modules/@serialport/bindings
        > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
        
        prebuild-install WARN install No prebuilt binaries found (target=12.22.1 runtime=node arch=arm libc= platform=linux)
        make: Verzeichnis „/home/pi/node_modules/@serialport/bindings/build“ wird betreten
          CXX(target) Release/obj.target/bindings/src/serialport.o
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
           uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                             ^~~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
           uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                               ^~~~~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
           uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                              ^~~~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
           uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                              ^~~~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:271:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
           uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                                                            ^~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:316:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
           uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                                                            ^~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:366:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
         _queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                ^~~~~~~~~~~~~~~~~~~~
        
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:412:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
           uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                              ^~~~~~~~~~~~~~
        ../src/serialport.cpp: At global scope:
        ../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
         SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                    ^
        ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
         SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                      ^
        In file included from ../../../nan/nan.h:56,
                         from ../src/./serialport.h:6,
                         from ../src/serialport.cpp:1:
        /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
               (node::addon_register_func) (regfunc),                          \
                                                   ^
        /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’
           NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
           ^~~~~~~~~~~~~
        ../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(serialport, init);
         ^~~~~~~~~~~
          CXX(target) Release/obj.target/bindings/src/serialport_unix.o
        ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
        ../src/serialport_unix.cpp:176:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
             snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~
        ../src/serialport_unix.cpp:176:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024
             snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
             ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
        ../src/serialport_unix.cpp:86:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
             snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
        ../src/serialport_unix.cpp:86:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024
             snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
             ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          CXX(target) Release/obj.target/bindings/src/poller.o
          CXX(target) Release/obj.target/bindings/src/serialport_linux.o
          SOLINK_MODULE(target) Release/obj.target/bindings.node
          COPY Release/bindings.node
        make: Verzeichnis „/home/pi/node_modules/@serialport/bindings/build“ wird verlassennpm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
        npm notice created a lockfile as package-lock.json. You should commit this file.
        npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
        npm WARN pi No description
        npm WARN pi No repository field.
        npm WARN pi No README data
        npm WARN pi No license field.
        
        + iobroker.zwave2@1.10.0
        added 168 packages from 189 contributors and audited 168 packages in 41.299s
        
        29 packages are looking for funding
          run `npm fund` for details
        
        found 0 vulnerabilities
        
        pi@raspberrypi:~ $ npm i zwave-js
        npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
        npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
        npm WARN pi No description
        npm WARN pi No repository field.
        npm WARN pi No README data
        npm WARN pi No license field.
        
        + zwave-js@7.4.0
        updated 1 package and audited 309 packages in 6.047s
        
        29 packages are looking for funding
          run `npm fund` for details
        
        found 0 vulnerabilities
        
        pi@raspberrypi:~ $
        
        1 Reply Last reply Reply Quote 0
        • E
          Esmax666 @AlCalzone last edited by

          @alcalzone

          Das ist die Raspi3 die die funktionniert (npm version vielleicht passt nicht)
          (hier ist ACM0) auf raspi4 geht auch nicht fehlt etwas ?

          f15c72c5-f222-46a5-ae40-d96d1c38d305-image.png

          693b4353-a7c5-4398-89a5-675c380dd261-image.png

          d59c5429-2815-4df9-9ff5-703cd1056e12-image.png

          7fc17ee8-9d43-4245-8c9e-1f50ec444094-image.png

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

            @esmax666 sagte in Test Adapter Z-Wave 2 v1.10.x:

            steht sogar in log

            Da steht, dass /dev kein device node ist sondern ein Verzeichnis. Vermutlich hast du /dev in den Einstellungen des Adapters drin.

            pi@raspberrypi:~ $ npm i iobroker.zwave2

            Ist falsch. Jetzt hast du das im /home-Verzeichnis von pi installiert.
            Nimm den Adapter aus der Adapterliste im Admin.

            Aus deinem dmesg:

            [Sa Mai 15 21:06:15 2021] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
            

            Das ist der für das Gerät geladene Treiber. Und da sieht man auch, dass das Device auf ttyAMA0 liegt.

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

              @thomas-braun said in Test Adapter Z-Wave 2 v1.10.x:

              Nimm den Adapter aus der Adapterliste im Admin.

              Hatte ich schon gemacht.

              sogar sogar instance weg gemacht und neu gemacht

              leider geht es nicht mehr

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

                @esmax666 sagte in Test Adapter Z-Wave 2 v1.10.x:

                leider geht es nicht mehr

                Stimmt dann wohl.
                Leider kann man aus deiner 'Fehlerbeschreibung' nichts herauslesen.

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

                  @thomas-braun was kann ich sonst noch als info geben ?

                  sonst habe ich noch 2 warn und 1 error

                  info.0	2021-05-16 13:07:15.628	warn	(2791) State "info.0.uuid" has no existing object, this might lead to an error in future versions
                  host.raspberrypi	2021-05-16 13:00:08.345	info	instance system.adapter.ical.0 terminated with code 0 (NO_ERROR)
                  host.raspberrypi	2021-05-16 13:00:00.042	info	instance system.adapter.ical.0 started with pid 5361
                  zwave2.0	2021-05-16 12:59:53.829	info	(5346) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                  host.raspberrypi	2021-05-16 12:59:51.487	info	instance system.adapter.zwave2.0 started with pid 5346
                  host.raspberrypi	2021-05-16 12:59:21.429	info	Restart adapter system.adapter.zwave2.0 because enabled
                  host.raspberrypi	2021-05-16 12:59:21.428	info	instance system.adapter.zwave2.0 terminated with code NaN ()
                  host.raspberrypi	2021-05-16 12:59:21.427	warn	instance system.adapter.zwave2.0 terminated due to SIGABRT
                  host.raspberrypi	2021-05-16 12:59:21.422	error	Caught by controller[0]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
                  zwave2.0	2021-05-16 12:45:57.264	info	(5176) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                  host.raspberrypi	2021-05-16 12:45:55.024	info	instance system.adapter.zwave2.0 started with pid 5176
                  host.raspberrypi	2021-05-16 12:45:24.958	info	Restart adapter system.adapter.zwave2.0 because enabled
                  host.raspberrypi	2021-05-16 12:45:24.957	info	instance system.adapter.zwave2.0 terminated with code NaN ()
                  host.raspberrypi	2021-05-16 12:45:24.956	warn	instance system.adapter.zwave2.0 terminated due to SIGABRT
                  host.raspberrypi	2021-05-16 12:45:24.950	error	Caught by controller[0]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
                  info.0	2021-05-16 12:37:15.604	warn	(2791) State "info.0.uuid" has no existing object, this might lead to an error in future versions
                  zwave2.0	2021-05-16 12:32:01.208	info	(5010) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                  host.raspberrypi	2021-05-16 12:31:58.911	info	instance system.adapter.zwave2.0 started with pid 5010
                  host.raspberrypi	2021-05-16 12:31:28.859	info	Restart adapter system.adapter.zwave2.0 because enabled
                  host.raspberrypi	2021-05-16 12:31:28.859	info	instance system.adapter.zwave2.0 terminated with code NaN ()
                  host.raspberrypi	2021-05-16 12:31:28.858	warn	instance system.adapter.zwave2.0 terminated due to SIGABRT
                  host.raspberrypi	2021-05-16 12:31:28.857	error	Caught by controller[0]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Esmax666 last edited by

                    @esmax666
                    Speicher dicht?

                    free -ht
                    

                    anschauen.

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

                      @thomas-braun e6761199-eed2-4a16-9ee1-e9ac22718005-image.png

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

                        @esmax666
                        Bitte keine Bilderchen posten, KonsolenTEXT in CodeTags eingebettet hier rein.

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

                          @Esmax666 die Datei brauchst du inzwischen nicht mehr manuell bearbeiten. Auf Pi 4 sind das die Schritte, die ausreichen: Konsole auf,

                          sudo raspi-config
                          
                          • 3 Interface Options
                          • P6 Serial Port
                          • "Would you like a login shell to be accessible over serial?" => NO
                          • "Would you like the serial port hardware to be enabled?" => YES

                          Danach sollte der Adapter funktionieren, wenn du /dev/serial0 einträgst - ist leider nicht in der Liste zu finden.

                          Thomas Braun E 3 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @AlCalzone last edited by

                            @alcalzone
                            An den Hardware-Part hatte ich noch gar nicht gedacht, bzw. vorausgesetzt das der natürlich auch aktiviert wurde.

                            Wobei dann /dev/serial0 'nur' ein symlink auf das device node /dev/ttyAMA0 sein dürfte.

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

                              @alcalzone

                              ok ist jetzt aktviert
                              7b76789f-c8ee-4152-a481-3a6f50d06c38-image.png

                              und auch neu gestartet

                              aber immer Driver could not be started

                              zwave2.0	2021-05-16 15:32:12.067	error	(17665) The Z-Wave driver could not be started: Error: No such file or directory, cannot open /dev/serial0
                              zwave2.0	2021-05-16 15:32:11.921	info	(17665) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                              host.raspberrypi	2021-05-16 15:32:09.511	info	instance system.adapter.zwave2.0 started with pid 17665
                              host.raspberrypi	2021-05-16 15:32:07.043	info	instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                              zwave2.0	2021-05-16 15:32:06.372	info	(5742) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                              zwave2.0	2021-05-16 15:32:06.371	info	(5742) terminating
                              zwave2.0	2021-05-16 15:32:06.369	info	(5742) Shutting down driver...
                              zwave2.0	2021-05-16 15:32:06.367	info	(5742) Got terminate signal TERMINATE_YOURSELF
                              host.raspberrypi	2021-05-16 15:32:06.367	info	stopInstance system.adapter.zwave2.0 send kill signal
                              host.raspberrypi	2021-05-16 15:32:06.359	info	stopInstance system.adapter.zwave2.0 (force=false, process=true)
                              host.raspberrypi	2021-05-16 15:30:27.733	info	instance system.adapter.ical.0 terminated with code 0 (NO_ERROR)
                              ical.0	2021-05-16 15:30:27.198	info	(8661) Terminated (NO_ERROR): Without reason
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Esmax666 last edited by Thomas Braun

                                @esmax666
                                Und wenn du das device direkt anrufst? Unter /dev/ttyAMA0

                                Gibt es das Gerät?

                                ls -la /dev/ttyAMA0
                                sudo -u iobroker groups
                                
                                E 1 Reply Last reply Reply Quote 0
                                • E
                                  Esmax666 @Thomas Braun last edited by Esmax666

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

                                  /dev/ttyAMA0

                                  dann bekomme ich wie davor

                                  zwave2.0	2021-05-16 15:39:28.776	info	(15581) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                                  host.raspberrypi	2021-05-16 15:39:26.309	info	instance system.adapter.zwave2.0 started with pid 15581
                                  host.raspberrypi	2021-05-16 15:39:23.743	info	instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                  zwave2.0	2021-05-16 15:39:23.146	info	(17665) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  zwave2.0	2021-05-16 15:39:23.145	info	(17665) terminating
                                  zwave2.0	2021-05-16 15:39:23.143	info	(17665) Shutting down driver...
                                  host.raspberrypi	2021-05-16 15:39:23.141	info	stopInstance system.adapter.zwave2.0 send kill signal
                                  zwave2.0	2021-05-16 15:39:23.141	info	(17665) Got terminate signal TERMINATE_YOURSELF
                                  host.raspberrypi	2021-05-16 15:39:23.126	info	stopInstance system.adapter.zwave2.0 (force=false, process=true)
                                  

                                  und als "debug level" bekomme ich das :

                                  zwave2.0	2021-05-16 15:41:19.769	info	(24494) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                                  zwave2.0	2021-05-16 15:41:19.518	debug	(24494) statesDB connected
                                  zwave2.0	2021-05-16 15:41:19.517	debug	(24494) States connected to redis: 127.0.0.1:9000
                                  zwave2.0	2021-05-16 15:41:19.510	debug	(24494) States create User PubSub Client
                                  zwave2.0	2021-05-16 15:41:19.508	debug	(24494) States create System PubSub Client
                                  zwave2.0	2021-05-16 15:41:19.501	debug	(24494) Redis States: Use Redis connection: 127.0.0.1:9000
                                  zwave2.0	2021-05-16 15:41:19.498	debug	(24494) objectDB connected
                                  zwave2.0	2021-05-16 15:41:19.469	debug	(24494) Objects connected to redis: 127.0.0.1:9001
                                  zwave2.0	2021-05-16 15:41:19.455	debug	(24494) Objects client initialize lua scripts
                                  zwave2.0	2021-05-16 15:41:19.453	debug	(24494) Objects create User PubSub Client
                                  zwave2.0	2021-05-16 15:41:19.451	debug	(24494) Objects create System PubSub Client
                                  zwave2.0	2021-05-16 15:41:19.448	debug	(24494) Objects client ready ... initialize now
                                  zwave2.0	2021-05-16 15:41:19.402	debug	(24494) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                  host.raspberrypi	2021-05-16 15:41:17.450	info	instance system.adapter.zwave2.0 started with pid 24494
                                  host.raspberrypi	2021-05-16 15:41:17.338	info	"system.adapter.zwave2.0" enabled
                                  host.raspberrypi	2021-05-16 15:41:15.669	info	instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                  host.raspberrypi	2021-05-16 15:41:15.087	info	stopInstance system.adapter.zwave2.0 send kill signal
                                  zwave2.0	2021-05-16 15:41:15.048	info	(22847) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  zwave2.0	2021-05-16 15:41:15.046	info	(22847) terminating
                                  zwave2.0	2021-05-16 15:41:15.044	info	(22847) Shutting down driver...
                                  zwave2.0	2021-05-16 15:41:15.042	info	(22847) Got terminate signal TERMINATE_YOURSELF
                                  host.raspberrypi	2021-05-16 15:41:15.029	info	stopInstance system.adapter.zwave2.0 (force=false, process=true)
                                  host.raspberrypi	2021-05-16 15:41:15.027	info	"system.adapter.zwave2.0" disabled
                                  zwave2.0	2021-05-16 15:40:59.111	info	(22847) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                                  zwave2.0	2021-05-16 15:40:58.808	debug	(22847) statesDB connected
                                  zwave2.0	2021-05-16 15:40:58.807	debug	(22847) States connected to redis: 127.0.0.1:9000
                                  zwave2.0	2021-05-16 15:40:58.795	debug	(22847) States create User PubSub Client
                                  zwave2.0	2021-05-16 15:40:58.794	debug	(22847) States create System PubSub Client
                                  zwave2.0	2021-05-16 15:40:58.783	debug	(22847) Redis States: Use Redis connection: 127.0.0.1:9000
                                  zwave2.0	2021-05-16 15:40:58.781	debug	(22847) objectDB connected
                                  zwave2.0	2021-05-16 15:40:58.751	debug	(22847) Objects connected to redis: 127.0.0.1:9001
                                  zwave2.0	2021-05-16 15:40:58.737	debug	(22847) Objects client initialize lua scripts
                                  zwave2.0	2021-05-16 15:40:58.736	debug	(22847) Objects create User PubSub Client
                                  zwave2.0	2021-05-16 15:40:58.735	debug	(22847) Objects create System PubSub Client
                                  zwave2.0	2021-05-16 15:40:58.732	debug	(22847) Objects client ready ... initialize now
                                  zwave2.0	2021-05-16 15:40:58.696	debug	(22847) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                  host.raspberrypi	2021-05-16 15:40:56.599	info	instance system.adapter.zwave2.0 started with pid 22847
                                  host.raspberrypi	2021-05-16 15:40:56.462	info	"system.adapter.zwave2.0" enabled
                                  host.raspberrypi	2021-05-16 15:40:50.698	info	instance system.adapter.zwave2.0 terminated with code null ()
                                  host.raspberrypi	2021-05-16 15:40:50.697	warn	instance system.adapter.zwave2.0 terminated due to SIGTERM
                                  host.raspberrypi	2021-05-16 15:40:50.626	info	stopInstance system.adapter.zwave2.0 killing pid 22283
                                  host.raspberrypi	2021-05-16 15:40:49.624	info	stopInstance system.adapter.zwave2.0 send kill signal
                                  host.raspberrypi	2021-05-16 15:40:49.613	info	stopInstance system.adapter.zwave2.0 (force=false, process=true)
                                  host.raspberrypi	2021-05-16 15:40:49.613	info	"system.adapter.zwave2.0" disabled
                                  host.raspberrypi	2021-05-16 15:40:49.345	info	instance system.adapter.zwave2.0 started with pid 22283
                                  host.raspberrypi	2021-05-16 15:40:46.840	info	instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                  zwave2.0	2021-05-16 15:40:46.228	info	(15581) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  zwave2.0	2021-05-16 15:40:46.226	info	(15581) terminating
                                  zwave2.0	2021-05-16 15:40:46.225	info	(15581) Shutting down driver...
                                  zwave2.0	2021-05-16 15:40:46.223	info	(15581) Got terminate signal TERMINATE_YOURSELF
                                  host.raspberrypi	2021-05-16 15:40:46.223	info	stopInstance system.adapter.zwave2.0 send kill signal
                                  host.raspberrypi	2021-05-16 15:40:46.210	info	stopInstance system.adapter.zwave2.0 (force=false, process=true)
                                  zwave2.0	2021-05-16 15:39:28.776	info	(15581) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Esmax666 last edited by

                                    @esmax666

                                    ls -la /dev/ttyAMA0
                                    sudo -u iobroker groups
                                    
                                    E 1 Reply Last reply Reply Quote 0
                                    • E
                                      Esmax666 @Thomas Braun last edited by

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

                                      sudo -u iobroker groups

                                      auch nicht

                                      2b686d10-3f8f-4969-a259-e4bbb7094184-image.png

                                      zwave2.0	2021-05-16 15:44:27.972	info	(7201) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                                      host.raspberrypi	2021-05-16 15:44:25.611	info	instance system.adapter.zwave2.0 started with pid 7201
                                      host.raspberrypi	2021-05-16 15:44:25.529	info	"system.adapter.zwave2.0" enabled
                                      host.raspberrypi	2021-05-16 15:44:24.965	info	instance system.adapter.zwave2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                      zwave2.0	2021-05-16 15:44:24.304	info	(30224) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                      zwave2.0	2021-05-16 15:44:24.302	info	(30224) terminating
                                      zwave2.0	2021-05-16 15:44:24.301	info	(30224) Shutting down driver...
                                      host.raspberrypi	2021-05-16 15:44:24.299	info	stopInstance system.adapter.zwave2.0 send kill signal
                                      zwave2.0	2021-05-16 15:44:24.298	info	(30224) Got terminate signal TERMINATE_YOURSELF
                                      host.raspberrypi	2021-05-16 15:44:24.285	info	stopInstance system.adapter.zwave2.0 (force=false, process=true)
                                      host.raspberrypi	2021-05-16 15:44:24.278	info	"system.adapter.zwave2.0" disabled
                                      zwave2.0	2021-05-16 15:44:11.075	debug	(30224) system.adapter.admin.0: logging true
                                      zwave2.0	2021-05-16 15:44:06.538	debug	(30224) system.adapter.admin.0: logging false
                                      
                                      AlCalzone 1 Reply Last reply Reply Quote 0
                                      • AlCalzone
                                        AlCalzone Developer @Esmax666 last edited by

                                        @esmax666 Starte den Adapter mal auf der Konsole, da sieht man ggf. mehr:

                                        cd /opt/iobroker/node_modules/iobroker.zwave2
                                        node build/main.js --force --logs
                                        
                                        E 2 Replies Last reply Reply Quote 0
                                        • E
                                          Esmax666 @AlCalzone last edited by

                                          @alcalzone said in Probleme mit Serialport bei zwave2:

                                          cd /opt/iobroker/node_modules/iobroker.zwave2
                                          node build/main.js --force --logs

                                          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-16 16:43:17.078  - info: zwave2.0 (17697) starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.zwave2, node: v12.22.1, js-controller: 3.2.16
                                          Logging to file:
                                                  /opt/iobroker/node_modules/iobroker.zwave2/build/zwavejs_2021-05-16.log
                                          2021-05-16 16:43:17.235  - error: zwave2.0 (17697) The Z-Wave driver could not be started: Error Resource temporarily unavailable Cannot lock port
                                          
                                          ^C2021-05-16 16:43:47.907  - info: zwave2.0 (17697) Shutting down driver...
                                          2021-05-16 16:43:47.916  - info: zwave2.0 (17697) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                                          pi@raspberrypi:/opt/iobroker/node_modules/iobroker.zwave2 $
                                          
                                          
                                          AlCalzone 1 Reply Last reply Reply Quote 0
                                          • AlCalzone
                                            AlCalzone Developer @Esmax666 last edited by

                                            @esmax666 sagte in Probleme mit Serialport bei zwave2:

                                            Cannot lock port

                                            Da greift schon irgendwas anderes auf den Port zu.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            493
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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