Trigger Door Actions via HTTP Commands on E18

Prev Next
This content is currently unavailable in French. You are viewing the default (English) version.

This guide explains how to trigger door actions on the E18 door phone using HTTP commands from a third-party server.

Supported actions include:

  • Door unlock

  • Door lock (close)

  • Keep the door open

  • Get door status

  • Deny access

Prerequisites

Before proceeding, ensure the following conditions are met:

  • Firmware version: 18.30.11.27 or higher.

  • The E18 device must be accessible on the same network as your server.

  • You have admin access to the device web interface.

How It Works

Each door action is triggered by sending an HTTP request to the device.

The request must include:

  • The device IP address

  • Authentication credentials

  • The action command

  • The door(relay) number

Step 1: Enable Open Door via HTTP

  1. Navigate to the device IP in a browser. The login username and password are admin(by default).

  2. Go to Access Control > Relay > Open Relay via HTTP.

  3. Enable the feature.

  4. Customize the username and password for authentication.

  1. Click Submit.

Security Recommendation

Use a unique, strong password for the HTTP relay credentials. Avoid using the default admin credentials.

Step 2: Check High Security Mode

High Security Mode affects which URL format is accepted. To check the current setting, go to System > Security > High Security Mode. It is enabled by default.

  • High Security Mode Switch OFF: Both the old URL and the new URL are supported.

  • High Security Mode Switch ON: Only the new URL is supported.

Step 3: Use the Standard URL Format

Choose the appropriate URL format based on your High Security Mode setting. Only the Action parameter needs to change between different door commands.

New URL Format(Recommended)

http://{username}:{password}@{device_ip}/fcgi/OpenDoor?action={Action}&DoorNum={DoorNum}

Example — Open Door

http://admin:Admin123@192.168.88.118/fcgi/OpenDoor?action=OpenDoor&DoorNum=1

Old URL Format

http://{device_ip}/fcgi/do?action={Action}&UserName={username}&Password={password}&DoorNum={DoorNum}

Example — Open Door

http://192.168.88.118/fcgi/do?action=OpenDoor&UserName=admin&Password=Admin123&DoorNum=1

Step 4: Replace Parameters

Replace the placeholders in the URL with your actual values:

Parameter

Description

{username}

The Open Door via HTTP username(set in Step 1)

{password}

The Open Door via HTTP password(set in Step 1)

{device_ip}

Device IP address

{Action}

The action to perform(See Supported Actions below)

{DoorNum}

The relay to be triggered.

  • Relay A: DoorNum = 1

  • Relay B: DoorNum = 2

Supported Actions

Action

Description

OpenDoor

Open the door

CloseDoor

Close the door

OpenDoorForever

Keep the door open

DoorStatus

Get door status

RefuseOpenDoorWrongCardID

Deny access due to an invalid card

Step 5: Examples

The following examples use the new URL format. Replace credentials and IP with your own values.

Open the Door

http://admin:Admin123@192.168.88.118/fcgi/OpenDoor?action=OpenDoor&DoorNum=1

Close the Door

http://admin:Admin123@192.168.88.118/fcgi/OpenDoor?action=CloseDoor&DoorNum=1

Keep the Door Open

http://admin:Admin123@192.168.88.118/fcgi/OpenDoor?action=OpenDoorForever&DoorNum=1

Get Door Status

http://admin:Admin123@192.168.88.118/fcgi/OpenDoor?action=DoorStatus&DoorNum=1

Deny Access(Invalid Card)

http://admin:Admin123@192.168.88.118/fcgi/OpenDoor?action=RefuseOpenDoorWrongCardID&DoorNum=1