Comments (12)
Mach mal bitte als root:
/opt/loxberry/system/daemons/plugins/BLE-Scanner status
/usr/bin/php -f /opt/loxberry/webfrontend/htmlauth/plugins/ble_scanner/bin/daemon.php &
und
cat /etc/rsyslog.d/99-BLE-Scanner.conf
sowie
systemctl status hciuart.service
+
/bin/hciconfig hci0
und maile mir die Ausgaben.
Oder poste sie hier. (am besten Bluetooth MAC ändern wegen der Sicherheit)
Danach entscheide ich, wie wir weiter kommen. 😃
Viele Grüße
from loxberry-plugin-ble-scanner.
Das selbe hier bei mir mit Pi 3+ und Loxberry 2.0.0.4
https://www.loxforum.com/forum/projektforen/loxberry/plugins/68266-loxberry-ble-scanner/page8
from loxberry-plugin-ble-scanner.
Folgendes ist bei mir raus gekommen:
[info] BLE-Scanner PHP-DAEMON: Got STATUS request.
[info] BLE-Scanner PHP-DAEMON: Not running.
Server listening on port 12345
:msg,contains,"advertising data length corrected" ~
:msg,contains,"bt_err_ratelimited:" ~
● hciuart.service - Configure Bluetooth Modems connected by UART
Loaded: loaded (/lib/systemd/system/hciuart.service; enabled; vendor preset:
Active: failed (Result: exit-code) since Thu 2019-12-19 20:57:18 CET; 5min ag
Process: 1053 ExecStart=/usr/bin/btuart (code=exited, status=1/FAILURE)
Dec 19 20:57:08 loxberry systemd[1]: Starting Configure Bluetooth Modems connect
Dec 19 20:57:18 loxberry btuart[1053]: Initialization timed out.
Dec 19 20:57:18 loxberry btuart[1053]: bcm43xx_init
Dec 19 20:57:18 loxberry systemd[1]: hciuart.service: Control process exited, co
Dec 19 20:57:18 loxberry systemd[1]: hciuart.service: Failed with result 'exit-c
Dec 19 20:57:18 loxberry systemd[1]: Failed to start Configure Bluetooth Modems
Can't get device info: No such device
LOG vom Plugin
19.12.2019 20:56:45 TASK STARTED
BASH-DAEMON started
INFO: LoxBerry Version 2.0.0.4 ( is_raspberry.cfg )
INFO: BLE-Scanner Version 2019.5.17
INFO: Loglevel: 3
CRITICAL: [19-Dec-2019 20:57:18 CET] Error when starting Bluetooth (hciuart.service) 3rd time. Giving up...
19.12.2019 21:00:40 TASK STARTED
BASH-DAEMON started
INFO: LoxBerry Version 2.0.0.4 ( is_raspberry.cfg )
INFO: BLE-Scanner Version 2019.5.17
INFO: Loglevel: 3
[19-Dec-2019 21:08:26 Europe/Berlin] [DAEMON-CORE:] ERROR: PHP-DAEMON: Error starting bluetooth! (hci0) Reason:Can't get device info: No such device
[19-Dec-2019 21:08:26 Europe/Berlin] [CID:] ERROR: PHP: Error starting bluetooth (hci0) Can't get device info: No such device
from loxberry-plugin-ble-scanner.
Hallo @Woersty ,
da war @Dizzy1985 schneller als ich. Zur Vereinfachung:
Meine Meldungen sind die Gleichen.
from loxberry-plugin-ble-scanner.
"No such device"
Scheinbar heißt hci0 nun plötzlich nicht mehr hci0
Wie heißt es denn?
Mach(t) mal hcitool dev
Grüße
from loxberry-plugin-ble-scanner.
root@loxberry:/opt/loxberry# hcitool dev
Devices:
Hilft dir das? Die Ausgabe ist leer...
from loxberry-plugin-ble-scanner.
Hab noch ein wenig rumgestöbert.... vielleicht hilft es weiter
root@loxberry:/opt/loxberry# hcitool dev
Devices:
root@loxberry:/opt/loxberry# sudo service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
Active: active (running) since Sat 2019-12-21 12:59:21 CET; 1min 54s ago
Docs: man:bluetoothd(8)
Main PID: 473 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 2200)
Memory: 2.0M
CGroup: /system.slice/bluetooth.service
└─473 /usr/lib/bluetooth/bluetoothd
Dec 21 12:59:20 loxberry systemd[1]: Starting Bluetooth service...
Dec 21 12:59:21 loxberry bluetoothd[473]: Bluetooth daemon 5.50
Dec 21 12:59:21 loxberry systemd[1]: Started Bluetooth service.
Dec 21 12:59:21 loxberry bluetoothd[473]: Starting SDP server
Dec 21 12:59:21 loxberry bluetoothd[473]: Bluetooth management interface 1.14 in
Dec 21 12:59:21 loxberry bluetoothd[473]: Sap driver initialization failed.
Dec 21 12:59:21 loxberry bluetoothd[473]: sap-server: Operation not permitted (1
Dec 21 12:59:21 loxberry bluetoothd[473]: Failed to set privacy: Rejected (0x0b)
lines 1-19/19 (END)
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2019-12-21 12:59:21 CET; 1min 54s ago
Docs: man:bluetoothd(8)
Main PID: 473 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 2200)
Memory: 2.0M
CGroup: /system.slice/bluetooth.service
└─473 /usr/lib/bluetooth/bluetoothd
Dec 21 12:59:20 loxberry systemd[1]: Starting Bluetooth service...
Dec 21 12:59:21 loxberry bluetoothd[473]: Bluetooth daemon 5.50
Dec 21 12:59:21 loxberry systemd[1]: Started Bluetooth service.
Dec 21 12:59:21 loxberry bluetoothd[473]: Starting SDP server
Dec 21 12:59:21 loxberry bluetoothd[473]: Bluetooth management interface 1.14 initialized
Dec 21 12:59:21 loxberry bluetoothd[473]: Sap driver initialization failed.
Dec 21 12:59:21 loxberry bluetoothd[473]: sap-server: Operation not permitted (1)
Dec 21 12:59:21 loxberry bluetoothd[473]: Failed to set privacy: Rejected (0x0b)
~
~
~
~
from loxberry-plugin-ble-scanner.
Sagt mir alles nix 😞
Aber ohne Bluetooth device ist schlecht Bluetooth machen, oder?
Kannst ja mal im Forum fragen, ob jemand eine Idee hat.
from loxberry-plugin-ble-scanner.
Ich wollte heute auch freudig meine Anwesenheitssteuerung auf BLE umstellen um dann festzustellen das mit meinem Pi4 hier ja wohl nix funktioniert. Gibt es ein Jahr später Neuigkeiten bei dem Thema? Ich habe mir sogar den empfohlenen Logilink Bluetooth Adapter geholt.
from loxberry-plugin-ble-scanner.
Ich habe keine Neuigkeiten. Hat es denn inzwischen jemand gelöst bekommen?
from loxberry-plugin-ble-scanner.
Ja, ich habe einen raspberry 3b gekauft. Die Reichweite ist sowieso schrecklich, daher läuft der jetzt im Flur.
from loxberry-plugin-ble-scanner.
I have a RPi 4 available now. Maybe I find a solution now.
But for the moment I have no time to look into it.
I also doesn't use it anymore because the range/coverage is too bad an it's too unreliable.
from loxberry-plugin-ble-scanner.
Related Issues (20)
- Error reading tags! Reason:UnboundLocalError: local variable 'pkt' referenced before assignment HOT 4
- Error reading tags! Reason:struct.error: unpack requires a string argument of length 3 HOT 3
- PHP Notice: Array to string conversion in /opt/loxberry/webfrontend/html/plugins/ble_scanner/index.php on line 214
- Python: Module mysql not installed HOT 1
- Datenbankfehler? HOT 25
- Tags werden nicht korrekt an MS gesendet
- Log Statusbuttontexte fehlen
- First call after reboot doesn't return tags
- Raise error if no MS configured
- Check if Miniserver has been deleted but is still in BLE config
- Multilanguage for error messages
- Abbruch bei Installation HOT 1
- Can not sent Data to Miniserver! HOT 2
- "Fehler0003: Daemon Prozess läuft (noch) nicht" HOT 13
- RPi 2: Fehler0003: Daemon Prozess läuft (noch) nicht HOT 16
- Scanning Bluetooth-Tags HOT 3
- Error Sending TAG-Data to Loxone HOT 3
- Spamming of Logfiles HOT 3
- Error0003: Daemon process is not (yet) running HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loxberry-plugin-ble-scanner.