Hello, my first post here. I’m very new to Home Assistant and appreciate some directions or even some reframings or reorientation.
I have MiBoxer ceiling lights controllable via Zigbee and RF 2,4GHz.
I started with dumb on-off power switches and added wireless controlled switches alongside them. This generally works, but the issue is that the light can be turned off in two ways:
- With the traditional power switch ABB Tango (my wife and one child prefer this almost everywhere).
- With proprietary RF 2,4GHz dimmer & cct switch (I and the other child prefer this).
The wireless switches only send signals; they have one-way communication with the light. Therefore, the switch operates in a stateful manner, “remembering” the light’s state. This would work if it were powered 24/7, but when the power is off, the light’s state doesn’t change (it lacks electricity), while the wireless switch believes it does.
The following table shows that the light can be turned off by either switch:
Power switch | Wireless switch | Light state |
---|---|---|
ON | on | ON |
ON | off | OFF |
OFF | on | OFF |
OFF | off | OFF |
Turning the light on is rather frustrating (this is where I need help):
-
I turn off the light with the wireless switch.
-
My wife then tries to turn the light on with the power switch.
-
This does nothing to the light, but results in both switches showing as off.
-
She then tries the wireless switch, which also does nothing.
-
Unless she accidentally stumbles upon the sequence “Power switch ON → Wireless switch ON,” she remains in the dark.
To fix this, I purchased Shelly Qubino Wave smart relays, installed Home Assistant, and hoped for the best… Unfortunately, hope wasn’t enough.
Now I have three (or four) ways to control the lights:
- The power switch (only off)
- The wireless switch (ON/OFF/brightness/temperature)
- Home Assistant’s Zigbee2MQTT integration (controls all light attributes)
- Home Assistant’s Z-Wave integration to control the power via the Shelly Z-Wave relays.
My initial goal was to use Shelly scripting to create two relay modes:
-
When connected to Home Assistant, the relay would never turn off the power, only sending an event to Home Assistant to trigger the light off action.
-
When disconnected from Home Assistant, the relay would behave normally and switch the power off (for my wife’s convenience when I’m away, in case of Home Assistant issues).
However, this isn’t possible with the Shelly Qubino Wave, as the Z-Wave relays lack scripting capabilities. It seems this is a completely different product, rebranded by Shelly without scripting features; only the original Shelly Bluetooth/Wi-Fi relays offer scripting. Therefore, scripting is not an option, and my last hope is to somehow utilize Home Assistant.
I’d very much like to make intervention in Z-Wave relay and force it not to switch off the power, only to register “switch pressed” action and HA would do the rest, but it’s inlikely.
What is any (good, bad, even ugly) way to fix it using Home Assistant?
P.S. Sorry for the long post, I don’t have time, energy and language skills to make it succint.