Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. akurria

    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

    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 5
    • Best 0
    • Groups 1

    akurria

    @akurria

    Starter

    0
    Reputation
    13
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    akurria Follow
    Starter

    Latest posts made by akurria

    • Fehler Tuya Update 3.0.0

      Bekomme leider das Update des Tuya Updates nicht hin. Vielleicht kann mir jemand ja helfen?

      > node-bluetooth@1.2.6 install /opt/iobroker/node_modules/node-bluetooth
      > node-gyp configure build
      
      make: Verzeichnis „/opt/iobroker/node_modules/node-bluetooth/build“ wird betrete                                                                                                                                                             n
        CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPo                                                                                                                                                             rt.o
        CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o
      ../src/linux/DeviceINQ.cc:35:37: fatal error: bluetooth/bluetooth.h: Datei oder Verzeichnis nicht gefunden
           #include <bluetooth/bluetooth.h>
                                           ^
      compilation terminated.
      BluetoothSerialPort.target.mk:105: die Regel für Ziel „Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o“ scheiterte
      make: *** [Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Fehler 1
      make: Verzeichnis „/opt/iobroker/node_modules/node-bluetooth/build“ wird verlassen
      gyp ERR! build error
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
      gyp ERR! System Linux 4.14.98-v7+
      gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
      gyp ERR! cwd /opt/iobroker/node_modules/node-bluetooth
      gyp ERR! node -v v10.16.3
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
      
      > unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram
      > node-gyp rebuild
      
      make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
        CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
      In file included from ../node_modules/nan/nan.h:190:0,
                       from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
      ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
         return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                     ^~~~~~~~
      In file included from ../src/unix_dgram.cc:5:0:
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
      ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
               v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                  ^
      In file included from ../node_modules/nan/nan.h:47:0,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^
      /root/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:0:
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
      ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
               v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                    ^
      In file included from ../node_modules/nan/nan.h:47:0,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^
      /root/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:0:
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
      ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
               v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                    ^
      In file included from ../node_modules/nan/nan.h:47:0,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^
      /root/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:0:
      ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
      ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
           ));
           ^
      In file included from ../node_modules/nan/nan.h:47:0,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^
      /root/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         domain      = info[0]->Int32Value();
                                           ^
      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         type        = info[1]->Int32Value();
                                           ^
      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         protocol    = info[2]->Int32Value();
                                           ^
      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[1]);
                                       ^
      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^
      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         buf = info[1]->ToObject();
                                 ^
      In file included from /root/.node-gyp/10.16.3/include/node/node.h:63:0,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
       Local<Object> Value::ToObject() const {
                     ^~~~~
      ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         offset = info[2]->Uint32Value();
                                       ^
      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here
         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                     ^
      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         length = info[3]->Uint32Value();
                                       ^
      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here
         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                     ^
      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[4]);
                                       ^
      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^
      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         buf = info[1]->ToObject();
                                 ^
      In file included from /root/.node-gyp/10.16.3/include/node/node.h:63:0,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
       Local<Object> Value::ToObject() const {
                     ^~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[1]);
                                       ^
      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^
      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /root/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      unix_dgram.target.mk:99: die Regel für Ziel „Release/obj.target/unix_dgram/src/unix_dgram.o“ scheiterte
      make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1
      make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
      gyp ERR! build error
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
      gyp ERR! System Linux 4.14.98-v7+
      gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
      gyp ERR! node -v v10.16.3
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/@serialport/bindings/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/abbrev/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/needle/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/package.json'
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 (node_modules/node-bluetooth):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 install: `node-gyp configure build`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      
      + iobroker.tuya@3.0.0
      added 10 packages from 13 contributors, removed 108 packages, updated 6 packages, moved 1 package and audited 4458 packages in 69.558s
      found 41 vulnerabilities (30 low, 11 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      root@raspberrypi:/opt/iobroker# npm audit
      npm ERR! code EAUDITNOLOCK
      npm ERR! audit Neither npm-shrinkwrap.json nor package-lock.json found: Cannot audit a project without a lockfile
      npm ERR! audit Try creating one first with: npm i --package-lock-only
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2019-09-09T20_49_38_766Z-debug.log
      
      
      posted in Error/Bug
      A
      akurria
    • RE: nach Restore über Backitup einige Fehler

      Lösung gefunden.

      1. Manuell über Console installieren.
      2. Über Github noch einmal drüber installieren

      --> Instanzen gehen.

      posted in Error/Bug
      A
      akurria
    • RE: nach Restore über Backitup einige Fehler

      @simatec Vielen Dank für deine Rückmeldung.

      Es ist eine Standard Wiederherstellung.
      Bei der erneuten Installation über Github kommen dann auch Fehler wie da oben.
      Ich habe jetzt zB das Javascript über die console manuell installiert, denn noch bei der Instanz bleibt der Fehler mit der index

      posted in Error/Bug
      A
      akurria
    • nach Restore über Backitup einige Fehler

      Hallo ich habe ein Restore meiner Iobroker vorgenommen. Nun habe ich bei Adaptern Probleme.

      Wenn ich auf folgende Instanzen gehe
      Javascript
      telegram
      yeelight

      steht dort File index_m.html not found.

      Ein Installieren des Adapters führt zu Fehlern.
      Hier das Beispiel von Javascript

      Fertig mit Fehler: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'

      $ ./iobroker add javascript  --host raspberrypi
      NPM version: 6.10.0
      npm install iobroker.javascript@4.1.12 --production --save --prefix "/opt/iobroker" (System call)
      npm
       WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
      npm
       WARN 
      registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
      npm 
      WARN registry
       Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
      npm 
      ERR! code EINTEGRITY
      npm ERR! errno EINTEGRITY
      npm
       ERR! Invalid response body while trying to fetch https://registry.npmjs.org/debug: Integrity verification failed for sha512-3B1veGTUmiSgBiCNl81P1UAuDTCfSpoHj/G2xpS0Uo7c6vKeGyTsRxr1EMavWobMR+rwlLH+BbKUVdzehG5l4w== (/home/iobroker/.npm/_cacache/content-v2/sha512/dc/1d/6f7864d49a24a006208d97cd4fd5402e0d309f4a9a078ff1b6c694b4528edceaf29e1b24ec471af510c6af5a86cc47eaf094b1fe05b29455dcde846e65e3)
      
      npm ERR! A complete log of this run can be found in:npm ERR!
           /home/iobroker/.npm/_logs/2019-07-11T11_15_43_096Z-debug.log
      host.raspberrypi create instance javascript
      ERROR: host.raspberrypi error: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'
      ERROR: process exited with code 20```
      code_text
      
      posted in Error/Bug
      A
      akurria
    • RE: Batterystatus abfragen und entsprechend Tablet laden

      @Chaot said in Batterystatus abfragen und entsprechend Tablet laden:

      Ganz ehrlich hier irgendwo zusammengeklaut:

      const idBatt = 'paw.0.Tablet.info.battery.level'; // Batterielevel in %
      const idPlug = 'sonoff.0.Stecker2.POWER'; // Ladegerät ein
      const idVis = 'Vis.Batterieanzeige'; // Für Vis
      
      createState(idVis, 0, {
      type: 'number',
      min: 0,
      max: 7,
      role: 'level',
      states: {
      0: 'leer',
      1: '20 %',
      2: '40 %',
      3: '60 %',
      4: '80 %',
      5: 'voll',
      6: 'Ladegerät'
      } 
      });
      
      var level = getState(idBatt).val;
      var plug = getState(idPlug).val;
      
      function batt() {
      var state = 5; // full 80 %
      if(level <= 79) state = 4; // 79 %
      if(level <= 60) state = 3; // 60 %
      if(level <= 40) state = 2; // 40 %
      if(level <= 30) state = 1; // 20 %
      if(level <= 22) state = 0; // empty 20 %
      if(plug) state = 6; // Ladegerät ein
      setState(idVis, state, true);
      if(level >= 90 && plug) setState(idPlug, false);
      if(level <= 30 && !plug) setState(idPlug, true);
      }
      
      batt(); // Skriptstart
      
      on(idBatt, function(dp) {
      level = dp.state.val;
      batt();
      });
      
      on(idPlug, function(dp) {
      plug = dp.state.val;
      batt();
      });
      

      PAW Tablet erklärt sich selbst,

      Sonoff Stecker 2 ist eine Schaltsteckdose in der das Ladegerät steckt

      Den Datenpunkt für die Batterieanzeige habe ich aktuell nicht mehr in der Nutzung weil ich meine View umgebaut habe und nur den Ladestatus sehe.

      Die beiden unteren Werte (Zeile 33 und 34) kannst du variieren um den Akku in dem Ladebereich zu lassen.

      Ich hatte den früher auf 20 - 80 %, aber da war mir die Restlaufzeit bei Systemausfall zu gering. Deshalb habe ich die Grundladung auf 30% erhöht.

      Ladeschluß bei 80% war mir auch zu wenig.

      wie müsste denn der Code aussehen damit der jede Stunde startet? Ich bekomme es leider nicht hin, ein Zeitintervall auf diesen Code zu setzen damit Iobroker diesen jede Stunde ausführt.

      Anmerkung: Noob in Java.

      posted in Skripten / Logik
      A
      akurria
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo