Getting a Shelly BLU Wall Switch 4 to work

Hi you all, I’m at a loss how to get my Shelly BLU Wall Switch 4 to work with Home Assistant via Bluetooth. I then would like to trigger automations based on buttons pressed.

I’m able to add them to HA, battery and packets show up, but no events are fired. They are showing up as being pressed in the Shelly debug app, though. It seems to me that the button is not being recognized correctly and BT events are not mapped to HA events:


Working with a HA yellow and Raspi-built-in Bluetooth if that makes a difference. Anyone else made those things work?

Use device automation trigger

Unfortunately, there’s no device events in there other than entity updates:

Hi, Sebastian, How do you include them into ha. I am only ble to see them in the shelly ble control app. Then I can connect to them and firmware update, but they do not show up in ha. I have added several ble hubs as many of my shelly devices also support ble. But that does not make them show up in HA.
I had a remote, and I was able to associate this with HA, but not the BLU Wall Switch. Looking forward to hear from you.

Hey @jagam, so I don’t have any other Shelly devices around, which is why I am connecting directly to Home Assistant using my BLE buttons. Does your Home Assistant device have Bluetooth hardware and set up? If not, to be honest, I can’t help you with going through the Shelly integration, as I’m not using any of the Wi-Fi based ones…

On the problem at hand, good news, the buttons now work. Unfortunately, I can’t figure out any more why and when the changeover happened, but here on HA 2024.12, the events are properly fired:

Meaning I can now make automations, yay!

Hi, I just bought one of these to, and managed to get it working. However, what I can’t figure out (or am perhaps a little disappointed with), is that I can’t get it to work as a dimmer like other switches (friends of guys, IKEA trådfri for example). It doesn’t seem to have a normal hold and release function. Have you had any luck making yours work as a dimmer?

i had the same problem.
Shelly Wall Switch was delivered to my door.
First i did a firmware update to actual Firmware.
Than i opened home assistant, and as usual HA showed my that there is a new device.
After accepting the new device, it showed up in the BTHome integration. But just signal strenght and Battery.
I went to the internet and searched and searched. no clue…
But than, i accidently pressed one button on the shelly, and suddenly “button2” appeared as an entity.
After pressing button 1, button 1 entity appeard, and after pressing each button every entity showed up.

So my solution was easy: just press each button after HA integration.

1 Like

I don’t know if it fits here, but might help or can be used as a Back-up:
I have a Shelly Wifi-Plug that also has BT built in. Good thing is, that it can act as a BT proxy for other BT devices.
To make it work, the following video helped a lot:

Bottom line:

  • Enter the Shelly integration in HA
  • Find the device that can act as a BT Proxy
  • click on “configure”
  • it will offer you to select the setting of the Bluetooth scanner mode. Select either “Active” or “Passive”.
  • Start hitting the buttons of the Blue Wall Switch and they will start showing up in HA.
1 Like