Integration with the Ekey fingerprint reader

This article presents the integration of the Ekey fingerprint reader with the Grenton Smart Home system using Gate Http

The set of Ekey devices used for integration is:

  • Ekey xLine fingerprint reader
  • Ekey xLine controller reader 

41LcczOOxdL._AC_UF1000,1000_QL80_

Integration enables:

  • reading who authorized the opening of the door
  • launching defined scenes after opening the door
  • sending a notification about opening the door

Gate Http configuration

  1. In the first step, prepare the Http Listener object
  2. Then, we add a script to the OnRequest event in the object that will launch the "Back home" scene and confirm receipt of the request from Ekey.

CLU->scen_back_to_home()

Gate_Http->Listener->StatusCode = 200 
Gate_Http->Listener->ResponseBody = "OK" 
Gate_Http->Listener->SendResponse()

Ekey system configuration

  1. The reader installation and configuration process is available here and here
  2. After completing the above steps, we can proceed to create an HTTP(S) Request that will be sent to Gate Http
  • Go to the settings in the application and select "Smart home connections"

Screenshot_20231009_111814 (1)

  • Then we move on to creating the HTTP(S) Request

Screenshot_20231009_135756

  • We fill in the fields as follows:

Screenshot_20231009_140123

The "Name" and "Location" fields can be filled in freely

Method: POST
URL: http://10.10.23.2/open (Gate Http IP address and Path from our Listener object)
The "Request Header" and "Request Body" may be left blank
Security Level: AllowHttp
Authentication: No authentication

 

Changes should be saved and go to the main menu and the Users field:

Screenshot_20231009_140649Screenshot_20231009_140701

We select "Fingerprint" then "Functions" and add the Http Request that we have prepared.

Screenshot_20231009_140932Screenshot_20231009_140941

Now, after placing your finger on the reader, a Request will be sent to our Gate Http.