2 way switching

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
Dave21w
Posts: 381
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

2 way switching

Post by Dave21w »

I know you can do 2 way switching by toggling a wired zigbee switch with a wireless battery operated switch however is there a way to do it with 2 wired switches, the reason being the following.
I want my first floor switch to be mains powered so I can invert the LED status so the LED will be lit when lamp / switch is off, this means you can find the switch in the dark.
My ground floor switch is a 2 gang which also needs to be mains powered as one gang will control the hall light and the other needs to control the first floor light as well so it can be turned on and off from downstairs as well as upstairs, this switch also needs the LEDs to be lit when the switch is off.
The down stairs 2 gang can get power from just it's hall light connection but how do I syncronise the other 2.

Thanks
User avatar
waltervl
Posts: 5855
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: 2 way switching

Post by waltervl »

It is in Dutch but possible google translate will do the job on how to convert your existing 2way wired stair case switch ( we call it hotelschakeling) https://www.robbshop.nl/domotica/projec ... schakeling
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Dave21w
Posts: 381
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: 2 way switching

Post by Dave21w »

Thanks for the reply however I really need to syncronise zigbee switches, basically I need them to set to the same state as which ever one changed last, there must be a way of doing this, just not sure how.
User avatar
waltervl
Posts: 5855
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: 2 way switching

Post by waltervl »

Then you have to do some dzVents scripting I suppose but be careful not to run into race conditions (one switch switching the other, switching the other etc).
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest