this post was submitted on 14 Jan 2024
8 points (100.0% liked)

homeassistant

11706 readers
9 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

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?

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 2 points 7 months ago (1 children)

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.

[โ€“] [email protected] 1 points 7 months ago

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!