Skip to main content

Bluetooth in Home Assistant (HA)

Bluetooth still maintains its presence as a protocol for smart home devices due to its relatively long history and simplicity. An undeniable advantage is its ease of use, for example, to control a light bulb with a phone, you don't need any hub or access point.

In addition, it has other advantages:

  • Low power consumption: Bluetooth devices, especially those with Bluetooth Low Energy (BLE) technology, usually have lower power consumption compared to WiFi and Zigbee. This is advantageous for battery-powered devices.
  • Less signal interference: Since Bluetooth usually operates on different frequencies than WiFi, there can be less signal interference in homes with many wireless devices.
  • Real-time localization and tracking: Bluetooth devices are often used for localization services and real-time tracking inside homes, which is beneficial for systems like smart locks, pet tracking, or automated lighting control.

Comparison of WiFi vs. Zigbee vs. Bluetooth

You might be wondering why use Bluetooth when we already have good WiFi coverage at home and the possibility of using Zigbee.

Although these technologies are similar in many ways, there are also significant differences.

FeatureWiFiZigbeeBluetooth
Frequency2.4 GHz and 5 GHz2.4 GHz2.4 GHz
Signal rangeHigherLowerMedium
Data transfer rateHigherMuch lowerLower
Power consumptionHigherMuch lowerLow (especially BLE)
CompatibilityWideMore limited, requires compatible hubWide, integrated in most smart devices
SecurityStrong, mostly WPA2 / WPA3Strong, AES-128 encryptionStrong, with encryption and authentication
Mesh networkingLimited or noneNatural support for meshLimited or none
Use in smart homeIdeal for high-speed devices like camerasIdeal for low-speed sensors and control devicesIdeal for localization, tracking devices, and door locks

Generally, Zigbee and Bluetooth devices are very good for various sensors and buttons, especially those on batteries. For permanently powered devices, the advantages decrease, and it is good to consider WiFi as well. These are often still significantly cheaper.

Hardware

If your computer does not already have an integrated Bluetooth receiver - which is the case, for example, with Raspberry Pi - you can add Bluetooth using a USB adapter. Just plug it in, and the system should recognize and activate the adapter automatically.

If your computer is in a case or near something that could interfere with the Bluetooth signal - typically WiFi - I recommend placing the adapter on a USB extension cable.

USB Bluetooth Adapters

Vention USB 3.0 Male to Female Extension Cable 0.5m Black

  • USB
Currently not available for purchase in this country

Bluetooth Proxy Solution

An alternative and often better solution than a USB adapter is using Bluetooth Proxy, which allows you to extend Bluetooth coverage throughout your home using ESP32 devices with ESPHome.

Advantages of Bluetooth Proxy:

  • Extended range - place the proxy exactly where you need Bluetooth coverage
  • Lower interference - separation from WiFi router and Home Assistant server
  • Easy addition - just plug in an ESP32 device and it will be added automatically
  • Multiple scanners - you can have any number of proxy points around the house

For a Bluetooth Proxy, reach for a simple ESP32 board. It's the cheapest and most reliable route - the board does nothing else and has all its memory to itself.

Combined devices need headroom

Devices that do proxying "on the side" of another job - the Sonoff NSPanel for instance - look economical, but the ESP32 inside has to feed both. On the NSPanel this cost me a 42-hour outage; the breakdown is in When the NSPanel won't boot after an update.

tip

For more information about setting up Bluetooth Proxy, see my article Bluetooth Proxy (ESPHome).

Did this guide help you?

I write these guides in my spare time and keep them up to date. If one saved you time, you can chip in.

One-off, by card or Apple Pay. You can change the amount on the next page.

Would rather not send money? Buy the parts through my product links. The price is the same for you and it helps too.

Comments