Page 1 of 1

is this possible(hotelswitch)

Posted: Thursday 30 August 2018 23:23
by Gianni
Found this on youtube.
Did the same setup with my sonoff touch,i hear the relay clicking but it's not switch the light on/off on the second switch.


Re: is this possible(hotelswitch)

Posted: Friday 31 August 2018 11:43
by snuiter
This is quite interesting to see since it works on signalling. It looks if connected properly it should work.

Do you have the same sonoff touch model/version with signalling etc..

According to the video this is Lumos not Sonoff guess there is the problem

Re: is this possible(hotelswitch)

Posted: Friday 31 August 2018 14:28
by Gianni
i got the sonoff T1 with tasmota
I have te same wiring but it's not working like in the youtube movie
The relais on the second switch is clicking and the light go on and of on the switch but the bulb did not turn on and off :-)

Re: is this possible(hotelswitch)

Posted: Friday 31 August 2018 15:32
by gordonb3
I'm actually somewhat amazed by the wiring on that Lumos, because you cannot feed an electric device with just one wire. Which must mean that it uses the connected lamp as the neutral terminal and you will therefore likely always see some glowing in that lamp.

The Sonoff looks more normal, but it does not appear to have the signalling function you would need for this setup. The switch does allow to be controlled remotely though by both wifi and may be paired with a 433MHz transmitter. As such it should be technically possible, but doing a quick scan on the internet I can't find any mentioning that you can use one (or more) switch as a remote to another.

Which brings us to the third option and that is to use Domoticz to do the grouping, assuming the switches don't wait for a noticeable time before reporting a state change. Install one switch connected to the lamp and install the second one with `Lout` disconnected. Next you'll need to create a script in Domoticz that will duplicate any change of state in either switch to the other one. That will need some thinking as I don't think it will work to make them both a slave to the other one.

Re: is this possible(hotelswitch)

Posted: Saturday 01 September 2018 18:06
by sincze
gordonb3 wrote: Friday 31 August 2018 15:32.....because you cannot feed an electric device with just one wire. Which must mean that it uses the connected lamp as the neutral terminal and you will therefore likely always see some glowing in that lamp.
That is why the old CoCo or KaKu wall units did not work well with LED lights, but do work with non LED lights. They are powered from 1 cable. :D in the Netherlands.. the 'Brown' one.

Different case: f I want to move to zwave wall switches it seems I have to add a blue wire as well to make the switch power on. As without it it stays quiet.

Re: is this possible(hotelswitch)

Posted: Saturday 01 September 2018 19:21
by mrf68
When you take a closer look at the 1 gang switch, you will notice that it only gets power from the mains. There is no lightbulb connected to it. The 2 gang switch has both lightbulbs connected. So the 1 gang switch just tells the 2 gang switch to toggle the first switch.

I do this with Tasmotized Sonoff switches in combination with Domoticz. Give both switches the same idx that toggles a light and you will see that you can turn it on with one switch and turn it off with the other one.

Re: is this possible(hotelswitch)

Posted: Saturday 01 September 2018 22:58
by Gianni
i just created a dzvent with two different idx in tasmota and now my hotelswitch work.
1 switch connected normal to the light bulb and 1 just the N en L

Does any1 know if the UK fits en a square EU wall box?
I need a 3 gang but that only UK an US

Re: is this possible(hotelswitch)

Posted: Wednesday 24 March 2021 22:08
by Laurenshaijma
Hi i want to make hotel switch with 1 twogang switch and 1 one gang switch
How can i do this
Does anyone have a blocky code for it or a script example how to do it?

Regards Laurens

Re: is this possible(hotelswitch)

Posted: Thursday 25 March 2021 14:50
by wkossen
wouldn't this be easier done with a three (or more) switch setup? you would control a powerswitch connected to the lamp from domoticz over wifi, zwave, zigbee or 433 or whatever, and have two toggle switches in the house that trigger a simple line of script that switches the actual switch connected to the lamp. if off turn on, if on turn off. add however many switches in the house to do the toggling. no complicated wiring. (complicated because all switches need full power to actually work)

Re: is this possible(hotelswitch)

Posted: Thursday 25 March 2021 21:25
by Laurenshaijma
wkossen wrote: Thursday 25 March 2021 14:50 wouldn't this be easier done with a three (or more) switch setup? you would control a powerswitch connected to the lamp from domoticz over wifi, zwave, zigbee or 433 or whatever, and have two toggle switches in the house that trigger a simple line of script that switches the actual switch connected to the lamp. if off turn on, if on turn off. add however many switches in the house to do the toggling. no complicated wiring. (complicated because all switches need full power to actually work)
This is what i want but how do I do that im a noob...

Re: is this possible(hotelswitch)

Posted: Thursday 01 April 2021 14:48
by wkossen
you would connect your light to for example a smart plug, that is connected to domoticz. could be anything really, zigbee, zwave, rff, wifi/tuya, anything, as long as you can control it from domoticz

now you add switches. wall switches, remotes, anything, as long as it can connect to domoticz and send a switching command, or an on/off command.

in domoticz you now create simple blockly script with if switch1 is on, turn on smart plug, else if switch 1 is off, turn off smart plug. and add lines for all switches you added with both an on and an off section. Something like this:
Screenshot 2021-04-01 at 14.46.17.png
Screenshot 2021-04-01 at 14.46.17.png (77.79 KiB) Viewed 1792 times
when that works, you put the things in your house where you want them. as long as everything can connect to domoticz, this should work.

Re: is this possible(hotelswitch)

Posted: Friday 02 April 2021 13:16
by Ron
So, when LampSwitch is ON and Zigbee Switch is Off...
What state would the LidlSmartplug (state) be???

Re: is this possible(hotelswitch)

Posted: Wednesday 07 April 2021 10:16
by wkossen
you are right, i was making this too easy. you should check both states to make it work.

yeah. not sure how to do that with blockly. you need a proper script with dzvents, it think....

i'm no coder, so making dzvents scripts is hard for me. basically you need to switch lamp to the other state whenever one of the switches toggles.

on event-switch-changestate do lamp-toggle. (that is the idea, but not the script)

great. i learned something today

Re: is this possible(hotelswitch)

Posted: Wednesday 07 April 2021 15:55
by Ron
You should include a dummy switch or something.