Navigation

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

    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

    D
    • Profile
    • Following 0
    • Followers 1
    • Topics 4
    • Posts 43
    • Best 1
    • Groups 1

    Denwo

    @Denwo

    Starter

    1
    Reputation
    285
    Profile views
    43
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    Denwo Follow
    Starter

    Best posts made by Denwo

    • Proxmox VM Zigbee Volkszähler USB FT232 Serial

      Moin,

      ich würde gern meine Infos weiter geben bezüglich ttyUSB0 in Proxmox VM mit Debian 10.5.

      Ich habe ioBroker wieder in eine VM installiert weil es für mich einfacher ist die USB Geräte durchzureichen. Mit ioBroker im CT, hatte ich des öfteren Probleme, wenn ich den Host neu gestartet habe, die USB Adapter eine andere Device ID bekommen haben. Somit musste ich des öfteren händisch die config von dem CT anpassen.

      Nun zum eigentlichen....

      Ich habe also eine VM aufgesetzt, alle USB Geräte für ioBroker hinzugefügt und musste feststellen, dass der Adapter Zigbee mit dem Gerät ttyACM0 nur funktioniert, wenn ich die Einstellungen speichere. Beim Smartmeter Adapter hatte er den ttyUSB0 gar nicht erst gefunden.

      Bei lsusb sah es so aus:

      root@iobroker:~# lsusb
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
      Bus 004 Device 003: ID 0764:0601 Cyber Power System, Inc. PR1500LCDRT2U UPS
      Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
      Bus 003 Device 005: ID 0451:16c8 Texas Instruments, Inc. 
      Bus 003 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
      Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
      Bus 002 Device 002: ID 0627:0001 Adomax Technology Co., Ltd 
      Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
      

      Trotzdem wurden kein ttyUSB0 eingerichtet.

      Dann habe ich mal unter dmsg geschaut und gesehen das der ttyUSB0 eingerichtet wird, aber kurz danach wieder getrennt wird. Hatte erst gedacht das es an verschiedenen rechten usw. liegt aber das Problem konnte ich nicht lösen. Google sagte dann das hier:

      https://forum.ubuntuusers.de/topic/problem-mit-usb-seriell-wandler-geloest/

      also in die Konsole

      apt-get remove brltty
      

      eingegeben und die VM neu gestartet.

      Infos zu brltty: https://packages.debian.org/de/sid/brltty

      Danach lief alles ohne Probleme. Bei Zigbee musste nichts mehr eingestellt werden und auch der Smartmeter Adapter hat sein ttyUSB0 sofort erkannt und Daten geliefert.

      Habe mir gedacht ich teile diese Information gern mit euch. Denn das Forum hat mir schon des öfteren weiter geholfen und falls andere mal vor dem Problem stehen, haben sie hier die Lösung und wiederum andere die danach Googlen, werden im ioBroker Forum fündig.

      Grüße

      posted in ioBroker Allgemein
      D
      Denwo

    Latest posts made by Denwo

    • RE: Raspi4 Zigbee Stick

      @Wurstwasser

      Welche Debian Version ist das?

      Mach mal bitte "uname -a"

      Ansonsten versuch mal "apt-get remove brltty" und starte den PI neu, vielleicht behebt es ja dein Problem. Ist nur eine Vermutung... siehe: https://forum.iobroker.net/topic/36081/proxmox-vm-zigbee-volkszähler-usb-ft232-serial

      posted in ioBroker Allgemein
      D
      Denwo
    • Proxmox VM Zigbee Volkszähler USB FT232 Serial

      Moin,

      ich würde gern meine Infos weiter geben bezüglich ttyUSB0 in Proxmox VM mit Debian 10.5.

      Ich habe ioBroker wieder in eine VM installiert weil es für mich einfacher ist die USB Geräte durchzureichen. Mit ioBroker im CT, hatte ich des öfteren Probleme, wenn ich den Host neu gestartet habe, die USB Adapter eine andere Device ID bekommen haben. Somit musste ich des öfteren händisch die config von dem CT anpassen.

      Nun zum eigentlichen....

      Ich habe also eine VM aufgesetzt, alle USB Geräte für ioBroker hinzugefügt und musste feststellen, dass der Adapter Zigbee mit dem Gerät ttyACM0 nur funktioniert, wenn ich die Einstellungen speichere. Beim Smartmeter Adapter hatte er den ttyUSB0 gar nicht erst gefunden.

      Bei lsusb sah es so aus:

      root@iobroker:~# lsusb
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
      Bus 004 Device 003: ID 0764:0601 Cyber Power System, Inc. PR1500LCDRT2U UPS
      Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
      Bus 003 Device 005: ID 0451:16c8 Texas Instruments, Inc. 
      Bus 003 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
      Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
      Bus 002 Device 002: ID 0627:0001 Adomax Technology Co., Ltd 
      Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
      

      Trotzdem wurden kein ttyUSB0 eingerichtet.

      Dann habe ich mal unter dmsg geschaut und gesehen das der ttyUSB0 eingerichtet wird, aber kurz danach wieder getrennt wird. Hatte erst gedacht das es an verschiedenen rechten usw. liegt aber das Problem konnte ich nicht lösen. Google sagte dann das hier:

      https://forum.ubuntuusers.de/topic/problem-mit-usb-seriell-wandler-geloest/

      also in die Konsole

      apt-get remove brltty
      

      eingegeben und die VM neu gestartet.

      Infos zu brltty: https://packages.debian.org/de/sid/brltty

      Danach lief alles ohne Probleme. Bei Zigbee musste nichts mehr eingestellt werden und auch der Smartmeter Adapter hat sein ttyUSB0 sofort erkannt und Daten geliefert.

      Habe mir gedacht ich teile diese Information gern mit euch. Denn das Forum hat mir schon des öfteren weiter geholfen und falls andere mal vor dem Problem stehen, haben sie hier die Lösung und wiederum andere die danach Googlen, werden im ioBroker Forum fündig.

      Grüße

      posted in ioBroker Allgemein
      D
      Denwo
    • RE: Probleme bei Adapter Installation node-gyp

      @charon said in Probleme bei Adapter Installation node-gyp:

      @Denwo said in Probleme bei Adapter Installation node-gyp:

      @sigi234

      Das wäre nicht das erste mal mit dem Neustart. Die Meldung kommt trotzdem...

      Edit: Lösung gefunden, poste sie gleich wenn das System durch ist.

      Oh auf die Lösung bin ich gespannt. Ich habe das selbe Problem und bisher noch keine Lösung gefunden.

      Moin, bisschen spät aber besser als nie 🙂

      Auf die Lösung war ich auch gespannt aber...

      Ich dachte es lag daran das ich die Pakete für Bluetooth nicht installiert hatte... war aber nicht so 😕
      Der rebuild brachte dann kein Erfolg und reinstall auch nicht. Hatte vorher ein Snapshot gemacht, also zurückgespielt und es lief wieder.

      Was ich mich aber gewundert hat. Das war ein Snapshot wo der BLE Adapter installiert war, als ich dann einen Adapter installiert oder geupdatet habe, kamen diese Fehler nicht. Was jetzt noch anders war kann ich gerade nicht sagen.

      posted in Error/Bug
      D
      Denwo
    • RE: Probleme bei Adapter Installation node-gyp

      @sigi234

      Das wäre nicht das erste mal mit dem Neustart. Die Meldung kommt trotzdem...

      Edit: Lösung gefunden, poste sie gleich wenn das System durch ist.

      posted in Error/Bug
      D
      Denwo
    • Probleme bei Adapter Installation node-gyp

      Hallo, ich habe Probleme bei der Adapter Installation, egal welcher.

      Hier ein Beispiel:

      $ ./iobroker add vis-justgage  --host iobroker
      NPM version: 6.9.0
      npm install iobroker.vis-justgage@1.0.0 --production --save --prefix "/opt/iobroker" (System call)
      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:../src/BluetoothHciSocket.cpp:251: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:1045:46: note: declared here
         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                    ^~~~~~~~~~~~
      
      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’
         Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                              ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                       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:3993:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
         V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                  ^~~~~~~~~~~
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:3993:44: note:   candidate expects 3 arguments, 2 provided
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
         V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                  ^~~~~~~~~~~
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:3996:44: note:   candidate expects 1 argument, 2 provided
      
      ../src/BluetoothHciSocket.cpp:282: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:1045: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:395: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:417: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)))
         ^~~~~~~~~~
      
      make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Fehler 1
      gyp
       ERR! build error 
      gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR!
       stack     at ChildProcess.onExit (/usr/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.9.0-9-amd64gyp 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/bluetooth-hci-socket
      gyp ERR! node -v v10.16.0
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
       
      ../src/linux/DeviceINQ.cc:35:37: fatal error: bluetooth/bluetooth.h: Datei oder Verzeichnis nicht gefunden     #include <bluetooth/bluetooth.h>
                                           ^
      compilation terminated.
      
      make: *** [Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Fehler 1
      gyp
       ERR! build error 
      gyp 
      ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/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.9.0-9-amd64
      
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"gyp ERR!
       cwd /opt/iobroker/node_modules/node-bluetoothgyp ERR! node -v v10.16.0
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
       
      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:
      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^
      /home/iobroker/.node-gyp/10.16.0/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:
      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^
      /home/iobroker/.node-gyp/10.16.0/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:
      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^
      /home/iobroker/.node-gyp/10.16.0/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:
      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^
      /home/iobroker/.node-gyp/10.16.0/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 /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 ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /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/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 /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 ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /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/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 /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 ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /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/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 /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 ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /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/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 /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 ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /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/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 /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 ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /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/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 /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,                 from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/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 /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 ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /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/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 /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 ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /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/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 /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 ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /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/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 /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 ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /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/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 /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,                 from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/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 /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 ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /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/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 /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 ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /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/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 /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 ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /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)))
         ^~~~~~~~~~
      
      make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1
      gyp
       ERR! build error
       
      gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/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.9.0-9-amd64
      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/unix-dgramgyp ERR! node -v v10.16.0
      gyp ERR! node-gyp -v
       v3.8.0gyp ERR! not ok 
      
      npm WARN
       ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker-react-components'npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker.type-detector'
      npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
      
      npm
       WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      
      npm WARN
       optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 (node_modules/bluetooth-hci-socket):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.5 (node_modules/node-bluetooth):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.5 install: `node-gyp configure build`
      npm WARN
       optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm 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
      
      
      host.iobroker install adapter vis-justgage
      npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.vis-justgage"
      npm
       WARN deprecated coffee-script@1.3.3: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
      npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
      npm WARN 
      deprecated hawk@2.3.1: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
      npm
       WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
      npm WARN
       deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
      npm 
      WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
      npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
      npm WARN deprecated
       hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
      npm WARN 
      deprecated hawk@1.1.1: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
      npm WARN
       deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
      npm WARN deprecated jscs-preset-wikimedia@1.0.1: Deprecated in favour of eslint-config-wikimedia. -- https://phabricator.wikimedia.org/T118941
      npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
      npm 
      WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
      npm WARN deprecated hoek@0.9.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
      npm WARN deprecated boom@0.4.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
      npm WARN
       deprecated cryptiles@0.2.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
      npm WARN 
      deprecated sntp@0.2.4: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
      npm WARN deprecated
       nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
      npm WARN 
      deprecated node-uuid@1.4.8: Use uuid module instead
      npm WARN 
      deprecated core-js@1.2.7: core-js@<2.6.5 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
      npm notice created a lockfile as package-lock.json. You should commit this file.
      got /opt/iobroker/node_modules/iobroker.vis-justgage/admin
      upload [1] vis-justgage.admin /opt/iobroker/node_modules/iobroker.vis-justgage/admin/justgage.png justgage.png image/png
      upload [0] vis-justgage.admin /opt/iobroker/node_modules/iobroker.vis-justgage/admin/index.html index.html text/html
      Adapter "system.adapter.vis.0" restarted.
      host.iobroker object system.adapter.vis-justgage created
      host.iobroker create instance vis-justgage
      host.iobroker object system.adapter.vis-justgage.0 created
      process exited with code 0
      

      Kennt das jemand?

      Ich sehe das da etwas fehlt bzw. es Probleme mit dem

      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:../src/BluetoothHciSocket.cpp:251: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)
      

      gibt. Nur wie bekomme ich das weg?

      posted in Error/Bug
      D
      Denwo
    • RE: Zugriff vom iobroker auf shared samba ordner eines anderen pis im selben Netz

      Kann dir im Moment nicht großartig weiterhelfen, habe keinen Zugriff auf meinem Server um meine Samba Einstellungen zu prüfen. Hier noch eine Anleitung die recht vielversprechend aussieht. Wichtig ist das du einen Samba Benutzer anlegen musst.

      https://www.thomas-krenn.com/de/wiki/Samba_Freigabe_mit_Authentifizierung

      posted in Hardware
      D
      Denwo
    • RE: Zugriff vom iobroker auf shared samba ordner eines anderen pis im selben Netz

      Du musst die entfernte Samba Freigabe in deinem System mounten.

      Diese Anleitung hier sollte dir dabei helfen können.

      http://www.it-adviser.net/raspberry-pi-windows-freigabe-smbcifs-verbinden/

      Danach kannst du den Befehl ganz normal verwenden, musst ihn dann nur auf dein gemountetes Laufwerk/Ordner anwenden.

      posted in Hardware
      D
      Denwo
    • RE: Shelly und die Cloud

      @piscator83:

      Daraufhin hab ich nochmal nachgeschaut und festgestellt, dass ich im Router seinerzeit bereits für die Shellys Port 1-65535 gesperrt habe. Daraufhin mal einen Blick ins Protokoll geworfen: [Service blocked: Shelly] from source 10.10.11.21 bzw 22

      und das auch so in 10-15sek Abständen. `

      das ist, laut Netzwerk Datenverkehr so nicht ganz richtig. Denn…

      Netzwerkverkehr:

      Netgear Router mit DHCP -> im DHCP Server hast du gesagt das der Raspberry PI bzw Pihole DNS Server ist, das heißt

      Shelly mit 10.10.11.21 bekommt seine Daten vom DHCP. Du Blockst nun Ports für die Shelly IP 10.10.11.21 aber ihn juckt das nicht, denn laut Netzwerk fragt dieser nicht mehr deinen Router nach der Adresse von iot.shelly.cloud und api.shelly.cloud sondern den PiHole. Der Pihole schaut in seiner List und blockt nun die DNS anfrage.

      DNS Abfrage: Shelly->PiHole->Router->Internet

      Wenn Shelly nun direkt mit der IP Kommunizieren würde dann:

      Shelly->Router->Internet

      Da du aber alle Ports für die Shellys gesperrt hast, sollten sie nicht raus dürfen und dein Router verwirft es einfach.

      Im Netzwerk wird zwischen zwei Computern, Routern, IoT Geräte ausschließlich über IP kommuniziert. DNS dient zur Namensauflösung (Name in IP) wenn der Eintrag im DNS Server/Host existiert.

      Du könntest vielleicht einen Statischen DNS Eintrag im PiHole anlegen, z.B. das iot.shelly.cloud und api.shelly.cloud auf 127.0.0.1 enden. Also auf sich selber. Dann werden diese Anfragen auch in deinem Netzwerk einfach hinten runterfallen.

      Falls es in PiHole nicht geht mit dem statischen Eintrag, dann trag es einfach in den PI seine Config ein /etc/Hosts

      iot.shelly.cloud 127.0.0.1
      api.shelly.cloud 127.0.0.1
      
      
      posted in ioBroker Allgemein
      D
      Denwo
    • RE: Moderner Wandtaster

      Sonoff…

      https://www.itead.cc/smart-home/sonoff-t1-eu.html

      https://www.itead.cc/smart-home/sonoff-touch.html

      mit Tasmota, dann könntest du, wenn Taster gedrückt an den Zigbee Stick schicken das die Lampe an oder aus geht. Nur eine Idee

      posted in ioBroker Allgemein
      D
      Denwo
    • RE: Teamspeakserver überwachen

      @Beliar_666:

      Ich meinte eigentlich eher um den Onlinestatus per IOBroker abzufragen…. 😉 `

      Ja genau, dafür kannst du nmap nehmen. z.B. bei Blocky execute Befehl und dann Antwort auswerten.

      der Befehl

      nmap -sU -p 9987 IPTS3SERVER
      

      sollte dir dann etwas ausspucken.

      weiß jetzt aber nicht, wenn man bei Blocky den exec Befehl nimmt wie man sich das Ergebnis anzeigen lassen kann, nicht getestet.

      edit: gerade gefunden…. musst es nur auf nmap anpassen anstatt ping

      viewtopic.php?f=21&t=21785

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