Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    IOBroker - Radar2

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

      Hallo ich habe ein problem...;-)ich habe mir hier so gut wie alles durchgelesen und probiert jedoch ohne erfolg. Wo liegt mein fehler?

      Hier ein Auszug aus dem LOG

      host.iobrokerslave	2020-06-18 07:59:40.528	info	Restart adapter system.adapter.radar2.1 because enabled
      host.iobrokerslave	2020-06-18 07:59:40.526	info	instance system.adapter.radar2.1 terminated with code 0 (NO_ERROR)
      radar2.1	2020-06-18 07:59:40.087	warn	(688) Promise problem unhandledRejection of Promise Promise { <rejected> TypeError: A.C.knownBTs.toLowerCase is not a function at /opt/iobroker/node_modules/iobroker.radar2/radar2.js:464:41 at process
      radar2.1	2020-06-18 07:59:40.080	info	(688) Adapter disconnected and stopped with dostop(false) and callback(true)
      radar2.1	2020-06-18 07:59:40.076	error	(688) TypeError: A.C.knownBTs.toLowerCase is not a function at /opt/iobroker/node_modules/iobroker.radar2/radar2.js:464:41 at processTicksAndRejections (internal/process/task_queues.js:97:5)
      radar2.1	2020-06-18 07:59:40.073	error	(688) unhandled promise rejection: A.C.knownBTs.toLowerCase is not a function
      radar2.1	2020-06-18 07:59:40.071	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      radar2.1	2020-06-18 07:59:40.054	info	(688) radar2 set to flag items away if they are not seen for 3 minutes
      radar2.1	2020-06-18 07:59:40.052	warn	(688) node-bluetooth not found!
      radar2.1	2020-06-18 07:59:40.048	info	(688) found '@abandonware/noble'
      radar2.1	2020-06-18 07:59:39.501	info	(688) Connected with '0.0.0.0' for DHCP Scan
      radar2.1	2020-06-18 07:59:39.043	info	(688) radar2 initialization started...
      radar2.1	2020-06-18 07:59:38.995	warn	(688) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer!
      radar2.1	2020-06-18 07:59:38.832	info	(688) starting. Version 1.0.9 in /opt/iobroker/node_modules/iobroker.radar2, node: v14.4.0, js-controller: 3.1.5
      host.iobrokerslave	2020-06-18 07:59:34.062	info	instance system.adapter.radar2.1 started with pid 688
      
      Diginix Thomas Braun 2 Replies Last reply Reply Quote 0
      • Diginix
        Diginix @pupsi last edited by

        @pupsi Du hast Version 1.0.9 installiert, nicht 2.x

        1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @pupsi last edited by

          @pupsi
          Und node 14 ist vielleicht auch noch etwas früh. Ich würde an deiner Stelle die empfohlene node12 installieren.

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

            @Homoran Ja der Fixer würde da Helfen. Der setzt mal mindestens einige setcap auf dem nodejs prozess.

            @frankjoke Der "Fixer" ist das Skript was man bei einer ioBroker Installation nutzen kann um sicherzustellen das die Installation so ist als wenn man "frisch" installieren würde. Der Macht setcap kram, installiert fehlende Pakete, fixt rechte, legt den ioBroker user an und richtet alles so ein wie es sein muss.

            1 Reply Last reply Reply Quote 0
            • A
              aldoa1 last edited by

              ich kann den Adapter nicht starten. Bleibt rot.
              Verwende iobroker mit synology / docker

              Von der Konsole aus mit
              node /opt/iobroker/node_modules/iobroker.radar2/radar2.js --force --logs --nolazy

              startet der Adapter.
              Dann ist radar2 sofort grün.

              Stoppe ich die Ausführung in der Konsole ist der Adapter sofort rot und startet nicht mehr.

              Wie kann ich das Problem lösen?

              apollon77 Glasfaser 2 Replies Last reply Reply Quote 0
              • apollon77
                apollon77 @aldoa1 last edited by

                @aldoa1 Wenn Du Ihn von der Kommandozeile startest ist es auch der iobroker user?

                Was steht im Logfile von iobroker wenn du es per ioBroker startest?

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

                  @apollon77
                  per Konsole ist es der root.

                  Log:
                  radar2.0 2020-08-28 23:02:35.009 warn (7797) Adapter not running as root or iobroker has no sudo right, cannot use arp-scan!
                  radar2.0 2020-08-28 23:02:34.977 info (7797) Adapter disconnected and stopped with dostop(null) and callback(true)
                  radar2.0 2020-08-28 23:02:34.976 info (7797) Unload adapter now with null
                  radar2.0 2020-08-28 23:02:34.973 warn (7797) Uncaught Exception: bind EACCES 0.0.0.0:67
                  radar2.0 2020-08-28 23:02:34.968 error (7797) Error: bind EACCES 0.0.0.0:67 at dgram.js:338:20 at processTicksAndRejections (internal/process/task_queues.js:85:21)
                  radar2.0 2020-08-28 23:02:34.967 error (7797) uncaught exception: bind EACCES 0.0.0.0:67
                  radar2.0 2020-08-28 23:02:34.952 info (7797) arp-scan will use the following interfaces: [ 'eth1', 'docker0' ]
                  radar2.0 2020-08-28 23:02:34.950 info (7797) debug: use known IP list: ['192.168.167.1','192.168.167.2','192.168.167.115','192.168.167.62']
                  radar2.0 2020-08-28 23:02:34.946 info (7797) debug: use known BT list: []
                  radar2.0 2020-08-28 23:02:34.945 info (7797) debug: radar2 set to flag items away if they are not seen for 3 minutes
                  radar2.0 2020-08-28 23:02:34.883 info (7797) net-ping not available! Will try to use normal ping!
                  radar2.0 2020-08-28 23:02:34.733 info (7797) debug: started #3 hciconfig hci0 up
                  radar2.0 2020-08-28 23:02:34.582 info (7797) debug: started #2 hciconfig hci0 down
                  radar2.0 2020-08-28 23:02:34.569 info (7797) Will run hcitool-mode and not noble on device []!
                  radar2.0 2020-08-28 23:02:34.536 info (7797) debug: started #1 hcitool dev
                  radar2.0 2020-08-28 23:02:34.507 info (7797) Will use l2Ping for BT scans.
                  radar2.0 2020-08-28 23:02:34.492 info (7797) radar2 initialization started...

                  apollon77 harrym 2 Replies Last reply Reply Quote 0
                  • apollon77
                    apollon77 @aldoa1 last edited by

                    @aldoa1 Naja da steht es ... liesst mal die Readme des Adapters,da steht drin was Du ggf noch an extra Befehlen ausführen musst (Stichwort setcap) ... oder lass den iobroker fixer laufen

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

                      @apollon77

                      den fixer habe ich schon probiert.
                      die setcap Befehle konnte ich nicht ausführen.

                      Wenn ich als root per Konsole starte, funktioniert der adapter super.

                      apollon77 Thomas Braun 2 Replies Last reply Reply Quote 0
                      • harrym
                        harrym @aldoa1 last edited by

                        @aldoa1 sagte in IOBroker - Radar2:

                        Adapter not running as root or iobroker has no sudo right

                        keine Ahnung welchen fixer du laufen hast lassen ... es war nicht der richtige.

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

                          @aldoa1 sagte in IOBroker - Radar2:

                          die setcap Befehle konnte ich nicht ausführen.

                          Warum nicht? Wenn die Programme nicht installiert sein sollten dann installiere sie bitte

                          1 Reply Last reply Reply Quote 0
                          • A
                            aldoa1 @harrym last edited by

                            @harrym

                            Hatte im Portainer beim iobroker die Kosole als root geöffnet und dann:

                            curl -sL https://iobroker.net/fix.sh | bash -

                            harrym 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @aldoa1 last edited by Thomas Braun

                              @aldoa1 sagte in IOBroker - Radar2:

                              Wenn ich als root per Konsole starte, funktioniert der adapter super.

                              Das ist aber falsch, du startest gar nichts aktiv als root.
                              Als user:

                              iobroker fix
                              
                              1 Reply Last reply Reply Quote 1
                              • harrym
                                harrym @aldoa1 last edited by

                                @aldoa1 und wieso nicht einfach unter /opt/iobroker (zur sicherheit) iobroker fix .... iobroker bietet auch seine ganzen befehle an ... wenn man ihn aufruft ....

                                A 1 Reply Last reply Reply Quote 0
                                • A
                                  aldoa1 @harrym last edited by

                                  @harrym

                                  habe nun iobroker fix durchgeführt. Es kam zu einer Erfolgsmeldung. Docker iobroker noch mal gestopt und neu gestartet.

                                  radar2 immer noch rot 😞

                                  (ein anderes Problem (Schreibrechte bei zigbee-Adapter) wurde aber gelöst)

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    aldoa1 last edited by

                                    und hier habe ich noch was im Log (wenn ich manuell als user iobroker starte):

                                    warn: radar2.0 (2621) radar initialization finished with error TypeError: Cannot read property 'push' of nullat main (/opt/iobroker/node_modules/iobroker.radar2/radar2.js:764:29)at processTicksAndRejections (internal/process/task_queues.js:97:5)at async IobAdapter.onReady (/opt/iobroker/node_modules/iobroker.radar2/fjadapter-core.js:212:3), will stop adapter!

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @aldoa1 last edited by

                                      @aldoa1

                                      whoami && who -r && which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs 
                                      
                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        aldoa1 @Thomas Braun last edited by aldoa1

                                        @Thomas-Braun said in IOBroker - Radar2:

                                        whoami && who -r && which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs

                                        iobroker
                                        /usr/bin/nodejs
                                        v12.18.3
                                        /usr/bin/node
                                        v12.18.3
                                        /usr/bin/npm
                                        6.14.6
                                        nodejs:
                                          Installiert:           12.18.3-1nodesource1
                                          Installationskandidat: 12.18.3-1nodesource1
                                          Versionstabelle:
                                         *** 12.18.3-1nodesource1 100
                                                100 /var/lib/dpkg/status
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @aldoa1 last edited by

                                          @aldoa1 Konsolenausgabe auch gerne als Text in </> CodeTags.
                                          NodeJS ist aber sauber.

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            aldoa1 last edited by

                                            könnte ich beim docker ein startscript erstellen und einfach

                                            node /opt/iobroker/node_modules/iobroker.radar2/radar2.js --force --logs --nolazy

                                            als root ausführern?

                                            Thomas Braun 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

                                            924
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            radar2 adapter raspberry
                                            23
                                            153
                                            15166
                                            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