HTTP Commands – How to configure them in Answering units

The steps in this article require using the web interface of a 2N device. Please follow this manual in case this is your first time using the web interface.

 

HTTP API TESTool

You can find the HTTP commands in the HTTP API manual or by accessing the HTTP API TESTool which is part of every 2N IP Intercom and can help you create valid HTTP commands for the desired request type.

  • You can access the TESTool by entering the intercom’s IP address and writing /apitest.html at the end (for example https://192.168.49.88/apitest.html)

  • The HTTP command for triggering Switch 1 on the 2N IP Intercom is https://IP_address/api/switch/ctrl?switch=1&action=on

HTTP API TESTool

Intercom Setup

First, configure the HTTP API Account in the 2N IP Intercom or 2N Access Unit:

  • Click on "Services" (1), then select "HTTP API" (2)

  • Make sure the HTTP Account is enabled (3)

  • Next, fill out the "Username" and "Password" (4)

  • Next, select the desired function (5) you wish to allow to be monitored/controlled with selected HTTP API Account

  • Lastly, save (6)

2N OS Intercom HTTP API Configuration

Indoor Talk

Indoor Talk does allow only for one HTTP Command, by long-pressing on the unlock button:

  • Click on "Services" (1), then select "HTTP Command" (2)

  • Under the "HTTP Command Setting" - fill out the "URL", "NAME", "USERNAME" and "PASSWORD" (3):

    • URL - In this example "https://192.168.49.88/api/switch/ctrl?switch=1&action=on"

    • NAME - In this example called "Open Door"

    • USERNAME - Input the Username of the HTTP API Account created in the IP Intercom

    • PASSWORD - Input the Password of the HTTP API Account created in the IP Intercom

  • Lastly, save (4)

2N Indoor Talk Configuration

Indoor Compact

Indoor Compact does allow up to three HTTP Commands, with selectable Icons that will show up on the display:

  • Click on "Services" (1), then select "HTTP Command" (2)

  • Under the "HTTP Command Setting" - fill out the "URL""ICON", "NAME", "USERNAME" and "PASSWORD" (3):

    • URL - In this example "https://192.168.49.88/api/switch/ctrl?switch=1&action=on"

    • ICON - In this example an icon of a "Door" is selected
    • NAME - In this example called "Open Door"

    • USERNAME - Input the Username of the HTTP API Account created in the IP Intercom

    • PASSWORD - Input the Password of the HTTP API Account created in the IP Intercom

  • Lastly, save (4)

2N Indoor Compact Configuration

Indoor View

Indoor View does allow up to three HTTP Commands with selectable Icons, per multiple categories of the commands:

  • Home Screen HTTP Command Setting - HTTP Triggers accessible from the homescreen display

  • In-Call HTTP Setting - HTTP Triggers accessible during a call

  • External Camera HTTP Command Setting - HTTP Triggers accessible while viewing an external camera

HTTP Command Categories

To configure the HTTP Command for the homescreen in Indoor View:

  • Click on "Services" (1), then select "HTTP Command" (2)

  • Under the "HTTP Command Setting" - fill out the "URL""ICON", "NAME", "USERNAME" and "PASSWORD" (3):

    • URL - In this example "https://192.168.49.88/api/switch/ctrl?switch=1&action=on"

    • ICON - In this example an icon of a "Door" is selected
    • NAME - In this example called "Open Door"

    • USERNAME - Input the Username of the HTTP API Account created in the IP Intercom

    • PASSWORD - Input the Password of the HTTP API Account created in the IP Intercom

  • Lastly, save (4)

2N Indoor View Configuration

このページは役に立ちましたか?