Relay problem



  • 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 ?


  • Mod

    @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.



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


  • Mod

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



  • @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 ?...


  • Mod

    @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.



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


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.