Hi,
I have a sonoff T1 (UK) switch in on/off dumb led spots. In the ceiling I have a ZigBee dimmer module that I can control through Zigbee2MQTT to dim the bulbs. I want to combine these two into one entity- I’m thinking an MQTT Light that publishes one/off commands to the sonoff for power but to the dimmer module; for brightness.
Or could I disconnect the switch wire from the sonoff and change the mqtt topic to the dimmer so when the sonoff is pressed/triggered it just turns off the dimmer. But then how do I do brightness???
Dimmer -https://www.amazon.co.uk/gp/product/B07GSK1HVP/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
Lightswitch - https://sonoff.itead.cc/en/products/residential/sonoff-t1
Below is a manual config for the dimmer module
- platform: "mqtt"
name: "Office light"
state_topic: "zigbee2mqtt/0x00158d00025d7af2"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
schema: "json"
command_topic: "zigbee2mqtt/0x00158d00025d7af2/set"
Thanks