Installation
Prerequisites
Section titled “Prerequisites”- ESPHome 2024.1.0 or later
- ESP32 or nRF52840 board
- Home Assistant with BTHome integration (for receiving data)
Installation Methods
Section titled “Installation Methods”Add the component directly from GitHub in your ESPHome configuration:
external_components: - source: type: git url: https://github.com/dz0ny/esphome-bthome ref: main components: [bthome]Clone the repository and reference it locally:
git clone https://github.com/dz0ny/esphome-bthome.gitThen in your ESPHome configuration:
external_components: - source: type: local path: /path/to/esphome-bthome/components components: [bthome]Verify Installation
Section titled “Verify Installation”After adding the external component, ESPHome will automatically download and compile the BTHome component when you build your configuration.
To verify the installation is working:
- Create a minimal configuration (see Quick Start)
- Compile the configuration:
esphome compile your_config.yaml - Check for any errors in the output
Home Assistant Setup
Section titled “Home Assistant Setup”To receive BTHome broadcasts in Home Assistant:
- Go to Settings → Devices & Services
- Click Add Integration
- Search for BTHome
- Follow the setup wizard
Home Assistant will automatically discover BTHome devices broadcasting nearby.
Next Steps
Section titled “Next Steps”- Quick Start - Create your first BTHome sensor
- Basic Setup - Learn about configuration options