Bluetooth settings for RPi3 in hass.io

I’m having troubles with BLE sensors in hass.io. The BT chip in RPi3 is crashing often and when I get data, it is spiky. I’m not sure are these issues related, but searching around I’ve learned that in newest kernel updates, BT has become very unstable. For data spikeness, one suggested workaround has been to decrease UART rate in RPi3 running hass.io.

But the question is that where to set that?

OK - the problem seems to be solved (I’ve got flawless data - no interruptions, no spikes - for nearly 24 hours now) with these steps:

  • Buying the cheapest USB BT dongle
  • I was lucky to notice that it worked out of the box
  • Disabled RPi3 BT (SD card to Win10 machine, add ‘dtoverlay=pi3-disable-bt’ to the end of ‘/boot/config.txt’)
  • Now the dongle is the default BT and everything works as expected (so far)

I think the problem you were seeing is because the BT chip and WiFi chips use the same antenna. The other possible option would have been to use a wired network connection and then disable wifi.

Hmm, not sure, since wifi and BT worked nicely together until ~early December. I started looking around the internet and it seems that newest linux kernels include some bug or so causing this issue.

1 Like