Skip to content
  • MySensors
  • 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. OpenHardware.io
  3. 💬 Smart switch

💬 Smart switch

Scheduled Pinned Locked Moved OpenHardware.io
smart switchmysensor
26 Posts 6 Posters 4.4k Views 5 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.
  • jeremushkaJ Offline
    jeremushkaJ Offline
    jeremushka
    wrote on last edited by
    #17

    @laucarlier Thank you. It is what i was thinking. for the ACS712, you connect between the live "L" connected to the COM of the relay and the neutral N ?

    1 Reply Last reply
    0
    • laucarlierL Offline
      laucarlierL Offline
      laucarlier
      wrote on last edited by
      #18

      @jeremushka I connected the ACS712 in series just at the output of the switching system. I updated the schematics for the connection. Note that in the code I have delivered for reading the ACS712 might not work out of the box for you. I couldn't really make good code on that because of the instability of my previous design.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aze
        wrote on last edited by
        #19

        @laucarlier you can see a similar project here : http://domotique-diy.over-blog.com/2018/05/domotiser-un-appareil-grace-a-un-relai-v2.html

        1 Reply Last reply
        0
        • jeremushkaJ Offline
          jeremushkaJ Offline
          jeremushka
          wrote on last edited by
          #20

          0_1528813585801_diagram_english.png

          I have tried on my side the system and it is working fine. However, i have modified the connection as the following picture in order to be able to insert the system directly into the main electrical board of the house to avoid having electronic cards behind each switch.
          Moreover, i connected the ACS712 on the "live" cable in serie with the COM output of the relay. In that case, i have no delay to display the status "ON", "OFF" in th controller.

          1 Reply Last reply
          0
          • laucarlierL Offline
            laucarlierL Offline
            laucarlier
            wrote on last edited by
            #21

            @jeremushka Nice to see that you could find the way to work with this project :) Though it looks very similar in the way I'm using my design, I'm wondering how you can connect the No and NC cables in between the smart switch and the physical switch. Since you mention that now the smart switch is inside your electrical box, does that mean that you have 2 wires traveling in between your electrical box and your switch box? I actually never though of putting a smart switch in my electrical box and I would like to know what I would need to have the smart switch installed inside the electrical box directly. In that case, the space constrain is much less.

            1 Reply Last reply
            0
            • jeremushkaJ Offline
              jeremushkaJ Offline
              jeremushka
              wrote on last edited by
              #22

              @laucarlier, Behind each socket and each switch, there are 3 electric cables connected until the electrical panel. The default electrical installation was made in case one day, we want to add an automation system in the house. the three cables are: Phase, Neutral and Ground. Therefore, i can use two cables to connect them to the relay(see the diagram) directly in the electrical panel. In case of technical problem, no need to disassemble the plugs to check the electronic boards, simply open the electrical panel and control the system.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                aze
                wrote on last edited by
                #23

                Else you can maybe used like this
                http://domotique-diy.over-blog.com/2018/05/domotiser-un-appareil-grace-a-un-relai-v2.html

                1 Reply Last reply
                0
                • laucarlierL Offline
                  laucarlierL Offline
                  laucarlier
                  wrote on last edited by
                  #24

                  @Aze I don't think so your project can work the same way as this one. When seeing your PCB and connection schematics, I think that the uController needs to be active so that the switch can function. In this project, even though the uController is dead or hanging, the manual switch can still activate the lamp.

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    aze
                    wrote on last edited by
                    #25

                    @laucarlier Yes it's right sorry.

                    1 Reply Last reply
                    0
                    • laucarlierL Offline
                      laucarlierL Offline
                      laucarlier
                      wrote on last edited by
                      #26

                      @aze No Problem ;) all the time nice to hear idea from people :)

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


                      13

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.1k

                      Posts


                      Copyright 2025 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
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular