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. Hardware
  3. AC Power and/or Relay interface

AC Power and/or Relay interface

Scheduled Pinned Locked Moved Hardware
41 Posts 6 Posters 8.9k Views 6 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.
  • rozpruwaczR rozpruwacz

    @exilit said in AC Power and/or Relay interface:

    like to run

    from my personal experience: more You do yourself the cheaper unit price but You spent on it more time - so You have to calculate how much Your time costs.
    The other issue with making something to fit into wall switch is that it has to be small, so this requires more custom design -> so more made by yourself -> then it won't be certified. Or You choose small but very expensive parts.
    Personally I wouldn't buy cheap power supply, this is the most important part of the device.

    So if You have good knowledge how to design safe power supply just do this and don't worry about certification, If You design it well then it will not cause your home tu burn :)

    E Offline
    E Offline
    exilit
    wrote on last edited by exilit
    #13

    @rozpruwacz said in AC Power and/or Relay interface:

    If You design it well then it will not cause your home tu burn

    :-) Yes you are most probably right. But if it does, I will not only lose my house, I will also be bankrupt and homeless.

    But seriously: This is what I was thinking for some time also. Especially because I have seen In-Wall device that are way unsafer than the ones on this forum using the HLK. But for some reason I'm very unsure for the last few days...
    So if there is another solution I think I still would like to take that. If not... well, I will do it myself and hope that my house does not burn. Maybe I put a CE sticker on it... :-D

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #14

      You wanted small device that is also certified and the smallest solution I know are Zwave devices. I don't think you can find a certified product running on atmega controller with mysensors and be also certified

      E 1 Reply Last reply
      0
      • gohanG gohan

        You wanted small device that is also certified and the smallest solution I know are Zwave devices. I don't think you can find a certified product running on atmega controller with mysensors and be also certified

        E Offline
        E Offline
        exilit
        wrote on last edited by
        #15

        @gohan I know the requirements are very specific and hard to find. I am just searching for ideas.

        1 Reply Last reply
        0
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #16

          It is just a matter of choosing commercial or DIY, that means certified or not certified :)

          1 Reply Last reply
          1
          • rozpruwaczR rozpruwacz

            @exilit said in AC Power and/or Relay interface:

            Recom RAC03

            oh, You are talking about this ?
            https://www.digikey.com/product-detail/en/recom-power/RAC03-05SCR-277/945-1702-ND/3844914

            if so then yes this is exactly what I mean and actualy this item looks very good :) about the price I believe that maybe you could find something half the price but not less ...

            E Offline
            E Offline
            exilit
            wrote on last edited by
            #17

            @rozpruwacz said in AC Power and/or Relay interface:

            @exilit said in AC Power and/or Relay interface:

            Recom RAC03

            oh, You are talking about this ?
            https://www.digikey.com/product-detail/en/recom-power/RAC03-05SCR-277/945-1702-ND/3844914

            if so then yes this is exactly what I mean and actualy this item looks very good :) about the price I believe that maybe you could find something half the price but not less ...

            Yes, that is what I was talking about. Half the price sounds good.
            But to be honest, I think the one you posted suits it better. The Recom power supply's use cases seem to be the same as the HLK module.

            rozpruwaczR 1 Reply Last reply
            0
            • E exilit

              @rozpruwacz said in AC Power and/or Relay interface:

              @exilit said in AC Power and/or Relay interface:

              Recom RAC03

              oh, You are talking about this ?
              https://www.digikey.com/product-detail/en/recom-power/RAC03-05SCR-277/945-1702-ND/3844914

              if so then yes this is exactly what I mean and actualy this item looks very good :) about the price I believe that maybe you could find something half the price but not less ...

              Yes, that is what I was talking about. Half the price sounds good.
              But to be honest, I think the one you posted suits it better. The Recom power supply's use cases seem to be the same as the HLK module.

              rozpruwaczR Offline
              rozpruwaczR Offline
              rozpruwacz
              wrote on last edited by
              #18

              @exilit the one i posted is much bigger and 12v, so You need buck converter. This makes it harder to fit atmega board, but maybe You will :). for sure there is more 12v flush mounted power supplies and they are cheaper because they are used for led lighting. The cheaper ones will propably draw more power, they will be powered 24/7 so it is important that they draw at lest less than 0.5W.

              1 Reply Last reply
              0
              • E exilit

                @gohan There is no problem. I like the devices very much, but I'd like to have something not WiFi based for that purpose.

                Why Z-Wave? Do you know a Z-Wave device, that serves low voltage output and is externally controllable?

                Black CatB Offline
                Black CatB Offline
                Black Cat
                wrote on last edited by
                #19

                @exilit what voltage are you needing?

                E 1 Reply Last reply
                0
                • Black CatB Black Cat

                  @exilit what voltage are you needing?

                  E Offline
                  E Offline
                  exilit
                  wrote on last edited by
                  #20

                  @Black-Cat Ideally 5V or 3.3V. But in the end it doesn't matter too much, as converting it down wouldn't be too difficult. Do you know something?

                  Black CatB 1 Reply Last reply
                  0
                  • E exilit

                    @Black-Cat Ideally 5V or 3.3V. But in the end it doesn't matter too much, as converting it down wouldn't be too difficult. Do you know something?

                    Black CatB Offline
                    Black CatB Offline
                    Black Cat
                    wrote on last edited by
                    #21

                    @exilit For Z-Wave control the only device I am aware of that uses those voltages is a Z-UNO. You would need to build your own controller but it's not difficult.

                    E gohanG 2 Replies Last reply
                    0
                    • Black CatB Black Cat

                      @exilit For Z-Wave control the only device I am aware of that uses those voltages is a Z-UNO. You would need to build your own controller but it's not difficult.

                      E Offline
                      E Offline
                      exilit
                      wrote on last edited by
                      #22

                      @Black-Cat I'm a little bit confused. This does not address my issue, does it?

                      Black CatB 1 Reply Last reply
                      0
                      • Black CatB Black Cat

                        @exilit For Z-Wave control the only device I am aware of that uses those voltages is a Z-UNO. You would need to build your own controller but it's not difficult.

                        gohanG Offline
                        gohanG Offline
                        gohan
                        Mod
                        wrote on last edited by
                        #23

                        @Black-Cat He is looking for an in-wall relay and a small power supply.

                        1 Reply Last reply
                        0
                        • E exilit

                          @Black-Cat I'm a little bit confused. This does not address my issue, does it?

                          Black CatB Offline
                          Black CatB Offline
                          Black Cat
                          wrote on last edited by
                          #24

                          @gohan the smallest PS that I know of that is enclosed is 62.55128mm (LWH)
                          available in 3.3v, 5v DC
                          https://www.meanwellaustralia.com.au/products/rs-15
                          There should be local distributors in the required region.
                          If the OP can do without an enclosed PS then there are smaller such as
                          this step down shield.
                          https://www.blackcatcontrolsystems.com.au/Chargers-Power Supplies-Connectors/Transformers/AC-DC Supply-240vAC-5VDC

                          There are many different relay's on the market, googling will turn up something that fits the requirement.

                          Sorry about the Z-Wave confusion.

                          E 1 Reply Last reply
                          0
                          • rozpruwaczR Offline
                            rozpruwaczR Offline
                            rozpruwacz
                            wrote on last edited by
                            #25

                            @Black-Cat said in AC Power and/or Relay interface:

                            nfusion.

                            RAC03-05SCR/277 is smaller

                            1 Reply Last reply
                            0
                            • Black CatB Black Cat

                              @gohan the smallest PS that I know of that is enclosed is 62.55128mm (LWH)
                              available in 3.3v, 5v DC
                              https://www.meanwellaustralia.com.au/products/rs-15
                              There should be local distributors in the required region.
                              If the OP can do without an enclosed PS then there are smaller such as
                              this step down shield.
                              https://www.blackcatcontrolsystems.com.au/Chargers-Power Supplies-Connectors/Transformers/AC-DC Supply-240vAC-5VDC

                              There are many different relay's on the market, googling will turn up something that fits the requirement.

                              Sorry about the Z-Wave confusion.

                              E Offline
                              E Offline
                              exilit
                              wrote on last edited by
                              #26

                              @Black-Cat said in AC Power and/or Relay interface:

                              If the OP can do without an enclosed PS

                              I can do, but I am specifically looking for something that simplifies (in a sense of "assurance-safety") the whole High Voltage side. The products posted by you are really nice, but unfortunately do not address my request. :-)

                              Like I said before, I am aware, that the product I am searching for might not yet exist. (wondering why :confused: ) But maybe somebody has seen something like that.

                              gohanG 1 Reply Last reply
                              0
                              • E exilit

                                @Black-Cat said in AC Power and/or Relay interface:

                                If the OP can do without an enclosed PS

                                I can do, but I am specifically looking for something that simplifies (in a sense of "assurance-safety") the whole High Voltage side. The products posted by you are really nice, but unfortunately do not address my request. :-)

                                Like I said before, I am aware, that the product I am searching for might not yet exist. (wondering why :confused: ) But maybe somebody has seen something like that.

                                gohanG Offline
                                gohanG Offline
                                gohan
                                Mod
                                wrote on last edited by
                                #27

                                @exilit said in AC Power and/or Relay interface:

                                (wondering why )

                                I'd say because they don't want people mess with the product so they usually sell product with their own SW solution. It is like rooting a mobile phone, in case of problems you are out of warranty and in case something happens they are out of liability

                                E 1 Reply Last reply
                                0
                                • gohanG gohan

                                  @exilit said in AC Power and/or Relay interface:

                                  (wondering why )

                                  I'd say because they don't want people mess with the product so they usually sell product with their own SW solution. It is like rooting a mobile phone, in case of problems you are out of warranty and in case something happens they are out of liability

                                  E Offline
                                  E Offline
                                  exilit
                                  wrote on last edited by exilit
                                  #28

                                  @gohan Well, for most companies you are probably right. But have a look at ITEAD with their Sonoff products... They are already quite open and also seem not to do a lot against people tinkering with it. They sell good products which are adoptable if needed/wanted. And people obviously like it and large communities originate from that which create even better products.
                                  So I think there is a market for those products.

                                  That's what I mean, I'd like to see products where I don't have to void the warranty because I don't need to open it.

                                  I imagine something like the following:
                                  0_1503486411101_Device.png

                                  I think that would be awesome.

                                  gohanG 1 Reply Last reply
                                  0
                                  • T Offline
                                    T Offline
                                    Toyman
                                    wrote on last edited by
                                    #29

                                    For good AC-DC solution look at MeanWell and their IRM range, For example, IRM-05-5

                                    1 Reply Last reply
                                    0
                                    • E exilit

                                      @gohan Well, for most companies you are probably right. But have a look at ITEAD with their Sonoff products... They are already quite open and also seem not to do a lot against people tinkering with it. They sell good products which are adoptable if needed/wanted. And people obviously like it and large communities originate from that which create even better products.
                                      So I think there is a market for those products.

                                      That's what I mean, I'd like to see products where I don't have to void the warranty because I don't need to open it.

                                      I imagine something like the following:
                                      0_1503486411101_Device.png

                                      I think that would be awesome.

                                      gohanG Offline
                                      gohanG Offline
                                      gohan
                                      Mod
                                      wrote on last edited by
                                      #30

                                      @exilit also ITEAD has a warranty sticker that you need to break if you want to reflash the relay. Could be a good idea what you proposed, maybe you can start a kickstarter campaign :D

                                      E 1 Reply Last reply
                                      0
                                      • B Offline
                                        B Offline
                                        Brian Morris
                                        wrote on last edited by Brian Morris
                                        #31

                                        So I did this recently, I have two ESP8266 Wemos based switches and 2 MySensors based in production right now with more MySensors on the way. They encompass the following from AliExpress:

                                        Arduino Pro Mini & NRF24L01
                                        220/110V to 5V Transformer - https://www.aliexpress.com/item/Smart-Electronics-5V700mA-3-5W-Isolated-Switch-Power-Supply-Module-AC-DC-Buck-Step-down-Module/32529802796.html
                                        WS2812B Single LED - https://www.aliexpress.com/item/10-100-pcs-WS2812B-LED-Individually-addressable-WS2811-IC-rgb-white-black-2812b-led-heatsink-10mm/32378187271.html
                                        2 Small Tactile Buttons - https://www.aliexpress.com/item/100pcs-Tactile-Switch-Push-Button-Tactile-Pushbutton-4pin-DIP-6-6-10mm-for-LCD-Screen-Monitor/32693091694.html
                                        Relay - https://www.aliexpress.com/item/Free-Shipping-10Pcs-5V-Low-Level-Trigger-One-1-Channel-Relay-Module-Interface-Board-Shield-for/32676400147.html
                                        Dupont cables to make the switch and box separate. https://www.aliexpress.com/item/Free-shipping-Dupont-line-120pcs-20cm-male-to-male-male-to-female-and-female-to-female/32343840673.html

                                        3D Printed Switch and Rear Box

                                        I created a switch and the box that goes in the wall in TinkerCAD. On the switch side, there is a little WS2812B led which i use to show states, and a little startup sequence to know its up and connected to the MySensors gateway. There are two buttons both behind the switch, one is pressed by the switch itself, the other is a reset switch which connects ground to the reset pin. This is in case it needs to be reset or something. I did this 2 piece approach for being able to take off the wallplate, pull out the switch, connect up the FTDI adapter and upload new code in the case of the MySensors nodes. For the ESP8266, those are OTA.

                                        I am printing the latest version of the box and switch now, I will upload pics when they are done.

                                        Here is the one in my garage, white means light is off (so you can find it in the dark), green is on. There is a red light coming from behind the switch which is the relay light, I dont care much in the garage so you can see it. On the inside ones, I used a small piece of heat shrink to cover it. Also, the pictures just do not do it justice at all, the light blurs out the camera and you cannot see the switch very well nor the power icon behind the LED.

                                        off
                                        on

                                        E 1 Reply Last reply
                                        0
                                        • gohanG gohan

                                          @exilit also ITEAD has a warranty sticker that you need to break if you want to reflash the relay. Could be a good idea what you proposed, maybe you can start a kickstarter campaign :D

                                          E Offline
                                          E Offline
                                          exilit
                                          wrote on last edited by
                                          #32

                                          @gohan said in AC Power and/or Relay interface:

                                          maybe you can start a kickstarter campaign

                                          I did not thought about that, but that sounds like a good idea :simple_smile:. Maybe it's worth thinking about it.

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


                                          18

                                          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