Tasmota on Shelly Dimmer2 - can I use the two switch inputs for different outputs in HA?

I have a Shelly Dimmer2 flashed with Tasmota. It has two 'switch' inputs. I have the shelly installed behind a two-gang switch box with the two inputs connected to two different switches. But currently, if I flip either switch, the same light is flipped (the one connected to the output of the Shelly Dimmer)

I thought I could disconnect one of the switch inputs, and use it to send an MQTT message to a different light in my HA config. Effectively using one Shelly device to convert two 'dumb' switches into smart ones.

I have dug through the docs at Tasmota, and I can't seem to find what I'm looking for. Am I using the wrong keywords?

8 points · 2 comments · view on lemmy.world

2 Comments

NeoNachtwaechter@lemmy.world · 2 pts · 2y (1 reply)

I haven't tried, but there's setoption114 for disconnecting switches from output power. And setoption73 for buttons.

It counts for the whole tasmota, not just for one switch. So I guess you want to listen to your own MQTT command for the builtin relay.

Nimrod@lemm.ee · 1 pts · 2y

Ah, that's what I was looking for. Thank you. I am not sure if an MQTT signal works well for dimming, but I guess I'll give it a try, because otherwise I end up with two switches controlling the same set of lights in the same location... not idea.

Thanks!