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. 💬 AC-DC double solid state relay module

💬 AC-DC double solid state relay module

Scheduled Pinned Locked Moved OpenHardware.io
hlk-pm01solid state relaylight switchlightacdc
226 Posts 67 Posters 103.8k Views 65 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.
  • okosO okos

    Hello.
    I would like to ask whether it is normal that the switch does not work if the server domoticz off? I want to use the switch only crash server :flushed: now i cant

    mr_constM Offline
    mr_constM Offline
    mr_const
    wrote on last edited by
    #91

    @okos Unfortunately current mysensors version won't allow to 'boot' your code before their module connects to a controller. This is a main reason I moved to ESP8266 hardware.

    Nca78N 1 Reply Last reply
    0
    • mr_constM mr_const

      @okos Unfortunately current mysensors version won't allow to 'boot' your code before their module connects to a controller. This is a main reason I moved to ESP8266 hardware.

      Nca78N Offline
      Nca78N Offline
      Nca78
      Hardware Contributor
      wrote on last edited by
      #92

      @mr_const said:

      @okos Unfortunately current mysensors version won't allow to 'boot' your code before their module connects to a controller. This is a main reason I moved to ESP8266 hardware.

      It does, you can put a before() method in your sketch.

      1 Reply Last reply
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #93

        You can disable this behaviour by defining:

        #define MY_TRANSPORT_DONT_CARE_MODE
        #define MY_PARENT_NODE_ID 0
        
        mr_constM okosO 3 Replies Last reply
        0
        • okosO Offline
          okosO Offline
          okos
          wrote on last edited by okos
          #94

          Thanx for the answers
          This is not good news from the switch does not work without a server. Mr.const, Do you use esp8266 in domoticz to control the light?

          edit: hek, I not noticed your post.
          What changes adding this?

          #define MY_TRANSPORT_DONT_CARE_MODE
          #define MY_PARENT_NODE_ID 0```
          1 Reply Last reply
          0
          • hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #95

            @okos said:

            What changes adding this?

            It disables the transport sanity check at startup.

            1 Reply Last reply
            0
            • hekH hek

              You can disable this behaviour by defining:

              #define MY_TRANSPORT_DONT_CARE_MODE
              #define MY_PARENT_NODE_ID 0
              
              mr_constM Offline
              mr_constM Offline
              mr_const
              wrote on last edited by
              #96

              @hek

              @hek said:

              You can disable this behaviour by defining:

              #define MY_TRANSPORT_DONT_CARE_MODE
              #define MY_PARENT_NODE_ID 0
              

              This is a really good news, I'll give it a try to check if it works correctly with controller and when controller is lost.

              1 Reply Last reply
              0
              • hekH hek

                You can disable this behaviour by defining:

                #define MY_TRANSPORT_DONT_CARE_MODE
                #define MY_PARENT_NODE_ID 0
                
                okosO Offline
                okosO Offline
                okos
                wrote on last edited by
                #97

                @hek said:

                You can disable this behaviour by defining:

                #define MY_TRANSPORT_DONT_CARE_MODE
                #define MY_PARENT_NODE_ID 0
                

                sorry for the ridiculous question but I have to enter into a sketch? or MyConfig.h?

                1 Reply Last reply
                1
                • hekH Offline
                  hekH Offline
                  hek
                  Admin
                  wrote on last edited by
                  #98

                  In the sketch before including MySensors.h

                  1 Reply Last reply
                  1
                  • hekH hek

                    You can disable this behaviour by defining:

                    #define MY_TRANSPORT_DONT_CARE_MODE
                    #define MY_PARENT_NODE_ID 0
                    
                    mr_constM Offline
                    mr_constM Offline
                    mr_const
                    wrote on last edited by
                    #99

                    @hek

                    @hek said:

                    You can disable this behaviour by defining:

                    #define MY_TRANSPORT_DONT_CARE_MODE
                    #define MY_PARENT_NODE_ID 0
                    

                    Tried it. Doesn't work. Btw, I searched all mysensors sources (2.0) and didn't find any use of a MY_TRANSPORT_DONT_CARE_MODE definition.

                    1 Reply Last reply
                    0
                    • hekH Offline
                      hekH Offline
                      hek
                      Admin
                      wrote on last edited by
                      #100

                      @mr_const said:

                      MY_TRANSPORT_DONT_CARE_MODE

                      Sorry, yes, It's all in the development branch:

                      https://github.com/mysensors/MySensors/search?utf8=✓&q=MY_TRANSPORT_DONT_CARE_MODE

                      1 Reply Last reply
                      2
                      • okosO Offline
                        okosO Offline
                        okos
                        wrote on last edited by okos
                        #101

                        It possible implement this option in mysensors 2.0 ?

                        mfalkviddM 1 Reply Last reply
                        0
                        • okosO okos

                          It possible implement this option in mysensors 2.0 ?

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

                          @okos it will be included in the next release yes.

                          1 Reply Last reply
                          0
                          • okosO Offline
                            okosO Offline
                            okos
                            wrote on last edited by okos
                            #103

                            Hello.
                            I tried to upload my two boards ( arduino pro mini 8Mhz , 3,3 V ) modified sketches but returned to sketch Nca78 (with DS18B20), unfortunately, does not operate a physical switch. Sometimes phisical switch changes state in domoticz ( not every time ) but relays do not change state.
                            Switching on and switching off the lights of domoticz changes state relay without a problem.
                            What could be wrong ?

                            1 Reply Last reply
                            0
                            • L Offline
                              L Offline
                              ludoarchi
                              wrote on last edited by
                              #104

                              Hi

                              Does somebody can post a picture of the back side please.

                              Thinks

                              okosO 1 Reply Last reply
                              0
                              • L ludoarchi

                                Hi

                                Does somebody can post a picture of the back side please.

                                Thinks

                                okosO Offline
                                okosO Offline
                                okos
                                wrote on last edited by
                                #105

                                @ludoarchi ![alt text]0_1478249022728_20161104_093851.jpg

                                L 1 Reply Last reply
                                1
                                • okosO okos

                                  @ludoarchi ![alt text]0_1478249022728_20161104_093851.jpg

                                  L Offline
                                  L Offline
                                  ludoarchi
                                  wrote on last edited by
                                  #106

                                  @okos thinks !

                                  1 Reply Last reply
                                  1
                                  • Nca78N Offline
                                    Nca78N Offline
                                    Nca78
                                    Hardware Contributor
                                    wrote on last edited by
                                    #107

                                    That's where the biggest problem is on this board. I think the previous revision without the DS18 is safer, here there is less than 2mm creepage/clearance between main and low voltage traces and solder points, not enough :(

                                    0_1478261384159_1478249033709-20161104_093851.jpg

                                    There's also problem of mixing both main/low voltage everywhere in the board like near the NRF24.

                                    1 Reply Last reply
                                    0
                                    • L Offline
                                      L Offline
                                      ludoarchi
                                      wrote on last edited by
                                      #108

                                      Hi
                                      Noob questions sorry !
                                      1/ Can i used it with 3way switches ?
                                      2/ what are the pins 7 GND and 4 for ?
                                      Thinks

                                      mr_constM 1 Reply Last reply
                                      0
                                      • L ludoarchi

                                        Hi
                                        Noob questions sorry !
                                        1/ Can i used it with 3way switches ?
                                        2/ what are the pins 7 GND and 4 for ?
                                        Thinks

                                        mr_constM Offline
                                        mr_constM Offline
                                        mr_const
                                        wrote on last edited by mr_const
                                        #109

                                        @ludoarchi

                                        @ludoarchi said:

                                        2/ what are the pins 7 GND and 4 for ?

                                        7 and 4 pins are mapped to 7 and 4 in/out of an arduino module. GND is for ground. These pins could be used to manually control relay state.

                                        L 1 Reply Last reply
                                        0
                                        • mr_constM mr_const

                                          @ludoarchi

                                          @ludoarchi said:

                                          2/ what are the pins 7 GND and 4 for ?

                                          7 and 4 pins are mapped to 7 and 4 in/out of an arduino module. GND is for ground. These pins could be used to manually control relay state.

                                          L Offline
                                          L Offline
                                          ludoarchi
                                          wrote on last edited by
                                          #110

                                          @mr_const ok i understand ! Thinks

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


                                          32

                                          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