Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. [Adapter] Neuer radar2-Adapter

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

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

    [Adapter] Neuer radar2-Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      ChristianF last edited by

      Speicherzugriffsfehler klingt stark nach einem Hardware Problem. Leider schreibst du nicht, was es für ein Host ist. Sollte es ein Einplatinensystem a la Raspberry oder Derivat sein, würde ich stark auf eine defekte Speicherkarte oder ein Netzteil Problem tippen.

      stephan1827 1 Reply Last reply Reply Quote 0
      • stephan1827
        stephan1827 @ChristianF last edited by

        @ChristianF Das Ganze läuft in einem Docker Container. Ich denke einen Hardwarefehler können wir ausschliessen. Das gesamte System läuft ohne Problem und es laufen mehrere Docker Container ohne jede Probleme. Ich habe jetzt mal die aktuelle GitHub Version 1.2.0 installiert. Beim erstellen des Adapter kommen diverse Fehlermeldungen. Ich denke das Problem lieget irgendwo in der node-pre-gyp installation. Habe versucht es von Hand zu installieren aber bisher ohne Glück.

        $ ./iobroker add radar2  --host test
        host.test install adapter radar2
        npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.radar2"
        npm
         notice created a lockfile as package-lock.json. You should commit this file.
        ../src/raw.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE raw::CreateChecksum(Nan::NAN_METHOD_ARGS_TYPE)’:../src/raw.cc:82:44: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
          Local<Object> buffer = info[1]->ToObject ();
                                                    ^
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                         from ../src/raw.h:21,
                         from ../src/raw.cc:6:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
         Local<Object> Value::ToObject() const {
                       ^~~~~
        
        ../src/raw.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE raw::SocketWrap::GetOption(Nan::NAN_METHOD_ARGS_TYPE)’:../src/raw.cc:388:44: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
          Local<Object> buffer = info[2]->ToObject ();
                                                    ^
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                         from ../src/raw.h:21,
                         from ../src/raw.cc:6:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
         Local<Object> Value::ToObject() const {
                       ^~~~~
        
        ../src/raw.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE raw::SocketWrap::Pause(Nan::NAN_METHOD_ARGS_TYPE)’:../src/raw.cc:509:40: warning: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
          bool pause_recv = info[0]->ToBoolean ()->Value ();
                                                ^
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                         from ../src/raw.h:21,
                         from ../src/raw.cc:6:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10034:16: note: declared here
         Local<Boolean> Value::ToBoolean() const {
                        ^~~~~
        
        ../src/raw.cc:515:40: warning: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]  bool pause_send = info[1]->ToBoolean ()->Value ();
                                                ^
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                         from ../src/raw.h:21,
                         from ../src/raw.cc:6:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10034:16: note: declared here
         Local<Boolean> Value::ToBoolean() const {
                        ^~~~~
        
        ../src/raw.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE raw::SocketWrap::Recv(Nan::NAN_METHOD_ARGS_TYPE)’:../src/raw.cc:557:31: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           buffer = info[0]->ToObject ();
                                       ^
        
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,                 from ../src/raw.h:21,
                         from ../src/raw.cc:6:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
         Local<Object> Value::ToObject() const {
                       ^~~~~
        
        ../src/raw.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE raw::SocketWrap::Send(Nan::NAN_METHOD_ARGS_TYPE)’:../src/raw.cc:650:30: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
          buffer = info[0]->ToObject ();
                                      ^
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                         from ../src/raw.h:21,
                         from ../src/raw.cc:6:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
         Local<Object> Value::ToObject() const {
                       ^~~~~
        
        ../src/raw.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE raw::SocketWrap::SetOption(Nan::NAN_METHOD_ARGS_TYPE)’:../src/raw.cc:727:45: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           Local<Object> buffer = info[2]->ToObject ();
                                                     ^
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                         from ../src/raw.h:21,
                         from ../src/raw.cc:6:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
         Local<Object> Value::ToObject() const {
                       ^~~~~
        
        node-pre-gyp
         
        WARN Using request for node-pre-gyp https download 
        node-pre-gyp 
        WARN Tried to download(404): https://github.com/tessel/node-usb/releases/download/1.5.0/usb_bindings-v1.5.0-node-v64-linux-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for usb@1.5.0 and node@10.16.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
        
        ../src/node_usb.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetDebugLevel(Nan::NAN_METHOD_ARGS_TYPE)’:../src/node_usb.cc:99:73: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
          if (info.Length() != 1 || !info[0]->IsUint32() || info[0]->Uint32Value() > 4) {
                                                                                 ^
        
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,                 from ../src/node_usb.h:12,
                         from ../src/node_usb.cc:1:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
           V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                       ^
        /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        ../src/node_usb.cc:103:53: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
          libusb_set_debug(usb_context, info[0]->Uint32Value());
                                                             ^
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                         from ../src/node_usb.h:12,
                         from ../src/node_usb.cc:1:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
           V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                       ^
        /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        ../src/node_usb.cc: In function ‘void handleHotplug(std::pair<libusb_device*, libusb_hotplug_event>)’:../src/node_usb.cc:151:58: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
          Nan::MakeCallback(Nan::New(hotplugThis), "emit", 2, argv);
                                                                  ^
        In file included from ../src/helpers.h:3:0,
                         from ../src/node_usb.h:21,
                         from ../src/node_usb.cc:1:
        ../../nan/nan.h:1001:46: note: declared here
           NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
        
        ../src/node_usb.cc: In function ‘v8::Local<v8::Value> libusbException(int)’:../src/node_usb.cc:301:14: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
          e->ToObject()->Set(Nan::New<String>("errno").ToLocalChecked(), Nan::New<Integer>(errorno));
                      ^
        
        In file included from ../src/node_usb.h:12:0,                 from ../src/node_usb.cc:1:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
         Local<Object> Value::ToObject() const {
                       ^~~~~
        
        ../src/device.cc: In static member function ‘static void Req::default_after(uv_work_t*)’:../src/device.cc:237:64: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
            Nan::MakeCallback(device, Nan::New(baton->callback), 1, argv);
                                                                        ^
        In file included from ../src/helpers.h:3:0,
                         from ../src/node_usb.h:21,
                         from ../src/device.cc:1:
        ../../nan/nan.h:959:46: note: declared here
           NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
        
        ../src/transfer.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Transfer_Submit(Nan::NAN_METHOD_ARGS_TYPE)’:../src/transfer.cc:58:47: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
          Local<Object> buffer_obj = info[0]->ToObject();
                                                       ^
        
        In file included from ../src/node_usb.h:12:0,                 from ../src/transfer.cc:1:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
         Local<Object> Value::ToObject() const {
                       ^~~~~
        
        ../src/transfer.cc: In function ‘void handleCompletion(Transfer*)’:../src/transfer.cc:126:72: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
           Nan::MakeCallback(self->handle(), Nan::New(self->v8callback), 3, argv);
                                                                                ^
        
        In file included from ../src/helpers.h:3:0,                 from ../src/node_usb.h:21,
                         from ../src/transfer.cc:1:
        ../../nan/nan.h:959:46: note: declared here
           NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
        
        node-pre-gyp
         
        WARN Using request for node-pre-gyp https download 
        node-pre-gyp
         WARN Tried to download(404): https://github.com/sandeepmistry/node-bluetooth-hci-socket/releases/download/0.5.3-1/binding-0.5.3-1-node-v64-linux-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-1 and node@10.16.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
        
        ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:../src/BluetoothHciSocket.cpp:252:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
             Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                       ^
        In file included from ../src/BluetoothHciSocket.cpp:8:0:
        ../../../nan/nan.h:980:46: note: declared here
           NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
        
        ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:../src/BluetoothHciSocket.cpp:283:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
           Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                     ^
        In file included from ../src/BluetoothHciSocket.cpp:8:0:
        ../../../nan/nan.h:980:46: note: declared here
           NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
        
        ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:396:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               devId = arg0->IntegerValue();
                                          ^
        
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                         from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                         from ../src/BluetoothHciSocket.cpp:7:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
           V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                      ^
        /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:418:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               devId = arg0->IntegerValue();
                                          ^
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                         from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                         from ../src/BluetoothHciSocket.cpp:7:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
           V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                      ^
        /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        ../src/linux/DeviceINQ.cc: In static member function ‘static void DeviceINQ::EIO_AfterSdpSearch(uv_work_t*)’:../src/linux/DeviceINQ.cc:139:28: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
             baton->cb->Call(1, argv);
                                    ^
        In file included from ../src/linux/DeviceINQ.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/DeviceINQ.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE DeviceINQ::InquireSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/linux/DeviceINQ.cc:251:26: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
               found->Call(2, argv);
                                  ^
        In file included from ../src/linux/DeviceINQ.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/DeviceINQ.cc:255:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]     callback->Call(0, argv);
                                   ^
        In file included from ../src/linux/DeviceINQ.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/DeviceINQ.cc: In member function ‘virtual void InquireWorker::HandleOKCallback()’:../src/linux/DeviceINQ.cc:284:26: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
               found->Call(2, argv);
                                  ^
        In file included from ../src/linux/DeviceINQ.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/DeviceINQ.cc:288:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]     callback->Call(0, argv);
                                   ^
        In file included from ../src/linux/DeviceINQ.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/DeviceINQ.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE DeviceINQ::SdpSearch(Nan::NAN_METHOD_ARGS_TYPE)’:../src/linux/DeviceINQ.cc:317:38: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
             String::Utf8Value address(info[0]);
                                              ^
        
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,                 from ../src/linux/DeviceINQ.cc:12:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                           explicit Utf8Value(Local<v8::Value> obj));
                                    ^
        /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        ../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_AfterConnect(uv_work_t*)’:../src/linux/BTSerialPortBinding.cc:83:32: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                 baton->cb->Call(0, NULL);
                                        ^
        In file included from ../src/linux/BTSerialPortBinding.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/BTSerialPortBinding.cc:89:33: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]         baton->ecb->Call(1, argv);
                                         ^
        In file included from ../src/linux/BTSerialPortBinding.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_Write(uv_work_t*)’:../src/linux/BTSerialPortBinding.cc:115:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (data->result != data->bufferLength) {
                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
        
        ../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_AfterWrite(uv_work_t*)’:../src/linux/BTSerialPortBinding.cc:135:33: 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/linux/BTSerialPortBinding.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_AfterRead(uv_work_t*)’:../src/linux/BTSerialPortBinding.cc:207:28: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
             baton->cb->Call(2, argv);
                                    ^
        In file included from ../src/linux/BTSerialPortBinding.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/BTSerialPortBinding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::New(Nan::NAN_METHOD_ARGS_TYPE)’:../src/linux/BTSerialPortBinding.cc:253:38: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
             String::Utf8Value address(info[0]);
                                              ^
        
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,                 from ../src/linux/BTSerialPortBinding.cc:12:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                           explicit Utf8Value(Local<v8::Value> obj));
                                    ^
        /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        ../src/linux/BTSerialPortBinding.cc:255:41: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             int channelID = info[1]->Int32Value();
                                                 ^
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                         from ../src/linux/BTSerialPortBinding.cc:12:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                      ^
        /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        ../src/linux/BTSerialPortBinding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::Read(Nan::NAN_METHOD_ARGS_TYPE)’:../src/linux/BTSerialPortBinding.cc:383:25: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                 nc->Call(2, argv);
                                 ^
        In file included from ../src/linux/BTSerialPortBinding.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/BTSerialPortBindingServer.cc: In static member function ‘static void BTSerialPortBindingServer::EIO_AfterListen(uv_work_t*)’:../src/linux/BTSerialPortBindingServer.cc:176:33: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                 baton->ecb->Call(1, argv);
                                         ^
        
        In file included from ../src/linux/BTSerialPortBindingServer.cc:14:0:../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/BTSerialPortBindingServer.cc: In static member function ‘static void BTSerialPortBindingServer::TryListenAgain()’:../src/linux/BTSerialPortBindingServer.cc:199:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
               baton->ecb->Call(1, argv);
                                       ^
        In file included from ../src/linux/BTSerialPortBindingServer.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/BTSerialPortBindingServer.cc: In static member function ‘static void BTSerialPortBindingServer::EIO_AfterWrite(uv_work_t*)’:../src/linux/BTSerialPortBindingServer.cc:239:33: 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/linux/BTSerialPortBindingServer.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/BTSerialPortBindingServer.cc: In static member function ‘static void BTSerialPortBindingServer::EIO_AfterRead(uv_work_t*)’:../src/linux/BTSerialPortBindingServer.cc:311:36: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                     baton->cb->Call(2, argv);
                                            ^
        In file included from ../src/linux/BTSerialPortBindingServer.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/BTSerialPortBindingServer.cc:326:28: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]     baton->cb->Call(2, argv);
                                    ^
        In file included from ../src/linux/BTSerialPortBindingServer.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/BTSerialPortBindingServer.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBindingServer::New(Nan::NAN_METHOD_ARGS_TYPE)’:../src/linux/BTSerialPortBindingServer.cc:408:70: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                 string propertyName = std::string(*String::Utf8Value(property));
                                                                              ^
        
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,                 from ../src/linux/BTSerialPortBindingServer.cc:12:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                           explicit Utf8Value(Local<v8::Value> obj));
                                    ^
        /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        ../src/linux/BTSerialPortBindingServer.cc:410:75: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]         options[propertyName] = std::string(*String::Utf8Value(optionValue));
                                                                                   ^
        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                         from ../src/linux/BTSerialPortBindingServer.cc:12:
        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                           explicit Utf8Value(Local<v8::Value> obj));
                                    ^
        /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        ../src/linux/BTSerialPortBindingServer.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBindingServer::Read(Nan::NAN_METHOD_ARGS_TYPE)’:../src/linux/BTSerialPortBindingServer.cc:618:25: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                 nc->Call(2, argv);
                                 ^
        In file included from ../src/linux/BTSerialPortBindingServer.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        ../src/linux/BTSerialPortBindingServer.cc: In member function ‘virtual void BTSerialPortBindingServer::ClientWorker::HandleOKCallback()’:../src/linux/BTSerialPortBindingServer.cc:672:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
             callback->Call(1, argv);
                                   ^
        In file included from ../src/linux/BTSerialPortBindingServer.cc:14:0:
        ../node_modules/nan/nan.h:1674:3: note: declared here
           Call(int argc, v8::Local<v8::Value> argv[]) const {
           ^~~~
        
        got /opt/iobroker/node_modules/iobroker.radar2/admin
        upload [13] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/words.js words.js application/javascript
        upload [12] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/radar2.png radar2.png image/png
        upload [11] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/index_m.html index_m.html text/html
        upload [10] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/index.html index.html text/html
        upload [9] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
        upload [8] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
        upload [7] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
        upload [6] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
        upload [5] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
        upload [4] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/it/translations.json i18n/it/translations.json application/json
        upload [3] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
        upload [2] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/es/translations.json i18n/es/translations.json application/json
        upload [1] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/en/translations.json i18n/en/translations.json application/json
        upload [0] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/de/translations.json i18n/de/translations.json application/json
        host.test object system.adapter.radar2 created
        host.test create instance radar2
        host.test object radar2.0.info.connection created
        host.test object radar2.0.info created
        host.test object system.adapter.radar2.0.outputCount created
        host.test object system.adapter.radar2.0.inputCount created
        host.test object system.adapter.radar2.0.uptime created
        host.test object system.adapter.radar2.0.memRss created
        host.test object system.adapter.radar2.0.memHeapTotal created
        host.test object system.adapter.radar2.0.memHeapUsed created
        host.test object system.adapter.radar2.0.cputime created
        host.test object system.adapter.radar2.0.cpu created
        host.test object system.adapter.radar2.0.connected created
        host.test object system.adapter.radar2.0.alive created
        host.test object system.adapter.radar2.0 created
        process exited with code 0
        
        frankjoke 1 Reply Last reply Reply Quote 0
        • C
          ChrisXY last edited by

          nochmal kurze frage von oben. Kann man das BT nicht Deaktivieren ? Da ich das eh nicht nutze will ich das script jetzt auch nur ungern ausühren. Leider läuft der Adapter sonst wohl nicht 😞

          C 1 Reply Last reply Reply Quote 0
          • C
            ChristianF @ChrisXY last edited by

            @ChrisXY Bisher sind keine Module einzeln aktivier- oder deaktivierbar. Ich hätte es auch gern einzeln deaktivierbar , da ich nur die BT Thematik nutze und das DNS Geraffel bei mir mit PiHole kollidiert.

            1 Reply Last reply Reply Quote 0
            • frankjoke
              frankjoke @stephan1827 last edited by

              @stephan1827

              Das Problem ist der container, leider verbiegen container einige Systemaufrufe und nicht alles was im System erlaubt ist ist im container erlaubt.

              Ich habe ein Notebook bestellt das mein neues Entwicklungssystem werden wird, werd ich hoffentlich morgen geliefert bekommen und dann zu Pfingsten installiert haben (damit ich mir nicht das meiner Frau ausborgen muss wo ich keine speziellen tools installieren darf) und dann den Adapter umzuschreiben umBT, DHCP und andere Teile getrennt ausschalten zu können und auch zwischen noble für Windows und für Linux umzuschalten.

              Habe vor 2 Jahren aufgegeben mit Container (auf raspi's) zu arbeiten, kanns aber dann mal auf einer Testmaschine versuchen, auf Produktionssysteme kommt mir kein Docker auf 'nem Raspi, ist nur unnötiger overhead.

              C stephan1827 2 Replies Last reply Reply Quote 2
              • C
                ChristianF @frankjoke last edited by

                @frankjoke sagte in [Adapter] Neuer radar2-Adapter:

                (...) dann den Adapter umzuschreiben umBT, DHCP und andere Teile getrennt ausschalten zu können und auch zwischen noble für Windows und für Linux umzuschalten.

                Weltbeste Nachricht!! Vielen vielen Dank bereits im Voraus!

                Habe vor 2 Jahren aufgegeben mit Container (auf raspi's) zu arbeiten, kanns aber dann mal auf einer Testmaschine versuchen, auf Produktionssysteme kommt mir kein Docker auf 'nem Raspi, ist nur unnötiger overhead.

                Das sehe ich genauso. Ich habe die ganzen Containergeschichten sein gelassen weil es laufend Ärger gab. Seitdem verwende ich auf meinem QNAP Nas in der Virtualisation Station kleine virtuelle Maschinen (sind übrigens VMware kompatibel!) mit einem Minimal-Debian für die einzelnen Anwendungen, und es läuft sehr gut. Vor allem haben Änderungen am Host keinen Einfluss auf die VMs.

                1 Reply Last reply Reply Quote 0
                • stephan1827
                  stephan1827 @frankjoke last edited by

                  @frankjoke Ich habe das mittlerweile am Laufen aber leider kann ich nicht genau sagen was das Problem war 😕 Ich habe einen Testcontainer erstellt wo eine neue ioBroker installation lief. Ich habe dort bei der Installation von radar2 schon Fehlermeldungen gesehen obwohl am Ende gesagt wurde das die Installation erfolgreich war. Die Meldungen deuteten auf Probleme mit node und nodejs hin. Ich habe die beiden auf den aktuellen Stand gebracht und noch einige anderen Sachen verdreht und plötzlich lief es. Ich habe dann die Daten von meinem Hauptcontainer importiert und es so ans laufen gebracht.

                  Ich habe aber ein anderes Problem gefunden. Man kann in den Einstellungen festlegen nach wie vielen Minuten ein Teilnehmer als abwesend eingestuft wird. Ich würde also denken das wenn ein Teilnehmer erkannt wurde dauert es mindestens so lange bis er also abwesend erkannt wird. Ich habe jedoch ein iPhone das deutlich schneller als die 15 Minuten wieder auf false gesetzt wird. Siehe Screenshots unten

                  Bildschirmfoto 2019-06-06 um 07.20.56.png

                  Bildschirmfoto 2019-06-06 um 07.20.29.png

                  1 Reply Last reply Reply Quote 0
                  • bmueller77
                    bmueller77 last edited by bmueller77

                    Hi, muss ich, um den Tintenstand meines HP-Laserjets abzurufen, noch irgendwas einstellen, außer der IP? Bisher finde ich unter Objekten keine Informationen zum Drucker... abgesehen von der Verfügbarkeit.

                    frankjoke 1 Reply Last reply Reply Quote 0
                    • frankjoke
                      frankjoke @bmueller77 last edited by

                      @bmueller77
                      Das wichtigste: Der Name des Gerätes muss mit HP- beginnen!
                      Ansonsten prüft er nur die Verfügbarkeit wie ein normales IP-Gerät, versucht aber keinen Tintenstand auszulesen!

                      bmueller77 1 Reply Last reply Reply Quote 0
                      • bmueller77
                        bmueller77 @frankjoke last edited by

                        @frankjoke Danke für den Tipp 👍. Schade nur, dass die Funktion mir nur ein "All > 10%" zurückgibt. Wäre schön, für jede Farbe einen aktuellen Stand zu bekommen. Vielleicht in einem der nächsten Updates...wäre toll. 😉

                        frankjoke 1 Reply Last reply Reply Quote 0
                        • frankjoke
                          frankjoke @bmueller77 last edited by

                          @bmueller77
                          Das gibt es schon, bei mir schauts so aus mit den 2 Druckern...
                          2019-06-13_170131.png

                          bmueller77 1 Reply Last reply Reply Quote 0
                          • stephan1827
                            stephan1827 last edited by

                            @frankjoke kannst Du nochmal nach dem Problem mit dem DelayAway schauen? Ich habe mal durch den Source Code gesehen.

                                    if (!A.C.delayaway || parseInt(A.C.delayaway) < 1)
                                        A.C.delayaway = 1;
                                    delayAway = A.C.delayaway;
                                    if (Math.floor(scanDelay * 2 / 1000 / 60)<= delayAway)
                                        delayAway = Math.ceil(scanDelay * 2.5 / 1000 / 60);
                            

                            Kann es sein das die Abwesenheit Zeit auf den Scanzyklus beschränkt wird?

                            Schöne Grüße

                            Stephan

                            frankjoke 1 Reply Last reply Reply Quote 0
                            • bmueller77
                              bmueller77 @frankjoke last edited by bmueller77

                              @frankjoke Eigenartig, mein HP Color LaserJet MFP M477fdw bringt auch nach mehr als 24h keine weiteren Ergebnisse. Kann ich dir was zwecks Debugging schicken?!2019-06-14 23_06_29-Window.png

                              frankjoke 1 Reply Last reply Reply Quote 0
                              • frankjoke
                                frankjoke @stephan1827 last edited by

                                @stephan1827
                                Es wird delayAway auf 2,5* der Scanzeit gesetzt wenn SIE VORHER <= 2* der Scanzeit war.

                                Also hast du ein scanzeit von 1 Minte und eine Away von 2 Minuten wirds auf 2,5 Minuten gesetzt.

                                Die Away-Zeit sollte immer mehr als 2* der scanzeit sein.

                                P 1 Reply Last reply Reply Quote 0
                                • C
                                  ChrisXY last edited by

                                  also hab mich nun zum 3. mal getraut wieder System kaputt gemacht. Zum Glück Docker neu geladen danach lief es wieder ..
                                  Aber sobald ich diese sachen da alle ausführe und danach radar2 Instanz starten will war es da siobroker is weg auch nach reboot kommt nichts mehr.

                                  frankjoke 1 Reply Last reply Reply Quote 0
                                  • frankjoke
                                    frankjoke @bmueller77 last edited by frankjoke

                                    @bmueller77
                                    Kannst du mal im browser http://--druckerip--/DevMgmt/ConsumableConfigDyn.xml aufrufen und mir attachen oder in einem spoiler zeigen?

                                    Das sollte eine XML-Datei zurückgeben.

                                    Ich habe schon 2 verschiedene Formate für HP-Drucker gesehen (und berücksichtigt) aber vielleicht gibt's ja noch mehr...

                                    Ach ja, hab grad gesehen dass das ja ein laserdrucker ist, da kann das Format und die Datei ja 'ne ganz andere sein als bei Tintenstrahlern!

                                    1 Reply Last reply Reply Quote 0
                                    • frankjoke
                                      frankjoke @ChrisXY last edited by

                                      @ChrisXY

                                      Kann da nicht helfen unter Docker, warum brauchst Docker und willst ioBroker unter docker laufen lassen?

                                      Für Programme die extern nur mit normalen internet kommunizieren ists egal ob sie in docker laufen oder nicht, radar2 braucht aber internen Systemzugriff auf Gerätetreiber (für alles ausser Ping) und deshalb ist Docker ein Problem.

                                      1 Reply Last reply Reply Quote 0
                                      • sigi234
                                        sigi234 Forum Testing Most Active last edited by

                                        Hallo,

                                        wie muss ich unter Windows was einstellen.
                                        Adapter Grün aber er findet fast nichts. UWZ kommen keine Daten rein.
                                        Oder begreife ich was nicht.

                                        Screenshot (3458).png

                                        Screenshot (3460)_LI.jpg

                                        crunchip frankjoke 2 Replies Last reply Reply Quote 0
                                        • crunchip
                                          crunchip Forum Testing Most Active @sigi234 last edited by

                                          @sigi234 ha ha, dafür funktioniert bei mir hier die UWZ😋
                                          c0cf75af-a9f0-4a12-b770-6ce5679b20f8-image.png

                                          1 Reply Last reply Reply Quote 0
                                          • frankjoke
                                            frankjoke @sigi234 last edited by

                                            @sigi234
                                            UWZ sollte unter Windows funktionieren, dazu brauchst bei iobroker-admin normal nur die Längen/Breitengrade drinnen.

                                            Ping läft auch aber sonst fast nichts.

                                            Sonst läft kein Bluetooth (nur noble wenn du spezielle BT-Treiber installiertst, kannst bei noble auf git nachlesen).

                                            Die meisten Programme die sonst in der Konfig zu konfigurieren sind gibt's nur unter Linux.

                                            Ich versuche gerade die Windows-Unterstützung zu verbessern, aber bis jetzt bin ich noch gescheitert 😞

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            728
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter radar2 adapter
                                            80
                                            840
                                            177998
                                            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