Skip to main content

Can IVA be controlled via RCP+ HTTP commands, if FLEXIDOME indoor 3100i doesn’t have a physical relay?

Question

Can IVA be controlled via RCP+ HTTP commands, if FLEXIDOME indoor 3100i doesn’t have a physical relay?

Answer

Tested on: FLEXIDOME indoor 3100i – 5MP (CPP14.3), Firmware 9.40.0134

If the camera does not have a physical relay, IVA can be controlled via the following RCP+ HTTP commands.

Action

HTTP Command

VCA OFF

http://<camera_ip>/rcp.xml?command=0x0A65&type=T_OCTET&direction=WRITE&num=1&payload=253

VCA Profile 1 ON

http://<camera_ip>/rcp.xml?command=0x0A65&type=T_OCTET&direction=WRITE&num=1&payload=1

VCA Profile 2 ON

http://<camera_ip>/rcp.xml?command=0x0A65&type=T_OCTET&direction=WRITE&num=1&payload=2

ℹ️If authentication is required, credentials can be included directly in the command:

https://<username>:<password>@<camera_ip>/rcp.xml?command=0x0A65&type=T_OCTET&direction=WRITE&num=1&payload=1

 

Using Virtual Inputs via ATSL

Instead of using relays, the Alarm Task Script can control virtual inputs by sending RCP commands

Rcp Command va1 on:= {Command("rcp.xml?command=0x0a8b&direction=WRITE&type=F_FLAG&num=1&payload=1")};

Rcp Command va1 off:= {Command("rcp.xml?command=0x0a8b&direction=WRITE&type=F_FLAG&num=1&payload=0")};

Rcp Command va2 on:= {Command("rcp.xml?command=0x0a8b&direction=WRITE&type=F_FLAG&num=2&payload=1")};

Rcp Command va2 off:= {Command("rcp.xml?command=0x0a8b&direction=WRITE&type=F_FLAG&num=2&payload=0")};

Read current virtual input state:

http://<camera_ip>/rcp.xml?command=0x0a8b&direction=READ&type=F_FLAG&num=1

http://<camera_ip>/rcp.xml?command=0x0a8b&direction=READ&type=F_FLAG&num=2

Executing HTTP Commands via 3rd party software

If you are using a 3rd party software such as Milestone, and it cannot send HTTP requests directly, use a batch (.bat) file and a MIP Plugin.

Example .bat file: curl -k -u user:password "https://<camera_ip>/rcp.xml?command=0x0A65&type=T_OCTET&direction=WRITE&num=1&payload=1"

  • -k → disables certificate validation

  • -u user:password → authentication credentials

  • payload → specifies which IVA profile to activate

Once configured, the 3rd party software such as Milestone can execute this batch file to toggle IVA profiles.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.