Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 26
    • Best 1
    • Groups 1

    LED

    @LED

    Starter

    1
    Reputation
    30
    Profile views
    26
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    LED Follow
    Starter

    Best posts made by LED

    • RE: Neue Installationsroutine (für Linux)

      https://www.iobroker.net/#de/documentation/install/linux.md

      Ich bin jetzt seit etwa 40h an dem Thema iobroker auf Raspberry dran und kann schon gar nicht mehr zählen wie oft ich auf tote Links geklickt habe. OK, ich bin auch ein totaler Linux Noob und hab immer nur Windows genutzt. Aber der Einstieg war schon echt schwer, obwohl es im Grunde so einfach sein könnte.

      posted in ioBroker Allgemein
      L
      LED

    Latest posts made by LED

    • RE: UP Schalter für Lampen

      Waren es nicht die Shellys die einen zu geringen Abstand zwischen der Niederspannungsseite und der 240V Schiene hatten?

      Ich denke bei Überlast, zu geringen Querschnitten, schlechter Kontaktierung können Dir alle Schalter abbrennen oder rumkokeln. Selbst normale Steckdosen sind davon betroffen.

      Es kommt halt immer auch darauf an ob ich eine kleine Glühbirne oder einen 2,5KW Heizlüfter/Wasserkocher/etc. schalten möchte.

      posted in Hardware
      L
      LED
    • Raffstore / Rolladen mit Lichtlenkung & Steuerung

      Hallo zusammen,

      wer heute ein Energieeffizientes Haus bauen möchte, kommt an einer Verschattung nicht vorbei. Wer aber nicht einfach im Sommer die Rolländen zu und das Licht einschalten möchte, brauch im besten Fall Raffstores mit Tageslichtlenkung.

      Der Marktführer in Österreich ist wohl die Firma Schlotterer mit dem RETROlux.
      http://www.schlotterer.at/de/produkte/tageslichtlenkung

      Platz zwei in der Google Suche ist die Firma ROMA:
      https://www.roma.de/raffstoren/produktvorteile#tageslichtlenkung-dosierung

      Auch ROMA wird das Marktführer bezeichnet. Wie sich die beiden Lösungen jetzt technisch genau unterscheiden und wie das preislich aussieht, versuche ich gerade noch in Erfahrung zu bringen.

      Was mich interessieren würde, was man genau benötigt um solche Verschattungslösungen in iobroker zu integrieren. Bei einem Neubau würde ich immer eine drahtgebundene Lösung vorziehen. Bedienung direkt am Fenster ist wünschenswert und natürlich soll diese Tageslichtlenkung über iobroker gesteuert werden können. Wie sieht es mit Sensoren aus? Wie stellt man so was ein? Temperatur und Helligkeit? Im einfachsten Fall kommt da ein Motor dran und irgend ein Aktor der den Motor ansteuert und iobroker die Rückmeldung gibt welchen Status jedes einzelne Fenster hat.

      Wer hat Erfahrungen mit einem der beiden Hersteller? Welche Produkte wurden genau eingesetzt und wie wurde die Anbindung realisiert? Ungefähre Hausnummer zum Preis wäre ebenfalls interessant.

      Danke & Viele Grüße
      LED

      posted in Hardware
      L
      LED
    • RE: Neubau - Was ist sinnvoll?

      So, ich fasse Mal ein bisschen was zusammen. Heimautomatisierung wird hier logischerweise für sinnvoll erachtet, kabelgebundene Lösungen sind drahtlosen Funklösungen vorzuziehen.

      Bei der üblichen Hausverkabelung alle Leitungen an einem zentralen Punkt zusammen führen, so ist man flexibel was die eingesetzen Lösungen angeht und die Kosten halten sich auch im Rahmen.

      Schalter und Steckdosen kommen da hin wo es auch bisher üblich war. Nur sollten gleich Tastwippen etc. mit mehr als einer Funktion verbaut werden.

      Idealerweise werden alle Lampen und Steckdosen einzeln angesteuert. Dimmung kann für jeden Kanal entsprechend nachgerüstet werden.

      Heizung Fußboden bzw. Flächenheizung mit entsprechender Regelung --> eigenes Thema

      Markise / Rolläden zur Beschattung

      Jetzt noch das Thema Sensoren! Temperatur kann man heute denke ich auch bei Bedarf per Funk nachrüsten. Aber zumindest einen Sensor pro Raum und zwei Sensoren im Außenbereich sollten per Kabel angebunden werden.

      Wie sieht es aus mit:

      Waschmaschine fertig Sensor
      Regensensor
      Briefkastensensor (leer/voll)
      Gartentor (auf/zu)
      Garagentor (auf/zu)
      Fenstersensoren

      Wetterstation? (Windgeschwindigkeit/Windrichtung/Regenmenge/Helligkeit)
      UV und Ozonwerte
      Feinstaubsensor
      Radioaktivität

      posted in Hardware
      L
      LED
    • RE: Werte mit Python Skript auslesen?

      So, hab da ein Beispiel gefunden das funktioniert:

      import subprocess
      UpTime = subprocess.Popen(["iobroker", "state", "getvalue", "system.adapter.admin.0.uptime"], 
                  stdout=subprocess.PIPE, 
                  stderr=subprocess.STDOUT)
      stdout,stderr = UpTime.communicate()
      print(stdout)
      

      Aber keinen Schimmer wie ich das jetzt korrekt in HH:MM formatiere, geschweige denn in eine Variable packe die dann von dem Skript verwendet werden kann.... ich lese mich weiter ein.

      Gruß
      LED

      posted in Skripten / Logik
      L
      LED
    • Werte mit Python Skript auslesen?

      Hi Leute,
      ich habe keine Ahnung ob das überhaupt geht, aber vielleicht kann mir jemand hier weiter helfen.

      Über die Konsole (SSH) kann ich z.B. die Uptime abfragen mit:

      iobroker state getvalue system.adapter.admin.0.uptime
      

      Wenn ich jetzt den Wert mit einem Python Skript abfragen und in eine Variable schreiben wollen würde, wie mache ich das?

      Geht das überhaupt?

      Gruß
      LED

      posted in Skripten / Logik
      L
      LED
    • RE: Neue Installationsroutine (für Linux)

      @Jan1 said in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

      Die toten Links kommen von der Neustrukturierung des Forum und sind in der Tat etwas nervig zumal die neue Doku die irgendwann mal alles zusammenfassen soll noch nicht fertig ist.

      Ja, hab ich schon verstanden und inzwischen ist mir auch klar wo ich was finde. Für neue User aber in der Tat sehr nervig.

      @TomsHome said in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

      ich hab den ioBroker deshalb auf meinem Testsystem neu aufgesetzt, weil ich darauf den SQL-Adapter nicht zum laufen bringen konnte. Hab den jetzt als erste installiert, jetzt läuft er.
      Es sieht aber auch so aus, als ob die Installation von Adaptern jetzt anders abläuft, bzw. länger dauert, er wird im Installationsfenster jedenfalls viel mehr angezeigt als bei früheren Installationen.

      Ich hab inzwischen bestimmt 20x iobroker installiert, am Anfang über fertige Images um erst einmal zu verstehen was da so geht und wie es aussehen sollte und danach auch selbst installiert. Eine SD-Karte hab ich irgendwie geschrottet und mit den Berechtigungen unter Linux komme ich auch noch nicht wirklich klar. Auch wenn es nicht empfohlen wird, auf meinen Testsystemen arbeite ich erst einmal als Root.

      Mit dem SQL Adapter hatte ich auch Probleme und eine Datenbank konnte ich auf dem fertigen IoBroker Image erst recht nicht installieren. Und das die Adapter jetzt ewig brauchen und es sehr viele (Fehler-)Meldungen gibt ist mir ebenfalls aufgefallen. Aber ich glaube ich hab da vorher auch einfach nicht drauf geachtet und die Ausgabe deaktiviert.

      Trotzdem macht es mich unsicher, ob ich auf dem richtigen Weg bin und das alles so gewollt ist 🙂

      posted in ioBroker Allgemein
      L
      LED
    • RE: Neue Installationsroutine (für Linux)

      https://www.iobroker.net/#de/documentation/install/linux.md

      Ich bin jetzt seit etwa 40h an dem Thema iobroker auf Raspberry dran und kann schon gar nicht mehr zählen wie oft ich auf tote Links geklickt habe. OK, ich bin auch ein totaler Linux Noob und hab immer nur Windows genutzt. Aber der Einstieg war schon echt schwer, obwohl es im Grunde so einfach sein könnte.

      posted in ioBroker Allgemein
      L
      LED
    • RE: Neue Installationsroutine (für Linux)

      @AlCalzone said in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

      Wie kommt man dann auf die Idee, diesen direkt nach einer nagelneuen Installation auszuführen? Ernst gemeinte Frage.

      Na ja, wenn etwas nicht klappt und es einen Fixer gibt 🙂
      Hat aber wohl nicht geschadet... ich lerne noch.

      posted in ioBroker Allgemein
      L
      LED
    • RE: Neue Installationsroutine (für Linux)

      Hier noch der Rest

      In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^~~~~~~~~~
      /home/pi/.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/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.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/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                     ^~~~~~~~~~~
      /home/pi/.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/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                     ^~~~~~~~~~~
      /home/pi/.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::Loca                                         l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[4]);
                                       ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^~~~~~~~~
      /home/pi/.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/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^~~~~~~~~~
      /home/pi/.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/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.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}::Conn                                         ect(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/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^~~~~~~~~~
      /home/pi/.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::Loca                                         l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[1]);
                                       ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^~~~~~~~~
      /home/pi/.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}::Clos                                         e(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/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      ../src/unix_dgram.cc: At global scope:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between inc                                         ompatible 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/pi/.node-gyp/10.16.0/include/node/node.h:607:3: note: in expansion of macr                                         o ‘NODE_MODULE_X’
         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
         ^~~~~~~~~~~~~
      ../src/unix_dgram.cc:420:1: note: in expansion of macro ‘NODE_MODULE’
       NODE_MODULE(unix_dgram, Initialize)
       ^~~~~~~~~~~
      In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallba                                         ckInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
      /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required fro                                         m here
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’                                          {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {a                                         ka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                      reinterpret_cast<Callback>(callback), type);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbac                                         kInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
      ../node_modules/nan/nan_object_wrap.h:66:61:   required from here
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible 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]
      make: *** [unix_dgram.target.mk:99: Release/obj.target/unix_dgram/src/unix_dgram                                         .o] Fehler 1
      gyp ERR! build error
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_module                                         s/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_proces                                         s.js:248:12)
      gyp ERR! System Linux 4.19.57-v7+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                                         p/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
      gyp ERR! node -v v10.16.0
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
      In file included from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      ../../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/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/serialport.cpp:41:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         v8::String::Utf8Value path(info[0]->ToString());
                                                       ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/serialport.cpp:48:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         v8::Local<v8::Object> options = info[1]->ToObject();
                                                           ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
       Local<Object> Value::ToObject() const {
                     ^~~~~
      ../src/serialport.cpp:78:69: 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(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                           ^~~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
      ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
         data->callback.Call(2, argv);
                                    ^
      In file included from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      ../../nan/nan.h:1740:3: note: declared here
         Call(int argc, v8::Local<v8::Value> argv[]) const {
         ^~~~
      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/serialport.cpp:113:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         v8::Local<v8::Object> options = info[1]->ToObject();
                                                           ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
       Local<Object> Value::ToObject() const {
                     ^~~~~
      ../src/serialport.cpp:135:71: 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(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                             ^~~~~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
      ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
         data->callback.Call(1, argv);
                                    ^
      In file included from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      ../../nan/nan.h:1740:3: note: declared here
         Call(int argc, v8::Local<v8::Value> argv[]) const {
         ^~~~
      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/serialport.cpp:175:70: 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(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                            ^~~~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
      ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
         data->callback.Call(1, argv);
                                    ^
      In file included from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      ../../nan/nan.h:1740:3: note: declared here
         Call(int argc, v8::Local<v8::Value> argv[]) const {
         ^~~~
      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/serialport.cpp:215:70: 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(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                            ^~~~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
      ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
         data->callback.Call(1, argv);
                                    ^
      In file included from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      ../../nan/nan.h:1740:3: note: declared here
         Call(int argc, v8::Local<v8::Value> argv[]) const {
         ^~~~
      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/serialport.cpp:250:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         v8::Local<v8::Object> options = info[1]->ToObject();
                                                           ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
       Local<Object> Value::ToObject() const {
                     ^~~~~
      ../src/serialport.cpp:270:68: 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(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                                                          ^~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
      ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
         data->callback.Call(1, argv);
                                    ^
      In file included from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      ../../nan/nan.h:1740:3: note: declared here
         Call(int argc, v8::Local<v8::Value> argv[]) const {
         ^~~~
      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/serialport.cpp:314:68: 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(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                                                          ^~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
      ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
         data->callback.Call(2, argv);
                                    ^
      In file included from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      ../../nan/nan.h:1740:3: note: declared here
         Call(int argc, v8::Local<v8::Value> argv[]) const {
         ^~~~
      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/serialport.cpp:363:76: 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(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                  ^~~~~~~~~~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
      ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
         data->callback.Call(2, argv);
                                    ^
      In file included from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      ../../nan/nan.h:1740:3: note: declared here
         Call(int argc, v8::Local<v8::Value> argv[]) const {
         ^~~~
      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/serialport.cpp:409:70: 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(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                            ^~~~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
      ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
         data->callback.Call(1, argv);
                                    ^
      In file included from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      ../../nan/nan.h:1740:3: note: declared here
         Call(int argc, v8::Local<v8::Value> argv[]) const {
         ^~~~
      ../src/serialport.cpp: At global scope:
      ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
       SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                  ^
      ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
       SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                    ^
      In file included from ../../nan/nan.h:54,
                       from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      /home/pi/.node-gyp/10.16.0/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/pi/.node-gyp/10.16.0/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/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
       NODE_MODULE(serialport, init);
       ^~~~~~~~~~~
      In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      /home/pi/.node-gyp/10.16.0/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/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
      /home/pi/.node-gyp/10.16.0/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/pi/.node-gyp/10.16.0/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/pi/.node-gyp/10.16.0/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/serialport.h:6,
                       from ../src/serialport_unix.cpp:2:
      ../../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 /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/serialport.h:6,
                       from ../src/serialport_unix.cpp:2:
      /home/pi/.node-gyp/10.16.0/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/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
      /home/pi/.node-gyp/10.16.0/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/pi/.node-gyp/10.16.0/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/pi/.node-gyp/10.16.0/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]
      ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
      ../src/serialport_unix.cpp:176:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
           snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
      ../src/serialport_unix.cpp:176:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024
           snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
           ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
      ../src/serialport_unix.cpp:86:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
           snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../src/serialport_unix.cpp:86:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024
           snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
           ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from ../src/poller.cpp:1:
      ../../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/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t*, int, int)’:
      ../src/poller.cpp:69:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
         obj->callback.Call(2, argv);
                                   ^
      In file included from ../src/poller.cpp:1:
      ../../nan/nan.h:1740:3: note: declared here
         Call(int argc, v8::Local<v8::Value> argv[]) const {
         ^~~~
      In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/poller.cpp:1:
      /home/pi/.node-gyp/10.16.0/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/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
      /home/pi/.node-gyp/10.16.0/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/pi/.node-gyp/10.16.0/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/pi/.node-gyp/10.16.0/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]
      
      posted in ioBroker Allgemein
      L
      LED
    • RE: Neue Installationsroutine (für Linux)

      Hallo

      Wollte eure Anleitung unter https://www.iobroker.net/#de/documentation/install/linux.md testen und habe Raspbian Buster Lite Image auf die SD gezogen und in den Raspberry PI 3 gesteckt. Dann der Anleitung gefolgt und Installation gestartet:

      
      pi@iobroker:~ $ node -v
      v10.16.0
      pi@iobroker:~ $ npm -v
      6.9.0
      pi@iobroker:~ $ curl -sL https://iobroker.net/install.sh | bash -
      
      ==========================================================================
      
          Welcome to the ioBroker installer!
          Installer version: 2019-07-03
      
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      Installed acl
      Installed libavahi-compat-libdnssd-dev
      Installed libudev-dev
      Installed libpam0g-dev
      Installed git
      
      ==========================================================================
          Creating ioBroker user and directory (2/4)
      ==========================================================================
      
      User iobroker created
      Created /etc/sudoers.d/iobroker
      Directory /opt/iobroker created
      
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      In file included from ../src/main.cpp:3:
      ../../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/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_                                         METHOD_ARGS_TYPE)’:
      ../src/main.cpp:26:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::                                         Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
               DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0]));
                                                                             ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/main.cpp:3:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../../nan/nan.h:54,
                       from ../src/main.cpp:3:
      ../src/main.cpp: At global scope:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between inc                                         ompatible 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/pi/.node-gyp/10.16.0/include/node/node.h:607:3: note: in expansion of macr                                         o ‘NODE_MODULE_X’
         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
         ^~~~~~~~~~~~~
      ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
       NODE_MODULE(diskusage, Init)
       ^~~~~~~~~~~
      In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/main.cpp:3:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallba                                         ckInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
      /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required fro                                         m here
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’                                          {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {a                                         ka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                      reinterpret_cast<Callback>(callback), type);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbac                                         kInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
      ../../nan/nan_object_wrap.h:65:61:   required from here
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible 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 ../node_modules/nan/nan.h:190,
                       from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::Force                                         Set(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::Prope                                         rtyAttribute)’:
      ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no m                                         ember named ‘ForceSet’
         return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                     ^~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::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::MakeCallb                                         ack(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,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::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::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v                                         8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d                                         eclarations]
               v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                    ^
      In file included from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v                                         8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d                                         eclarations]
               v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                    ^
      In file included from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
      ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*                                         )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration                                         s]
               v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                    ^
      In file included from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*                                         )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration                                         s]
               v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                    ^
      In file included from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callbac                                         k::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::MakeCallb                                         ack(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,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(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,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWor                                         ker*)’:
      ../node_modules/nan/nan.h:1706:62: warning: cast between incompatible function t                                         ypes 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/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Sock                                         et(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/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^~~~~~~~~~
      /home/pi/.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/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^~~~~~~~~~
      /home/pi/.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/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^~~~~~~~~~
      /home/pi/.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/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^~~~~~~~~~
      /home/pi/.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::Loca                                         l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[1]);
                                       ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^~~~~~~~~
      /home/pi/.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                                         To(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();
                                  ^
      SCHNIPP SCHNAPP
      
      
      

      Hab dann noch den Fixer ausgeführt und iobroker läuft. Also alles gut?

      Gruß
      LED

      posted in ioBroker Allgemein
      L
      LED
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo