Input state with lock

  • Hello,

    I have pretty similar setup with this:

    Make Your Garage Door Opener Smart: Shelly 1, ESPHome and Home Assistant
    I've been adding more and more devices to my smart home lately, so naturally, my garage door opener had to follow. But instead of swapping it out for a new…
    savjee.be

    [Blockierte Grafik: https://savjee.be/uploads/2020-06-smart-garage-door-shelly-home-assistant/shelly-schematic-dc.webp]

    Only difference is that I'm using 12 VDC and the input sensor is normally open information from the lock.

    So I want to have lock state (open/locked) to Shelly, but I don't want to send any current to lock. Do I need like a optocoupler between lock and SW / L(-)?

    Thank You!

  • Do you mean the contact sensor if you say „lock“?

    Any detection of the switch state of the contact sensor needs a current flowing in the sensor! Thus, your request isn’t feasible - an optocoupler wouldn’t help.

    But if you should ask for not sending a switching command to the relay contacts of the Shelly after recognising a contact closure of the sensor, you’ll have to configure „detached input“!

    Or is it the negative logic you need? This can be achieved by setting „reverse input“ in „button type“ selection!

    Addendum: Welcome to the forum!

    „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)

  • Danke Schön!

    Not quite what I was looking for. I was a bit unclear with my setup. The lock is Abloy EL581 and has a bolt with 2 states. It's either in or out.

    Lock is already powered up from another circuit so basicly I just need a locking state (in this case NO (=Open) is enough). Shelly output goes to access controllers "open button" and it opens the lock.

    [Blockierte Grafik: https://i.imgur.com/9rZiakD.png]

    [Blockierte Grafik: https://i.imgur.com/UI4uWrV.png]


    Einmal editiert, zuletzt von 66er (23. Januar 2022 um 19:14) aus folgendem Grund: Full quote of last Post deleted

  • Seems to me pretty easy: You’ll have to connect pin „C“ of the lock with terminal „L“ of the Shelly and pin „NC“ (or „NO“ - depending on the logic used) with terminal „SW“ of the Shelly. Give it a try…

    And, by the way: Don’t forget the set the jumper in the Shelly to 12V position. And watch the correct polarity of supply voltage: Plus 12V has to be connected with terminal N, minus with terminal L!

    „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)

  • Dieses Thema enthält 2 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind, bitte registrieren Sie sich oder melden Sie sich an um diese lesen zu können.