BG Smart devices

Hi,
I was wondering if anyone knows how to connect the BG Smart devices into home assistant?
Smart Dimmer Switches

many thanks!

1 Like

No idea if it works or not as never tried, but thought I would save you the trouble of searching the forum. :slight_smile:

yeah I saw this before - that’s for the older sockets, but this is a new app and for the light switches which appear to be different set-up altogether

I see indications that they are Tuya based… Try talking to it with the SmartLife App, and if you can get in, use one of the many Tuya integrations.

Hi I did some sniffing of the app traffic and discovered there is a local interface for this dimmer So I created an integration by reverse engineering the Android App. Feel free to use, GitHub - rrwood/HA_BGSmart_LocalCtl: HomeAssistant Custom Component to Control BG Smart Dimmer. Mostly created with help of some well known Gen AI tools as I am not a programmer. I have not tested automations or anything beyond adding to dashboard and control, but it does the basics.

Hey. BG Smart Product Manager here. They are not Tuya based. Without revealing too much, we selected technology that would be more future-proof, whilst remaining within our control and based on UK servers (unlike Tuya based products). I am very glad to see someone in the community has reverse engineered the product and am excited to see the outcome. I was hoping to get these onto HA at some point. The main planned method was to use Matter compatibility to cross this bridge. However using Matter compatible SoCs was not possible for the Smart Dimmer as it would have exceeded power and memory limitations due to the fact that these dimmers don’t require a neutral. We had no choice but to launch without it. Very excited to see what this integration brings users. Well done to the author!

1 Like

Thanks for your work on this. Arranging some testing amongst users and will feed back later!

Hello. I can confirm that this works brilliantly. My only issue is that manually dimming or turning the light on/off using the dimmer knob doesn’t update the state in HA. So if you configure a remote button to toggle the light for example you sometimes have to press it twice because HA doesn’t know its current state. Does anyone know whether it’s possible to add this functionality?

@nick.sutton I think these dimmers are great. I’m just got a primary+secondary to finally be able to dim our hallway lights from either end. The BGs work brilliantly. I’ve used Candeo previously, but these are indistinguishable and vastly cheaper. Now if only they were zigbee :slight_smile:

hi, I’m not a python programmer, but I had a quick look through the code and docs, and I can see the integration tries to poll the current settings (by default every 30 seconds, or just before a command is sent). I can repeat the behaviour with my setup, and see the same issue (integration’s view of the brightness is stale). Reloading the integration works. Looks like the same code is used for the initialisation as for any updates; running in debug mode seems like the update code is running, but isn’t updating the brightness - can’t tell if the dimmer sending back stale values, or some issue in the integration code.

I’ll raise an issue in github and post the link back here

Edit: lolz, there’s already an issue there Physical dimmer changes not updating in Home Assistant · Issue #1 · rrwood/HA_BGSmart_LocalCtl · GitHub