How to integrate with home automation system

Akuvox intercom can work with iRidium system, users can use call, live view and access control functions to work with iRidium. Here take R29 as an example to show the configurations. Configurations may be slightly different depending on the model and the firmware of Akuvox door phones.

Configure Akuvox R29

Go to the web GUI of the R29 and enter the login and password (by default they are admin and admin). Set IP addresses of the videophone panel as it is required for the network of your SIP system. Select audio codecs. Set access parameters to external SIP server: Click Submit button. If connection to the SIP server is successful, Registered status of the account is displayed. Set parameters to control opening the door.

* Relay Delay (sec): time to unblock the lock (in seconds), * DTMF Option: the number of digits in the combination, * DTMF: a digital key to open the door, * Multiple DTMF: a digit combination that opens the door.

Activate RTSP video stream.

Installing i3 pro app on Akuvox anroid indoor monitor

i3 pro app can be launched on the indoor Akuvox android indoor monitor. Please refer to how to install apk on android indoor monitor to get i3pro insatlled. Follow the link to download .apk file for i3pro: Run i3pro on Akuvox android indoor monitor after installtion completed and login the iRidium account.

Working in iRidium studio

Create a panel project. Add the SIP driver and set it.

The most important settings are highlighted red. * Host: IP address of the SIP server, * Port: the port of SIP server (always 5060 by SIP standard), * Password: password of i3 pro subscriber (it is set on the SIP server), * SIP ID: number of i3 pro subscriber (it is set on the SIP server), * Use DTMF Tone: activating the function of DTMF tone to send information about pressing keys of the digital keyboard via the audio stream (important for opening the door), * Codec PCMU: activating G.711μ audio coder (True is recommended), * Codec PCMA: activating G.711a audio coder (False is recommended), * Codec G722: activating G.722 (False is recommended, as sound can appear worse than from PCMU and PCMA coders), * Echo Cancellation: cancelling echo (True is recommended). Add graphical items to the screen and set them.

Add a script to the project:

IR.AddListener(IR.EVENT_START,0,function() {
  var SIP = IR.GetDevice("SIP");   // name of SIP driver
  var LabelName = IR.GetItem("Page 1").GetItem("Label_name");
  var LabelNumber = IR.GetItem("Page 1").GetItem("Label_number");
  IR.AddListener(IR.EVENT_TAG_CHANGE, SIP, function(name, value) {
    if (name == "STATUS") {
      var flagReady = (value == "Incoming Call...");
      IR.GetItem("Page 1").GetItem("Button_answer").Enable = flagReady;
      var flagTalk = (value == "Talking...");   
      IR.GetItem("Page 1").GetItem("Button_door").Enable = flagTalk;
      IR.GetItem("Page 1").GetItem("Button1").Enable = flagTalk;
      IR.GetItem("Page 1").GetItem("Button2").Enable = flagTalk;
      IR.GetItem("Page 1").GetItem("Button3").Enable = flagTalk;
      IR.GetItem("Page 1").GetItem("Button4").Enable = flagTalk;
      IR.GetItem("Page 1").GetItem("Button5").Enable = flagTalk;
      IR.GetItem("Page 1").GetItem("Button6").Enable = flagTalk;
      IR.GetItem("Page 1").GetItem("Button7").Enable = flagTalk;
      IR.GetItem("Page 1").GetItem("Button8").Enable = flagTalk;
      IR.GetItem("Page 1").GetItem("Button9").Enable = flagTalk;
      IR.GetItem("Page 1").GetItem("Button0").Enable = flagTalk;
      IR.GetItem("Page 1").GetItem("Button_asterisk").Enable = flagTalk;
      IR.GetItem("Page 1").GetItem("Button_octothorp").Enable = flagTalk; 
      var flagConnect = (value == "Dialing..." || value == "Trying..." || value == "Ringing..." || value == "Talking...");
      IR.GetItem("Page 1").GetItem("Button_cancel").Enable = flagConnect;
      if (value == "Incoming Call...") {
        LabelName.Text = SIP.GetFeedback("INCOMING CALL NAME");
        LabelNumber.Text = SIP.GetFeedback("INCOMING CALL NUMBER");
      var flagShow = (flagReady || flagConnect || flagTalk);
      LabelName.Visible = flagShow;
      LabelNumber.Visible = flagShow;           

Set the graphical items to communicate with the SIP driver and the script.

Set each key 0-9, *, # a SEND TONE macros with the corresponding code of a symbol (from 0 to 11). Here is an example for “3” key: Code 10 corresponds to “ * ”, code 11 - to “#”. Like buttons of the digital keyboard the blue open button must dial “3”. The green answer button performs ANSWER command of the SIP driver. The red cancel button performs CANCEL command of the SIP driver. Audio Vol. and Mic Vol. levels performs the SET AUDIO VOLUME and SET MIC VOLUME commands. Status, Abonent Name, Abonent Number fields are connected with the corresponding tags of the SIP driver - STATUS, INCOMING CALL NAME, INCOMING CALL NUMBER. Displaying image from the camera is set according to the manual. Enter in the URI string of a dynamic image a string that looks this way: rtsp: - IP address of the Akuvox panel, 554 - port (by default). </fs></ff> To improve the quality of video set in the Param field the following value rtsp_transport=tcp; Demo project Download the demo project: The panel project contains: * a display where video from the panel camera is displayed in real time, * a keyboard to enter numbers, * answer button, * cancel button, * button to open the door, * displaying the current status, * displaying information about the subscriber (name, number), * setting the volume of the speaker and the mic of i3 pro panel. You can launch the demo-project: on Akuvox IT82R panel, using iRidium cloud: on a PC with Windows OS using Emulator: