Last Sunday my Raspberry Pi4 updated its bluetooth component “pi-bluetooth” to version 0.1.17 (previous was 0.1.15).
Update broke something, because my Influxdb/Grafana does not show anymore datapoints. I can get data from Ruuvitags if I run ‘bluetoothctl’ & ‘scan on’ with tmux, but that is not a very solid solution
What to do, any suggestions?
I have tried so far:
rebooting
killall hcitool; hciconfig hci0 reset && hciconfig hci0 up
removed and reinstalled pi-bluetooth
That system has been running RuuviCollector Java application over one year now successfully. System is fully patched once in a week, and rebooted.
Last Sunday it stopped collecting, and at the same time bluetooth package was updated.
Most likely cause is that hcitool and/or hcidump was updated, which means the previously set capabilities are lost. From the Installation section in the readme, try running:
and then restarting the collector. If that doesn’t help, try running hcitool lescan --duplicates --passive from the commandline and check if you can see BLE advertisements or any errors.
I ran setcap commands with sudo & reboot, but with no luck. Then I entered as a root user, and tried setcaps once again & collector service reboot, and this time with success. Now the system is getting and outputting measurement data