Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. BLE und Radar2 rot

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    BLE und Radar2 rot

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

      Hier die Fehler.....

      t import Const
      ImportError: No module named compiler.ast
      gyp ERR! configure error
      gyp ERR! stack Error: `gyp` failed with exit code: 1
      gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
      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.4.132-1072-rockchip-ayufan-ga1d27dba5a2e
      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/iobroker.ble/node_modules/deasync
      gyp ERR! node -v v8.15.1
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
      Build failed
      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":"arm64"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
      
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! deasync@0.1.14 install: `node ./build.js`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the deasync@0.1.14 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/rock64/.npm/_logs/2019-03-06T15_19_26_939Z-debug.log
      

      Mir vergeht langsam die Lust........
      nun werde ich die nächste Baustelle hier posten.......
      Gruß,
      Mathias

      AlCalzone 1 Reply Last reply Reply Quote 0
      • AlCalzone
        AlCalzone Developer @MathiasJ last edited by

        @MathiasJ Das scheint mir oben abgeschnitten. Ist das wirklich alles?

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

          Ja, das sind alle Fehler.
          Davor kamen Warnungen.
          Gruß,
          Mathias

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

            Soll ich vllt ein anderes OS installieren?
            Mit dem Neuaufbau habe ich ja schon meine Erhafrung. Ich könnte von srmbian nach Ubuntu 18.04 für Rock64 wechseln.
            Vllt gehts dann.
            Gruß
            Mathias

            1 Reply Last reply Reply Quote 0
            • AlCalzone
              AlCalzone Developer last edited by

              In Zukunft wäre der komplette Output interessant, zumal die Meldung mittem im Wort abgeschnitten scheint. In deinem Fall scheint das Problem an einer falschen Python-Variante zu liegen.

              apt-get install python-dev
              

              und dann die Reparaturinstallation von BLE nochmal probieren - das gleiche könnte für Radar2 nötig sein.

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

                Reperaturinstallation?
                Du meinst, den Adapter kpl. neu installieren?

                1 Reply Last reply Reply Quote 0
                • AlCalzone
                  AlCalzone Developer last edited by

                  Nee das selbe wie oben:

                  @AlCalzone sagte in BLE und Radar2 rot:

                  Gehe mal in den Ordner /opt/iobroker/node_modules/iobroker.ble und führe npm install aus. Sollten hierbei Fehler auftreten, bitte posten.

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

                    so, jetzt ist wenigstens Radar2 grün.
                    BLE wird heruntergefahren, wie vorher.
                    Ich habe keine Fehlermeldungen bei der Reperaturinstallation von Radar2 und BLE.
                    Nur steige ich da irgendwie nicht durch:
                    USB-Dongle auf Bus2-Gerät2
                    USB-Dongle auf Bus3-Gerät2,
                    Was gebe ich jetzt in die Adapter ein?

                    Edit
                    es werde alle G-Tags erkannt.
                    Nur BLE spinnt herum und Zigbee läßt sich auch nicht installieren.

                    Edit2
                    Radar2 ist alle paar Sekunden offline.
                    Im Log bekomme ich die Meldung:

                    host.iobroker-rock64	2019-03-06 18:00:06.258	info	Restart adapter system.adapter.radar2.0 because enabled
                    host.iobroker-rock64	2019-03-06 18:00:06.257	error	instance system.adapter.radar2.0 terminated with code 7 (Adapter already running)
                    

                    ich werde IObroker morgen neu aufsetzen, dieses mal mit Ubuntu 18.04 für Rock64.
                    Vllt habe ich da mehr Glück. es läuft bei dieser Installation zu vel schief.

                    Gruß,
                    Mathias

                    AlCalzone 2 Replies Last reply Reply Quote 0
                    • AlCalzone
                      AlCalzone Developer @MathiasJ last edited by

                      @MathiasJ sagte in BLE und Radar2 rot:

                      BLE wird heruntergefahren, wie vorher.

                      Steht irgendwas im Log?

                      1 Reply Last reply Reply Quote 0
                      • AlCalzone
                        AlCalzone Developer @MathiasJ last edited by

                        @MathiasJ sagte in BLE und Radar2 rot:

                        Adapter already running

                        Kein Grund direkt neu aufzusetzen - da läuft noch ein Adapter-Prozess, den ioBroker nicht beendet bekommt. Starte die Kiste mal sauber neu.

                        Bzgl. BLE: Bitte mal von Github aktualisieren, dann sehen wir vllt auch warum der nicht startet.

                        MathiasJ 1 Reply Last reply Reply Quote 0
                        • MathiasJ
                          MathiasJ @AlCalzone last edited by MathiasJ

                          Ich bin Dir noch etwas schuldig:

                          Hier erst mal der Log vom BLE:

                          host.iobroker-rock64	2019-03-06 18:02:43.167	error	instance system.adapter.ble.0 terminated by request of the instance itself and will not be restarted, before user restarts it.
                          

                          Mehr kommt leider nicht, bis ich BLE neu gestartet habe.
                          Keine 10 Sekunden später kommt die gleiche Meldung usw.

                          Ach ja, Deine Antwort hat sich mit meiner überschnitten. ich habe in Edit2 noch was gepostet.

                          BLE im Terminal oder im Admin neu installieren? Github geht ja auch im Admin.
                          Ich habe nur an einer Neuinstallation des Systems gedacht, weil wir nicht wissen, was sonst noch falsch läuft.

                          Gruß,
                          Mathias

                          AlCalzone 1 Reply Last reply Reply Quote 0
                          • AlCalzone
                            AlCalzone Developer @MathiasJ last edited by

                            @MathiasJ sagte in BLE und Radar2 rot:

                            BLE im Terminal oder im Admin neu installieren? Github geht ja auch im Admin.

                            Admin bitte.

                            weil wir nicht wissen, was sonst noch falsch läuft.

                            Kannst aber nicht sicher sein, dass du alle Probleme schon gefunden hast 😉

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

                              BLE und weitere Adapter im Admin über Github neu installiert, weil die Config-Seite bei anderen Adaptern nicht da war.
                              Nun sind sie da.
                              BLE wird immer noch heruntergefahren und wartet darauf, daß sie von mir neu gestartet wurde. bringt nur nochts. nach ein par sekunden wird BLE wieder heruntergefahren usw.
                              Hier ist der Log der Installation:

                               npm ERR! path /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/abbrev
                              npm ERR! code EACCES
                              npm ERR! errno -13
                              npm ERR! syscall access
                              npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/abbrev'
                              npm ERR!  { Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/abbrev'
                              npm ERR!   stack: 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/abbrev\'',
                              npm ERR!   errno: -13,
                              npm ERR!   code: 'EACCES',
                              npm ERR!   syscall: 'access',
                              npm ERR!   path: '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/abbrev' }
                              npm ERR! 
                              npm ERR! The operation was rejected by your operating system.
                              npm ERR! It is likely you do not have the permissions to access this file as the current user
                              npm ERR! 
                              npm ERR! If you believe this might be a permissions issue, please double-check the
                              npm ERR! permissions of the file and its containing directories, or try running
                              npm ERR! the command again as root/Administrator (though this is not recommended).
                              
                              

                              Der Adapter wurde erfolgreich installiert. Vllt deinstalliere ich die Instanz, mache einen Neustart und installiere sie mal neu?
                              Radar2 läuft jetzt durch, seit dem ich die Kiste neu gestartet habe.

                              AlCalzone 1 Reply Last reply Reply Quote 0
                              • AlCalzone
                                AlCalzone Developer @MathiasJ last edited by

                                @MathiasJ Ja da fehlt das Bluetooth-Modul, das wegen fehlendem Schreibzugriff nicht installiert werden kann. Bist du auf der Kommandozeile üblicherweise als root unterwegs oder als ein anderer User? Falls ersteres, könnte

                                chown -R iobroker:iobroker /opt/iobroker
                                

                                helfen.

                                1 Reply Last reply Reply Quote 1
                                • MathiasJ
                                  MathiasJ last edited by

                                  danke.....
                                  ich muß IObroker komplett neu aufsetzen.
                                  Ich wollte gerade die SD-karte sichern.
                                  Jetzt ist IObroker gar nicht mehr erreichbar.
                                  Also von vorne.... 😢

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

                                    so.....
                                    nachdem ich alles neu aufgesetzt und USB-Dongles getauscht habe
                                    BLE läuft........
                                    Radar2 läuft.......

                                    Er war nicht nur ein Software- sondern auch ein Hardwareproblem 😞
                                    Einer der beiden Dongles wurde nicht erkannt. um genau zu sein der Logilink.
                                    Jetzt laufen beide Adapter mit Speedlink Dongles.
                                    Vielen lieben Dank, @AlCalzone

                                    Gruß,
                                    Mathias

                                    1 Reply Last reply Reply Quote 0
                                    • AlCalzone
                                      AlCalzone Developer last edited by

                                      Yay! 👏

                                      MathiasJ 1 Reply Last reply Reply Quote 0
                                      • MathiasJ
                                        MathiasJ @AlCalzone last edited by MathiasJ

                                        @AlCalzone hat auch lange genug gedauert.........
                                        Nochmals:
                                        Dankeschön!!!

                                        bleibt nur noch eine Frage:
                                        Wenn ich alle Objekte von BLE lösche, holt sich BLE dann alles neu?
                                        Ich möchte sicher gehen, daß auch alles erkannt wurde. Die Objekte kommen vom Backup.

                                        Gruß,
                                        Mathias

                                        AlCalzone 1 Reply Last reply Reply Quote 0
                                        • AlCalzone
                                          AlCalzone Developer @MathiasJ last edited by

                                          @MathiasJ sagte in BLE und Radar2 rot:

                                          Wenn ich alle Objekte von BLE lösche, holt sich BLE dann alles neu?

                                          BLE schreibt grundsätzlich erst mal alles auf, was es hört. Also ruhig löschen, das kann nur etwas Zeit in Anspruch nehmen bis alle Daten wieder da sind.

                                          MathiasJ 1 Reply Last reply Reply Quote 0
                                          • MathiasJ
                                            MathiasJ @AlCalzone last edited by

                                            dankeschön,
                                            wird dann gemacht.
                                            ich habe ihn erst mal heruntergefahren und warte auf ein emmc2USB-Adapter und Kühlkörper.
                                            In der Zwischenzeit schreibe ich alles auf, was ich so wissen muß.

                                            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

                                            978
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            ble adapter bluetooth radar adapter radar2 radar2 adapter
                                            2
                                            24
                                            2776
                                            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