Door/Solenoid Controller

Bhadre access controller is a smart controller that can be used for controlling and managing access to any restricted or public areas. The restricted areas can be a house, office, building, garage doors and gates, or anything similar. It can also be a private parking lot of an apartment complex or office. Public areas are public parking lots (paid or free), public transportation systems, cinema halls, GYMs, caravan parks and so on. WifiSecureAccess access controller can be integrated with any of the existing controller. With this integration, one can also use Google Home, Google Nest, Google Smart Home or Amazon Alexa to operate the door/gate. The doors/gates can be operated from anywhere remote. One can also know the current status of the door/gate (whether open or closed) from remote. Notifications can be configured to send if the door/gate remains open for a long time. If it is a garage door or gate, one can configure AutoClose such that the garage door/gate gets automatically closed after a pre-configured delay. Multiple users can be authorized to open/close the door/gate. The owner of the controller can revoke this authorization any time. It is also possible to configure the door/gate such that the authorization gets automatically revoked after a date/time. In addition, one can configure open and close times such that only between these times the authororized persons can access the door/gate. It is also possible to set authorizations such that some people are allowed to use only during some specific time period on pre-configured days of the week. Two factor authentication such as pin or face recognition can also be optionally configured in places where high securtity is required. Entry to a public place can also be controlled based on age, gender or citizenship. When used for paid parking lots, public transport, or cinema halls, entry fees are charged automatically and debited to their credit card using Stripe system. Booking a place or holding a place in public places such as cinema halls and parking lots are also possible. This documentation describes how the smart controller can be installed and how the smart device can be configured to meet all the needs.

1  Controller unit

For controlling a door or a solenoid, the controller used is this one with the details shown below. It is a small unit with dimensions 53mmx53mmx25mm. It has a USB-C power port and a 2-pin JST socket to use a JST cable to wire it to garage door/gate.
Fig 37: Gate Controller Version 5

In this document, we will describe how this controller can be installed on a door, or how this can be cabled to a solenoid. This controller can be used with both Fale-Safe and Fail_secure type of electric strikes or solenoid. Before we get to wiring this to doors or solenoids, we will power it ON and do an initial configuration.

2  Applying Power to the Controller

The gate/garage door controller takes 12VDC power through its power socket. So, use a 12VDC power adapter and connect it to the power connector of the controller. The power adapter must have a rating of 12VDC, and minimum 1A.
Fig 61: Gate Controller board (Apply power using USB-C cable to the USB-C connector)

3  Initial Setup and Configuration

In order to use this door/solenoid controller, the controller has to be configured. This initial configuration can be done either before or after cabling it to door/solenoid. However, we recommend doing the initial configuration prior to wiring this to the electric strike or solenoid. Click here to see the instructions on setting up and configuring this controller.

4  Installing Electric Strike, Magnetic Lock or Solenoids

In this section, we will describe how this controller can be installed on a door with an electric strike or magnetic loack, or for controlling any solenoid. Before we get to it, have a look at the inside of the controller and its various connectors and cables. The controller can be opened by inserting a flat screw driver in the side hole of its plastic box and twisting it. Use a correct flat screw driver that has a flat end approximately as wide as the side hole on the box. Insert it slightly and twist open. You need to apply some force when twisting. You will hear a cracking sound when the latch comes out and the box opens. That sound is normal. The only time that you need to open the box is when you install it and do the cabling.
Fig 12: Opening the controller box

Pictures below show all the connectors and the labels on each connector. These will help when cabling and installing the controller.
Fig 13: Door/Solenoid controller PCB with Labels

5  Proposed Installation of WiFisecureAccess controller on a door

The picture below is the proposed installation diagram of wiFisecureAccess controller on a door with electric strike of magnetic lock. The components of installation are 1) WiFisecureAccess controller, 2) Electric strike or magnetic lock, 3) Magnetic sensor (optional), 4) QRCode tag, and and 5) connecting cables. The magnetic sensor are optional and they may be installed only if you want its features.

Fig 20: Fitting Controller on Door


Install the parts as per the diagram above. Install QRCode tag at the outside, and controller inside the door. Use an external 12VDC power adapter (1A rating) to power the controller. Install electric strike on the door frame and cable it to the controller. Keep the current mecahnocal lock and key on the door. You can still use them. This will also help opening the door in the event of a power failure.

