Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Welcher Zigbee Adapter ist der aktuellste? Fehler... cc2531

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Welcher Zigbee Adapter ist der aktuellste? Fehler... cc2531

    This topic has been deleted. Only users with topic management privileges can see it.
    • Asgothian
      Asgothian Developer @deta last edited by

      @deta

      Das steht doch da:

      Error: Cannot find module 'mixin-deep'
      

      Es fehlt also das Modul "Mixin-deep".

      A.

      1 Reply Last reply Reply Quote 0
      • D
        deta Most Active last edited by

        npm install mixin-deep

        hat geholfen danke

        1 Reply Last reply Reply Quote 0
        • H
          hannoi last edited by

          Hi zusammen,

          ich habe gerade ein Zigbee Adapter Update von 0.11.5 auf 1.1.1 gemacht, die Instanz ist auch soweit "grün" also startet aber ich sehe keine Geräte mehr, wenn ich den Adapter neustarte sehe ich im Log auch die ganzen Geräte nur sie werden eben nicht mehr angezeigt. Dauert es bis die Geräte wieder sauber angezeigt werden oder hab ich was falsch gemacht bzw. was kann ich tun (außer den Adapter wieder auf die v0.11.5 zu downgraden) ?

          Danke.

          Asgothian 1 Reply Last reply Reply Quote 0
          • Asgothian
            Asgothian Developer @hannoi last edited by

            @hannoi
            Ein paar Fragen:

            • sind die Objekte im Objektbaum noch da ?
            • wenn du im Objektbaum eine Lampe z.Bsp einschaltest, geht sie dann an ?
            • kommen die Werte von den Sensoren im ioBroker an ?

            A.

            H 1 Reply Last reply Reply Quote 0
            • D
              dimaiv last edited by

              @hannoi sagte in Welcher Zigbee Adapter ist der aktuellste? Fehler... cc2531:

              von 0.11.5 auf 1.1.1

              ich glaube der Sprung ist zu groß. irgendwo im Forum ist es beschrieben wie man von Shepard auf Herdsman umsteigt.
              Ich würde einfach Adapter und Coordinator neue einrichten.

              1 Reply Last reply Reply Quote 0
              • H
                hannoi @Asgothian last edited by

                @Asgothian es ist alles zu sehen in den Objekten, wenn ich per Telegram o.ä. was ansteuer funktioniert es. Sieht eher aus wie die Anzeige in der Instanz selber, hab leider kein neues Zigbee Gerät welches noch nicht angelernt war um das Neuanlernen zu testen..

                1 Reply Last reply Reply Quote 0
                • H
                  hannoi last edited by

                  Soeben nach dem Nodejs Update auf v12.16.3 startet mein Zigbee Adapter gar nicht mehr, im Log bekomme ich folgende Meldung:

                  2020-05-12 20:53:41.105	info	Restart adapter system.adapter.zigbee.0 because enabled
                  2020-05-12 20:53:41.105	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  2020-05-12 20:53:41.104	error	Caught by controller[0]: }
                  2020-05-12 20:53:41.104	error	Caught by controller[0]: ]
                  2020-05-12 20:53:41.103	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/compiled/12.16.3/linux/arm/serialport.node'
                  2020-05-12 20:53:41.102	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/default/serialport.node',
                  2020-05-12 20:53:41.102	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/Release/serialport.node',
                  2020-05-12 20:53:41.101	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/out/Release/serialport.node',
                  2020-05-12 20:53:41.100	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/Debug/serialport.node',
                  2020-05-12 20:53:41.100	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/out/Debug/serialport.node',
                  2020-05-12 20:53:41.099	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Release/serialport.node',
                  2020-05-12 20:53:41.099	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Debug/serialport.node',
                  2020-05-12 20:53:41.098	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/serialport.node',
                  2020-05-12 20:53:41.097	error	Caught by controller[0]: tries: [
                  2020-05-12 20:53:41.097	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1133:30) {
                  2020-05-12 20:53:41.096	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/cc-znp/node_modules/serialport/lib/bindings/auto-detect.js:16:22)
                  2020-05-12 20:53:41.096	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18)
                  2020-05-12 20:53:41.095	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1019:19)
                  2020-05-12 20:53:41.094	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:877:14)
                  2020-05-12 20:53:41.094	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:977:32)
                  2020-05-12 20:53:41.093	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
                  2020-05-12 20:53:41.093	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1133:30)
                  2020-05-12 20:53:41.092	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/cc-znp/node_modules/serialport/lib/bindings/linux.js:2:36)
                  2020-05-12 20:53:41.092	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/cc-znp/node_modules/bindings/bindings.js:93:9)
                  2020-05-12 20:53:41.091	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/compiled/12.16.3/linux/arm/serialport.node
                  2020-05-12 20:53:41.090	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/default/serialport.node
                  2020-05-12 20:53:41.090	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/Release/serialport.node
                  2020-05-12 20:53:41.089	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/out/Release/serialport.node
                  2020-05-12 20:53:41.089	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/Debug/serialport.node
                  2020-05-12 20:53:41.088	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/out/Debug/serialport.node
                  2020-05-12 20:53:41.087	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Release/serialport.node
                  2020-05-12 20:53:41.087	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Debug/serialport.node
                  2020-05-12 20:53:41.086	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/serialport.node
                  2020-05-12 20:53:41.086	error	Caught by controller[0]: Error: Could not locate the bindings file. Tried:
                  2020-05-12 20:53:41.085	error	Caught by controller[0]: ^
                  2020-05-12 20:53:41.076	error	Caught by controller[0]: throw err
                  2020-05-12 20:53:41.075	error	Caught by controller[0]: /opt/iobroker/node_modules/cc-znp/node_modules/bindings/bindings.js:96
                  2020-05-12 20:53:38.816	info	instance system.adapter.zigbee.0 started with pid 3677
                  2020-05-12 20:53:08.791	info	Restart adapter system.adapter.zigbee.0 because enabled
                  2020-05-12 20:53:08.790	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  2020-05-12 20:53:08.789	error	Caught by controller[0]: }
                  2020-05-12 20:53:08.789	error	Caught by controller[0]: ]
                  2020-05-12 20:53:08.788	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/compiled/12.16.3/linux/arm/serialport.node'
                  2020-05-12 20:53:08.787	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/default/serialport.node',
                  2020-05-12 20:53:08.787	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/Release/serialport.node',
                  2020-05-12 20:53:08.786	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/out/Release/serialport.node',
                  2020-05-12 20:53:08.786	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/Debug/serialport.node',
                  2020-05-12 20:53:08.785	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/out/Debug/serialport.node',
                  2020-05-12 20:53:08.784	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Release/serialport.node',
                  2020-05-12 20:53:08.784	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Debug/serialport.node',
                  2020-05-12 20:53:08.783	error	Caught by controller[0]: '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/serialport.node',
                  2020-05-12 20:53:08.783	error	Caught by controller[0]: tries: [
                  2020-05-12 20:53:08.782	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1133:30) {
                  2020-05-12 20:53:08.782	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/cc-znp/node_modules/serialport/lib/bindings/auto-detect.js:16:22)
                  2020-05-12 20:53:08.781	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18)
                  2020-05-12 20:53:08.780	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1019:19)
                  2020-05-12 20:53:08.780	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:877:14)
                  2020-05-12 20:53:08.779	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:977:32)
                  2020-05-12 20:53:08.778	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
                  2020-05-12 20:53:08.777	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1133:30)
                  2020-05-12 20:53:08.777	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/cc-znp/node_modules/serialport/lib/bindings/linux.js:2:36)
                  2020-05-12 20:53:08.776	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/cc-znp/node_modules/bindings/bindings.js:93:9)
                  2020-05-12 20:53:08.775	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/compiled/12.16.3/linux/arm/serialport.node
                  2020-05-12 20:53:08.775	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/default/serialport.node
                  2020-05-12 20:53:08.774	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/Release/serialport.node
                  2020-05-12 20:53:08.774	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/out/Release/serialport.node
                  2020-05-12 20:53:08.773	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/Debug/serialport.node
                  2020-05-12 20:53:08.773	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/out/Debug/serialport.node
                  2020-05-12 20:53:08.772	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Release/serialport.node
                  2020-05-12 20:53:08.771	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Debug/serialport.node
                  2020-05-12 20:53:08.771	error	Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/serialport.node
                  2020-05-12 20:53:08.770	error	Caught by controller[0]: Error: Could not locate the bindings file. Tried:
                  2020-05-12 20:53:08.769	error	Caught by controller[0]: ^
                  2020-05-12 20:53:08.769	error	Caught by controller[0]: throw err
                  2020-05-12 20:53:08.767	error	Caught by controller[0]: /opt/iobroker/node_modules/cc-znp/node_modules/bindings/bindings.js:96
                  

                  Ein npm rebuild hatte ich durchgeführt.

                  JS controller 3.1.4

                  Wer eine Idee ?

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dimaiv @hannoi last edited by

                    @hannoi
                    Mehr Info wäre nicht schlecht.
                    Dein Serialport ist besetzt oder nicht richtig konfiguriert oder weitergeleitet.
                    Starte mal das ganze System neue.

                    1 Reply Last reply Reply Quote 0
                    • H
                      hannoi last edited by

                      @dimaiv
                      Sry dachte evtl. kann man aus den Fehlern schon etwas rauslesen. Also ich hab auf dem multihost slave den Zigbee CC2531 Adapter, welcher auch bis zu dem Update ohne Probleme lief.

                      Ich hab den Fixer jetzt noch mal laufen lassen und danach auf dem slave noch mal das pm rebuild, da kommt folgendes:

                      root@: /opt/iobroker# npm rebuild
                      
                      > iobroker@2.0.3 install /opt/iobroker/node_modules/iobroker
                      > node lib/checkVersions.js
                      
                      NPM version: 6.14.4
                      
                      > iobroker@2.0.3 postinstall /opt/iobroker/node_modules/iobroker
                      > node lib/install.js
                      
                      lib/install.js is not being run as part of an installation - skipping...
                      
                      > serialport@6.2.2 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
                      > prebuild-install || node-gyp rebuild
                      
                      prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime=node arch=arm platform=linux)
                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport/build“ wird betreten
                        CXX(target) Release/obj.target/serialport/src/serialport.o
                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’
                         v8::String::Utf8Value path(info[0]->ToString());
                                                                      ^
                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                       from ../../nan/nan.h:53,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                         V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                  ^~~~~~~~
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                       from ../../nan/nan.h:53,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                       Local<String> ToString(Isolate* isolate) const);
                                                     ^
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                       Local<String> ToString(Isolate* isolate) const);
                                                     ^
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’
                         v8::Local<v8::Object> options = info[1]->ToObject();
                                                                           ^
                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                       from ../../nan/nan.h:53,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
                         V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                  ^~~~~~~~
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                       from ../../nan/nan.h:53,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                                       Local<Object> ToObject(Isolate* isolate) const);
                                                     ^
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                       Local<Object> ToObject(Isolate* isolate) const);
                                                     ^
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
                      ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                         data->callback.Call(2, argv);
                                                    ^
                      In file included from ../src/./serialport.h:6:0,
                                       from ../src/serialport.cpp:1:
                      ../../nan/nan.h:1674:3: note: declared here
                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                         ^~~~
                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’
                         v8::Local<v8::Object> options = info[1]->ToObject();
                                                                           ^
                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                       from ../../nan/nan.h:53,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
                         V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                  ^~~~~~~~
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                       from ../../nan/nan.h:53,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                                       Local<Object> ToObject(Isolate* isolate) const);
                                                     ^
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                       Local<Object> ToObject(Isolate* isolate) const);
                                                     ^
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
                      ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                         data->callback.Call(1, argv);
                                                    ^
                      In file included from ../src/./serialport.h:6:0,
                                       from ../src/serialport.cpp:1:
                      ../../nan/nan.h:1674:3: note: declared here
                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                         ^~~~
                      ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
                      ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                         data->callback.Call(1, argv);
                                                    ^
                      In file included from ../src/./serialport.h:6:0,
                                       from ../src/serialport.cpp:1:
                      ../../nan/nan.h:1674:3: note: declared here
                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                         ^~~~
                      ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
                      ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                         data->callback.Call(1, argv);
                                                    ^
                      In file included from ../src/./serialport.h:6:0,
                                       from ../src/serialport.cpp:1:
                      ../../nan/nan.h:1674:3: note: declared here
                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                         ^~~~
                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’
                         v8::Local<v8::Object> options = info[1]->ToObject();
                                                                           ^
                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                       from ../../nan/nan.h:53,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
                         V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                  ^~~~~~~~
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                       from ../../nan/nan.h:53,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                                       Local<Object> ToObject(Isolate* isolate) const);
                                                     ^
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                       Local<Object> ToObject(Isolate* isolate) const);
                                                     ^
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
                      ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                         data->callback.Call(1, argv);
                                                    ^
                      In file included from ../src/./serialport.h:6:0,
                                       from ../src/serialport.cpp:1:
                      ../../nan/nan.h:1674:3: note: declared here
                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                         ^~~~
                      ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                      ../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
                                                                                                                      ^
                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                       from ../../nan/nan.h:53,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                       bool Set(Local<Value> key, Local<Value> value));
                                            ^
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
                                                                                                                      ^
                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                       from ../../nan/nan.h:53,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                       bool Set(Local<Value> key, Local<Value> value));
                                            ^
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
                                                                                                                      ^
                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                       from ../../nan/nan.h:53,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                       bool Set(Local<Value> key, Local<Value> value));
                                            ^
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                         data->callback.Call(2, argv);
                                                    ^
                      In file included from ../src/./serialport.h:6:0,
                                       from ../src/serialport.cpp:1:
                      ../../nan/nan.h:1674:3: note: declared here
                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                         ^~~~
                      ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                      ../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
                                                                                                                                ^
                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                       from ../../nan/nan.h:53,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                       bool Set(Local<Value> key, Local<Value> value));
                                            ^
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                         data->callback.Call(2, argv);
                                                    ^
                      In file included from ../src/./serialport.h:6:0,
                                       from ../src/serialport.cpp:1:
                      ../../nan/nan.h:1674:3: note: declared here
                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                         ^~~~
                      ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
                      ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                         data->callback.Call(1, argv);
                                                    ^
                      In file included from ../src/./serialport.h:6:0,
                                       from ../src/serialport.cpp:1:
                      ../../nan/nan.h:1674:3: note: declared here
                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                         ^~~~
                      ../src/serialport.cpp: At global scope:
                      ../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void
                         void init(v8::Handle<v8::Object> target) {
                                       ^~~~~~
                      ../src/serialport.cpp:460:13: error: ‘Handle’ is not a member of ‘v8’
                         void init(v8::Handle<v8::Object> target) {
                                   ^~
                      ../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token
                         void init(v8::Handle<v8::Object> target) {
                                                        ^
                      ../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope
                         void init(v8::Handle<v8::Object> target) {
                                                          ^~~~~~
                      In file included from ../../nan/nan.h:53:0,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      ../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope
                       NODE_MODULE(serialport, init);
                                               ^
                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                             (node::addon_register_func) (regfunc),                          \
                                                          ^~~~~~~
                      ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
                       NODE_MODULE(serialport, init);
                       ^~~~~~~~~~~
                      serialport.target.mk:112: die Regel für Ziel „Release/obj.target/serialport/src/serialport.o“ scheiterte
                      make: *** [Release/obj.target/serialport/src/serialport.o] Fehler 1
                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport/build“ wird verlassen
                      gyp ERR! build error
                      gyp ERR! stack Error: `make` failed with exit code: 2
                      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                      gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                      gyp ERR! System Linux 4.19.66-v7+
                      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                      gyp ERR! cwd /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
                      gyp ERR! node -v v12.16.3
                      gyp ERR! node-gyp -v v5.1.0
                      gyp ERR! not ok
                      npm ERR! code ELIFECYCLE
                      npm ERR! errno 1
                      npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`
                      npm ERR! Exit status 1
                      npm ERR!
                      npm ERR! Failed at the serialport@6.2.2 install script.
                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                      
                      

                      Den Slave hab ich jetzt schon einige Male durchgestartet, Zigbee Adapter Version ist die 1.1.1.
                      Sollte ich den Master auch noch mal durchstarten? Dort läuft bis auf den Zigbee Adapater alles soweit.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        dimaiv @hannoi last edited by

                        @hannoi
                        Ist dein Slave komplett aktuel? Inklusive js-controller?

                        1 Reply Last reply Reply Quote 0
                        • H
                          hannoi last edited by

                          Korrekt, beide auf JS-controller 3.1.4 und Nodejs auf v12.16.3.

                          1 Reply Last reply Reply Quote 0
                          • H
                            hannoi last edited by

                            Nach einem

                            npm install bindings
                            und danach einem:
                            npm rebuild --unsafe-perm
                            

                            wurde Adapter wieder grün und ist wieder erreichbar!

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

                            Support us

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

                            714
                            Online

                            31.8k
                            Users

                            80.0k
                            Topics

                            1.3m
                            Posts

                            zigbee adapter cc2531
                            6
                            18
                            1042
                            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