Skip to content

πŸ›°οΈ Passive BLE advertisement passthrough for Home Assistant β€” capture raw Bluetooth broadcasts from all Bluetooth Proxy devices and forward them to your custom Add-on for analysis and control.

License

Notifications You must be signed in to change notification settings

iHost-Open-Source-Project/ble_passthrough

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BLE Passthrough

πŸ›°οΈ BLE Raw Advertisement Events for Home Assistant

πŸ”Ž Capture all raw BLE advertisements (ADV packets) inside Home Assistant β€” from all Bluetooth adapters and proxies β€” and forward them as real-time HA events.

πŸ“˜ Overview

This custom integration registers a passive BLE listener via BluetoothCallbackMatcher(connectable=False) to tap into all incoming BLE advertisement packets, regardless of their source or whether they are claimed by a Home Assistant integration.

How to Install

  1. Clone or copy this repository into your Home Assistant configuration under:
<config>/custom_components/ble_passthrough/
  1. Add the following to your configuration.yaml file:
ble_passthrough:
  1. Restart Home Assistant.

Once restarted, the integration will begin listening for BLE advertisements automatically.

πŸ“Œ Note: This integration does not use UI configuration (config_flow: false), so it must be activated via YAML.

βœ… Sources include:

  • πŸ–₯️ Local BlueZ-based adapters
  • πŸ“Ά ESPHome Bluetooth Proxy devices
  • 🌐 Remote Bluetooth Proxies via TCP/Socket
  • 🧱 Any bluetooth_proxy-enabled adapter supported by HA

πŸ“‘ Each raw advertisement is emitted as:

hass.bus.async_fire(
    "ble_raw_advertisement",
    {
        "address": "AA:BB:CC:DD:EE:FF",
        "rssi": -67,
        "data": "0201061AFF99040512AABBCCDDEE",
        "source": "esp32-proxy-1234"
    }
)

πŸ“š License

MIT License

About

πŸ›°οΈ Passive BLE advertisement passthrough for Home Assistant β€” capture raw Bluetooth broadcasts from all Bluetooth Proxy devices and forward them to your custom Add-on for analysis and control.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages