home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.36k stars 31.26k forks source link

BTHome Support for Shelly BLU Wall Switch 4 #127336

Open sebinity opened 2 months ago

sebinity commented 2 months ago

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

home-assistant[bot] commented 2 months ago

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)

bieniu commented 2 months ago

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.

sebinity commented 2 months ago

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.

sebgust commented 2 months ago

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

thecode commented 2 months ago

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.

sebgust commented 2 months ago

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.

sebinity commented 2 months ago

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