Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Sonoff-Adapter

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Sonoff-Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Leon111 last edited by

      Der Port ist beim mir gleich 1883 im Adapter und in den Geräten

      1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active last edited by crunchip

        versuchs mal mit nodejs zu reparieren bzw altes löschen neu updaten
        du hast nodejs 8.16 und node8.15?

        1 Reply Last reply Reply Quote 0
        • L
          Leon111 last edited by

          das habe ich auf Empfehlung Heute upgedatet. Habe bis jetzt die 8.15 gehabt.
          Allerdings habe ich jetzt was anderes festgestellt:

          mit dem Rechner, der über LAN mit dem internen Netzwerk verbunden ist kann ich z.B. aud die Visualisierung (192.168.178.57:8082) kommen. Alles richtig.
          mit dem Handy über WLAN kann ich mich mit der Adresse nicht verbinden.
          Auch die App IoBroker.vis funktioniert im internen WLAN nicht.
          Gehe ich über Mobilfunk - VPN dann verbinde ich mich mit dem Iobroker ( bzw.Vis)
          Ich denke also, das das Problemm irgendwo im WLan.... Fritzbox liegt.
          Aber ich wieß nich wo genau.
          Irgendwelche Ideen, Tips....?

          J crunchip 2 Replies Last reply Reply Quote 0
          • J
            Jan1 @Leon111 last edited by Jan1

            @Leon111
            wenn der BLE Adapter nach einem Update gelb wird, dann hast den Fixer auch noch nicht laufen lasen oder?
            Das Log oben deutet auch auf einige Rechte Probleme hin, deshalb mal den Fix er drüber laufen lassen.

            Ich habe bei mir alles aktuell inklusive des BLE und alles grün, wenn da was nicht grün wird, dann sind Probleme vorhanden und die lösen sich nicht, wenn man einfach die alte Version beibehält. Heißt da stimmt was nicht und wird früher oder später für noch mehr Probleme sorgen.

            Fixer:
            curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/fix_installation.sh | bash -

            1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Leon111 last edited by

              @Leon111 gegebenenfalls die Fritzbox neu starten, die Wlan einstellungen kontrollieren, eventuell frequenzband abgeschaltet, Kanäle überprüfen

              1 Reply Last reply Reply Quote 0
              • L
                Leon111 last edited by

                Ich werde verrückt....... seit 24 Stunden bastle ich daran und es war kleiner Fehler. Beim Einrichten des Smart-TVs ist von den Fritzbox-Einstellungen „Die unten angezeigten aktiven WLAN-Geräte dürfen untereinander kommunizieren“ Hacken weggekommen.
                Deshalb konnten sich die ganzen Geräte miteinander nicht unterhalten. Kleine Ursache….große Wirkung.
                Jetzt läuft alles wieder wie es sein soll außer des BLE-Adapters. Den kann ich nicht updaten, da er dann gelb bleibt. Mit dem Fixer weiß ich nicht wie ich den aufspielen soll…
                Erstmal aber herzlichen Dank an alle, die sich an der Lösung des Problems beteiligt haben.
                Man weißt, dass man nicht alleine ist und früher oder später es zum Erfolg führen wird.

                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @Leon111 last edited by

                  @Leon111 tja, so blöd manchmal es ist,

                  @Leon111 sagte in Sonoff-Adapter:

                  Mein Smart TV ist erst seit Heute online

                  hattest es ja selbst geschrieben, was du ver/geändert hast😀
                  ble sollte eigentlich auch laufen, steht hier ja genug im forum, so wie auch der Umgang mit dem Fixer-skript

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Jan1 @crunchip last edited by

                    @crunchip
                    den Fixer einfach in die Konsole eingeben und vorher den IOBroker stoppen
                    cd /opt/iobroker
                    sudo iobroker stop
                    dann den Fixer und danach sudo iobroker start.

                    Wenn dann der BLE Adapter nicht läuft, ist was anderes noch nicht in Ordnung.

                    crunchip 1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Jan1 last edited by

                      @Jan1 https://forum.iobroker.net/topic/20211/iobroker-installation-fixer-beta-verfügbar

                      1 Reply Last reply Reply Quote 0
                      • L
                        Leon111 last edited by

                        Hallo Jan1, soll ich das so

                        curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/fix_installation.sh | bash -

                        in die Console eingeben?

                        noch vor dem Update von 0.5.2 zur 0.7.3 oder erst danach wenn der BLE Adapter gelb ist.

                        crunchip 1 Reply Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @Leon111 last edited by

                          @Leon111 ja mach es zuerst

                          1 Reply Last reply Reply Quote 0
                          • R
                            robson last edited by

                            Hallo zusammen,

                            ich habe heute den Sonoff-Adapter (v2.2.2) installiert. Leider bekomme ich den Adapter nicht "grün". Er bleibt ständig "gelb". Ich habe zwei Gosund-Steckdosen (Tasmota), die passend konfiguriert sind und auf den MQTT-Port 1885 lauschen. Der Adapter wurde ebenfalls entsprechend auf Port 1885 eingestellt (Port 1883 war per default eingestellt. Habe diesen geändert, da ich den Port als Fehlerquelle ausschließen wollte).
                            User und Passwort sind bei den Steckdosen und dem Adapter identisch.

                            Die Log-Stufe habe ich auf "Debug" gestellt:

                            sonoff.0	2019-10-30 13:14:10.630	debug	stateChange sonoff.0.info.connection: {"val":"","ack":true,"ts":1572437650621,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1572434652804}
                            sonoff.0	2019-10-30 13:14:10.626	info	Starting MQTT authenticated server on port 1885
                            sonoff.0	2019-10-30 13:14:10.571	info	starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.sonoff, node: v10.16.0
                            host.ioBroker-RasPi4	2019-10-30 13:14:09.821	info	instance system.adapter.sonoff.0 started with pid 4030
                            

                            Einen Fehler lese ich aus dem Log nicht raus. Woran kann es liegen, dass der Adapter nicht auf "grün" springt?

                            Einen anderen MQTT-Adapter habe ich nicht laufen.

                            Die Installation des Adapters lieferte die Fehler, die auch @Leon111 bereits am 08.06. gepostet hat. Da der Adapter aber schlussendlich installiert wurde, glaube ich nicht, dass es daran liegt.

                            Mein System:

                            • Raspberry Pi 4
                            • Admin 3.6.7
                            • NPM 6.9.0
                            • Node.js 10.16.0

                            Kann mir jemand helfen?

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Jan1 @robson last edited by

                              @robson
                              Sonoff Adapter ist 2.3.2 im latest aktuell.

                              R 1 Reply Last reply Reply Quote 0
                              • R
                                robson @Jan1 last edited by

                                @Jan1
                                Danke. Habe jetzt 2.3.2 installiert, aber leider keine Besserung. Instanz steht weiterhin auf "gelb" und es sind keine Objekte aufgelistet.

                                Im Log sind aber ein paar Punkte hinzugekommen:

                                
                                sonoff.0	2019-10-30 13:33:41.046	debug	system.adapter.admin.0: logging true
                                sonoff.0	2019-10-30 13:33:33.795	debug	system.adapter.admin.0: logging false
                                sonoff.0	2019-10-30 13:33:13.503	debug	system.adapter.admin.0: logging true
                                sonoff.0	2019-10-30 13:33:03.500	debug	stateChange sonoff.0.info.connection: {"val":"","ack":true,"ts":1572438783494,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1572434652804}
                                sonoff.0	2019-10-30 13:33:03.492	info	Starting MQTT authenticated server on port 1885
                                sonoff.0	2019-10-30 13:33:03.356	info	starting. Version 2.3.2 in /opt/iobroker/node_modules/iobroker.sonoff, node: v10.16.0
                                sonoff.0	2019-10-30 13:33:03.240	debug	statesDB connected
                                sonoff.0	2019-10-30 13:33:03.205	debug	objectDB connected
                                host.ioBroker-RasPi4	2019-10-30 13:33:02.432	info	instance system.adapter.sonoff.0 started with pid 5400
                                
                                J v522533 2 Replies Last reply Reply Quote 0
                                • J
                                  Jan1 @robson last edited by

                                  @robson
                                  Es wäre interessanter was für Fehler bei der Installation aufgetreten sind.
                                  Merke, wenn die Installation nicht sauber läuft, läuft der Adapter danach zu 99,9% nicht.

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    robson @Jan1 last edited by

                                    @Jan1
                                    Anbei das Installations-Log:

                                    iobroker	2019-10-30 13:30:12.198	info	exit 0
                                    iobroker	2019-10-30 13:30:12.103	info	upload [0] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/de/translations.json i18n/de/translations.json application/json
                                    iobroker	2019-10-30 13:30:12.042	info	upload [1] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/en/translations.json i18n/en/translations.json application/json
                                    iobroker	2019-10-30 13:30:11.980	info	upload [2] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/es/translations.json i18n/es/translations.json application/json
                                    iobroker	2019-10-30 13:30:11.919	info	upload [3] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                                    iobroker	2019-10-30 13:30:11.863	info	upload [4] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/it/translations.json i18n/it/translations.json application/json
                                    iobroker	2019-10-30 13:30:11.797	info	upload [5] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                                    iobroker	2019-10-30 13:30:11.725	info	upload [6] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                                    iobroker	2019-10-30 13:30:11.667	info	upload [7] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                                    iobroker	2019-10-30 13:30:11.609	info	upload [8] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                                    iobroker	2019-10-30 13:30:11.551	info	upload [9] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/index.html index.html text/html
                                    iobroker	2019-10-30 13:30:11.493	info	upload [10] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/index_m.html index_m.html text/html
                                    iobroker	2019-10-30 13:30:11.414	info	upload [11] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/sonoff.png sonoff.png image/png
                                    iobroker	2019-10-30 13:30:11.335	info	upload [12] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/words.js words.js application/javascript
                                    iobroker	2019-10-30 13:30:11.308	info	got /opt/iobroker/node_modules/iobroker.sonoff/admin
                                    iobroker	2019-10-30 13:30:11.261	info	
                                    iobroker	2019-10-30 13:30:11.259	info	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                    iobroker	2019-10-30 13:30:11.259	info	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 (node_modules/node-bluetooth):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 install: `node-gyp configure bu
                                    iobroker	2019-10-30 13:30:11.258	info	WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-
                                    iobroker	2019-10-30 13:30:11.257	info	npm
                                    iobroker	2019-10-30 13:30:09.786	info	node-gyp -v v3.8.0gyp ERR! not ok
                                    iobroker	2019-10-30 13:30:09.785	info	gyp ERR!
                                    iobroker	2019-10-30 13:30:09.785	info	gyp ERR! node -v v10.16.0
                                    iobroker	2019-10-30 13:30:09.785	info	gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"gyp ERR! cwd /opt/iobroker/node_modules/node-bluetooth
                                    iobroker	2019-10-30 13:30:09.784	info	at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.19.58-v7l+
                                    iobroker	2019-10-30 13:30:09.782	info	gyp ERR! stack
                                    iobroker	2019-10-30 13:30:09.782	info	gyp ERR! stack at ChildProcess.emit (events.js:198:13)
                                    iobroker	2019-10-30 13:30:09.782	info	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)
                                    iobroker	2019-10-30 13:30:09.781	info	ERR! build error
                                    iobroker	2019-10-30 13:30:09.780	info	
                                    iobroker	2019-10-30 13:30:09.779	info	gyp
                                    iobroker	2019-10-30 13:30:09.775	info	make: *** [BluetoothSerialPort.target.mk:105: Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Fehler 1
                                    iobroker	2019-10-30 13:30:09.766	info	compilation terminated.
                                    iobroker	2019-10-30 13:30:09.765	info	^~~~~~~~~~~~~~~~~~~~~~~
                                    iobroker	2019-10-30 13:30:09.765	info	../src/linux/DeviceINQ.cc:35:14: fatal error: bluetooth/bluetooth.h: Datei oder Verzeichnis nicht gefunden #include <bluetooth/bluetooth.h>
                                    iobroker	2019-10-30 13:30:09.331	info	/home/iobroker/.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::WeakCallba
                                    iobroker	2019-10-30 13:30:09.331	info	/home/iobroker/.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::Objec
                                    iobroker	2019-10-30 13:30:09.307	info	^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                    iobroker	2019-10-30 13:30:09.307	info	reinterpret_cast<Callback>(callback), type);
                                    iobroker	2019-10-30 13:30:09.307	info	/home/iobroker/.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::WeakCallb
                                    iobroker	2019-10-30 13:30:09.307	info	/home/iobroker/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
                                    iobroker	2019-10-30 13:30:09.307	info	/home/iobroker/.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::Objec
                                    iobroker	2019-10-30 13:30:09.307	info	In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63, from ../src/linux/BluetoothSerialPort.cc:12:
                                    iobroker	2019-10-30 13:30:09.241	info	^~~~~~~~~~~
                                    iobroker	2019-10-30 13:30:09.241	info	NODE_MODULE(BluetoothSerialPort, InitAll)
                                    iobroker	2019-10-30 13:30:09.241	info	../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’
                                    iobroker	2019-10-30 13:30:09.241	info	^~~~~~~~~~~~~
                                    iobroker	2019-10-30 13:30:09.241	info	NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
                                    iobroker	2019-10-30 13:30:09.241	info	/home/iobroker/.node-gyp/10.16.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
                                    iobroker	2019-10-30 13:30:09.241	info	^
                                    iobroker	2019-10-30 13:30:09.241	info	(node::addon_register_func) (regfunc), \
                                    iobroker	2019-10-30 13:30:09.241	info	/home/iobroker/.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:
                                    iobroker	2019-10-30 13:30:09.241	info	In file included from ../src/linux/BluetoothSerialPort.cc:12:../src/linux/BluetoothSerialPort.cc: At global scope:
                                    iobroker	2019-10-30 13:30:09.194	info	^
                                    iobroker	2019-10-30 13:30:09.194	info	, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                    iobroker	2019-10-30 13:30:09.194	info	../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-
                                    iobroker	2019-10-30 13:30:09.194	info	../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                    iobroker	2019-10-30 13:30:09.194	info	In file included from ../src/DeviceINQ.h:17, from ../src/linux/BluetoothSerialPort.cc:13:
                                    iobroker	2019-10-30 13:29:45.998	info	npm install https://github.com/ioBroker/ioBroker.sonoff/tarball/master --production --save --prefix "/opt/iobroker" (System call)
                                    iobroker	2019-10-30 13:29:45.310	info	install https://github.com/ioBroker/ioBroker.sonoff/tarball/master
                                    iobroker	2019-10-30 13:29:44.751	info	url "https://github.com/ioBroker/ioBroker.sonoff/tarball/master" sonoff
                                    

                                    Ich habe insgesamt 25 Adapter. Bisher laufen alle ohne Probleme. Dies ist der erste, der nicht will. Ich gehe daher davon aus, dass das System als solches gut aufgesetzt ist.

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      Jan1 @robson last edited by

                                      @robson
                                      Das ist aber nicht der Install Log

                                      R 1 Reply Last reply Reply Quote 0
                                      • R
                                        robson @Jan1 last edited by

                                        @Jan1
                                        Habe es aus dem Log herauskopiert.

                                        Habe den Adapter gerade noch mal installiert:

                                        $ ./iobroker url "https://github.com/ioBroker/ioBroker.sonoff/tarball/master" sonoff
                                        install https://github.com/ioBroker/ioBroker.sonoff/tarball/master
                                        npm install https://github.com/ioBroker/ioBroker.sonoff/tarball/master --production --save --prefix "/opt/iobroker" (System call)
                                        In file included from ../src/DeviceINQ.h:17,                 from ../src/linux/BluetoothSerialPort.cc:13:
                                        ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                        ../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                             , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                      ^
                                        
                                        In file included from ../src/linux/BluetoothSerialPort.cc:12:../src/linux/BluetoothSerialPort.cc: At global scope:
                                        /home/iobroker/.node-gyp/10.16.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/iobroker/.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/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’
                                         NODE_MODULE(BluetoothSerialPort, InitAll)
                                         ^~~~~~~~~~~
                                        
                                        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,                 from ../src/linux/BluetoothSerialPort.cc:12:
                                        /home/iobroker/.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/iobroker/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
                                        /home/iobroker/.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/iobroker/.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>&)]’:../node_modules/nan/nan_object_wrap.h:65:61:   required from here
                                        /home/iobroker/.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/linux/DeviceINQ.cc:35:14: fatal error: bluetooth/bluetooth.h: Datei oder Verzeichnis nicht gefunden     #include <bluetooth/bluetooth.h>
                                                      ^~~~~~~~~~~~~~~~~~~~~~~
                                        compilation terminated.
                                        
                                        make: *** [BluetoothSerialPort.target.mk:105: Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Fehler 1
                                        gyp
                                         
                                        ERR! build error 
                                        gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                                        gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                        
                                        gyp ERR! System Linux 4.19.58-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
                                        
                                        gyp ERR! cwd /opt/iobroker/node_modules/node-bluetoothgyp ERR! node -v v10.16.0
                                        gyp ERR! node-gyp -v v3.8.0
                                        
                                        gyp ERR! not ok 
                                        npm
                                         WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):npm WARN 
                                        notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 (node_modules/node-bluetooth):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 install: `node-gyp configure build`
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                        
                                        
                                        got /opt/iobroker/node_modules/iobroker.sonoff/admin
                                        upload [12] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/words.js words.js application/javascript
                                        upload [11] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/sonoff.png sonoff.png image/png
                                        upload [10] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/index_m.html index_m.html text/html
                                        upload [9] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/index.html index.html text/html
                                        upload [8] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                                        upload [7] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                                        upload [6] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                                        upload [5] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                                        upload [4] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/it/translations.json i18n/it/translations.json application/json
                                        upload [3] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                                        upload [2] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/es/translations.json i18n/es/translations.json application/json
                                        upload [1] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/en/translations.json i18n/en/translations.json application/json
                                        upload [0] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/i18n/de/translations.json i18n/de/translations.json application/json
                                        process exited with code 0
                                        
                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          Jan1 @robson last edited by

                                          @robson
                                          Kann es sein, dass Du nicht weißt wie und wo man ein Adapter installiert und deinstalliert?
                                          Für mich sieht das nach nem Upload eines vorhandenen Adapter aus.

                                          Was ich meine sollte so aussehen z.B.:
                                          0ae5f594-9fc9-410b-a541-7b061777eb14-grafik.png

                                          v522533 R 2 Replies Last reply Reply Quote 0
                                          • v522533
                                            v522533 @Jan1 last edited by

                                            @Jan1
                                            nach jeder installation kommt ein upload, das is ganz normal. Das was @robson gepostet hat ist ein ganz normaler install-log, aus welchem hervorgeht, dass die installation fehlerfrei durchgelaufen ist.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            855
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            sonoff-adapter
                                            8
                                            102
                                            7839
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo