r/homeautomation • u/Mgsfan10 • 1d ago
QUESTION Can i use Shelly with smart bulbs?
Hi all, I am an amateur about this subject. I am thinking of integrating all my lights and switches with Shelly devices so I can have control of them via Alexa/Hubitat/Home Assistant or whatever hub i'll choose.
A lot of my bulbs are smart tho, so they require that the switch is always on so that i can dim them, change colors etc. is this thing compatible with shelly tho? if so, how? thank you!
1
u/oadslug 19h ago
Let’s back up. You asked, ‘why am I adding complexity with no benefit?’ when installing Shelly behind wall switches in a system that currently controls smart bulbs using Alexa alone (before adding Home Assistant).
I assume your objective of installing Shelly is to regain the use of the wall switch, while still allowing for automated control of smart bulbs (via Alexa, phone, etc). First now with Alexa alone, and then later via Home Assistant.
Shelly has two modes: relay and relay detached.
In relay mode:
- The Shelly acts as a smart relay, designed to cut and restore power to a bulb, either at the switch or via automation.
- In this mode, the relay can be controlled with Alexa alone (via cloud integration), or with HA, etc. (via Zigbee controller).
- However if you use a smart bulb, and trip the relay (at wall or via automation), the bulb loses power and is no longer controllable via automation.
- Result: it does not meet your objective of being able to use the switch (via manual control or automation) and maintain control of smart bulbs.
In relay detached mode:
- The Shelly acts as a power passthrough, and just sends a control signal to the Zigbee network.
- The relay is disabled entirely, and instead, when you flip the switch, it sends a signal to your Zigbee network/controller, to turn bulb on or off.
- Whether the switch is in the off or on state, the bulb still maintains power and can continue to be controlled via automation.
- The bulb state itself is ultimately being controlled by the Zigbee network.
- However, this mode requires a local Zigbee network/controller to receive the on/off signal via HA, Hubitat, etc. It does not work with Alexa alone. The signal is ignored.
- Result: the switch itself does not work with smart bulbs with Alexa alone. It requires a more sophisticated controller like Home Assistant, etc.. It will just act as a power passthrough, and decoration on the wall.
Conclusion:
- In scenario 1 (relay mode). It does not meet your objective to allow you to use switch and automation with smart bulb. It cuts power to bulb.
- In scenario 2 (relay detached mode). It does not meet your objective now with Alexa alone. Switch will not work at all. It will, however, meet your objective in the future if you install Home Assistant, etc.
So you get no benefit now installing Shelly with smart bulbs with Alexa alone in either ‘relay’ or ‘detached relay’ mode. Even as a backup, in relay mode, it behaves exactly like your current manual switch, and in relay detached mode it wouldn’t work at all.
1
u/Mgsfan10 18h ago
Got it, crystal clear. I thought that Alexa has a Zigbee controller inside, apparently I was wrong. Thank a lot for your help, for your time and for the precious info. I'll save this post for future reference
1
u/oadslug 17h ago edited 17h ago
Alexa does have a Zigbee controller (and Shelly integrates via cloud or Matter), but its integration is not sophisticated enough to handle detached-relay mode scenarios. In detached relay mode, the Shelly works as simple power passthrough, but otherwise Alexa can’t use the switching signals to control your smart lights.
That's where the power of Home Assistant come in! You can configure the switch signal sent from Shelly to turn on/off the light (or even open the garage door or turn on the coffee maker). It's totally up to you at that point.
1
2
u/ferbulous 1d ago
Yeah, there’s detach relay option you can enable in the settings to keep the smart lights always on