This guide is for all people of good will. Just kidding, this guide is about using WiFi module Shelly 1 as door lock controller.
In term of door lock I mean electrical door lock something like you can see at cover blog picture. Electrical door locks traditionally comes in two versions with different power supply. Very common door locks are with 12V DC or AC power supply, second case are 24V DC power supply.
This guide cover using Shelly 1 for controlling 12V DC and 24V DC door locks. You can also control 12V AC door locks with Shelly 1, but Shelly 1 module do not support power supply itself by 12 V AC, so in such case you would need extra wires to power Shelly 1 module and also different operational voltage.
So let start, wiring diagram is shown below. I think it is pretty straightforward. Watch out for position of jumper, which determine if Shelly 1 could be power by 12V DC or 24V-60V DC.
Warning!!!: Wiring should be done at best by a certified electrician (even if it is a DC power supply and a lower operating voltage), a person who understands the diagram. You are responsible for making the connection and reproducing the article. We are not responsible for any damage to equipment, property or personal injury caused by incorrect connection.
Please check wiring and position of jumper more than once. The most important thing is to comply with the correct polarity of the connection.
This guide is not mentioning how to connect Shelly 1 to your local WiFi, as it assume that you already know how to do this. But in case you do not know how to connect Shelly 1 to your WiFi just watch this video - link. Also you can check videos at the end of this blog.
After connecting Shelly 1 to your WiFi, please ensure that you set up automatic turning off of output (O, that controll doorlock) after x seconds. X should be replaced with number of seconds, that indicate how long you wish to have unsecure door lock. For example when you press ON the doorlock is unlock and after 3 seconds is lock again.
For setting up this feature, you can use feature Timer in Shelly app. The quote from Shelly 1 manual: "Тo manage the power supply automatically, you may use: Auto OFF: After turning on, the power supply will automatically shutdown after a predefined time (in seconds). A value of 0 will cancel the automatic shutdown."
If everything is set, you could switch on Shelly 1 output from Shelly app or trough the wallswitch (if it is connected) and you should hear relay click inside Shelly 1 and also latch of door lock should be ease to push inside. After 3 seconds (or more depends how many seconds you set up) you should again hear relay click inside Shelly 1 and door lock should be still and unable to push latch inside. How it all works when wiring and connection is complete - video below.