---
title: "BLE remote in Home Assistant through a Bluetooth proxy"
description: "A Shelly BLU remote with four buttons, whose presses Home Assistant hears through a Bluetooth proxy as events. We start by watching the events, then add an automation."
canonical: "https://realhomeautomations.com/en/projects/ble-remote-bluetooth-proxy-home-assistant/"
language: en-US
updated: 2026-11-23T16:24:03+00:00
---

# BLE remote in Home Assistant through a Bluetooth proxy

A Shelly BLU remote with four buttons, whose presses Home Assistant hears through a Bluetooth proxy as events. We start by watching the events, then add an automation.

> Canonical HTML page: https://realhomeautomations.com/en/projects/ble-remote-bluetooth-proxy-home-assistant/

- **Difficulty:** Intermediate
- **Build time:** 30–60 minutes
- **Reading time:** 4 minutes

## Tools required

- Shelly BLU RC Button 4 (BLE remote with four buttons)
- Bluetooth gateway or proxy (Shelly Plus/Pro/Gen3/Gen4, Shelly BLU Gateway or an ESP32 with ESPHome)
- Home Assistant with BTHome


## What readers will learn

- Connect a BLE device through a Bluetooth proxy
- See and understand the button events
- Tie a button to an action


## Skill requirements

- Add an integration to Home Assistant
- Build an automation with a trigger, a condition and an action

## Project kit

- [Bluetooth remote control Shelly BLU RC Button 4, with magnetic holder included](https://realhomeautomations.com/en/product/bluetooth-remote-control-shelly-blu-rc-button-4-with-magnetic-holder-included/index.md)

A small remote with four buttons is handy on the bedside table or on a desk. It doesn't need a manufacturer's hub and isn't connected by a cable. But Home Assistant has to hear the buttons, and the remote talks over Bluetooth with a short range. Here we connect it through a Bluetooth proxy and watch what events it sends.

 ## What we will get

 A BLE remote whose buttons Home Assistant sees as events: a single, double, triple and long press for each of the four buttons. We tie automations to them, for example a lamp, a scene or a blind. The first goal is only to see the events; we add an automation afterwards.

 Limit: the buttons don't change over time and carry no state. The remote sends messages and doesn't know whether the lamp is on.

 ## What we need

- [Shelly BLU RC Button 4](https://realhomeautomations.com/bg/produkt/bluetooth-remote-control-shelly-blu-rc-button-4-with-magnetic-holder-included/): one remote with four buttons and a magnetic mount.
- Home Assistant with the BTHome integration, which recognises Shelly BLU devices. The Shelly integration doesn't support Shelly BLU devices except the BLU TRV.
- A Bluetooth proxy within range of the remote: a second-generation or newer Shelly device with Bluetooth, [Shelly BLU Gateway](https://realhomeautomations.com/bg/produkt/smart-bluetooth-hub-shelly-blu-gateway/), or an ESP32 with the ESPHome Bluetooth proxy software. The Home Assistant server itself can also have a Bluetooth adapter.

 You need a Bluetooth gateway (a Shelly Plus, Pro, Gen3 or Gen4 device, or a Shelly BLU Gateway) or Home Assistant with Bluetooth.

 Setup time: about 30 minutes, plus a few days of observation to see whether the signal reaches from where the remote will sit.

 ## How it works

 The remote broadcasts short "advertisements" over Bluetooth Low Energy at every press. The proxy listens to them and forwards them to Home Assistant over the network. This way one proxy in the hallway covers buttons that are several rooms away from the server.

 The BTHome protocol describes how to read such an advertisement. Home Assistant recognises it and creates an event entity for each button. For Shelly devices, the Home Assistant documentation specifies that they can forward advertisements but don't carry active GATT connections. For buttons this doesn't matter, because they work with advertisements.

 ## How it is at our place

 As of 22.11.2026, we found no Shelly BLU remote or Bluetooth proxy in Marto's Home Assistant. That is why we don't describe a home setup. For buttons, Marto has other devices: wireless switches and IKEA BILRESA.

 ## Steps

- We provide a Bluetooth proxy. With a Shelly device, we open the Shelly integration options and turn on the Bluetooth scanner (active or passive listening). With an ESP32, we install the ESPHome Bluetooth proxy.
- In Home Assistant we check in Settings → Devices & services → Bluetooth that the proxy shows up as an adapter.
- We put the remote into pairing mode following the Shelly guide. We expect a "BTHome" discovery to appear in Home Assistant. We add it.
- If the remote has encryption turned on, Home Assistant will ask for a key (bindkey) of 32 hexadecimal characters. We look for it in the device settings following the Shelly guide.
- We press each button and watch in Developer tools → States how the event entities change. We note which event types arrive.
- We build an automation following the example, for instance the first button toggles a lamp.

 ```
# Example: button 1 toggles a lamp. The entity IDs are examples.
# Find your exact ID in Settings -> Devices & services -> BTHome.
alias: BLE remote - button 1 toggles a lamp
triggers:
  - trigger: state
    entity_id: event.shelly_blu_rc_button_4_button_1
conditions:
  - condition: template
    value_template: "{{ trigger.to_state.attributes.event_type == 'press' }}"
actions:
  - action: light.toggle
    target:
      entity_id: light.bedroom_lamp
mode: single
```

 ## Checking the result

- Normal case: a single press toggles the lamp in about a second. In the event entity's state we see the event type.
- Edge case: a double press sends "double", not two singles. If the single arrives as well, we add a type check to the condition.
- Missing data: we remove or switch off the proxy. The buttons stop being heard, and the lamps keep working from their ordinary switch.

 ## If it doesn't work

- It isn't discovered → the remote isn't in pairing mode or the proxy is far away → we move closer and repeat the pairing.
- Events are delayed or lost → weak Bluetooth signal → we put the proxy closer or add another one.
- It asks for a bindkey → the device has encryption → we take the key from the manufacturer's settings.

 ## Limitations

- Bluetooth has a short range and walls weaken it. A proxy in the next room may not reach.
- Without Home Assistant and the proxy the buttons do nothing. The ordinary light switches remain.
- We switch the control off by deleting the automation or removing the remote from Home Assistant.

 ## Sources and verification status

 Checked against the Home Assistant, Shelly and BTHome documentation, 22.11.2026, and a read-only reading of Marto's Home Assistant (see ha-evidence).

- [Home Assistant: BTHome](https://www.home-assistant.io/integrations/bthome/)
- [Home Assistant: Bluetooth](https://www.home-assistant.io/integrations/bluetooth/)
- [Home Assistant: on Bluetooth and the Bluetooth proxy](https://www.home-assistant.io/connectivity/bluetooth/)
- [Home Assistant: Shelly (Bluetooth scanner and BLU devices)](https://www.home-assistant.io/integrations/shelly/)
- [ESPHome: Bluetooth Proxy](https://esphome.io/components/bluetooth_proxy.html)
- [BTHome: format of BLE advertisements](https://bthome.io/)