Pass MQTT state to a Zigbee device

Hello all, looking for some help. I have a Moes WiFi dimmer that has been flashed with Tasmota and is working great. However, I’m would like to use this dimmer to control some Zigbee RGBW can lights. The issue is that the Zigbee lights need to receive power 100% of the time and receive full voltage. I plan on not connecting the output of the dimmer to the lights and just wire the lights directly to the mains voltage. Does anyone know how I could have Home Assistant read the state of the dimmer through MQTT and relay the state to the Zigbee bulbs? Thank you.

Check your country’s electrical code to ensure this kind of modification doesn’t contravene it.

If it does violate the code, yet you still wish to do it, know that you will have to undo your changes when selling your home (otherwise it will be identified as a fault during a home inspection).

Create an MQTT Light entity to represent the Moes Dimmer. Then create automations that trigger on this entity’s state and brightness and, in its action apply those values to the Zigbee entity using service light.turn_on.

@123 Taras. Thank you for the input. I think I found some success!

1 Like