Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test js-controller v2.0.x (GitHub)

    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

    Test js-controller v2.0.x (GitHub)

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      watcherkb @AlCalzone last edited by

      @AlCalzone sorry...hier nochmal detaillierter: ich habe ein Testsystem aufgesetzt und dort mein Backup vom Livesystem eingespielt. Alle Adapter bis auf den radar2 sind deaktiviert. Fehler kommt auch erst, wenn ich den radar2 Adapter starte. Vielleicht hat das ja auch mit dem eigentlich Update von js nichts zu tun.

      host.iObroker	2019-09-25 13:20:01.382	info	Restart adapter system.adapter.radar2.0 because enabled
      host.iObroker	2019-09-25 13:20:01.382	info	instance system.adapter.radar2.0 terminated with code NaN ()
      host.iObroker	2019-09-25 13:20:01.381	warn	instance system.adapter.radar2.0 terminated due to SIGABRT
      host.iObroker	2019-09-25 13:20:01.381	error	Caught by controller[0]: .0: ../deps/uv/src/unix/poll.c:123: uv_poll_start: Assertion `!(((handle)->flags & (UV_HANDLE_CLOSING | UV_HANDLE_CLOSED)) != 0)' failed.
      radar2.0	2019-09-25 13:20:01.208	info	(2382) debug: radar2 received undefined objects and 1 states, with config devices,scandelay,arp_scan_cmd,btadapterid,printerdelay,debug,knownIPs,knownBTs,external,delayaway,delayuwz,numuwz,hcionly,l2
      radar2.0	2019-09-25 13:20:01.148	info	(2382) starting. Version 1.2.0 in /opt/iobroker/node_modules/iobroker.radar2, node: v10.16.3
      radar2.0	2019-09-25 13:20:00.793	debug	(2382) States connected to redis: 127.0.0.1:6379
      radar2.0	2019-09-25 13:20:00.787	debug	(2382) statesDB connected
      radar2.0	2019-09-25 13:20:00.784	debug	(2382) Objects connected to redis: 127.0.0.1:9001
      radar2.0	2019-09-25 13:20:00.782	debug	(2382) Redis States: Use Redis connection: 127.0.0.1:6379
      radar2.0	2019-09-25 13:20:00.780	debug	(2382) objectDB connected
      radar2.0	2019-09-25 13:20:00.731	debug	(2382) Redis Objects: Use Redis connection: 127.0.0.1:9001
      host.iObroker	2019-09-25 13:20:00.059	info	instance system.adapter.radar2.0 started with pid 2382
      host.iObroker	2019-09-25 13:20:00.037	info	"system.adapter.radar2.0" enabled
      host.iObroker	2019-09-25 13:20:00.036	info	object change system.adapter.radar2.0 (from: system.adapter.admin.0)
      
      apollon77 1 Reply Last reply Reply Quote 0
      • SBorg
        SBorg Forum Testing Most Active @AlCalzone last edited by

        @AlCalzone sagte in [Aufruf] js-controller 2.0 Beta Test:

        @SBorg Nein. Aber damit habe ich die Möglichkeit, diese Option von npm auszuschalten.

        Danke, dachte schon bin blind. Im Alter weiß man ja nie... ^^

        @apollon77 sagte in [Aufruf] js-controller 2.0 Beta Test:

        @SBorg Die Fragfe war auch eher allgemein und rethorisch gemeint weil viele Leute das tun (und mit 1.5.x getan haben und so ...) ... ;-))

        Alles gut 🙂 ...und ich teste gerne.
        Jetzt müsste man nur noch wissen woran es liegt 😞

        1 Reply Last reply Reply Quote 0
        • E
          e-i-k-e @apollon77 last edited by e-i-k-e

          @apollon77

          Ich muss gestehen, dass mein English nicht das Beste ist und ich deswegen übersetzen musste. Danach waren mir die Meldungen klar.

          Die erste Frage war glaube ich: " Es wurde automatisch erkannt das dieser Host ein Slave ist, ist das korrekt? Y/N (oder so ähnlich).
          Dies wurde mir auch auf dem Master so angezeigt. Vieleicht wäre es einfacher zu fragen, ob dieser Host ein Master oder Slave ist.

          Zu Vis, Jackpot!
          Sind genau 19 Instanzen die mit Vis anfangen 😉 Zudem fehlen die Icon ("iobroker update all" wurde natürlich ausgeführt).

          vis2.JPG

          apollon77 1 Reply Last reply Reply Quote 0
          • E
            e-i-k-e @AlCalzone last edited by

            @AlCalzone

            npm install ioBroker/ioBroker.js-controller

            pi@raspberrypi-slave:~ $ iobroker stop
            pi@raspberrypi-slave:~ $ cd /opt/iobroker
            pi@raspberrypi-slave:/opt/iobroker $ npm install ioBroker/ioBroker.js-controllernpm ERR! code EPERM
            npm ERR! syscall spawn
            npm ERR! errno EPERM
            npm ERR! Error: spawn EPERM
            npm ERR!     at ChildProcess.spawn (internal/child_process.js:366:11)
            npm ERR!     at spawn (child_process.js:551:9)
            npm ERR!     at execFile (child_process.js:221:15)
            npm ERR!     at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
            npm ERR!     at ret (eval at makeNodePromisifiedEval (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
            npm ERR!     at promiseRetry (/usr/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
            npm ERR!     at /usr/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24
            npm ERR!  { Error: spawn EPERM
            npm ERR!     at ChildProcess.spawn (internal/child_process.js:366:11)
            npm ERR!     at spawn (child_process.js:551:9)
            npm ERR!     at execFile (child_process.js:221:15)
            npm ERR!     at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
            npm ERR!     at ret (eval at makeNodePromisifiedEval (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
            npm ERR!     at promiseRetry (/usr/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
            npm ERR!     at /usr/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24
            npm ERR!   cause:
            npm ERR!    { Error: spawn EPERM
            npm ERR!        at ChildProcess.spawn (internal/child_process.js:366:11)
            npm ERR!        at spawn (child_process.js:551:9)
            npm ERR!        at execFile (child_process.js:221:15)
            npm ERR!        at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
            npm ERR!        at ret (eval at makeNodePromisifiedEval (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
            npm ERR!        at promiseRetry (/usr/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
            npm ERR!        at /usr/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24 errno: 'EPERM', code: 'EPERM', syscall: 'spawn' },
            npm ERR!   stack:
            npm ERR!    'Error: spawn EPERM\n    at ChildProcess.spawn (internal/child_process.js:366:11)\n    at spawn (child_process.js:551:9)\n    at execFile (child_process.js:221:15)\n    at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)\n    at ret (eval at makeNodePromisifiedEval (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)\n    at promiseRetry (/usr/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)\n    at /usr/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24',
            npm ERR!   errno: 'EPERM',
            npm ERR!   code: 'EPERM',
            npm ERR!   syscall: 'spawn',
            npm ERR!   parent: 'iobroker' }
            npm ERR!
            npm ERR! The operation was rejected by your operating system.
            npm ERR! It is likely you do not have the permissions to access this file as the current user
            npm ERR!
            npm ERR! If you believe this might be a permissions issue, please double-check the
            npm ERR! permissions of the file and its containing directories, or try running
            npm ERR! the command again as root/Administrator.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/pi/.npm/_logs/2019-09-25T17_19_35_938Z-debug.log
            

            sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller

            pi@raspberrypi-slave:/opt/iobroker $ sudo -H -u iobroker npm install ioBroBroker.js-controller
            
            > iobroker.js-controller@2.0.9 preinstall /opt/iobroker/node_modules/iobro-controller
            > node lib/preinstallCheck.js
            
            NPM version: 6.11.3
            
            > iobroker.js-controller@2.0.9 install /opt/iobroker/node_modules/iobrokerntroller
            > node iobroker.js setup first
            
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.7 (node_modulvents):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fse2.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":)
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0de_modules/osx-temperature-sensor):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osxrature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":","arch":"arm"})
            
            + iobroker.js-controller@2.0.9
            updated 3 packages and audited 1656 packages in 87.662s
            found 14 vulnerabilities (9 low, 5 high)
              run `npm audit fix` to fix them, or `npm audit` for details
            
            
            1 Reply Last reply Reply Quote 0
            • E
              e-i-k-e last edited by

              Nach einem Neustart des Masters, blieben einige Adapter gelb/rot.
              Erst nachdem ich einen manuellen Neustart der Adapter durchgeführt , wurden diese grün.

              adapter_rot.JPG

              Anbei das log. iobroker.2019-09-25.log
              Neustart Master ~19.00 Uhr
              Neustart der gelb/roten Adapter: ~19.37Uhr

              apollon77 1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 @e-i-k-e last edited by

                @e-i-k-e ich denke, warum auch immer, das das nur ein Anzeigeproblem im Admin ist.

                Zum verifizieren:
                Nach dem Start wenn eine solche Instanz gelb ist:

                1. „iobroker state get Adapter.0.info.connection“ aufrufen. Ist val auf true??
                2. wenn ja bitte in Admin gehen und unter Objekte auch bis zu dem info.connection durchklicken. Steht da true?
                3. jetzt auf Instanzen zurück ... wird jetzt grün angezeigt?
                1 Reply Last reply Reply Quote 2
                • apollon77
                  apollon77 @e-i-k-e last edited by

                  @e-i-k-e Update all ??or upload all?? Letzteres wäre das korrekte 😉

                  Zur Anzahl Instanzen; ich checke. Vllt hat es such was mit dem info connection zu tun

                  E 1 Reply Last reply Reply Quote 1
                  • E
                    e-i-k-e @apollon77 last edited by

                    @apollon77 natürlich Upload all 😬

                    apollon77 1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 @e-i-k-e last edited by

                      @e-i-k-e mach bitte nochmal und poste log. Alle hosts müssen laufen für das "uplaod all"!

                      1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 @watcherkb last edited by

                        @watcherkb sagte in [Aufruf] js-controller 2.0 Beta Test:

                        Kernel aktuell? Alle Updates installiert?

                        VBei libuv Fehler ist man recht "weit unten" ... Sollte mit controller eher nichts zu tun haben

                        W 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 last edited by

                          So Hey All,

                          später heute (informiere dann nochmal getrennt) kommt noch eine 2.0.10 mit kleineren Dingen und Optimierungen. Aber auch hier nichts größeres mehr dabei.

                          Der Stand zu den aus meiner Sicht hier "offenen "Themen:

                          • iqontrol tut generell, gibt noch paar Kleinigkeiten, aber da ist der Dev dran. Aktuell nichts was der controller direkt verursachen sollte
                          • radar2 wirft aktuell einen Fehler, aber auch das liegt aktuell daran wie der Adapter mit einer js-controller Bibliothek umgeht. Auch hier gibts ein Issue beim Adapter. Ich hoffe Frank hat bald Zeit reinzschauen
                          • Ich habe viel rumgetestet aber konnte weder das "19 vis Instanzen"-Anzeigeproblem noch die "Instanzen werden gelb/rot im Admin angezeigt obwohl grün". Habe jetzt in meinem Testumfeld aber auch kein Multihost.

                          Vor allem zu letztem Punkt:
                          Bitte nochmal Admin per "Shift-Reload" bzw Forced Reload bzw Browser-Cache löschen neu laden. Ich kann mir gerade nur vorstellen das das ein "Timing Issue" irgendwie ist. Hier auch mal die Browser-Konsole checken. Da müssten Meldungen wie "Subscribe system.adapter." und "Subscribe.info.connection" kommen. Wenn nicht stimmt ggf was nicht. Ich denke das ggf der Admin der zwar zuerst startet dann einen Datenstand hat dr angezeigt wird wenn die seite geladen istm, aber ggf gibts zwischen "Mit den Daten die Seite anzeigen" und "ab jetzt aktualisierungen empfangen" einen kleinen gap und Adater die in der Zeit fertig geworden sind haben dann alte Daten oder sowas. Und das "Info.connection" wird meistens nur einmalig gesendet.
                          Zu dem "19 bis instanzen" hab ich aktuell eher keine Idee ... Aber auch hier bitte mal Force reload.

                          Oder gibts noch andere Themen (ausser dem npm install Thema mit rechten was eigentlich off-topic ist 😉 )

                          arteck 1 Reply Last reply Reply Quote 0
                          • arteck
                            arteck Developer Most Active @apollon77 last edited by

                            @apollon77 ich galub du hast alles erwähnt...

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

                              2.0.10 ist auf Github. Changelog:

                              • (Apollon77) Optimize Compact mode CLI commands (fixes #468, fixes #471, #470)
                              • (Apollon77) fixes #475, #476
                              • (Apollon77) only use quit from redid and let ioredis handle the disconnect, hopefully fixes #472, update objects-ha-lib
                              • (Apollon77) object changes are only logged as debug from now on, fixes #473
                              • (Apollon77) Some adapter tweaks when running in "--install" mode (no reporting, don't check sigKill)
                              sigi234 1 Reply Last reply Reply Quote 0
                              • W
                                watcherkb @apollon77 last edited by

                                @apollon77 ja hab schon alles durch. Auch Adapter neu installieren bringt nur noch Fehler. Weiß nicht mehr weiter...

                                $ ./iobroker url "https://github.com/frankjoke/ioBroker.radar2/tarball/master" radar2
                                install https://github.com/frankjoke/ioBroker.radar2/tarball/master
                                NPM version: 6.9.0
                                npm install https://github.com/frankjoke/ioBroker.radar2/tarball/master --loglevel error --production --save --prefix "/opt/iobroker" (System call)
                                In file included from ../src/raw.h:23,                 from ../src/raw.cc:6:../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../../nan/nan.h:2298:62: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
                                In file included from ../src/raw.h:21,                 from ../src/raw.cc:6:../src/raw.cc: At global scope:/home/iobroker/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type]       (node::addon_register_func) (regfunc),                          \                                           ^/home/iobroker/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro 'NODE_MODULE_X'   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/raw.cc:55:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(raw, InitAll) ^~~~~~~~~~~
                                In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,                 from ../src/raw.h:21,                 from ../src/raw.cc:6:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]                reinterpret_cast<Callback>(callback), type);                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../../nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                prebuild-install
                                 info begin Prebuild-install version 5.3.2
                                prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/f78b17-usb-v1.6.0-node-v64-linux-x64.tar.gz
                                prebuild-install info found cached prebuild 
                                prebuild-install info unpacking @ /home/iobroker/.npm/_prebuilds/f78b17-usb-v1.6.0-node-v64-linux-x64.tar.gz
                                prebuild-install info unpack resolved to /opt/iobroker/node_modules/usb/build/Release/usb_bindings.nodeprebuild-install info unpack required /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node successfullyprebuild-install info install Successfully installed prebuilt binary!
                                In file included from ../src/BluetoothHciSocket.cpp:8:../../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../../../nan/nan.h:2298:62: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
                                ../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:../../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~../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:../../../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:274: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:../../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~../src/BluetoothHciSocket.cpp:274: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:../../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
                                In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:../src/BluetoothHciSocket.cpp: At global scope:/home/iobroker/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local<v8::Object>)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type]       (node::addon_register_func) (regfunc),                          \                                           ^/home/iobroker/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro 'NODE_MODULE_X'   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/BluetoothHciSocket.cpp:529:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(binding, BluetoothHciSocket::Init); ^~~~~~~~~~~
                                In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,                 from /home/iobroker/.node-gyp/10.16.3/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]                reinterpret_cast<Callback>(callback), type);                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../../../nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                In file included from ../src/DeviceINQ.h:17,                 from ../src/linux/BluetoothSerialPort.cc:13:../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
                                In file included from ../src/linux/BluetoothSerialPort.cc:12:../src/linux/BluetoothSerialPort.cc: At global scope:/home/iobroker/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from 'void (*)(v8::Handle<v8::Object>)' {aka 'void (*)(v8::Local<v8::Object>)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type]       (node::addon_register_func) (regfunc),                          \                                           ^/home/iobroker/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro 'NODE_MODULE_X'   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(BluetoothSerialPort, InitAll) ^~~~~~~~~~~
                                In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,                 from ../src/linux/BluetoothSerialPort.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]                reinterpret_cast<Callback>(callback), type);                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../node_modules/nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                In file included from ../src/linux/DeviceINQ.cc:14:../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
                                ../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:../node_modules/nan/nan.h:1740: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:../node_modules/nan/nan.h:1740: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:../node_modules/nan/nan.h:1740: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:../node_modules/nan/nan.h:1740: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:../node_modules/nan/nan.h:1740: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.3/include/node/v8.h:26,                 from ../src/linux/DeviceINQ.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here                   explicit Utf8Value(Local<v8::Value> obj));                            ^~~~~~~~~/home/iobroker/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
                                ../src/linux/DeviceINQ.cc:335:88: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]     uv_queue_work(uv_default_loop(), &baton->request, EIO_SdpSearch, (uv_after_work_cb)EIO_AfterSdpSearch);                                                                                        ^~~~~~~~~~~~~~~~~~
                                In file included from ../src/linux/DeviceINQ.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]                reinterpret_cast<Callback>(callback), type);                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../node_modules/nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                In file included from ../src/linux/BTSerialPortBinding.cc:14:../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
                                ../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:../node_modules/nan/nan.h:1740: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:../node_modules/nan/nan.h:1740: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 of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-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:../node_modules/nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/linux/BTSerialPortBinding.cc:144:94: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]         uv_queue_work(uv_default_loop(), &nextQueuedWrite->req, EIO_Write, (uv_after_work_cb)EIO_AfterWrite);                                                                                              ^~~~~~~~~~~~~~
                                ../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:../node_modules/nan/nan.h:1740: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.3/include/node/v8.h:26,                 from ../src/linux/BTSerialPortBinding.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here                   explicit Utf8Value(Local<v8::Value> obj));                            ^~~~~~~~~/home/iobroker/.node-gyp/10.16.3/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.3/include/node/v8.h:26,                 from ../src/linux/BTSerialPortBinding.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);                                              ^~~~~~~~~~/home/iobroker/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
                                ../src/linux/BTSerialPortBinding.cc:281:86: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]     uv_queue_work(uv_default_loop(), &baton->request, EIO_Connect, (uv_after_work_cb)EIO_AfterConnect);                                                                                      ^~~~~~~~~~~~~~~~
                                ../src/linux/BTSerialPortBinding.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::Write(Nan::NAN_METHOD_ARGS_TYPE)':../src/linux/BTSerialPortBinding.cc:314:43: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct BTSerialPortBinding::write_baton_t' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]     memset(baton, 0, sizeof(write_baton_t));                                           ^In file included from ../src/linux/BTSerialPortBinding.cc:19:../src/BTSerialPortBinding.h:68:16: note: 'struct BTSerialPortBinding::write_baton_t' declared here         struct write_baton_t {                ^~~~~~~~~~~~~../src/linux/BTSerialPortBinding.cc:333:90: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]         uv_queue_work(uv_default_loop(), &queuedWrite->req, EIO_Write, (uv_after_work_cb)EIO_AfterWrite);                                                                                          ^~~~~~~~~~~~~~
                                ../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:../node_modules/nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/linux/BTSerialPortBinding.cc:391:87: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]         uv_queue_work(uv_default_loop(), &baton->request, EIO_Read, (uv_after_work_cb)EIO_AfterRead);                                                                                       ^~~~~~~~~~~~~
                                In file included from ../src/linux/BTSerialPortBinding.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]                reinterpret_cast<Callback>(callback), type);                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../node_modules/nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                In file included from ../src/DeviceINQ.h:17,                 from ../src/linux/BluetoothSerialPortServer.cc:13:../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
                                In file included from ../src/linux/BluetoothSerialPortServer.cc:12:../src/linux/BluetoothSerialPortServer.cc: At global scope:/home/iobroker/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from 'void (*)(v8::Handle<v8::Object>)' {aka 'void (*)(v8::Local<v8::Object>)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type]       (node::addon_register_func) (regfunc),                          \                                           ^/home/iobroker/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro 'NODE_MODULE_X'   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/linux/BluetoothSerialPortServer.cc:22:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(BluetoothSerialPortServer, InitAllServer) ^~~~~~~~~~~
                                In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,                 from ../src/linux/BluetoothSerialPortServer.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]                reinterpret_cast<Callback>(callback), type);                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../node_modules/nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                In file included from ../src/linux/BTSerialPortBindingServer.cc:14:../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
                                ../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:../node_modules/nan/nan.h:1740: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:../node_modules/nan/nan.h:1740: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:../node_modules/nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/linux/BTSerialPortBindingServer.cc:247:94: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]         uv_queue_work(uv_default_loop(), &nextQueuedWrite->req, EIO_Write, (uv_after_work_cb)EIO_AfterWrite);                                                                                              ^~~~~~~~~~~~~~
                                ../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:../node_modules/nan/nan.h:1740: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:../node_modules/nan/nan.h:1740: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.3/include/node/v8.h:26,                 from ../src/linux/BTSerialPortBindingServer.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here                   explicit Utf8Value(Local<v8::Value> obj));                            ^~~~~~~~~/home/iobroker/.node-gyp/10.16.3/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.3/include/node/v8.h:26,                 from ../src/linux/BTSerialPortBindingServer.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here                   explicit Utf8Value(Local<v8::Value> obj));                            ^~~~~~~~~/home/iobroker/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/linux/BTSerialPortBindingServer.cc:434:85: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]     uv_queue_work(uv_default_loop(), &baton->request, EIO_Listen, (uv_after_work_cb)EIO_AfterListen);                                                                                     ^~~~~~~~~~~~~~~
                                ../src/linux/BTSerialPortBindingServer.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBindingServer::Write(Nan::NAN_METHOD_ARGS_TYPE)':../src/linux/BTSerialPortBindingServer.cc:536:43: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct BTSerialPortBindingServer::write_baton_t' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]     memset(baton, 0, sizeof(write_baton_t));                                           ^In file included from ../src/linux/BTSerialPortBindingServer.cc:22:../src/BTSerialPortBindingServer.h:53:16: note: 'struct BTSerialPortBindingServer::write_baton_t' declared here         struct write_baton_t {                ^~~~~~~~~~~~~
                                ../src/linux/BTSerialPortBindingServer.cc:555:90: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]         uv_queue_work(uv_default_loop(), &queuedWrite->req, EIO_Write, (uv_after_work_cb)EIO_AfterWrite);                                                                                          ^~~~~~~~~~~~~~
                                ../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:../node_modules/nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
                                ../src/linux/BTSerialPortBindingServer.cc:626:83: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]     uv_queue_work(uv_default_loop(), &baton->request, EIO_Read, (uv_after_work_cb)EIO_AfterRead);                                                                                   ^~~~~~~~~~~~~
                                ../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:../node_modules/nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
                                In file included from ../src/linux/BTSerialPortBindingServer.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]                reinterpret_cast<Callback>(callback), type);                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../node_modules/nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                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
                                process exited with code 0
                                

                                49a8c9fe-0d14-4475-93b4-5fc330d2a96d-image.png

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

                                  @apollon77 sagte in [Aufruf] js-controller 2.0 Beta Test:

                                  2.0.10 ist auf Github. Changelog:

                                  Erledigt, läuft.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    msauer last edited by

                                    Update auf 2.0.10 gemacht...wieder Fehler wegen pids.txt...fix script erneut ausgeführt..läuft

                                    W 1 Reply Last reply Reply Quote 0
                                    • W
                                      watcherkb @msauer last edited by

                                      @msauer sagte in [Aufruf] js-controller 2.0 Beta Test:

                                      Update auf 2.0.10 gemacht...wieder Fehler wegen pids.txt...fix script erneut ausgeführt..läuft

                                      @apollon77
                                      bei mir genauso. Aber jetzt läuft alles, auch der Radar2 Adapter. Zufall?

                                      apollon77 1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @watcherkb last edited by

                                        @watcherkb @msauer Das mit den PIDs.txt ist strange. Ihr habt aber nicht zufällig geschaut wem das File vor dem Fixer gehörte und so?

                                        @watcherkb Was Radar angeht gab es bei mir keine Änderungen ... also Zufall? ;-))

                                        Noch ein was zu "Anzeige im Admin Ampeln kaputt: Wenn Ihr unter "Instanzen" oben auf den Reload Button klicks (als in der ioBroker UI der ganz linke): passts danach?
                                        Ich habe mal eine Änderung die ich Bluefox vorschlage. Es gibt theoretisch einen kurzen Zeitraum beim neu laden vom Admin wo solche Dinge passieren könnten das Admin nicht aktuelle Daten nutzt. Aber ein "reload" mit dem oben genannten sollte das auch fixen.

                                        W M 2 Replies Last reply Reply Quote 0
                                        • SBorg
                                          SBorg Forum Testing Most Active last edited by

                                          Geht noch das Node-RED Dashboard bei jemandem? Eben erst mal wieder mit der 10er probiert, aber nur noch "weißer Adler auf weißem Grund".
                                          An der 1.10.1 Node-RED liegt es nicht, die hatte ich schon länger drauf. Im Debug tauchen auch keine Fehler auf. IMO war ich beim letzten mal mit JS 2.0.7 drauf ... 😞

                                          W apollon77 2 Replies Last reply Reply Quote 0
                                          • W
                                            watcherkb @SBorg last edited by

                                            @SBorg mit 1.7.1 gehts bei mir

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            756
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            48
                                            1047
                                            253284
                                            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