- Published on
How to Connect Bluetooth Devices to Home Assistant with Bluetooth Proxy
- Authors
- Name
- Amrut Prabhu
- @amrutprabhu42
In this article, we will explore how we can create a Bluetooth proxy with ESP32 to connect Bluetooth devices to Home Assistant
Table of Contents
Requirements
- Home Assistant OS setup and running.
You can check this link to see how you can install it for the first time. - ESP32 Dev Board
Links to buy this:
Creating a Bluetooth Proxy for Home Assistant
ESPHome provides an easy mechanism to create a Bluetooth proxy using an ESP32.
To create a Bluetooth proxy follow these steps.
Step 1: Connect your ESP32 dev board to your computer using USB.
Step 2: Open the URL https://esphome.io/projects/index.html on a Chrome or Edge Browser.
Step 3: Select the Bluetooth proxy option.
Step 4: Select Generic ESP32 and then click on Connect.
Step 5: Now select the USB that you connected the ESP32 with.
Step 6: Click on Install Bluetooth Proxy
Step 7: After installation, you will be asked to provide Wifi credentials. Provide your wifi name and password.
Once the connection is successful, you can now proceed with connecting with Home Assistant.
Connecting Bluetooth Proxy to Home Assistant
To connect the Bluetooth proxy to Home Assistant, follow these steps.
Step 1: Go to Home Assistant Settings on the left panel
Step 2: Click on Devices & Services.
Step 3: Click on Add Integration from the bottom right-hand corner.
Step 4: Search for ESPhome
Step 5: Provide the IP address of the ESP32 device that is connected to your wifi network and click Connect.
You can find the IP address of the ESP32 device on your internet router settings page. You should see the device with a name like e.g “Bluetooth-proxy-”.
After clicking connect, you should now see the Bluetooth Proxy on the ESPHome Integration page.
If any Bluetooth devices are compatible with Home Assistant, they will automatically be visible on the Integrations page of Home Assistant.
If you are interested in exploring more of such easy to follow step by step guides about Home Assistant, then here are a few suggestions