core icon indicating copy to clipboard operation
core copied to clipboard

BTHome Support for Shelly BLU Wall Switch 4

Open sebinity opened this issue 1 year ago • 7 comments

The problem

Shelly sells a new wall switch, the Shelly BLU Wall Switch 4 available under this link: https://www.shelly.com/en-de/products/product-overview/blu-wall-switch. Currently, it is not supported within Home Assistant and BTHome, it is being shown as connected, correctly reports battery and packet status, but does not throw any events that are usable within e.g. automations.

What version of Home Assistant Core has the issue?

core-2024.10.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

BTHome

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Happy to provide additional context, however no events being recognized is kinda hard to show without uploading empty logs :)

Additional information

  • Shelly BLU Wall Switch was updated to latest firmware using Bluetooth helper app, where button presses are correctly recognized as well.
  • Information in https://github.com/home-assistant/core/issues/126572 did not fix the problem
  • Pull Request https://github.com/home-assistant/core/pull/125183 also did not change anything for me unfortunately
  • Screenshot of device overview screen: Screenshot_20240917-185409

sebinity avatar Oct 02 '24 16:10 sebinity

Hey there @ernst79, @thecode, mind taking a look at this issue as it has been labeled with an integration (bthome) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of bthome can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign bthome Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


bthome documentation bthome source (message by IssueLinks)

home-assistant[bot] avatar Oct 05 '24 07:10 home-assistant[bot]

BLU Wall Switch 4 is supported. You can use device automation triggers or event entities. Event entities will show up when you push a button on the device.

bieniu avatar Oct 05 '24 07:10 bieniu

But there are no events that can be used for triggers: image Event log shows no events happening: image And logs seem empty, even after frantically clicking all available button combinations.

sebinity avatar Oct 06 '24 16:10 sebinity

Same issue here. Device was detected by BThome integration but no events visible when buttons are pressed Edit: BT proxy device was not configured for passive mode in the Shelly integration. Solution described here: https://community.home-assistant.io/t/shelly-blu-motion-is-diggity-bomb/676200/2

sebgust avatar Oct 08 '24 20:10 sebgust

Same issue here. Device was detected by BThome integration but no events visible when buttons are pressed Edit: BT proxy device was not configured for passive mode in the Shelly integration. Solution described here: https://community.home-assistant.io/t/shelly-blu-motion-is-diggity-bomb/676200/2

This is a post from June-30, we fixed the issue already, please attach your diagnostics if you still have an issue.

thecode avatar Oct 08 '24 20:10 thecode

Apologies for the misunderstanding. My edit was intended to show that it is fixed for me with the solution linked but I didn't refer to the exact post. Putting my BT proxy device (Shelly uni plus) in BT passive mode fixed it as shown in the thread https://community-assets.home-assistant.io/original/4X/4/3/1/431c1b05618d889c99b9693d52f69d5a1fa299e9.png So for @sebinity whatever device is your bluetooth receiver/proxy make sure it forwards the events to HA.

sebgust avatar Oct 09 '24 06:10 sebgust

Hi you all, thanks for the pointers, but I've had no luck yet. I'm using the RPi's built-in Bluetooth, and it has passive scanning activated... Screenshot_20241010-210910 Screenshot_20241010-210912

sebinity avatar Oct 10 '24 19:10 sebinity

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Closing this issue - since Home Assistant 2024.12, events are being properly fired by the button within the BTHome integration and can be used as triggers for automations:

image

sebinity avatar Jan 09 '25 12:01 sebinity