Use an electric strike that is rated 12VDC, (less than 700ma), and with sensor output. The sensor output helps to know whether or not the door is currently open or closed.

Here is a cabling diagram showing how an electric strike is cabled to the door/gate controller.
Note: If you are cabling a magnetic lock or a solenoid, there will not be any sensor to be cabled. Just cable only the solenoid. If sensor is needed when installing a magnetic lock on a door, sepaerate magnetic sensor has to be purchased and installed on the door. Then it has to be cabled to GND and D7 terminals of the J2 connector of the controller. Installing QRCode on the outside is optional and to be installed only if you want to open the door by scanning its QRCode usinga smartphone.
Fig 21: Electric Strike with Sensor


Fig 22: Cabling of Electric Strike to Controller


Fig 23: Controller with Electric Strike


6  Installation of an electric strike on a door

To install keyless entry using WiFiSecureaccess contoller, you need to install either an electric strike or a magnetic lock on the door. You have to choose the right kind of electric strike or magnetic lock that fits on your door frame. To match with the controller, the electric strike must be rated as 12VDC, and less than 700ma. It is advised to get the electric strike that has a sensor output. The sensor output will help in knowing whether the door is currently open or closed. We recommend a 'Fail Secure' type oif an electric strike. This type of strike will stay locked when the power is off and will open only when power is applied.

Fig 24: An Electric Door Strike

Fig 25 shows a picture of an installed door strike. You can search in YouTube for installation guides for installing an electric strike. Alternatively, you can get this installed by a tradesperson. Once the door strike is fitted on the door, install the smart device behind the door inside the house so that it is secure. Fix it on the wall or anywhere conveniently closer to the door.

Fig 25: An Electric Strike fitted on a door

Fig 26: Installing an Electric Strike on the door

7  Disabling AutoClose on Doors and locks

When using to control Doors with electric strike and magnetic locks or anything similar, or parking gate, it is assumed that they are closed either manually or by any other external automatic mechanism after opening it. So, the smart controller does not keep the actuator activated beyond the time specified in the Duration filed of the first portcontrol in Fig 128. You can override this by appending "NoAutoClose" in the name of the port label (not in the device name). If you override, it will not assume that the door or parking gate is closed automatically. Instead, it will keep the actuator activated until you give another command to close it. In other words, if 'NoAutoClose' is present in the label of its port, and if you say, 'Hey Google, open ...', or press the button on your smartphone to open it, it will put the actuator ON and keep it ON until you give another command to close it. To append NoAutoClose in the name of the port, click 'Ports and Security' under device admin in the Dashboard menu. That will open a page similar to the following. here, you add the word NoAutoClose in the Relay1_label.
Fig 129: Setting NoAutoClose for doors and locks



8  Configuring Scheduled Actions or Additional Automatic Controls



After the initial configurations, if you are interested in configuring additional automatic controls such as openong or closing the door/solenoid automatically regularly at some time of a day or a week, refer to this document



9  Monitoring a Device in Real Time

Access through any door or gate can be monitored on real time by the owner of that device. When minitoring on a browser window, it will display whenever a user opens or closes that door or gate. To monitor, click on 'Monitor a Door' under "Devices Admin' in the Dashboard menu. It will prompt for the device name. Select it from the pulldown menu. Only those devices in parking_lot/Public place and those in access control mode with assigned device group will be seen in the pulldown menu. Once selected, it will open a browser window. The window will be empty initially with just a title displayed. If you keep this window open, you can see a new line appearing whenever a user either opens or closes that door/gate connected to that device. You will also hear a beep sound whenever that happens. This window will display the email address of the person who opens/closes the gate. If this is a parking lot, it will display the Vehicle registration number. It will also display whether this is an entry or exit. The display also has a count at the top showing the number of users in that place since you started monitoring. This number is the toal number entered minus the total number that exited. If this door/gate is an entry gate only, there will not be anyone exiting it, and vice versa. However, if this gate is for entry as well as exit, the total number displayed is the total entered - total exited. Opening a door/gate from remote will be displayed as Entry/Exit and will not be counted in the number displayed.