Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter radar2 v1.2.x GitHub

    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

    Test Adapter radar2 v1.2.x GitHub

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Megawaldi @Thomas Braun last edited by

      @thomas-braun

      Ist ein raspi 4 mit Ubuntu LTS

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

        @megawaldi
        Mit Raspberry OS funktioniert das einwandfrei hier.

        Warum setzt man Ubuntu LTS (Welches Release?) ein und nicht das viel besser an den Pi 4 angepasste Raspberry OS? (Ich hoffe nicht wegen 'des schöneren Desktops')

        M 1 Reply Last reply Reply Quote 0
        • M
          Megawaldi @Thomas Braun last edited by

          @thomas-braun
          Das hat sich so ergeben. Nutze das ganze nur headless und bei raspian ist mir ehrlichgesagt zu viel "müll" dabei für ein server linux.

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

            @megawaldi
            Der Müll funktioniert aber.

            M 1 Reply Last reply Reply Quote 0
            • M
              Megawaldi @Thomas Braun last edited by

              @thomas-braun
              Wenn du mir dann bitte mal erzälen kannst, was für einen Einfluss jetzt nen xserver desktop oder nen office auf mein Problem mit arp-scan hat bin ich beeindruckt. Übrigens ist Ubuntu arm auch ein auf nen raspi optimiertes Linux. Das beide also Ubuntu und rasperian nen debian port sind muss ich dir ja ned erklären.

              crunchip Thomas Braun 2 Replies Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @Megawaldi last edited by

                @megawaldi was passiert denn, wenn du setcap einzeln absetzt

                sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which arp-scan`)
                
                M 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Megawaldi last edited by

                  @megawaldi sagte in Test Adapter radar2 v1.2.x GitHub:

                  Einfluss jetzt nen xserver desktop oder nen office auf mein Problem mit arp-scan hat bin ich beeindruckt.

                  Keinen. Weil ja keines von beidem auf einem Server läuft.

                  Das beide also Ubuntu und rasperian nen debian port sind muss ich dir ja ned erklären.

                  Nee, brauchst du nicht. Das weiß ich. Trotzdem gibt es Unterschiede.

                  1 Reply Last reply Reply Quote 0
                  • M
                    Megawaldi @crunchip last edited by

                    @crunchip

                    Geht ohne Probleme ändert aber nix..

                    [18:39][martin@xxx:~]$ sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which arp-scan`)
                    [18:40][martin@xxx:~]$
                    

                    @Thomas-Braun

                    Als user iobroker gehts ohne sudo oder Passwort, also wie es sein sollte...

                    iobroker@xxx:~$ arp-scan -lgq --interface=wlan0
                    Interface: wlan0, type: EN10MB, MAC: e4:5f:01:03:54:4f, IPv4: 192.168.0.206
                    Starting arp-scan 1.9.7 with 256 hosts (https://github.com/royhills/arp-scan)
                    192.168.0.1     2c:3a:fd:9e:xx:xx
                    192.168.0.2     44:4e:6d:36:xx:xx
                    192.168.0.100   c4:9d:ed:1a:xx:xx
                    ....
                    
                    24 packets received by filter, 0 packets dropped by kernel
                    Ending arp-scan 1.9.7: 256 hosts scanned in 1.884 seconds (135.88 hosts/sec). 17 responded
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Megawaldi last edited by

                      @megawaldi
                      Dann kann es eigentlich nur noch daran liegen wie sudo unter Ubuntu tickt.

                      1 Reply Last reply Reply Quote 0
                      • M
                        Megawaldi last edited by

                        Seltsam
                        Ich habe gerade den arp-scan über den javascript Adapter via exec getriggert und ich bekomme da ohne Probleme die Antwort in den log...

                        1 Reply Last reply Reply Quote 0
                        • M
                          Megawaldi last edited by

                          So mein Problem ist gelöst.
                          Falls es jemand interessiert, es ist entstanden dadurch das ich noch ein tunel interface auf dem System habe. Dadurch wirft arp-scan beim einfachen Aufruf einen Fehler, das das tunnel interface keine MAC Adresse hat.
                          Da radar2 auf den Fehler mit der fehlenden MAC Adresse reagiert hat, indem es meint es ist ein rechte Problem.
                          Lösung: Bei der Prüfung im Quellcode bei der Initialisierung des Adapters das interface angeben.

                          Original:

                          if (arpcmd && await testLinux('arp-scan'))
                                  if (await A.exec('arp-scan'))
                                      doArp = `"${arpcmd}" on ${network.ip4addrs()}`;
                                  else A.W("Adapter not running as root or iobroker has no sudo right, cannot use arp-scan!");
                          

                          Änderung:

                          if (arpcmd && await testLinux('arp-scan'))
                                  if (await A.exec('arp-scan -I wlan0'))
                                      doArp = `"${arpcmd}" on ${network.ip4addrs()}`;
                                  else A.W("Adapter not running as root or iobroker has no sudo right, cannot use arp-scan!");
                          

                          Allen Beteiligten vielen Dank und einen schönen Abend

                          dieckfr 1 Reply Last reply Reply Quote 0
                          • dieckfr
                            dieckfr @Megawaldi last edited by

                            Hallo zusammen,

                            ich habe versucht mit diesen, sowie dem Vorgänger Thread mein Bluetooth Problem zu lösen, leider ohne Erfolg. Daher erlaube ich mir den Schwarm zu fragen, was ich noch machen könnte....

                            Mein Problem:
                            Radar 2 meldet beim Start "node-bluetooth not found!" genaues log siehe unten.

                            Der Adapter hat schon mal funktioniert, allerdings auf einem Pi 3, bin umgezogen auf einen Pi4, und bin mir nicht sicher ob das problem seit dem besteht, Bluethooth brauche ich erst jetzt, also möchte es nutzen.
                            ICh habe den ble Adapter versuchsweise installiert, er läuft tadellos. Hab radar diverse male deinstalliert, und ich denke alles an anleitungen hier durchgeackert... bin kurz davor den ble zu nehmen, und dann mit blockly zu stricken, aber das fuchst mich... Bin für jede Idee zu haben!

                            Hier das komplette Log:

                            pi@raspberrypi:~ $ sudo -u iobroker node /opt/iobroker/node_modules/iobroker.radar2/radar2.js --force --logs --nolazy
                            info: got following adapter: { name: 'radar2' }
                            2021-03-17 22:53:20.957  - info: radar2.0 (13359) starting. Version 1.0.9 in /opt/iobroker/node_modules/iobroker.radar2, node: v12.20.2, js-controller: 3.2.16
                            2021-03-17 22:53:21.125  - warn: radar2.0 (13359) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer!
                            2021-03-17 22:53:21.156  - info: radar2.0 (13359) radar2 initialization started...
                            2021-03-17 22:53:21.285  - info: radar2.0 (13359) Connected with '0.0.0.0' for DHCP Scan
                            2021-03-17 22:53:21.434  - info: radar2.0 (13359) found '@abandonware/noble'
                            2021-03-17 22:53:21.436  - warn: radar2.0 (13359) node-bluetooth not found!
                            2021-03-17 22:53:21.437  - info: radar2.0 (13359) radar2 set to flag items away if they are not seen for 2 minutes
                            2021-03-17 22:53:21.438  - info: radar2.0 (13359) use known BT list: []
                            2021-03-17 22:53:21.440  - info: radar2.0 (13359) use known IP list: [ '1.1.1.1' ]
                            2021-03-17 22:53:21.441  - info: radar2.0 (13359) Remove name end for host names: .fritz.box
                            2021-03-17 22:53:21.442  - info: radar2.0 (13359) arp-scan will use the following interfaces: [ 'eth0' ]
                            2021-03-17 22:53:21.443  - info: radar2.0 (13359) radar2 set to scan every 20 seconds and printers every 720 minutes.
                            2021-03-17 22:53:21.498  - info: radar2.0 (13359) Will try to scan BT devices: true
                            2021-03-17 22:53:23.310  - info: radar2.0 (13359) Init item Ich- with {name: 'Ich-',id: 'Ich',type: 'IP',rip: [ '127.0.0.1' ],lasthere: '2021-03-17T21:53:09.589Z',anwesend: true}
                            2021-03-17 22:53:23.319  - warn: radar2.0 (13359) ip address 192.168.2.1 in Fritzbox was used already for another device Fritzbox, this is forbidden!
                            2021-03-17 22:53:23.447  - info: radar2.0 (13359) Init item Fritzbox with {name: 'Fritzbox',id: 'Fritzbox',type: 'IP',rip: [ '192.168.2.1', '192.168.2.1' ],lasthere: '2021-03-17T21:53:09.573Z',hasMAC: [ '2c:91:ab:bf:06:b3' ],anwesend: true}
                            2021-03-17 22:53:23.489  - info: radar2.0 (13359) Init item HP-7520- with {name: 'HP-7520-',ip: 'HPC56C03-PS7520',id: 'HP-7520',type: 'printer'}
                            2021-03-17 22:53:24.268  - info: radar2.0 (13359) New external IP address 0
                            2021-03-17 22:53:24.307  - info: radar2.0 (13359) Adapter identified macs: (2c:91:ab:bf:06:b3), 
                            ips: (127.0.0.1,192.168.2.1), 
                            bts: ()
                            2021-03-17 22:53:24.309  - warn: radar2.0 (13359) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer!
                            2021-03-17 22:53:26.378  - info: radar2.0 (13359) will scan UWZ with code UWZDE49497 every 120 minutes
                            2021-03-17 22:53:26.384  - info: radar2.0 (13359) will scan printers  [ 'HP-7520-' ]  every  720  minutes
                            2021-03-17 22:53:26.472  - info: radar2.0 (13359) UWZ found the following (changed) warnings: No warnings
                            2021-03-17 22:53:26.606  - info: radar2.0 (13359) radar2 found 3 devices in config (Ich-,Fritzbox,HP-7520-)
                            2021-03-17 22:53:26.607  - info: radar2.0 (13359) radar2 set use of noble(true), doArp("-lgq --retry=5 --timeout=400" on eth0), btid(0) and doUwz(UWZDE49497,120,0,de,true).
                            2021-03-17 22:53:35.169  - info: radar2.0 (13359) first scan took 8.536 seconds
                            2021-03-17 22:53:35.170  - info: radar2.0 (13359) will scan external network every  60  minutes
                            2021-03-17 22:53:35.854  - info: radar2.0 (13359) New external IP address 0
                            2021-03-17 22:53:35.856  - warn: radar2.0 (13359) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer!
                            2021-03-17 22:53:36.646  - info: radar2.0 (13359) Adapter initialization finished!
                            
                            
                            Vielen Dank!!!
                            
                            Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @dieckfr last edited by

                              @dieckfr
                              Was ist das für ein komischer node-Befehl?

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

                                @dieckfr sagte in Test Adapter radar2 v1.2.x GitHub:

                                starting. Version 1.0.9

                                asbach uralt

                                1 Reply Last reply Reply Quote 0
                                • dieckfr
                                  dieckfr @Thomas Braun last edited by

                                  @thomas-braun

                                  Den habe ich hier aus dem Thread. Ich bin nicht Terminal Befehls fest, gelinde gesagt... @crunchip das ist die Version, die ich vorgeschlagen bekomme, also wenn ich nicht über Repro direkt installieren gehe. Hatte mich vertüddelt, ich hätts nicht gemerkt... Danke!

                                  Die aktulle Version wirft jetzt kein BT not found fehler mehr, aber findet trotzdem keine BT Geräte....

                                  pi@raspberrypi:~ $ hcitool dev
                                  Devices:
                                  	hci0	DC:A6:32:D1:27:26
                                  

                                  und

                                  pi@raspberrypi:~ $ hcitool scan
                                  Scanning ...
                                  	38:F7:3D:90:CE:CA	Echo Show-RLX
                                  pi@raspberrypi:~ $ 
                                  
                                  der Log:
                                  
                                  
                                  
                                  pi@raspberrypi:~ $ hcitool dev
                                  Devices:
                                  	hci0	DC:A6:32:D1:27:26
                                  pi@raspberrypi:~ $ hcitool scan
                                  pi@raspberrypi:~ $ sudo -u iobroker node /opt/iobroker/node_modules/iobroker.radar2/radar2.js --force --logs --nolazy
                                  2021-03-18 01:22:44.552  - info: radar2.0 (8360) starting. Version 2.0.1 in /opt/iobroker/node_modules/iobroker.radar2, node: v12.20.2, js-controller: 3.2.16
                                  2021-03-18 01:22:44.722  - info: radar2.0 (8360) radar2 initialization started...
                                  2021-03-18 01:22:44.736  - info: radar2.0 (8360) Will use l2Ping for BT scans.
                                  2021-03-18 01:22:44.767  - info: radar2.0 (8360) debug: started #1 hcitool dev
                                  2021-03-18 01:22:44.814  - info: radar2.0 (8360) Will run hcitool-mode and not noble on device [ [Object] ]!
                                  2021-03-18 01:22:44.827  - info: radar2.0 (8360) debug: started #2 hciconfig hci1 down
                                  2021-03-18 01:22:44.950  - info: radar2.0 (8360) debug: started #3 hciconfig hci1 up
                                  2021-03-18 01:22:45.081  - info: radar2.0 (8360) debug: radar2 set to flag items away if they are not seen for 3 minutes
                                  2021-03-18 01:22:45.083  - info: radar2.0 (8360) debug: use known BT list: []
                                  2021-03-18 01:22:45.084  - info: radar2.0 (8360) debug: use known IP list: []
                                  2021-03-18 01:22:45.086  - info: radar2.0 (8360) arp-scan will use the following interfaces: [ 'eth0' ]
                                  2021-03-18 01:22:45.103  - info: radar2.0 (8360) Connected with '0.0.0.0' for DHCP Scan
                                  2021-03-18 01:22:46.097  - info: radar2.0 (8360) debug: created State radar2.0.info.connection
                                  2021-03-18 01:22:46.118  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.info.connection = true
                                  2021-03-18 01:22:46.719  - info: radar2.0 (8360) debug: radar2 set to scan every 30 seconds and printers every 720 minutes.
                                  2021-03-18 01:22:46.720  - info: radar2.0 (8360) debug: Will 'save' unknown BT devices and will 'save' unknown IP devices!
                                  2021-03-18 01:22:46.759  - info: radar2.0 (8360) Will try to scan BT devices: hci0	DC:A6:32:D1:27:26
                                  2021-03-18 01:22:46.828  - info: radar2.0 (8360) debug: created State radar2.0.Ich._lastHere
                                  2021-03-18 01:22:46.837  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Ich._lastHere = 2021-03-18@01:22:25
                                  2021-03-18 01:22:46.860  - info: radar2.0 (8360) Init item Ich- with {name: 'Ich-',bluetooth: [],enabled: -1,id: 'Ich',type: 'IP',rip: [ '127.0.0.1' ],lasthere: '2021-03-18T00:22:25.103Z'}
                                  2021-03-18 01:22:46.924  - info: radar2.0 (8360) debug: created State radar2.0.Fritzbox._lastHere
                                  2021-03-18 01:22:46.934  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Fritzbox._lastHere = 2021-03-18@01:22:31
                                  2021-03-18 01:22:46.944  - info: radar2.0 (8360) Init item Fritzbox with {name: 'Fritzbox',bluetooth: [],enabled: -1,id: 'Fritzbox',type: 'IP',rip: [ '192.168.2.1' ],hasMAC: [ '2c:91:ab:bf:06:b3' ],lasthere: '2021-03-18T00:22:31.954Z'}
                                  2021-03-18 01:22:47.036  - info: radar2.0 (8360) Init item HP-5230- with {name: 'HP-5230-',ip: [ '192.168.178.100' ],bluetooth: [],enabled: -1,id: 'HP-5230',type: 'printer'}
                                  2021-03-18 01:22:47.136  - info: radar2.0 (8360) Init item ECB- with {name: 'ECB-',ip: [ 'USD', 'RUB', 'GBP' ],bluetooth: [],enabled: -1,id: 'ECB',type: 'ECB'}
                                  2021-03-18 01:22:47.146  - info: radar2.0 (8360) debug: created State radar2.0.Forum._lastHere
                                  2021-03-18 01:22:47.181  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Forum._lastHere = 2021-03-18@01:22:25
                                  2021-03-18 01:22:47.204  - info: radar2.0 (8360) Init item Forum with {name: 'Forum',ip: [ 'https://forum.iobroker.net' ],bluetooth: [],enabled: 10,id: 'Forum',type: 'URL',lasthere: '2021-03-18T00:22:25.355Z'}
                                  2021-03-18 01:22:50.562  - warn: radar2.0 (8360) Got terminate signal. Checking desired PID: 0 vs own PID 8360
                                  2021-03-18 01:22:50.616  - warn: radar2.0 (8360) Got terminate signal. Checking desired PID: 8400 vs own PID 8360
                                  2021-03-18 01:22:53.381  - info: radar2.0 (8360) Init item Handy-Paul with {name: 'Handy-Paul',bluetooth: [],id: 'Handy-Paul',type: 'IP',hasMAC: [ '04:d6:aa:05:70:1e' ],ipVendor: 'Samsung Electro-Mechanics(Thailand)',rip: [ '192.168.178.99' ]}
                                  2021-03-18 01:22:54.124  - info: radar2.0 (8360) Adapter identified macs: (2c:91:ab:bf:06:b3,04:d6:aa:05:70:1e), 
                                  ips: (127.0.0.1,192.168.2.1,192.168.178.99), 
                                  bts LE: (), 
                                  bts norm: ()
                                  2021-03-18 01:22:54.229  - info: radar2.0 (8360) will scan UWZ with code UWZDE49497 every 120 minutes
                                  2021-03-18 01:22:54.340  - info: radar2.0 (8360) UWZ found the following (changed) warnings: No warnings
                                  2021-03-18 01:22:54.377  - info: radar2.0 (8360) debug: created State radar2.0._UWZ
                                  2021-03-18 01:22:54.395  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0._UWZ = No warnings
                                  2021-03-18 01:22:54.398  - info: radar2.0 (8360) Will scan ECB for  [ 'USD', 'RUB', 'GBP' ]  every  60  minutes
                                  2021-03-18 01:22:54.613  - info: radar2.0 (8360) debug: created State radar2.0.ECB
                                  2021-03-18 01:22:54.622  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.ECB = 2021-03-17
                                  2021-03-18 01:22:54.632  - info: radar2.0 (8360) debug: created State radar2.0.ECB.USD
                                  2021-03-18 01:22:54.644  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.ECB.USD = 1.1907
                                  2021-03-18 01:22:54.653  - info: radar2.0 (8360) debug: created State radar2.0.ECB.GBP
                                  2021-03-18 01:22:54.663  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.ECB.GBP = 0.85668
                                  2021-03-18 01:22:54.679  - info: radar2.0 (8360) debug: created State radar2.0.ECB.RUB
                                  2021-03-18 01:22:54.693  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.ECB.RUB = 87.8245
                                  2021-03-18 01:22:54.695  - info: radar2.0 (8360) will scan printers  [ 'HP-5230-' ]  every  720  minutes
                                  2021-03-18 01:23:03.867  - warn: radar2.0 (8360) Had error when reaching printer 'HP-5230'. Check link address!
                                  2021-03-18 01:23:03.872  - info: radar2.0 (8360) radar2 found 6 devices in config (Ich-,Fritzbox,HP-5230-,ECB-,Forum,Handy-Paul) and 5 enabled.
                                  2021-03-18 01:23:03.873  - info: radar2.0 (8360) radar2 set use of noble(false), doArp("-lgq --retry=5 --timeout=400" on eth0), btid(1) and doUwz(UWZDE49497,120,0,de,true).
                                  2021-03-18 01:23:03.986  - info: radar2.0 (8360) debug: ChangeState ack:false of Ich._lastHere = 2021-03-18@01:23:03
                                  2021-03-18 01:23:03.997  - info: radar2.0 (8360) debug: created State radar2.0.Ich
                                  2021-03-18 01:23:04.030  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Ich = true
                                  2021-03-18 01:23:04.049  - info: radar2.0 (8360) debug: created State radar2.0.Ich._here
                                  2021-03-18 01:23:04.060  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Ich._here = true
                                  2021-03-18 01:23:04.072  - info: radar2.0 (8360) debug: created State radar2.0.Ich._whatHere
                                  2021-03-18 01:23:04.083  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Ich._whatHere = IP
                                  2021-03-18 01:23:04.145  - info: radar2.0 (8360) debug: ChangeState ack:false of Fritzbox._lastHere = 2021-03-18@01:23:04
                                  2021-03-18 01:23:04.158  - info: radar2.0 (8360) debug: created State radar2.0.Fritzbox
                                  2021-03-18 01:23:04.168  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Fritzbox = true
                                  2021-03-18 01:23:04.181  - info: radar2.0 (8360) debug: created State radar2.0.Fritzbox._here
                                  2021-03-18 01:23:04.193  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Fritzbox._here = true
                                  2021-03-18 01:23:04.209  - info: radar2.0 (8360) debug: created State radar2.0.Fritzbox._whatHere
                                  2021-03-18 01:23:04.227  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Fritzbox._whatHere = IP
                                  2021-03-18 01:23:04.279  - info: radar2.0 (8360) debug: ChangeState ack:false of Forum._lastHere = 2021-03-18@01:23:04
                                  2021-03-18 01:23:04.291  - info: radar2.0 (8360) debug: created State radar2.0.Forum
                                  2021-03-18 01:23:04.303  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Forum = true
                                  2021-03-18 01:23:04.316  - info: radar2.0 (8360) debug: created State radar2.0.Forum._here
                                  2021-03-18 01:23:04.325  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Forum._here = true
                                  2021-03-18 01:23:04.339  - info: radar2.0 (8360) debug: created State radar2.0.Forum._whatHere
                                  2021-03-18 01:23:04.354  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Forum._whatHere = IP
                                  2021-03-18 01:23:09.673  - info: radar2.0 (8360) debug: ChangeState ack:false of Ich = true
                                  2021-03-18 01:23:09.724  - info: radar2.0 (8360) debug: ChangeState ack:false of Ich._here = true
                                  2021-03-18 01:23:09.735  - info: radar2.0 (8360) debug: created State radar2.0.Ich._nHere
                                  2021-03-18 01:23:09.747  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Ich._nHere = 1
                                  2021-03-18 01:23:09.758  - info: radar2.0 (8360) debug: ChangeState ack:false of Fritzbox = true
                                  2021-03-18 01:23:09.833  - info: radar2.0 (8360) debug: ChangeState ack:false of Fritzbox._here = true
                                  2021-03-18 01:23:09.843  - info: radar2.0 (8360) debug: created State radar2.0.Fritzbox._nHere
                                  2021-03-18 01:23:09.856  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Fritzbox._nHere = 1
                                  2021-03-18 01:23:09.867  - info: radar2.0 (8360) debug: ChangeState ack:false of Forum = true
                                  2021-03-18 01:23:09.923  - info: radar2.0 (8360) debug: ChangeState ack:false of Forum._here = true
                                  2021-03-18 01:23:09.935  - info: radar2.0 (8360) debug: created State radar2.0.Forum._nHere
                                  2021-03-18 01:23:09.948  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0.Forum._nHere = 1
                                  2021-03-18 01:23:09.958  - info: radar2.0 (8360) debug: created State radar2.0._nHere
                                  2021-03-18 01:23:09.970  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0._nHere = 2
                                  2021-03-18 01:23:09.970  - info: radar2.0 (8360) debug: radar2 found here (Ich, Fritzbox, Forum)
                                  2021-03-18 01:23:09.971  - info: radar2.0 (8360) debug: and who here (Fritzbox, Forum)
                                  2021-03-18 01:23:09.971  - info: radar2.0 (8360) debug: and not here ()
                                  2021-03-18 01:23:10.002  - info: radar2.0 (8360) debug: created State radar2.0._allHere
                                  2021-03-18 01:23:10.097  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0._allHere = Ich, Fritzbox, Forum
                                  2021-03-18 01:23:10.107  - info: radar2.0 (8360) debug: created State radar2.0._notHere
                                  2021-03-18 01:23:10.119  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0._notHere = 
                                  2021-03-18 01:23:10.130  - info: radar2.0 (8360) debug: created State radar2.0._isHere
                                  2021-03-18 01:23:10.140  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0._isHere = Fritzbox, Forum
                                  2021-03-18 01:23:10.141  - info: radar2.0 (8360) debug: radar2 found uBT's: []
                                  2021-03-18 01:23:10.142  - info: radar2.0 (8360) debug: radar2 found uIP's: []
                                  2021-03-18 01:23:10.153  - info: radar2.0 (8360) debug: created State radar2.0._uBTs
                                  2021-03-18 01:23:10.204  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0._uBTs = []
                                  2021-03-18 01:23:10.221  - info: radar2.0 (8360) debug: created State radar2.0._uIPs
                                  2021-03-18 01:23:10.233  - info: radar2.0 (8360) debug: ChangeState ack:false of radar2.0._uIPs = []
                                  2021-03-18 01:23:10.234  - info: radar2.0 (8360) first scan took 6.356 seconds
                                  2021-03-18 01:23:10.235  - info: radar2.0 (8360) will scan external network every  60  minutes
                                  2021-03-18 01:23:10.780  - info: radar2.0 (8360) debug: arp-scan -lgq --retry=5 --timeout=400 --interface=eth0 executed for 6.870 seconds and returned 38 hosts.
                                  

                                  Wie kann ich jetzt am besten weitersuchen? Hab im Adapter mal von noble gewechselt, und die BT Adresse auf 1 gewechselt. Die berechtigungen hatte cih wieder neu vergeben.

                                  Vielleicht jemand ne idee?

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

                                    @dieckfr gibt nur diese Möglichkeiten

                                    Bluetooth-Nutzung
                                    Es gibt zwei verschiedene Arten von BT-Geräten: BT-LE (V 4.x +) und normales BT (V <= 3.x). Der Adapter verfügt über zwei verschiedene Scanfunktionen für jeden der verschiedenen Gerätetypen.
                                    
                                    für BT-LE: Noble (Nodejs Modile) und 'hcitool lescan' Befehl
                                    für normales BT: BT-Scan (Nodejs-Modul) und Befehl 'l2ping'
                                    Jedes BT-Gerät kann nur eine der beiden Methoden gleichzeitig verwenden.
                                    
                                    Noble und BT Scan sind Module, die bei der Adapterinstallation mit npm kompiliert werden und unter Linux und den meisten Windows-Setups funktionieren sollten. Hcitool und l2ping werden mit den Bluetooth-Tools im Setup-Skript installiert und sind nur für Linux verfügbar.
                                    
                                    In der Adapter-Konfiguration sollten BT-LE-Macs mit einem '!' vor der Mac-Adresse, um das Scannen mit normalen BT-Scans wie l2ping zu vermeiden. Normalerweise ist Noble etwas besser als Geräte zur Identifizierung von hcitool lescan, generiert jedoch auch mehr Fehler und wird möglicherweise nicht auf allen Systemen installiert. Ebenso ist l2ping besser, normale BT-Geräte zu finden, ist jedoch auf anderen Plattformen als Linux nicht verfügbar. Daher können Sie die Verwendung in der Adapterkonfiguration separat konfigurieren.
                                    
                                    Wenn Sie mehrere BT-Geräte verwenden, können Sie die Gerätenummer in der Konfiguration angeben. Die Standardeinstellung ist '-1', wobei die erste verfügbare verwendet wird. Eine Liste aller verfügbaren Geräte kann unter Linux mit angezeigt werden lescan dev. In demselben Adapter können Sie nur ein Gerät verwenden. Wenn Sie mehrere Geräte scannen möchten, müssen Sie verschiedene Adapter (en) oder Instanzen verwenden.
                                    

                                    ansnsten, les mal ab HIER

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

                                      @crunchip

                                      Das war ein klassisches Layer8 Problem... der Adapter funktioniert jetzt. Ich hatte erst bekannte Bluethooth Mac Adressen eingetragen, die hat er dann auch korrekt in der Anwesenheit angezeigt. Und dann habe ich den Punkt unbekannte Bluethooth MAC speichern ausgewählt, und zack er zeigt alle an. Ich hatte irgendwo gelesen, das er das auf jedenfall in der übersichts Variable machen würde, hat er aber nicht. jetzt läuft alles!

                                      Danke für Eure Hilfe!

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

                                        Ich habe ein seltsames Problem, bisher lief der Adapter einwandfrei auf meinem NUC unter Proxmox als VM. Seit dem Update des JS Controllers kann ich leider nicht mehr konfigurieren. Sobald ich auf speichern&schließen klicke kommt die Box "Wirklich ohne speichern verlassen" und es wird auch nichts gespeichert.
                                        Die Liste mit den Geräten ist auch nicht mehr vorhanden, wie bekomme ich das wieder zusammen?

                                        Hein

                                        crunchip P 2 Replies Last reply Reply Quote 0
                                        • crunchip
                                          crunchip Forum Testing Most Active @sainthein last edited by

                                          @sainthein sagte in Test Adapter radar2 v1.2.x GitHub:

                                          Seit dem Update des JS Controllers kann ich leider nicht mehr konfigurieren.

                                          Dann issue erstellen, oder kein beta testen

                                          1 Reply Last reply Reply Quote 1
                                          • P
                                            Pittini Developer @sainthein last edited by

                                            @sainthein sagte in Test Adapter radar2 v1.2.x GitHub:

                                            wie bekomme ich das wieder zusammen?

                                            Downgrade vom JS Controller. Und ansonsten was @crunchip sagt, keine alphas oder betas testen wenn man mit den Folgen nicht umzugehen weis.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            824
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            radar2 adapter
                                            49
                                            244
                                            29035
                                            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