Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Vera
  4. 3 Way Switch with Relay Sensor
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

3 Way Switch with Relay Sensor

Scheduled Pinned Locked Moved Vera
veraarduinoswitchrealy
10 Posts 6 Posters 17.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rafael.brasilia
    wrote on last edited by
    #1

    I would like to use a Relay Switch to turn some lights on and off, but I would like to install them in such a way that the existing light switches would still work to turn the lights on and off manually. I wanted to integrate the Relay as a "3 Way Switch" using a traveler wire, so I can turn the lights manually and turn it off with the relay and vice versa, but wasn't sure if the Relay can do that.

    Has anybody here tried something like this? If so how did you integrate the Relay into your system?

    I usually only use 2 of the 3 pins available in the relay, and I was wondering what the third pin is for. Is the third one where I would connect the traveler wire?

    Thanks!

    1 Reply Last reply
    0
    • daulagariD Offline
      daulagariD Offline
      daulagari
      Hero Member
      wrote on last edited by
      #2

      What do you want exactly?
      Can you fill in the question marks below or make some other kind of truth table?

      Manual switch On, Control On ==> Lamp ?
      Manual switch On, Control Off ==> Lamp ?
      Manual switch Off, Control On ==> Lamp ?
      Manual switch Off, Control Off ==> Lamp ?

      R 1 Reply Last reply
      0
      • daulagariD daulagari

        What do you want exactly?
        Can you fill in the question marks below or make some other kind of truth table?

        Manual switch On, Control On ==> Lamp ?
        Manual switch On, Control Off ==> Lamp ?
        Manual switch Off, Control On ==> Lamp ?
        Manual switch Off, Control Off ==> Lamp ?

        R Offline
        R Offline
        rafael.brasilia
        wrote on last edited by rafael.brasilia
        #3

        @daulagari

        This is what I want. One of the switches bellow is a regular light switch, and the other one would be a relay controlled by my Vera.

        3WaySwitch.JPG

        So, filling out your truth table:

        Manual switch On, Control On ==> Lamp ON
        Manual switch On, Control Off ==> Lamp OFF
        Manual switch Off, Control On ==> Lamp OFF
        Manual switch Off, Control Off ==> Lamp ON

        Notice that no matter what the combination is, once you flip one of them, the lights will change the state.

        I understand the concept, just don't know how to wire the Relay in this situation.

        Thanks!

        1 Reply Last reply
        0
        • Paul AugustoP Offline
          Paul AugustoP Offline
          Paul Augusto
          wrote on last edited by
          #4

          This is not a very easy thing to accomplish. You COULD wire the relay to replace one of the 3 way switches but the controller would not be able to tell what the state is of the other switch (or the light), just what the state of the relay is. The 3 terminals on the relay correspond to the 3 terminals on a 3 way switch. They are labeled Common, NC (normally closed) & NO (normally open). The Common would correspond to the terminal the hot or light is connected to (depending on which one you replace) and the other 2 would be the "travelers". However, any 3 way home automation switch has you replace BOTH switches, one with a master and one with a slave. The master is the one that actually controls the state of the light and the slave lets the master know to change state.

          R 1 Reply Last reply
          0
          • Paul AugustoP Paul Augusto

            This is not a very easy thing to accomplish. You COULD wire the relay to replace one of the 3 way switches but the controller would not be able to tell what the state is of the other switch (or the light), just what the state of the relay is. The 3 terminals on the relay correspond to the 3 terminals on a 3 way switch. They are labeled Common, NC (normally closed) & NO (normally open). The Common would correspond to the terminal the hot or light is connected to (depending on which one you replace) and the other 2 would be the "travelers". However, any 3 way home automation switch has you replace BOTH switches, one with a master and one with a slave. The master is the one that actually controls the state of the light and the slave lets the master know to change state.

            R Offline
            R Offline
            rafael.brasilia
            wrote on last edited by
            #5

            @Paul-Augusto

            Thank you for the reply! My Relay does not have the labels you mentioned above, that's why I was confused. But I figured out that if I connect the Hot wire in the middle pin it will switch between the other 2, so that was helpful and is exactly what I needed I guess.

            You are correct about not being able to tell the state of the light, I didn't think about this. Maybe if I connect a light sensor to my Arduino I could send back the state to Vera based on what the sensor tells me instead of the state of the relay? I'm just not sure if this would work during the day when the windows are open, the sensor might think the lights are on if there is enough sun light in the room.

            Anyways, thanks for the help. I'll keep playing with this and see what I can come up with.

            1 Reply Last reply
            0
            • sowardS Offline
              sowardS Offline
              soward
              wrote on last edited by
              #6

              One of the AC current sensors might work to tell you when the light was engaged by one of the other switches? though I have not tried any of them.

              1 Reply Last reply
              0
              • RJ_MakeR Offline
                RJ_MakeR Offline
                RJ_Make
                Hero Member
                wrote on last edited by
                #7

                I know what you are trying to do, but in some cases a MySensors solution is not an efficient solution. I would just buy a 3 way z-wave light set to meet the goal.

                RJ_Make

                1 Reply Last reply
                0
                • daulagariD Offline
                  daulagariD Offline
                  daulagari
                  Hero Member
                  wrote on last edited by
                  #8

                  @ServiceXp:
                  Just wondering: Why would a 3 way z-wave light set work here better?
                  How is it different from a 3 way relay?

                  RJ_MakeR 1 Reply Last reply
                  0
                  • daulagariD daulagari

                    @ServiceXp:
                    Just wondering: Why would a 3 way z-wave light set work here better?
                    How is it different from a 3 way relay?

                    RJ_MakeR Offline
                    RJ_MakeR Offline
                    RJ_Make
                    Hero Member
                    wrote on last edited by
                    #9

                    @daulagari
                    If I've understood your requirements/goals correctly, which looking back I may not have.. :-), my initial knee jerk response was based on these 2 thoughts.

                    1. Incomplete state feedback to Vera
                    2. Solution size (fitting it inside a switch box)
                    3. Possible added wiring needs.

                    I think these challenges could be solved with a cheap GE 3Way switch kit. If you're looking for a MySensors solution, with full implementation, I think @marceltrapman is working on a possible solution for such a problem.

                    RJ_Make

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      sparky60
                      wrote on last edited by
                      #10

                      Use a latching relay. Here is one I found on Amazon. https://www.amazon.com/dp/B015MRQNXS/?coliid=I3LXTGKX4GEPUR&colid=31WWM91JAUE22&psc=1&ref_=lv_ov_lig_dp_it

                      If you are trying to use with existing 3 ways use https://www.amazon.com/dp/B015MSYQ8Q/?coliid=I3RP8X9OMYWU97&colid=31WWM91JAUE22&psc=1&ref_=lv_ov_lig_dp_it

                      Use an optocoupler to indicate lamp status...see the last diagram in this post. https://forum.arduino.cc/index.php?topic=435506.0

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      16

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.0k

                      Posts


                      Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular