is this possible(hotelswitch)

Moderator: leecollings

Post Reply
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

is this possible(hotelswitch)

Post 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.

snuiter
Posts: 67
Joined: Saturday 17 June 2017 12:30
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: is this possible(hotelswitch)

Post 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
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: is this possible(hotelswitch)

Post 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 :-)
gordonb3
Posts: 111
Joined: Saturday 31 March 2018 22:24
Target OS: Linux
Domoticz version: Custom
Location: Delft, NL
Contact:

Re: is this possible(hotelswitch)

Post 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.
User avatar
sincze
Posts: 1300
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: is this possible(hotelswitch)

Post 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.
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
mrf68

Re: is this possible(hotelswitch)

Post 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.
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: is this possible(hotelswitch)

Post 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
Laurenshaijma
Posts: 2
Joined: Wednesday 13 May 2020 22:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: is this possible(hotelswitch)

Post 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
wkossen
Posts: 62
Joined: Friday 06 November 2020 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: is this possible(hotelswitch)

Post 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)
Laurenshaijma
Posts: 2
Joined: Wednesday 13 May 2020 22:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: is this possible(hotelswitch)

Post 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...
wkossen
Posts: 62
Joined: Friday 06 November 2020 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: is this possible(hotelswitch)

Post 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 1771 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.
Ron
Posts: 82
Joined: Friday 27 December 2013 23:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2284
Location: Nederland, Den Bosch
Contact:

Re: is this possible(hotelswitch)

Post by Ron »

So, when LampSwitch is ON and Zigbee Switch is Off...
What state would the LidlSmartplug (state) be???
wkossen
Posts: 62
Joined: Friday 06 November 2020 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: is this possible(hotelswitch)

Post 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
Ron
Posts: 82
Joined: Friday 27 December 2013 23:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2284
Location: Nederland, Den Bosch
Contact:

Re: is this possible(hotelswitch)

Post by Ron »

You should include a dummy switch or something.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest