4 min read

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.

Level
Intermediate
Active time
30–60 minutes
Home Assistant required
Yes

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: 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, 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

  1. 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.
  2. In Home Assistant we check in Settings → Devices & services → Bluetooth that the proxy shows up as an adapter.
  3. We put the remote into pairing mode following the Shelly guide. We expect a “BTHome” discovery to appear in Home Assistant. We add it.
  4. 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.
  5. We press each button and watch in Developer tools → States how the event entities change. We note which event types arrive.
  6. 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).

Need a hand?

We can set up and install everything in this project. In some regions we install it ourselves — ask us.

Contact us

Related projects

Bluetooth remote control Shelly BLU RC Button 4, with magnetic holder included

19,90 €
View parts

What you need

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

Added to cart

Real Home Automations

Sign in to your account

With a code sent to your email

Continue with Google
or

By continuing, you accept the Terms and Conditions and the Privacy Policy.