NEWS
Fragen zum Radar2 Adapter
-
Hallo Gemeinde,
kann es sein das der Radar2 Adapter nicht mehr funktioniert?
https://www.iobroker.net/#en/adapters/adapterref/iobroker.radar2/README.mdSeit einigen Wochen zeigt der Adapter alle überwachten Geräte nur noch als "false" an.
Liegt das am Adapter, oder habe ich etwas verbockt?
Ich habe ihn schon gelöscht und neu installiert. Habt Ihr einen Tipp wie ich vorgehen kann? -
Hallo Gemeinde,
kann es sein das der Radar2 Adapter nicht mehr funktioniert?
https://www.iobroker.net/#en/adapters/adapterref/iobroker.radar2/README.mdSeit einigen Wochen zeigt der Adapter alle überwachten Geräte nur noch als "false" an.
Liegt das am Adapter, oder habe ich etwas verbockt?
Ich habe ihn schon gelöscht und neu installiert. Habt Ihr einen Tipp wie ich vorgehen kann?Was sagt denn das Log bei Adapterstart?
-
Was sagt denn das Log bei Adapterstart?
hui war das eine schnelle Reaktion...
mir sagt das leider nichts. (außer das irgenwas nicht gelesen werden kann und Bluetooth nicht funktioniert. (Der Server hat keinen Bluetooth Adapeter)
radar2.1 2024-11-26 15:20:54.991 warn Neither hcitool nor noble available to scan Bluetooth! radar2.1 2024-11-26 15:20:52.092 error Cannot read properties of null (reading 'init') radar2.1 2024-11-26 15:20:52.092 error TypeError: Cannot read properties of null (reading 'init') at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.radar2/myNetworks.js:969:82) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7) radar2.1 2024-11-26 15:20:52.091 error uncaught exception: Cannot read properties of null (reading 'init') radar2.1 2024-11-26 15:20:52.091 warn Uncaught Exception: Cannot read properties of null (reading 'init') -
hui war das eine schnelle Reaktion...
mir sagt das leider nichts. (außer das irgenwas nicht gelesen werden kann und Bluetooth nicht funktioniert. (Der Server hat keinen Bluetooth Adapeter)
radar2.1 2024-11-26 15:20:54.991 warn Neither hcitool nor noble available to scan Bluetooth! radar2.1 2024-11-26 15:20:52.092 error Cannot read properties of null (reading 'init') radar2.1 2024-11-26 15:20:52.092 error TypeError: Cannot read properties of null (reading 'init') at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.radar2/myNetworks.js:969:82) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7) radar2.1 2024-11-26 15:20:52.091 error uncaught exception: Cannot read properties of null (reading 'init') radar2.1 2024-11-26 15:20:52.091 warn Uncaught Exception: Cannot read properties of null (reading 'init')In jedem Fall gib mal ein paar Infoamtionen zum System / den Versionen her. Am besten poste den Outut der LANGfassung von
iob diagin commandtags. -
hui war das eine schnelle Reaktion...
mir sagt das leider nichts. (außer das irgenwas nicht gelesen werden kann und Bluetooth nicht funktioniert. (Der Server hat keinen Bluetooth Adapeter)
radar2.1 2024-11-26 15:20:54.991 warn Neither hcitool nor noble available to scan Bluetooth! radar2.1 2024-11-26 15:20:52.092 error Cannot read properties of null (reading 'init') radar2.1 2024-11-26 15:20:52.092 error TypeError: Cannot read properties of null (reading 'init') at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.radar2/myNetworks.js:969:82) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7) radar2.1 2024-11-26 15:20:52.091 error uncaught exception: Cannot read properties of null (reading 'init') radar2.1 2024-11-26 15:20:52.091 warn Uncaught Exception: Cannot read properties of null (reading 'init')Tatsächlich kann ich mit den Infos auch nichts anfangen.
iob diag
wäre ein Anfang.
Und dann noch eine Erklärung was Du meinst mit : der Server hat kein Bluetooth. -
Tatsächlich kann ich mit den Infos auch nichts anfangen.
iob diag
wäre ein Anfang.
Und dann noch eine Erklärung was Du meinst mit : der Server hat kein Bluetooth.@haselchen wegen der Fehlermeldung "26.11.2024 15:20:54.991 Warnung: Weder hcitool noch Noble sind zum Scannen von Bluetooth verfügbar!" meinte ich, das dies kein Problem sein kann, da im Server auch kein Bluetooth vorhanden ist.
iob-Diagnose kannte ich noch nicht. Ich hänge das Ergebniss einfach mal hier dran.....
Static hostname: iobrokerx Icon name: computer-container Chassis: container Virtualization: lxc Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.8.12-2-pve Architecture: x86-64 Installation: lxc Kernel: x86_64 Userland: 64 bit Timezone: Europe/Berlin (CET, +0100) User-ID: 0 Display-Server: false Boot Target: graphical.target Pending OS-Updates: 94 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v20.18.0 /usr/bin/node v20.18.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.3 Recommended versions are nodejs nodeJS installation is correct MEMORY: total used free shared buff/cache available Mem: 8.6G 3.0G 4.7G 0.0K 916M 5.6G Swap: 1.5G 0B 1.5G Total: 10G 3.0G 6.2G Active iob-Instances: 0 Please note that this option may be disabled in the future, so please change your setup accordingly now. ioBroker Core: js-controller -
@haselchen wegen der Fehlermeldung "26.11.2024 15:20:54.991 Warnung: Weder hcitool noch Noble sind zum Scannen von Bluetooth verfügbar!" meinte ich, das dies kein Problem sein kann, da im Server auch kein Bluetooth vorhanden ist.
iob-Diagnose kannte ich noch nicht. Ich hänge das Ergebniss einfach mal hier dran.....
Static hostname: iobrokerx Icon name: computer-container Chassis: container Virtualization: lxc Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.8.12-2-pve Architecture: x86-64 Installation: lxc Kernel: x86_64 Userland: 64 bit Timezone: Europe/Berlin (CET, +0100) User-ID: 0 Display-Server: false Boot Target: graphical.target Pending OS-Updates: 94 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v20.18.0 /usr/bin/node v20.18.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.3 Recommended versions are nodejs nodeJS installation is correct MEMORY: total used free shared buff/cache available Mem: 8.6G 3.0G 4.7G 0.0K 916M 5.6G Swap: 1.5G 0B 1.5G Total: 10G 3.0G 6.2G Active iob-Instances: 0 Please note that this option may be disabled in the future, so please change your setup accordingly now. ioBroker Core: js-controllerBring das Ding auf Stand, leg dir einen Standard-User an und betreib die Kiste ohne graphical.target.
Pending OS-Updates: 94
User-ID: 0
Boot Target: graphical.target -
Ich habe ein Problem mit dem radar2 Adapter. Seit zwei Wochen werden keine BT-Geräte mehr scannt. WLAN funktioniert weiterhin. Das kommt ungefähr mit der Umstellung auf trixie hin. Adapter läuft auf einem Pi 4 als Slave. Die Befehle von der github-seite vom Radar2-Adapter habe ich eingegeben
debug log nach Neustart:
2025-11-26 13:32:37.834 - info: host.raspberrypi stopInstance system.adapter.radar2.1 send kill signal 2025-11-26 13:32:38.112 - info: radar2.1 (50487) terminating 2025-11-26 13:32:38.556 - info: host.raspberrypi instance system.adapter.radar2.1 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2025-11-26 13:32:42.332 - info: host.raspberrypi instance system.adapter.radar2.1 in version "2.4.0" started with pid 51101 2025-11-26 13:32:44.275 - debug: radar2.1 (51101) Redis Objects: Use Redis connection: 192.168.1.19:9001 2025-11-26 13:32:44.340 - debug: radar2.1 (51101) Objects client ready ... initialize now 2025-11-26 13:32:44.347 - debug: radar2.1 (51101) Objects create System PubSub Client 2025-11-26 13:32:44.349 - debug: radar2.1 (51101) Objects create User PubSub Client 2025-11-26 13:32:44.476 - debug: radar2.1 (51101) Objects client initialize lua scripts 2025-11-26 13:32:44.488 - debug: radar2.1 (51101) Objects connected to redis: 192.168.1.19:9001 2025-11-26 13:32:44.551 - debug: radar2.1 (51101) Redis States: Use Redis connection: 192.168.1.19:9000 2025-11-26 13:32:44.634 - debug: radar2.1 (51101) States create System PubSub Client 2025-11-26 13:32:44.636 - debug: radar2.1 (51101) States create User PubSub Client 2025-11-26 13:32:44.732 - debug: radar2.1 (51101) States connected to redis: 192.168.1.19:9000 2025-11-26 13:32:45.094 - info: radar2.1 (51101) starting. Version 2.4.0 in /opt/iobroker/node_modules/iobroker.radar2, node: v22.21.0, js-controller: 7.0.7 2025-11-26 13:32:45.151 - debug: radar2.1 (51101) Schedule restart: 10 5 */2 * * 2025-11-26 13:32:45.347 - debug: radar2.1 (51101) debug: radar2 received 96 objects and 95 states, with config devices,scandelay,arp_scan_cmd,btadapterid,printerdelay,removeEnd,knownIPs,knownBTs,external,delayaway,delayuwz,numuwz,longuwz,debug,hcionly,l2ponly,suBT,suIP,lang,latitude,longitude,adapterConf,loglevel 2025-11-26 13:32:45.349 - info: radar2.1 (51101) radar2 initialization started... 2025-11-26 13:32:45.359 - info: radar2.1 (51101) Will use l2Ping for BT scans. 2025-11-26 13:32:45.383 - debug: radar2.1 (51101) debug: started #1 hcitool dev 2025-11-26 13:32:45.401 - info: radar2.1 (51101) Will run hcitool-mode and not noble on device []! 2025-11-26 13:32:45.408 - debug: radar2.1 (51101) debug: started #2 hciconfig hci0 down 2025-11-26 13:32:45.520 - debug: radar2.1 (51101) debug: started #3 hciconfig hci0 up 2025-11-26 13:32:45.632 - info: radar2.1 (51101) net-ping not available! Will try to use normal ping! 2025-11-26 13:32:45.646 - debug: radar2.1 (51101) debug: radar2 set to flag items away if they are not seen for 3 minutes 2025-11-26 13:32:45.647 - debug: radar2.1 (51101) debug: use known BT list: [] 2025-11-26 13:32:45.648 - debug: radar2.1 (51101) debug: use known IP list: [] 2025-11-26 13:32:45.648 - debug: radar2.1 (51101) debug: radar2 set to scan every 16 seconds and printers every 100 minutes. 2025-11-26 13:32:45.648 - debug: radar2.1 (51101) debug: Will 'save' unknown BT devices and will 'not save' unknown IP devices! 2025-11-26 13:32:45.657 - info: radar2.1 (51101) Connected with '0.0.0.0' for DHCP Scan -
Ich habe ein Problem mit dem radar2 Adapter. Seit zwei Wochen werden keine BT-Geräte mehr scannt. WLAN funktioniert weiterhin. Das kommt ungefähr mit der Umstellung auf trixie hin. Adapter läuft auf einem Pi 4 als Slave. Die Befehle von der github-seite vom Radar2-Adapter habe ich eingegeben
debug log nach Neustart:
2025-11-26 13:32:37.834 - info: host.raspberrypi stopInstance system.adapter.radar2.1 send kill signal 2025-11-26 13:32:38.112 - info: radar2.1 (50487) terminating 2025-11-26 13:32:38.556 - info: host.raspberrypi instance system.adapter.radar2.1 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2025-11-26 13:32:42.332 - info: host.raspberrypi instance system.adapter.radar2.1 in version "2.4.0" started with pid 51101 2025-11-26 13:32:44.275 - debug: radar2.1 (51101) Redis Objects: Use Redis connection: 192.168.1.19:9001 2025-11-26 13:32:44.340 - debug: radar2.1 (51101) Objects client ready ... initialize now 2025-11-26 13:32:44.347 - debug: radar2.1 (51101) Objects create System PubSub Client 2025-11-26 13:32:44.349 - debug: radar2.1 (51101) Objects create User PubSub Client 2025-11-26 13:32:44.476 - debug: radar2.1 (51101) Objects client initialize lua scripts 2025-11-26 13:32:44.488 - debug: radar2.1 (51101) Objects connected to redis: 192.168.1.19:9001 2025-11-26 13:32:44.551 - debug: radar2.1 (51101) Redis States: Use Redis connection: 192.168.1.19:9000 2025-11-26 13:32:44.634 - debug: radar2.1 (51101) States create System PubSub Client 2025-11-26 13:32:44.636 - debug: radar2.1 (51101) States create User PubSub Client 2025-11-26 13:32:44.732 - debug: radar2.1 (51101) States connected to redis: 192.168.1.19:9000 2025-11-26 13:32:45.094 - info: radar2.1 (51101) starting. Version 2.4.0 in /opt/iobroker/node_modules/iobroker.radar2, node: v22.21.0, js-controller: 7.0.7 2025-11-26 13:32:45.151 - debug: radar2.1 (51101) Schedule restart: 10 5 */2 * * 2025-11-26 13:32:45.347 - debug: radar2.1 (51101) debug: radar2 received 96 objects and 95 states, with config devices,scandelay,arp_scan_cmd,btadapterid,printerdelay,removeEnd,knownIPs,knownBTs,external,delayaway,delayuwz,numuwz,longuwz,debug,hcionly,l2ponly,suBT,suIP,lang,latitude,longitude,adapterConf,loglevel 2025-11-26 13:32:45.349 - info: radar2.1 (51101) radar2 initialization started... 2025-11-26 13:32:45.359 - info: radar2.1 (51101) Will use l2Ping for BT scans. 2025-11-26 13:32:45.383 - debug: radar2.1 (51101) debug: started #1 hcitool dev 2025-11-26 13:32:45.401 - info: radar2.1 (51101) Will run hcitool-mode and not noble on device []! 2025-11-26 13:32:45.408 - debug: radar2.1 (51101) debug: started #2 hciconfig hci0 down 2025-11-26 13:32:45.520 - debug: radar2.1 (51101) debug: started #3 hciconfig hci0 up 2025-11-26 13:32:45.632 - info: radar2.1 (51101) net-ping not available! Will try to use normal ping! 2025-11-26 13:32:45.646 - debug: radar2.1 (51101) debug: radar2 set to flag items away if they are not seen for 3 minutes 2025-11-26 13:32:45.647 - debug: radar2.1 (51101) debug: use known BT list: [] 2025-11-26 13:32:45.648 - debug: radar2.1 (51101) debug: use known IP list: [] 2025-11-26 13:32:45.648 - debug: radar2.1 (51101) debug: radar2 set to scan every 16 seconds and printers every 100 minutes. 2025-11-26 13:32:45.648 - debug: radar2.1 (51101) debug: Will 'save' unknown BT devices and will 'not save' unknown IP devices! 2025-11-26 13:32:45.657 - info: radar2.1 (51101) Connected with '0.0.0.0' for DHCP ScanIch habe die Lösung des Problems gefunden. Am radar2-Adapter hat es nicht gelegen. Scheinbar wurde beim Upgrade von debian 12 auf 13 Bluetooth blockiert bzw. ausgeschaltet.
Aufbluetoothctl showfolgte:
Powered: no PowerState: off-blockedDann die Eingabe von:
sudo rfkill unblock bluetoothsudo bluetoothctl power onWar das Ergebnis von
bluetoothctl showPowered: yes PowerState: on