NEWS
[Aufruf] fullyBrowser Adapter
-
na schau das ist doch völlig was anderes...
var ausgabe = "bla bla bla"; // sendTo("paw.0",'TabKueche',{send: 'say', text: Ausgabe}); // Sprachausgabe ueber PAW setState("fullybrowser.0.192_168_1_24.Commands.textToSpeech", ausgabe);
-
Echt jetzt?
Ich hätte nur das text: weglassen müssen?Alles andere habe ich probiert, nur das nicht!
Danke dir!
P.S. Funkioniert!
-
Da fällt mir ja gleich noch eine Frage ein.
Ich benutze die Sprachausgabe für eine Eieruhr.
Jetzt ist es aber so, dass ein Tablet bei mir in der Küche hängt und ein Tablet bei meinem Sohn oben.
Wenn er jetzt die Eieruhr benutzt, kommt natürlich bei mir die Sprachausgabe.Ist es irgendwie möglich, dass man abfragt bei welchem Tablet gedrückt wurde und dann auch nur auf diesem die Sprachausgabe erfolgt?
Und wenn ja, kannst du mir auf die Sprünge helfen wie das umzusetzen wäre?
-
das ist ein wenig komplizierter.. wie startest du die Eieruhr ?? per Widget ??
-
Sorry wenn die Fragen vielleicht schon kamen, zumindest steht nichts im Wiki.
Was ist der Mehrwert des Adapters zu dem normalen Fully Browser mit dem man VIS aufruft?
Woher bekommt man die Plus Version? Die wird bei mir im Play Store nicht angezeigt.Ich muss aber auch zugeben, dass ich von Android so gar keine Ahnung habe...
-
@arteck
Sorry, dass ich so spät antworte.
Ja ich starte es per Widget. -
@hg6806
Du kannst mit dem Adapter auf den Fully Browser zugreifen und z.Bsp. über einen steuerbare Steckdose dein Tablet laden.
Oder eine Sprachausgabe auf deinem Tablet ansagen lassen.
Oder,oder,oder.
Sind sehr viele Möglichkeiten.Die Plus Version bekommst du doch innerhalb der Fully Browser App auf deinem Tablet.
-
@Superdad said in [Aufruf] fullyBrowser Adapter:
@arteck
Sorry, dass ich so spät antworte.
Ja ich starte es per Widget.zeigmal das Script was dahinter hängt
-
Bitte schön!
/* Countdown Eieruhr basierend auf Script von // http://forum.iobroker.net/viewtopic.php?f=32&t=3436&hilit=countdown 01.08.2016 pix */ var interval = null; var countdown = 60 * 1000; // 60min * 60s * 1000ms createState('Countdown.Eieruhr.countdown', seconds2text(countdown), {name: 'Eieruhr Countdown / Restzeit', type: 'string'}); createState('Countdown.Eieruhr.countdown_seconds', countdown, {name: 'Eieruhr Countdown / Restzeit in s', type: 'number', def: countdown}); createState('Countdown.Eieruhr.afterCount', {name: 'Eieruhr Countdown / afterCount', type: 'boolean', def: false}); createState('Countdown.Eieruhr.countTrigger', {name: 'Eieruhr Countdown / countTrigger', type: 'boolean', def: false}); var idCountdown = 'javascript.'+ instance +'.Countdown.Eieruhr.countdown', idCountdown_sec = 'javascript.'+ instance +'.Countdown.Eieruhr.countdown_seconds', idAfterCount = 'javascript.'+ instance +'.Countdown.Eieruhr.afterCount', idTrigger = 'javascript.'+ instance +'.Countdown.Eieruhr.countTrigger'; // SPEZIFISCHE UMSETZUNG für a-flow createState('Countdown.Eieruhr.trigger5min', {name: 'Eieruhr 5min Timer', type: 'boolean', def: false}); var id5min = 'javascript.'+ instance +'.Countdown.Eieruhr.trigger5min'; // Countdown function seconds2text(_seconds) { var sec_num = parseInt(_seconds, 10); // don't forget the second param var hours = Math.floor(sec_num / 3600); var minutes = Math.floor((sec_num - (hours * 3600)) / 60); var seconds = sec_num - (hours * 3600) - (minutes * 60); var time; if (hours > 0) { // if (hours < 4) {hours = "0" + hours;} if (minutes < 4) {minutes = "0" + minutes;} if (seconds < 10) {seconds = "0" + seconds;} // time = hours + ' Stunden, ' + minutes + ' Minuten und ' + seconds + ' Sekunden'; // original time = hours + ':' + minutes + ':' + seconds + ' Std.'; } else if (minutes > 0) { if (minutes < 4) {minutes = "0" + minutes;} if (seconds < 10) {seconds = "0" + seconds;} // time = minutes + ' Minuten und ' + seconds + ' Sekunden'; // original time = minutes + ':' + seconds + 'min'; } else { if (seconds < 10) {seconds = "0" + seconds;} // time = seconds + ' Sekunden'; // original time = seconds + ' s'; } return time; } function count() { // remove trigger if (getState(idTrigger).val) setState(idTrigger, false); // Abbruch bei Knopfdruck if ( getState(id5min).val ) { setState(idCountdown, 0); setState(idAfterCount, false); clearInterval(interval); interval = null; } if (countdown > 1) { setState(idCountdown_sec, parseInt(countdown,10)); setState(idCountdown, seconds2text(--countdown)); } else { clearInterval(interval); interval = null; setState(idCountdown_sec, 0); setState(idCountdown, seconds2text(0)); setState(idAfterCount, true); } } on(idTrigger, function (obj) { if (obj.state.val) { setState(idCountdown_sec, parseInt(countdown,10)); setState(idCountdown, seconds2text(countdown)); setState(idAfterCount, false); if (!interval) { count(); interval = setInterval(count, 1000); } } }); on(idAfterCount, function (obj) { // wenn idAfterCount true wird, kann eine Aktion ausgeführt werden if (obj.state.val) { log('Countdown abgelaufen'); // weitere Aktionen einfügen // Sprachausgabe // nachricht = 'Das Superei ist fertig'; // setState("sayit.2.tts.text"/*Text to speech*/, nachricht); // Sprachausgabe Eieruhr ein Ausgabe = "Das Superei ist fertig"; // sendTo("paw.0",'TabKueche',{send: 'say', text: Ausgabe}); // Sprachausgabe ueber PAW setState("fullybrowser.0.192_168_1_57.Commands.textToSpeech", Ausgabe); } }); // Taster für VIS createState('Countdown.Eieruhr.trigger5min', {name: 'Eieruhr 5min Timer', type: 'boolean', def: false}); var id5min = 'javascript.'+ instance +'.Countdown.Eieruhr.trigger5min'; function eieruhr(dauer) { if (interval) { // wenn Countdown schon läuft clearInterval(interval); interval = null; setState(idCountdown_sec, parseInt(0,4)); setState(idCountdown, seconds2text(0)); log(dauer + 'min Sleeptimer gestoppt'); // Sprachausgabe // nachricht = 'Die Kochzeit wurde unterbrochen'; // setState("sayit.2.tts.text"/*Text to speech*/, nachricht); // Sprachausgabe Eieruhr abgebrochen Ausgabe = "Die Kochzeit wurde unterbrochen"; // sendTo("paw.0",'TabKueche',{send: 'say', text: Ausgabe}); // Sprachausgabe ueber PAW setState("fullybrowser.0.192_168_1_57.Commands.textToSpeech", Ausgabe); } else { countdown = dauer * 60; // Dauer festlegen (in Minuten) setState(idTrigger, true); // setState("sayit.2.tts.text"/*Text to speech*/, nachricht); // Sprachausgabe Eieruhr ein Ausgabe = "Die Eieruhr wird gestartet"; // sendTo("paw.0",'TabKueche',{send: 'say', text: Ausgabe}); // Sprachausgabe ueber PAW setState("fullybrowser.0.192_168_1_57.Commands.textToSpeech", Ausgabe); } } on(id5min, function (obj) { // bei jeder Änderung if (obj.state.val) { eieruhr(5); // 5min Zeit übergeben setStateDelayed(id5min, false, 250); // nach viertel Sekunde wieder auf false } });
-
da du 2 Buttons hast .. wie hast du das eingebaut.. das Script aggiert mit nur einem Button..
hast du 2 Scripte laufen .. für jede Eieruhr ?ich frage weil wir die IP Adresse irgendwo einbauen müssen von dem das Script gestertet wurde... ich hoffe die Tablets haben feste IP ..
-
Das Script ist nur für den 5 min. Button.
Die linke Seite sozusagen.
Hatte ich dann erst im nachhinein erweitert.Die anderen Button benutze ich zum Brötchen und Brot backen.
Da läuft das Sleeptimer Script auf allen drei Buttons.P.S. ich benutze feste IP`s.
192.168.1.24 und 192.168.1.57 -
ach mist.. so ist das wenn man mit einem Auge liest... das Problem ist.. wir bekommen die IP von dem Tablet wo der Button gedrückt worden ist nicht mit... da bin ich schon lange auf der suche nach..
sry .. aber das bekommen wir so nicht hin..
-
Aber trotzdem vielen Dank für deine Bemühungen!
Vielleicht geht es ja mal irgendwann?
-
Also bei dem jetzigen Update bekomme ich ziemlich viel angezeigt und es wird kein versionsupdate in ioBroker vorgenommen
Hat das noch jemand?$ ./iobroker upgrade fullybrowser Update fullybrowser from @0.0.13 to @0.0.15 NPM version: 6.4.1 npm install iobroker.fullybrowser@0.0.15 --production --save --prefix "/opt/iobroker" (System call) In file included from ../node_modules/nan/nan.h:82:0, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’: ../node_modules/nan/nan_new.h:34:64: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); } ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:9864:14: note: declared here Local<Int32> Value::ToInt32() const { ^~~~~ In file included from ../node_modules/nan/nan.h:82:0, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’: ../node_modules/nan/nan_new.h:39:65: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); } ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:9858:15: note: declared here Local<Uint32> Value::ToUint32() const { ^~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’: ../node_modules/nan/nan_implementation_12_inl.h:49:38: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations] return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:4895:56: note: declared here V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value)); ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’: ../node_modules/nan/nan_implementation_12_inl.h:166:69: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here Local<Script> Compile(Isolate* isolate, Source* source, ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’: ../node_modules/nan/nan_implementation_12_inl.h:173:69: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here Local<Script> Compile(Isolate* isolate, Source* source, ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’: ../node_modules/nan/nan_implementation_12_inl.h:206:42: warning: ‘static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::String::kNormalString, length); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:2731:21: note: declared here Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data, ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’: ../node_modules/nan/nan_implementation_12_inl.h:217:66: warning: ‘static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::String::NewExternal(v8::Isolate::GetCurrent(), value); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:2769:38: note: declared here Local<String> NewExternal( ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’: ../node_modules/nan/nan_implementation_12_inl.h:237:30: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~~~~~~~~~~~~~ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here Local<UnboundScript> CompileUnbound( ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h:237:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here Local<UnboundScript> CompileUnbound( ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’: ../node_modules/nan/nan_implementation_12_inl.h:244:30: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~~~~~~~~~~~~~ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here Local<UnboundScript> CompileUnbound( ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here Local<UnboundScript> CompileUnbound( ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:261:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’ NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) { ^~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:256:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) { ^~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: In function ‘bool NanIdleNotification(int)’:../node_modules/nan/nan.h:289:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations] return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:7539:22: note: declared here bool IdleNotification(int idle_time_in_ms)); ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:473:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void v8::Isolate::GCEpilogueCallback callback ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:473:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’ ../node_modules/nan/nan.h:474:18: error: expected primary-expression before ‘gc_type_filter’ , v8::GCType gc_type_filter = v8::kGCTypeAll) { ^~~~~~~~~~~~~~ ../node_modules/nan/nan.h:479:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void v8::Isolate::GCEpilogueCallback callback) { ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:479:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’ ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void v8::Isolate::GCPrologueCallback callback ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:484:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’ ../node_modules/nan/nan.h:485:18: error: expected primary-expression before ‘gc_type_filter’ , v8::GCType gc_type_filter = v8::kGCTypeAll) { ^~~~~~~~~~~~~~ ../node_modules/nan/nan.h:490:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void v8::Isolate::GCPrologueCallback callback) { ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:490:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’ ../node_modules/nan/nan.h:569:15: error: ‘WeakCallbackData’ in namespace ‘v8’ does not name a template type const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) { ^~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:569:31: error: expected ‘,’ or ‘...’ before ‘<’ token const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) { ^ ../node_modules/nan/nan.h: In function ‘void _NanWeakCallbackDispatcher(int)’: ../node_modules/nan/nan.h:570:42: error: ‘data’ was not declared in this scope _NanWeakCallbackInfo<T, P> *info = data.GetParameter(); ^~~~ ../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared , node::smalloc::FreeCallback callback ^~~~~~~ ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’ , node::smalloc::FreeCallback callback ^~~~~~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~~~~~ ../node_modules/nan/nan.h:665:50: note: suggested alternative: ‘calloc’ v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~~~~~ calloc ../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~ ../node_modules/nan/nan.h:665:60: note: suggested alternative: ‘uint’ v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~ uint ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’: ../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); ^ In file included from ../src/bufferutil.cc:10:0:/home/iobroker/.node-gyp/8.15.1/include/node/node_buffer.h:67:40: note: initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’ NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, ^~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h:672:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’ return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’: ../node_modules/nan/nan.h:676:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’ return node::Buffer::New(v8::Isolate::GetCurrent(), size); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’: ../node_modules/nan/nan.h:683:26: error: ‘Use’ is not a member of ‘node::Buffer’ return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size); ^~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:../node_modules/nan/nan.h:710:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here Local<Script> Compile(Isolate* isolate, Source* source, ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’: ../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here Local<Script> Compile(Isolate* isolate, Source* source, ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(v8::Handle<v8::Object>)’:../src/bufferutil.cc:30:52: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask); ^ In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.node-gyp/8.15.1/include/node/node.h:308:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~ /home/iobroker/.node-gyp/8.15.1/include/node/node.h:321:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/bufferutil.cc:31:48: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "mask", BufferUtil::Mask); ^ In file included from ../src/bufferutil.cc:8:0: /home/iobroker/.node-gyp/8.15.1/include/node/node.h:308:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~ /home/iobroker/.node-gyp/8.15.1/include/node/node.h:321:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/bufferutil.cc:32:50: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "merge", BufferUtil::Merge); ^ In file included from ../src/bufferutil.cc:8:0: /home/iobroker/.node-gyp/8.15.1/include/node/node.h:308:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~ /home/iobroker/.node-gyp/8.15.1/include/node/node.h:321:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at emitTwo (events.js:126:13)gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) gyp ERR! System Linux 4.15.0-45-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/bufferutilgyp ERR! node -v v8.15.1 gyp ERR! node-gyp -v v3.8.0gyp ERR! not ok In file included from ../node_modules/nan/nan.h:82:0, from ../src/validation.cc:15: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’: ../node_modules/nan/nan_new.h:34:64: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); } ^ In file included from ../src/validation.cc:7:0: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:9864:14: note: declared here Local<Int32> Value::ToInt32() const { ^~~~~ In file included from ../node_modules/nan/nan.h:82:0, from ../src/validation.cc:15: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’: ../node_modules/nan/nan_new.h:39:65: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); } ^ In file included from ../src/validation.cc:7:0: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:9858:15: note: declared here Local<Uint32> Value::ToUint32() const { ^~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’: ../node_modules/nan/nan_implementation_12_inl.h:49:38: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations] return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^
-
Teil 2 Fehlermeldung
In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:4895:56: note: declared here V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value)); ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’: ../node_modules/nan/nan_implementation_12_inl.h:166:69: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here Local<Script> Compile(Isolate* isolate, Source* source, ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’: ../node_modules/nan/nan_implementation_12_inl.h:173:69: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here Local<Script> Compile(Isolate* isolate, Source* source, ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’: ../node_modules/nan/nan_implementation_12_inl.h:206:42: warning: ‘static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::String::kNormalString, length); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:2731:21: note: declared here Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data, ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’: ../node_modules/nan/nan_implementation_12_inl.h:217:66: warning: ‘static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::String::NewExternal(v8::Isolate::GetCurrent(), value); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:2769:38: note: declared here Local<String> NewExternal( ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’: ../node_modules/nan/nan_implementation_12_inl.h:237:30: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~~~~~~~~~~~~~ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here Local<UnboundScript> CompileUnbound( ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h:237:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here Local<UnboundScript> CompileUnbound( ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’: ../node_modules/nan/nan_implementation_12_inl.h:244:30: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~~~~~~~~~~~~~ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here Local<UnboundScript> CompileUnbound( ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here Local<UnboundScript> CompileUnbound( ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:261:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’ NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) { ^~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:256:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) { ^~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: In function ‘bool NanIdleNotification(int)’: ../node_modules/nan/nan.h:289:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations] return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:7539:22: note: declared here bool IdleNotification(int idle_time_in_ms)); ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:473:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void v8::Isolate::GCEpilogueCallback callback ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:473:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’../node_modules/nan/nan.h:474:18: error: expected primary-expression before ‘gc_type_filter’ , v8::GCType gc_type_filter = v8::kGCTypeAll) { ^~~~~~~~~~~~~~ ../node_modules/nan/nan.h:479:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void v8::Isolate::GCEpilogueCallback callback) { ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:479:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’ ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void v8::Isolate::GCPrologueCallback callback ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:484:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’ ../node_modules/nan/nan.h:485:18: error: expected primary-expression before ‘gc_type_filter’ , v8::GCType gc_type_filter = v8::kGCTypeAll) { ^~~~~~~~~~~~~~ ../node_modules/nan/nan.h:490:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void v8::Isolate::GCPrologueCallback callback) { ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:490:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’ ../node_modules/nan/nan.h:569:15: error: ‘WeakCallbackData’ in namespace ‘v8’ does not name a template type const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) { ^~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:569:31: error: expected ‘,’ or ‘...’ before ‘<’ token const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) { ^ ../node_modules/nan/nan.h: In function ‘void _NanWeakCallbackDispatcher(int)’: ../node_modules/nan/nan.h:570:42: error: ‘data’ was not declared in this scope _NanWeakCallbackInfo<T, P> *info = data.GetParameter(); ^~~~ ../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared , node::smalloc::FreeCallback callback ^~~~~~~ ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’ , node::smalloc::FreeCallback callback ^~~~~~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~~~~~ ../node_modules/nan/nan.h:665:50: note: suggested alternative: ‘calloc’ v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~~~~~ calloc ../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~ ../node_modules/nan/nan.h:665:60: note: suggested alternative: ‘uint’ v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~ uint ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); ^ In file included from ../src/validation.cc:10:0: /home/iobroker/.node-gyp/8.15.1/include/node/node_buffer.h:67:40: note: initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’ NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, ^~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h:672:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’ return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’: ../node_modules/nan/nan.h:676:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’ return node::Buffer::New(v8::Isolate::GetCurrent(), size); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:../node_modules/nan/nan.h:683:26: error: ‘Use’ is not a member of ‘node::Buffer’ return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size); ^~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:../node_modules/nan/nan.h:710:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here Local<Script> Compile(Isolate* isolate, Source* source, ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’: ../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here Local<Script> Compile(Isolate* isolate, Source* source, ^ /home/iobroker/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/validation.cc: In static member function ‘static void Validation::Initialize(v8::Handle<v8::Object>)’:../src/validation.cc:112:62: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8); ^ In file included from ../src/validation.cc:8:0:/home/iobroker/.node-gyp/8.15.1/include/node/node.h:308:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~ /home/iobroker/.node-gyp/8.15.1/include/node/node.h:321:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/validation.cc: In function ‘int is_valid_utf8(size_t, char*)’:../src/validation.cc:82:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : ch += (uint8_t) value[i++]; ch <<= 6; ~~~^~~~~ ../src/validation.cc:83:7: note: here case 4 : ch += (uint8_t) value[i++]; ch <<= 6; ^~~~ ../src/validation.cc:83:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : ch += (uint8_t) value[i++]; ch <<= 6; ~~~^~~~~ ../src/validation.cc:84:7: note: here case 3 : ch += (uint8_t) value[i++]; ch <<= 6; ^~~~ ../src/validation.cc:84:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : ch += (uint8_t) value[i++]; ch <<= 6; ~~~^~~~~ ../src/validation.cc:85:7: note: here case 2 : ch += (uint8_t) value[i++]; ch <<= 6; ^~~~ ../src/validation.cc:85:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : ch += (uint8_t) value[i++]; ch <<= 6; ~~~^~~~~ ../src/validation.cc:86:7: note: here case 1 : ch += (uint8_t) value[i++]; ch <<= 6; ^~~~ ../src/validation.cc:86:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 1 : ch += (uint8_t) value[i++]; ch <<= 6; ~~~^~~~~ ../src/validation.cc:87:7: note: here case 0 : ch += (uint8_t) value[i]; ^~~~ ../src/validation.cc: In function ‘int isLegalUTF8(const uint8_t*, int)’: ../src/validation.cc:51:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0; ^~ ../src/validation.cc:52:3: note: here case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0; ^~~~ ../src/validation.cc:52:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0; ^~ ../src/validation.cc:53:3: note: here case 2: if ((a = (*--srcptr)) > 0xBF) return 0; ^~~~ ../src/validation.cc:60:18: warning: this statement may fall through [-Wimplicit-fallthrough=] default: if (a < 0x80) return 0; ^~ ../src/validation.cc:63:3: note: here case 1: if (*source >= 0x80 && *source < 0xC2) return 0; ^~~~ make: *** [Release/obj.target/validation/src/validation.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) gyp ERR! System Linux 4.15.0-45-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validate gyp ERR! node -v v8.15.1 gyp ERR! node-gyp -v v3.8.0gyp ERR! not ok npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself. npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. npm WARN onvif-snapshot@1.0.2 requires a peer of onvif@^0.5.5 but none is installed. You must install peer dependencies yourself. npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: `node-gyp rebuild`npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.fullybrowser" npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm notice created a lockfile as package-lock.json. You should commit this file. got /opt/iobroker/node_modules/iobroker.fullybrowser/admin upload [2] fullybrowser.admin /opt/iobroker/node_modules/iobroker.fullybrowser/admin/words.js words.js application/javascript upload [1] fullybrowser.admin /opt/iobroker/node_modules/iobroker.fullybrowser/admin/index_m.html index_m.html text/html upload [0] fullybrowser.admin /opt/iobroker/node_modules/iobroker.fullybrowser/admin/fully.png fully.png image/png Adapter "fullybrowser" updated process exited with code 0
-
ja ich - habe es vor 15 minuten probiert - geht nicht
er funktioniert auch nicht mehr
ERROR : TypeError: Cannot read property 'statusCode' of undefined
-
Bei mir genauso.
Es scheint vollständig installiert zu werden:iobroker 2019-03-01 20:16:11.171 info exit 0 iobroker 2019-03-01 20:16:11.161 info Adapter "fullybrowser" updated iobroker 2019-03-01 20:16:11.102 info upload [0] fullybrowser.admin /opt/iobroker/node_modules/iobroker.fullybrowser/admin/fully.png fully.png image/png iobroker 2019-03-01 20:16:11.040 info upload [1] fullybrowser.admin /opt/iobroker/node_modules/iobroker.fullybrowser/admin/index_m.html index_m.html text/html iobroker 2019-03-01 20:16:10.974 info got /opt/iobroker/node_modules/iobroker.fullybrowser/adminupload [2] fullybrowser.admin /opt/iobroker/node_modules/iobroker.fullybrowser/admin/words.js words.js application/javascript iobroker 2019-03-01 20:16:10.863 info npm notice created a lockfile as package-lock.json. You should commit this file. iobroker 2019-03-01 20:16:04.516 info npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js iobroker 2019-03-01 20:16:03.817 info npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue iobroker 2019-03-01 20:16:00.667 info npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue iobroker 2019-03-01 20:15:58.885 info npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js iobroker 2019-03-01 20:15:55.263 info npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 iobroker 2019-03-01 20:15:52.099 info npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.fullybrowser" iobroker 2019-03-01 20:15:51.861 info npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) iobroker 2019-03-01 20:15:51.861 info npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents): iobroker 2019-03-01 20:15:51.861 info npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) iobroker 2019-03-01 20:15:51.861 info npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection): iobroker 2019-03-01 20:15:51.861 info npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. iobroker 2019-03-01 20:15:51.861 info npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.npm WARN onvif-snapshot@1.0.2 requires a peer of onvif@^ iobroker 2019-03-01 20:14:08.015 info npm install iobroker.fullybrowser@0.0.15 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call) iobroker 2019-03-01 20:14:07.592 info NPM version: 6.4.1 iobroker 2019-03-01 20:14:07.019 info Update fullybrowser from @0.0.13 to @0.0.15 iobroker 2019-03-01 20:14:05.686 info upgrade fullybrowser
Aber die Version bleibt bei 0.0.13 stehen.
Auch über Git direkt das gleiche Ergebnis -
hmm ich schaumal .. jo fehler gefunden hab vergessen die Version nazuheben...
0.0.16 sollte gehen
-
Hallo,
nachdem sich der Akku meines Fird HD verabschiedet hat, habe ich mir ein Medion Lifetab zugelegt.
FullyKioskBrowser installiert und die Lizenz aktualisiert. Läuft.Eine Verbindung zwischen iobroker und dem FullyKioskBrowser scheint zu bestehen, jedoch habe ich ein Problem, und zwar steht unter status "Error" und unter statusText "Please login".
In den Einstellungen des Adapter habe ich das Passwort eingetragen, welches ich im FullyKioskBrowser unter RemoteAdministration eingetragen habe.
Somit kann ich den Browser leider gar nicht fernsteueren
Dabei hatte alles auf dem FireHD so hervorragend funktioniert.Muss evtl. irgendwo der Port manuell angepasst werden? Dieser stand vorher auf 2323.
-
2323 ist standard .. bist dir sicher das die Logindaten stimmen.. das riecht nach .. klein gross schriebung oder so