Several Sonoffs with only one lamp?

286 views
Skip to first unread message

Anno Nym

unread,
Oct 21, 2017, 4:35:12 AM10/21/17
to SonoffUsers
Hi,
I would like to install the possibility to switch on/off devices via WiFi. Anyhow I'd like the possibility to switch devices with a normal switch as well. Therefore I like the Sonoff T1, but I have a problem to understand how to use several physical switches for one lamp. E.g. In the living room there shall be 3 switches controlling the same lamp.
Is there the possibility to have a "master T1" which is connected to the lamp and toggle the signal with 2 further "slave T1s" whoose output is open? Or is it possible to link the status of several T1s and just connect them in parallel to 1 lamp (so if one of the 3 Sonoff switches the state, also the other Sonoff toggle the output).
Best regards,
Edizius

Balu

unread,
Oct 21, 2017, 3:00:47 PM10/21/17
to SonoffUsers
Hey Edizius,


On Saturday, 21 October 2017 10:35:12 UTC+2, Anno Nym wrote:
I would like to install the possibility to switch on/off devices via WiFi. Anyhow I'd like the possibility to switch devices with a normal switch as well. Therefore I like the Sonoff T1, but I have a problem to understand how to use several physical switches for one lamp. E.g. In the living room there shall be 3 switches controlling the same lamp.
Is there the possibility to have a "master T1" which is connected to the lamp and toggle the signal with 2 further "slave T1s" whoose output is open? Or is it possible to link the status of several T1s and just connect them in parallel to 1 lamp (so if one of the 3 Sonoff switches the state, also the other Sonoff toggle the output).

You have to think of the T1's as two independent devices. You have a touch sensor that sends MQTT messages and a switching mechanism for the lamp that you can control with those messages. Tasmota can be configured to use them together (so the sensor immediately switches the lamp directly) or individually. In this case the sensor will send a message, but not change the switch status. Instead the MQTT server will handle the message any switch that needs to be switched will receive it.

     Balu

Anno Nym

unread,
Oct 22, 2017, 3:54:50 PM10/22/17
to SonoffUsers
Hi, thanks for the reply.
That means the "slave" can be any device resp. Has to be a "mqtt switch"?

Cheers

Balu

unread,
Oct 23, 2017, 5:27:47 AM10/23/17
to SonoffUsers


On Sunday, 22 October 2017 21:54:50 UTC+2, Anno Nym wrote:
Hi, thanks for the reply.
That means the "slave" can be any device resp. Has to be a "mqtt switch"?

oops, sorry. I was thinking you are using the open source Tasmota firmware like I do. I am not sure if it works with the default Sonoff firmware.

Anno Nym

unread,
Nov 11, 2017, 5:58:00 PM11/11/17
to SonoffUsers
Hi,
Thanks for the reply once more. Sorry that I have not answered yet, I haven't seen that you have replied.

Anyhow, now I tried to use Tasmota as well, but I saw I need a broker. So I ordered a Raspberry pi and need to install mosquito on it. I hope setting everything up will work as desired... Is it difficult to set up the broker so that 2 Sonoffs act like WiFi switches and a third one reacts on the tickets and switches the lamp?

Thanks once more,
Edizius

By the way, but a little bit off topic: do you know if it is possible to use on one raspberry pi together mosquito and alexapi? (This will be my first raspberry project...)

Phil

unread,
Nov 14, 2017, 5:06:49 PM11/14/17
to SonoffUsers
FYI the approach i have taken with light switches is to use the standard wall switches with sonoff controlled lighting.  Along with setting the devices to switch on when powered up.
this does require the device to be switched on physically at the wall switch when last turned off by the wall switch, and when turning on from a wifi/mqtt controlled off, a double switch is needed 1-off and 2-on again which will start up the device ON.   Neither of which are a major pita in practice and have saved the need to run an extra feed of power down the wall trunking to the switch to power something like a T1.

you can always use a free mqtt server such as the mosquitto test broker https://test.mosquitto.org/ while waiting for your pi..  

Mike Roberts

unread,
Dec 5, 2017, 3:04:38 PM12/5/17
to SonoffUsers
You can also use Node-Red on your Pi to pick up messages from your mosquitto broker and make any link/links you want.  For a detailed walk-through of the setup see:
Reply all
Reply to author
Forward
0 new messages