logo elektroda
logo elektroda
X
logo elektroda

[Solved] How do I connect a Wi-Fi/Zigbee relay to a 24 V controller and Home Assistant?

sajmon_mówi 273 13
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21486557
    sajmon_mówi
    Level 5  
    Welcome.
    Quick question.

    I will be setting up a controller to illuminate stair treads, the controller has a constant light function via a stair switch.
    The controller is on 24 volts.

    To this I want to connect some kind of Wi-Fi/Zigbee relay so that I can switch on the permanent lighting from Home Assistant.
    Only 1 - there is only 24 V current flowing there, 2 - from one socket goes one cable to the controller, the other to the minus from the power supply and that's it.... And of course between the sockets 2 signal cables.

    How do I figure this out?

    Diagram for connecting a staircase lighting controller with labels.
  • ADVERTISEMENT
  • #2 21486647
    kindlar
    Level 42  
    The relay does not apply voltage, it just closes the circuit like a switch.
    What do you mean by a Wi-Fi relay? Can you provide a reference for this device?
  • ADVERTISEMENT
  • #3 21486681
    sajmon_mówi
    Level 5  
    I may have misspoken, I am looking for a device that will allow me to control the lighting from Home Assistant at the stair switches.
  • #4 21487506
    hindoos
    Level 35  
    If it is as shown in the diagram, i.e. shorting the SW input to GND switches the light, then at its simplest a 'voltage free relay' will suffice, i.e. one that connects/disconnects the contacts and does not feed the phase to the output. There are loads of these, but they will all have one problem. You won't know from the HA whether the light is on or off. Because just because your relay will be disconnected doesn't mean someone hasn't switched the light on with a stair switch.
    So if you also want to monitor the on status of the lights, you will need to control the stair switches with a Zigbee/Wi-Fi relay, which will be the actuator for feeding ground to the SW input.
  • #5 21488182
    sajmon_mówi
    Level 5  
    It is exactly as shown in the diagram, and how do I control the relay with the stair switch?
    Will you send some schematic and device?
  • ADVERTISEMENT
  • #6 21488379
    kindlar
    Level 42  
    Like the light bulb, there are plenty of diagrams on the web.
  • #7 21488457
    sajmon_mówi
    Level 5  
    Well, only then my stair switches won't work, unless I'm thinking wrong....
    Where would I mount such a relay?
    On the 1 wire from the switch to the controller?

    If I mount it in front of the switch, then if I have the relay off, I won't be able to switch on the switches, and vice versa.
  • #9 21488686
    sajmon_mówi
    Level 5  
    What buttons?
  • #10 21488693
    hindoos
    Level 35  
    As far as I can see from the description, it should be possible to operate the relay in several modes, either bistable and then switch on impulse (bell switch) or monostable and then a traditional staircase circuit should work. It's just a shame that it requires 230v. I think Shelly used to make relays for 24vdc
  • ADVERTISEMENT
  • #11 21488835
    kmarkot
    Level 29  
    hindoos wrote:
    then a traditional staircase arrangement should work.
    .
    Yes you are right a staircase will work.

    Added after 51 [minutes]:


    Wiring diagram for an OXT relay with stair switches. .

    In my opinion it should look like this . Of course connect N and L under the module
  • #12 21489052
    sajmon_mówi
    Level 5  
    kmarkot wrote:
    hindoos wrote:
    then a traditional staircase circuit should work.
    .
    Yes you are right a staircase will work.

    Added at 51 [minutes]:


    Wiring diagram for an OXT relay with stair switches. .

    In my opinion it should look like this . Of course connect N and L under the module
    .


    So I should connect 230V to this ?

    And if I turn it on on the staircase I can turn it off on the relay and vice versa ?
  • #13 21489060
    hindoos
    Level 35  
    Yes, but you will find details in the manufacturer's manual for this module. I personally haven't dealt with them and haven't integrated them into HA either.
    This particular module is not in the compatibility database but it is similar and is supported by ZHA so it should work "out of the box" ;) https://zigbee.blakadder.com/OXT_SWTZ22.html
  • #14 21491943
    sajmon_mówi
    Level 5  
    kmarkot solution works, thanks ! 😁

Topic summary

The discussion addresses connecting a Wi-Fi or Zigbee relay to a 24 V stair lighting controller to enable control via Home Assistant. The controller operates by switching the SW input to ground to toggle lighting. A voltage-free relay (dry contact) that closes the circuit without applying voltage is recommended to interface with the controller. However, such a relay alone cannot provide feedback on the light status if manual stair switches are used. To monitor and control lighting status reliably, a Zigbee or Wi-Fi relay module acting as an actuator to switch the ground feed to the SW input is necessary. The relay should support push-button (momentary) operation compatible with staircase switch wiring. A specific Zigbee dry contact relay module (OXT SWTZ22) requiring 230 V supply was suggested, which can be integrated with Home Assistant via ZHA. The relay can be wired in parallel with the stair switches, allowing toggling from either the physical switches or Home Assistant. Shelly brand was mentioned as a possible alternative with 24 V DC relays. The solution involves connecting the relay module’s N and L terminals to mains and wiring its dry contact output in series with the stair switch line to the controller. This setup enables bidirectional control and status monitoring of the stair lighting from Home Assistant and physical switches.
Summary generated by the language model.
ADVERTISEMENT