Toggle Switching not working

  • Hi,

    I'm trying to get my Shelly 2.5 to act with Relay 1 as the 'master' which is switched via the app/cloud only, and Relay 2 to act as a 'slave', with it's state always the opposite to that of Relay 1. This way the whole Shelly 2.5 will effectively act as one relay with an interposing NO & NC contact. Relay 2 is set as a 'hidden' device so it can't be accidentally switched (there are no safety implications if the they do switch on or off together btw so nothing to worry about there)

    I can achieve this using two scenes: one scene turns Relay 2 OFF when Relay 1 is ON, and the other turns Relay 2 ON when Relay 1is OFF. However, I would prefer to leave a hardwired solution. I've wired the output from Relay 1 into the S/W input of Relay 2, then set the Relay 2 'Button Type' to 'Toggle Switch'. I've also ticked the 'Reverse Inputs' box, as I want Relay 2 to be the opposite of the S/W input state. However, the relay never changes state in either direction when Relay 1 comes on/off. I've confirmed voltage is/isn't present at S/W input 2 so it's not a wiring issue. Have I missed something? Any ideas please.

    Thanks.

  • Are the electrical consumers (lights, relays etc.) connected yet to output 1?

    Would recommend to draw a little sketch about your wiring!

    „Habt Geduld. Alle Dinge sind schwierig, bevor sie einfach werden!“ (aus Frankreich)

    „Nothing in life is to be feared, it is only to be understood.“ (Marie Curie, 1867-1934)

    „Es reicht nicht“, rief Schiller, „Gedankenfreiheit zu fordern, man muß auch denken können, sonst fordert man Gedankenlosigkeitsfreiheit und die ist die Freiheit zur Dummheit, welche wiederum die schlimmste Unfreiheit überhaupt ist!“
    (Aus „Besuch aus Weimar“ von Gert Heidenreich, Schriftsteller, *1944 in Eberswalde)

  • Yes, output 1 is connected to my hot water system and everything is working fine using the scenes to switch Output 2. I could leave it like that with no issue it's just trying to understand why it doesn't work when I try to toggle via the s/w input.

  • Issue is that SW2 is activated by neutral potential through the hot water system if output 1 is off and activated by live potential if output 1 is on!

    This can be amended by

    (a) using a relay to separate SW2 from the hot water system, or

    (b) adopting the resistor method described here (unfortunately in German language).

    You should have some skills in electronics for both solutions…

    „Habt Geduld. Alle Dinge sind schwierig, bevor sie einfach werden!“ (aus Frankreich)

    „Nothing in life is to be feared, it is only to be understood.“ (Marie Curie, 1867-1934)

    „Es reicht nicht“, rief Schiller, „Gedankenfreiheit zu fordern, man muß auch denken können, sonst fordert man Gedankenlosigkeitsfreiheit und die ist die Freiheit zur Dummheit, welche wiederum die schlimmste Unfreiheit überhaupt ist!“
    (Aus „Besuch aus Weimar“ von Gert Heidenreich, Schriftsteller, *1944 in Eberswalde)

  • Sorry - forgot to mention solution (c):

    Coupling both relays of Shelly 2.5 via DDD: Remove the wire between O1 and SW2 and fill the ‘I/O url action’ menu of relay 1 at topic ‘output = on’ with http://localhost/relay/1?turn=toggle . Same with ‘output = off’.

    Addendum: Another sorry for suggesting (c) - didn’t keep in mind you had a software solution yet! Forget (c) please…

    „Habt Geduld. Alle Dinge sind schwierig, bevor sie einfach werden!“ (aus Frankreich)

    „Nothing in life is to be feared, it is only to be understood.“ (Marie Curie, 1867-1934)

    „Es reicht nicht“, rief Schiller, „Gedankenfreiheit zu fordern, man muß auch denken können, sonst fordert man Gedankenlosigkeitsfreiheit und die ist die Freiheit zur Dummheit, welche wiederum die schlimmste Unfreiheit überhaupt ist!“
    (Aus „Besuch aus Weimar“ von Gert Heidenreich, Schriftsteller, *1944 in Eberswalde)

    Einmal editiert, zuletzt von thgoebel (11. November 2021 um 18:38)

  • Dieses Thema enthält einen weiteren Beitrag, der nur für registrierte Benutzer sichtbar ist.