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. Troubleshooting
  3. Relay problem

Relay problem

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 2 Posters 1.7k 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.
  • phil77560P Offline
    phil77560P Offline
    phil77560
    wrote on last edited by
    #1

    Helo,
    I've got a strange problem.
    I have 2 relays driven by Domoticz
    It used to works very well but today one of my output can't shutdown
    I as try to switch it of there is a fast blinking but it doesn't switch off ... for the other output no problems.. .I tried with a nano, a mini pro and then a Uno but the problem remains.
    Domoticz log are good... the order is sent
    I use : this sketch
    and my log :
    2016-09-03 14:33:29.202 MySensors: Node: 105, Sketch Name: Relay
    2016-09-03 14:33:29.203 MySensors: Node: 105, Sketch Version: 1.0
    2016-09-03 14:33:29.753 (MySensor) Lighting 2 (Uno 1)
    2016-09-03 14:33:33.037 User: admin initiated a switch command
    2016-09-03 14:33:33.040 (MySensor) Lighting 2 (Uno 2)
    2016-09-03 14:33:38.305 User: admin initiated a switch command
    2016-09-03 14:33:38.308 (MySensor) Lighting 2 (Uno 2)
    2016-09-03 14:33:40.728 User: admin initiated a switch command
    2016-09-03 14:33:40.730 (MySensor) Lighting 2 (Uno 2)

    I don't understand no more.... could anybody help me please ?

    mfalkviddM 1 Reply Last reply
    0
    • phil77560P phil77560

      Helo,
      I've got a strange problem.
      I have 2 relays driven by Domoticz
      It used to works very well but today one of my output can't shutdown
      I as try to switch it of there is a fast blinking but it doesn't switch off ... for the other output no problems.. .I tried with a nano, a mini pro and then a Uno but the problem remains.
      Domoticz log are good... the order is sent
      I use : this sketch
      and my log :
      2016-09-03 14:33:29.202 MySensors: Node: 105, Sketch Name: Relay
      2016-09-03 14:33:29.203 MySensors: Node: 105, Sketch Version: 1.0
      2016-09-03 14:33:29.753 (MySensor) Lighting 2 (Uno 1)
      2016-09-03 14:33:33.037 User: admin initiated a switch command
      2016-09-03 14:33:33.040 (MySensor) Lighting 2 (Uno 2)
      2016-09-03 14:33:38.305 User: admin initiated a switch command
      2016-09-03 14:33:38.308 (MySensor) Lighting 2 (Uno 2)
      2016-09-03 14:33:40.728 User: admin initiated a switch command
      2016-09-03 14:33:40.730 (MySensor) Lighting 2 (Uno 2)

      I don't understand no more.... could anybody help me please ?

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

      @phil77560 does the relay switch if you manually give it 5V/0V? (without involving an Arduino at all)

      The relay might be broken. Sometimes the power passing through a relay welds it to a permanent state.

      phil77560P 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @phil77560 does the relay switch if you manually give it 5V/0V? (without involving an Arduino at all)

        The relay might be broken. Sometimes the power passing through a relay welds it to a permanent state.

        phil77560P Offline
        phil77560P Offline
        phil77560
        wrote on last edited by
        #3

        @mfalkvidd No no, I've changed for LED ... just the same

        mfalkviddM 1 Reply Last reply
        0
        • phil77560P phil77560

          @mfalkvidd No no, I've changed for LED ... just the same

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

          @phil77560 strange. Could you post your wiring diagram? Enabling debug on the node and looking at the serial debug output can be useful.

          phil77560P 1 Reply Last reply
          0
          • mfalkviddM mfalkvidd

            @phil77560 strange. Could you post your wiring diagram? Enabling debug on the node and looking at the serial debug output can be useful.

            phil77560P Offline
            phil77560P Offline
            phil77560
            wrote on last edited by
            #5

            @mfalkvidd My wiring diagram is the one given here

            My debug :
            Node registration=1
            Init complete, id=105, parent=0, distance=1, registration=1
            TSP:MSG:READ 0-0-105 s=1,c=1,t=2,pt=0,l=1,sg=0:1
            Incoming change for sensor:1, New status: 1
            TSP:MSG:READ 0-0-105 s=2,c=1,t=2,pt=0,l=1,sg=0:0
            Incoming change for sensor:2, New status: 0
            TSP:MSG:READ 0-0-105 s=1,c=1,t=2,pt=0,l=1,sg=0:0
            Incoming change for sensor:1, New status: 0
            TSP:MSG:READ 0-0-105 s=1,c=1,t=2,pt=0,l=1,sg=0:1
            Incoming change for sensor:1, New status: 1
            TSP:MSG:READ 0-0-105 s=2,c=1,t=2,pt=0,l=1,sg=0:1
            Incoming change for sensor:2, New status: 1
            TSP:SANCHK:OK
            TSP:MSG:READ 0-0-105 s=2,c=1,t=2,pt=0,l=1,sg=0:0
            Incoming change for sensor:2, New status: 0
            TSP:MSG:READ 0-0-105 s=1,c=1,t=2,pt=0,l=1,sg=0:0
            Incoming change for sensor:1, New status: 0

            it seems to be normal no ? Maybe should I have a look at my domoticz, on raspberry ?...

            mfalkviddM 1 Reply Last reply
            0
            • phil77560P phil77560

              @mfalkvidd My wiring diagram is the one given here

              My debug :
              Node registration=1
              Init complete, id=105, parent=0, distance=1, registration=1
              TSP:MSG:READ 0-0-105 s=1,c=1,t=2,pt=0,l=1,sg=0:1
              Incoming change for sensor:1, New status: 1
              TSP:MSG:READ 0-0-105 s=2,c=1,t=2,pt=0,l=1,sg=0:0
              Incoming change for sensor:2, New status: 0
              TSP:MSG:READ 0-0-105 s=1,c=1,t=2,pt=0,l=1,sg=0:0
              Incoming change for sensor:1, New status: 0
              TSP:MSG:READ 0-0-105 s=1,c=1,t=2,pt=0,l=1,sg=0:1
              Incoming change for sensor:1, New status: 1
              TSP:MSG:READ 0-0-105 s=2,c=1,t=2,pt=0,l=1,sg=0:1
              Incoming change for sensor:2, New status: 1
              TSP:SANCHK:OK
              TSP:MSG:READ 0-0-105 s=2,c=1,t=2,pt=0,l=1,sg=0:0
              Incoming change for sensor:2, New status: 0
              TSP:MSG:READ 0-0-105 s=1,c=1,t=2,pt=0,l=1,sg=0:0
              Incoming change for sensor:1, New status: 0

              it seems to be normal no ? Maybe should I have a look at my domoticz, on raspberry ?...

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

              @phil77560 I would write a sketch that turns the relay on and off with something like 5 seconds delay. Nothing else, to minimize things that can go wrong. If it still doesn't work, some hardware is broken. If it does work, there is something wrong with the software.

              phil77560P 1 Reply Last reply
              0
              • mfalkviddM mfalkvidd

                @phil77560 I would write a sketch that turns the relay on and off with something like 5 seconds delay. Nothing else, to minimize things that can go wrong. If it still doesn't work, some hardware is broken. If it does work, there is something wrong with the software.

                phil77560P Offline
                phil77560P Offline
                phil77560
                wrote on last edited by
                #7

                @mfalkvidd ok, I'm gonna try this, thank you

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


                22

                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