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. Hardware
  3. Share the neutral
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Share the neutral

Scheduled Pinned Locked Moved Hardware
9 Posts 3 Posters 1.8k 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.
  • M Offline
    M Offline
    moskovskiy82
    wrote on last edited by
    #1

    Currently have the lights in my home connected to Legrand relays (installed the switch box).
    Decided to change them to mysensor nodes (also installed in the switch box).
    Currently in the socket under the momentary switch i have L and N going to the lamp.

    So after integrating mysensors in place the question is - how to connect the mometary buttons. Do i have to use 2 wires - one for N (GND) from arduino and one connected to the digital pin. Or i can use just one wire connected to the digital pin and the second connect to the N which is already in the socket?

    mfalkviddM 1 Reply Last reply
    0
    • M moskovskiy82

      Currently have the lights in my home connected to Legrand relays (installed the switch box).
      Decided to change them to mysensor nodes (also installed in the switch box).
      Currently in the socket under the momentary switch i have L and N going to the lamp.

      So after integrating mysensors in place the question is - how to connect the mometary buttons. Do i have to use 2 wires - one for N (GND) from arduino and one connected to the digital pin. Or i can use just one wire connected to the digital pin and the second connect to the N which is already in the socket?

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @moskovskiy82 N is NOT gnd/earth. It carries AC power. So connecting the button to that will be very dangerous.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        moskovskiy82
        wrote on last edited by
        #3

        @mfalkvidd said:

        @moskovskiy82 N is NOT gnd/earth. It carries AC power. So connecting the button to that will be very dangerous.

        As i am running short of wires. What if the push button will connect one end to the digital pin on arduino and the second one go to the mains ground (PE). Wonder if that will work and will not cause the circuit breaker to activate. Any ideas on this?

        M 1 Reply Last reply
        0
        • M moskovskiy82

          @mfalkvidd said:

          @moskovskiy82 N is NOT gnd/earth. It carries AC power. So connecting the button to that will be very dangerous.

          As i am running short of wires. What if the push button will connect one end to the digital pin on arduino and the second one go to the mains ground (PE). Wonder if that will work and will not cause the circuit breaker to activate. Any ideas on this?

          M Offline
          M Offline
          moskovskiy82
          wrote on last edited by
          #4

          Well it works with low stability. Only half of the pressings get activated. Maybe something to do with debounce settings?
          Currently have them at debouncer[i].interval(5);

          1 Reply Last reply
          0
          • dbemowskD Offline
            dbemowskD Offline
            dbemowsk
            wrote on last edited by
            #5

            By switch box I am assuming that you are talking the box on the wall for your light switch. As @mfalkvidd said, N is not GND/earth. This is the return path for the AC. Even though in your main breaker panel there is probably a connection from the (N)eutral bar to the Ground/earth bar, the neutral wire should NEVER be used as a ground. The incoming power to your wall box should have a ground wire unless it is an older house in which case there may not be one.

            If you are talking that the relays are in your breaker panel, then that is a different story completely and we would need more information on how things are wired for the relays.

            Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
            Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

            1 Reply Last reply
            0
            • M Offline
              M Offline
              moskovskiy82
              wrote on last edited by
              #6

              Well we have a 3wire system. So N is neutral and PE is protective earth and is a separate ground connection.
              I was discussing the use of PE as a possibility. Occurance of a strong potential here is almost impossible but i guess due to induction there can be some.

              dbemowskD 1 Reply Last reply
              0
              • M moskovskiy82

                Well we have a 3wire system. So N is neutral and PE is protective earth and is a separate ground connection.
                I was discussing the use of PE as a possibility. Occurance of a strong potential here is almost impossible but i guess due to induction there can be some.

                dbemowskD Offline
                dbemowskD Offline
                dbemowsk
                wrote on last edited by
                #7

                @moskovskiy82 Is the relay that you are replacing in the wall switch box or the breaker panel? Do you have any information on the Legrand relay that you are replacing?

                Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  moskovskiy82
                  wrote on last edited by
                  #8

                  @dbemowsk said:

                  @moskovskiy82 Is the relay that you are replacing in the wall switch box or the breaker panel? Do you have any information on the Legrand relay that you are replacing?

                  Not exactly...
                  Here we are awaiting a hex value

                  void receive(const MyMessage &message) {
                  if (message.type==V_RGB)
                   {
                  hexstring = message.getString();
                  ....
                  

                  And than process those to rgb values. But if via MQTT we will receive RGB values like 243,145,156 and not hex - how to change the code accordingly?

                  1 Reply Last reply
                  0
                  • dbemowskD Offline
                    dbemowskD Offline
                    dbemowsk
                    wrote on last edited by
                    #9

                    How did this go from a relay/power issue to changing RGB color values?

                    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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


                    8

                    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