Skip to main content

iRidi for Ajax​

A set of tools for creating control interfaces using the Ajax security system driver.

Attention

Support for the driver has been temporarily discontinued!


Documentation updated on 19.03.2026

Use the sample project to explore the driver's capabilities:

Description​

iRidi for Ajax - a set of tools for creating an interface to control the Ajax security system.

iRidi for Ajax allows a control panel (iOS, Android, Windows, Mac) to connect to equipment through the Ajax manufacturer's cloud over HTTP.

Note
  • The driver is intended for server projects only.

  • The Ajax hub does not need to be on the same local network as iRidi Server. With internet access, you can check the security system status at a remote site.

  • You can link several Ajax hubs for different protected sites to an account in the Ajax system application.

Tested equipment​

Hub, Hub Plus, Hub 2, Hub 2 Plus (including hub control through groups), Door protect, Motion protect, Space Control, Door Protect Plus, Motion Protect Plus, MotionCam, MotionCam Outdoor, MotionProtect Outdoor, Motion Protect Curtain, LeaksProtect, Socket, WallSwitch, Relay, Dual Curtain Outdoor, StreetSiren, HomeSiren, KeyPad, Keypad Plus, Button, Double Button, Tag, Pass.

Advantages​

  • Ajax systems can easily be expanded with intrusion, fire, and water leak detectors, and relays for remotely switching power to electrical appliances. You can purchase additional devices and add them to the system yourself. Detectors connect through the mobile application in a few clicks.
  • The hub's communication range with detectors reaches 2000 meters in an open area. In an apartment or office, partitions, walls, and floors reduce this range. Before installing detectors, you can run a radio communication test in the Ajax Security Systems mobile application to check the signal level.
  • Ajax detectors run on batteries rather than mains power, unlike devices in wired alarm systems. To protect a home or office for as long as possible, the company developed a special energy-efficient protocol. It conserves battery power, allowing batteries to last up to 7 years.
  • Digital algorithms in Ajax detectors recognize human movement. Detectors do not respond to a pet shorter than 50 centimeters and weighing less than 20 kilograms.
  • In standalone mode (without internet access), Ajax continues to provide protection like other professional security systems: detectors monitor their surroundings and send information to the hub, and the system activates sirens if danger is detected.
  • Your home remains protected during a power outage. All Ajax detectors run on batteries, and the hub has a backup battery that provides up to 16 hours of reliable operation. When power returns, the hub automatically recharges the battery.

Connection​

To connect to Ajax equipment:

  1. Download the Ajax Security System mobile application. It is available in Google Play and the App Store;

  2. Create an account in the application, add Ajax devices, and organize them into groups if needed. Use the Ajax account login and password when adding the driver in iRidi Studio;

  3. Create a cloud object with the appropriate license in your account on iridi.com.

  4. Obtain a JSON file containing the device list. Sign in on the website and fill in all required fields.

  5. Import the JSON file into iRidi Studio.

  6. Link the server project to the Panel Project, then configure the project logic and user interface.

  7. When the project is complete, upload it to the cloud object created earlier.

Note
  • Initial polling of 1 device takes 1 second, so polling 60 devices takes at least one minute.

  • Missed notifications are not delivered when the application starts.

  • Device status feedback is polled when the server starts and then every 10 minutes. This avoids overloading the cloud service with requests, even at large sites with several hubs. Notifications and alarms arrive with a delay of no more than 10 seconds. When a device is mentioned in a notification or alarm, it is polled again out of turn to obtain the latest information.

Attention
  • Some feedback channels do not work without the Notification subdevice. Keep it in the project for the driver to work correctly.

Obtaining a JSON file​

  1. Create a cloud object with the appropriate license in your account on iridi.com.

Ajax8.png

  1. Follow the link to iridi.com.

  2. Select the i3pro product and the third-party manufacturer whose devices you want to add to the project (in this case, Ajax Smart Home Security ).

Ajax0.png

  1. Sign in using the credentials of the account registered with Ajax.

Ajax1.png

  1. Select the object created earlier from the drop-down list and click Link .

Ajax2.png

  1. In the window that opens, enter the driver name Ajax Network and confirm the link (Link object Ajax_cloud with Ajax Systems ).

Ajax3.png

  1. A device token is generated on the page. Click Download json for iRidi Studio to obtain the JSON file.

Ajax4.png

Note
  • If too much time has passed since you signed in to the Ajax service and linking was not completed (the JSON file was not downloaded), follow the link again and repeat the steps above.

Working in iRidi Studio​

Adding the Ajax Network driver​

  1. Create a server project in iRidi Studio. Click the JS file import button (Universal import from JS (*.js, *.json)) and select the saved JSON file.

Ajax5.png

  1. Select the devices you want to add to the project.

Ajax9.png

  1. The driver and all its devices appear in the project's driver tree.

Ajax7.png

Driver configuration:

  • Log Level - logging level;
  • Keep Alive is the TCP connection check interval. If a Keep Alive request receives no response, the driver is forcibly disconnected;
  • Token - driver token (created automatically during import);
  • Driver Version - driver version.

AjaxSubdevice.png

Device configuration:

  • Name - device name (names in iRidi Studio may differ from those in the server web interface);
  • Driver Type - Ajax Network;
  • Device ID / Group ID - individual device / group identifier (assigned automatically during import);
  • Device Type - device type (Hub, Door Protect, Motion Protect, Notification, Group);
  • Use Local Time :
    • False - use the London time zone;
    • True - use the server time.

Configuring commands and feedbacks​

SendRecieve.png

Synchronize the server project with the Panel Project and configure commands (Commands) and status feedback channels (Feedbacks) to control equipment from the graphical interface. To send a command, drag it onto a graphical item and specify the Value to send. To display a feedback channel value, drag the Feedback onto a graphical item and specify how to display its Value.

For more information about graphical items, see Graphical item types.

The supported Ajax devices, their commands, and their feedback channels are described below.

Devices​

Notification​

Command / feedbackInput / expected valuesDescription
Command:
Clear Notification Listany valueClear the current notification list.
Feedback:
NotificationListjsonNotification list.
Notifications are not received while the server is offline. You receive only notifications for events that occurred while iRidi Server was online.
Removing this subdevice from the project is not recommended. Some feedback channels in other subdevices depend on notifications.
Last Notification MessageStringMessage text of the last notification.
Last Notification TimeStringTime of the last notification.
Last Notification Colorint 0-4Notification color indication. Ajax determines the color according to the message type and importance: 1 - gray, 2 - green, 3 - orange, 4 - red. 0 means no notification and can be used as a transparent color.

Hub​

Command / feedbackInput / expected valuesDescription
Command:
Arm/Disarm0 / 1Arm / disarm (Arm - 1. Disarm - 0).
Night Mode0 / 1Enable / disable Night Mode.
* If group control mode is disabled, Night Mode can only be enabled (arm or disarm the system to disable it). In group mode, it operates as 0/1.
Group Mode On/Off0 / 1Group control mode (On - 1, Off - 0).
* Groups are configured in the Ajax application and should be created before importing the JSON file.
* Group mode can only be enabled or disabled while the hub is disarmed
Panic!any valuePanic button.
Feedback:
Arm/Disarm0 / 1Arming status (Arm - 1. Disarm - 0).
Night Mode0 / 1Night Mode (On - 1, Off - 0).
Group Mode0 / 1Group control mode (On - 1, Off - 0).
Battery0-100Hub internal battery charge percentage.
Online0 / 1Hub online / offline status (0 - offline, 1 - online).
Tampered0 / 1Whether the hub cover is open (0 - Not tampered, 1 - tampered).
Arm malfunction listjsonList of problems encountered when arming the equipment. Data is received when the hub is armed with the system integrity check enabled (see the Ajax application). Problems include unclosed doors, low batteries, open device covers, and others.
* The system arms despite the existing warnings.
* To display the error list in a list item, see the instructions for the feedback channel Arm malfunction list.

Door Protect​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Device online / offline status (0 - offline, 1 - online).
TemperaturevalueDetector temperature in Celsius.
Tampered0 / 1Whether the protective cover is open (0 - Not tampered, 1 - tampered).
Battery0-100Detector internal battery charge percentage.
Open/Close0 / 1Door detector status (0 - Opened, 1- Closed).
Arm in Night Mode0 / 1Arming in Night Mode
(0 - not armed in Night Mode,
1 - armed in Night Mode).

Motion Protect​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Device online / offline status (0 - offline, 1 - online).
TemperaturevalueDetector temperature in Celsius.
Tampered0 / 1Whether the protective cover is open (0 - Not tampered, 1 - tampered).
Battery0-100Detector internal battery charge percentage.
Motion0 / 1Motion detector status (0 - not detected, 1 - motion detected).
Arm in Night Mode0 / 1Arming in Night Mode
(0 - not armed in Night Mode,
1 - armed in Night Mode).

Group​

Command / feedbackInput / expected valuesDescription
Command:
Arm/Disarm0 / 1Arm / disarm a device group (0 - disarm, 1 - arm).
Device groups must be created and configured in the application before import!
Feedback:
Arm/Disarm0 / 1Device group status (0 - disarm, 1 - arm).

MotionCam​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Tampered0 / 1Device enclosure cover status (0 - not tampered, 1 - tampered).
Battery0 - 100Detector internal battery charge percentage.
Motion0 / 1Motion detector (0 - no motion detected, 1 - motion detected).
* To display photos taken when the motion detector is triggered, see the instructions for notifications of type Photo.
Arm in Night Mode0 / 1Arming in Night Mode
(0 - not armed in Night Mode,
1 - armed in Night Mode).

Dual Curtain Outdoor​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Tampered0 / 1Device enclosure cover status (0 - not tampered, 1 - tampered).
Battery0 - 100Detector internal battery charge percentage.
Arm in Night Mode0 / 1Arming in Night Mode
(0 - not armed in Night Mode,
1 - armed in Night Mode).
Motion Left0 / 1Curtain movement to the left (0 - no motion detected, 1 - motion detected).
Motion Right0 / 1Curtain movement to the right (0 - no motion detected, 1 - motion detected).
Detector View Blocked Left0 / 1Left detector obstruction error
(0 - no obstruction affecting the left detector,
1 - left detector obstructed).
Detector View Blocked Right0 / 1Right detector obstruction error
(0 - no obstruction affecting the right detector,
1 - right detector obstructed).

MotionCam Outdoor​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Tampered0 / 1Device enclosure cover status (0 - not tampered, 1 - tampered).
Battery0 - 100Detector internal battery charge percentage.
Motion0 / 1Motion detector (0 - no motion detected, 1 - motion detected).
* To display photos taken when the motion detector is triggered, see the instructions for notifications of type Photo.
Arm in Night Mode0 / 1Arming in Night Mode
(0 - not armed in Night Mode,
1 - armed in Night Mode).
Detector View Blocked0 / 1Detector obstruction error
(0 - no obstruction affecting the detector,
1 - detector obstructed).

Leaks Protect​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Tampered0 / 1Device enclosure cover status (0 - not tampered, 1 - tampered).
Battery0 - 100Detector internal battery charge percentage.
Leaks Detection0 / 1Leak detector (0 - no leak detected, 1 - leak detected).
* To display photos taken when the motion detector is triggered, see the instructions for notifications of type Photo.
Arm in Night Mode0 / 1Arming in Night Mode
(0 - not armed in Night Mode,
1 - armed in Night Mode).

Motion Protect Plus​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Tampered0 / 1Device enclosure cover status (0 - not tampered, 1 - tampered).
Battery0 - 100Detector internal battery charge percentage.
Motion0 / 1Motion detector (0 - no motion detected, 1 - motion detected).
Arm in Night Mode0 / 1Arming in Night Mode
(0 - not armed in Night Mode,
1 - armed in Night Mode).

Motion Protect Outdoor​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Tampered0 / 1Device enclosure cover status (0 - not tampered, 1 - tampered).
Battery0 - 100Detector internal battery charge percentage.
Motion0 / 1Motion detector (0 - no motion detected, 1 - motion detected).
Detector View Blocked0 / 1Detector obstruction error
(0 - no obstruction affecting the detector,
1 - detector obstructed).

Door Protect Plus​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Tampered0 / 1Device enclosure cover status (0 - not tampered, 1 - tampered).
Battery0 - 100Detector internal battery charge percentage.
Open/Close0 / 1Door opening / closing detector (0 - closed, 1 - open).

WallSwitch​

Command / feedbackInput / expected valuesDescription
Command:
On\Off0/1Wall switch (0 - switch off, 1 - switch on).
Feedback:
On/Off0 / 1Wall switch (0 - off, 1 - on).
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Voltageany valueVoltage applied to the device.
Electric Energy Consumedany valueDevice energy consumption in kW/h.

Socket​

Command / feedbackInput / expected valuesDescription
Command:
On\Off0/1Socket (0 - switch off, 1 - switch on).
Feedback:
On/Off0 / 1Socket (0 - off, 1 - on).
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Voltageany valueVoltage applied to the device.
Electric Energy Consumedany valueDevice energy consumption in kW/h.

Relay​

Command / feedbackInput / expected valuesDescription
Command:
On\Off0/1Relay (0 - switch off, 1 - switch on).
Feedback:
On/Off0 / 1Relay (0 - off, 1 - on).
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Voltageany valueVoltage applied to the device.

Motion Protect Curtain​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Tampered0 / 1Device enclosure cover status (0 - not tampered, 1 - tampered).
Battery0 - 100Detector internal battery charge percentage.
Motion0 / 1Motion detector (0 - no motion detected, 1 - motion detected).
Arm in Night Mode0 / 1Arming in Night Mode
(0 - not armed in Night Mode,
1 - armed in Night Mode).

HomeSiren​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Tampered0 / 1Device enclosure cover status (0 - not tampered, 1 - tampered).
Battery0 - 100Detector internal battery charge percentage.
Arm in Night Mode0 / 1Arming in Night Mode
(0 - not armed in Night Mode,
1 - armed in Night Mode).

Keypad​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Tampered0 / 1Device enclosure cover status (0 - not tampered, 1 - tampered).
Battery0 - 100Detector internal battery charge percentage.

Keypad Plus​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Tampered0 / 1Device enclosure cover status (0 - not tampered, 1 - tampered).
Battery0 - 100Detector internal battery charge percentage.

StreetSiren​

Command / feedbackInput / expected valuesDescription
Feedback:
Online0 / 1Equipment status (0 - offline, 1 - online).
Temperatureany valueDetector temperature in Celsius.
Tampered0 / 1Device enclosure cover status (0 - not tampered, 1 - tampered).
Battery0 - 100Detector internal battery charge percentage.
Arm in Night Mode0 / 1Arming in Night Mode
(0 - not armed in Night Mode,
1 - armed in Night Mode).

Configuring the Notification List feedback channel​

  1. Create an Advanced List graphical item to display the notification list. For convenience, you can set the Advanced List to vertical orientation.

  2. Create a popup (list template) and add the following items:

  • Multistate level - displays the notification color (0 - leave transparent, 1 - gray, 2- green, 3 - orange, 4 - red).
  • Label 1 - displays the time the notification arrived.
  • Label 2 - displays the notification text.

Ajax11.png

  1. In the Advanced List settings, open Template setting, then click + and select the notification template popup prepared earlier.

Ajax12.png

  1. Select the added popup and set Code: type .

Ajax13.png

  1. Double-click the template to configure it, then add labels. Enter event in Type, then add the following labels with the required tokens: Item 1.Value, Item 2.Text, Item 3.Text.

After adding the labels, set Value for each one. Click a Value row 2 times to edit it. Label values:

  • Item 1.Value - eventType,
  • Item 2.Text - text,
  • Item 3.Text - time.

Ajax14.png

  1. After configuring the labels and templates, link the Notification List feedback channel to the Advanced List item. Select the Advanced List item, then open Data source in the list settings. Select Driver > Feedbacks > Notification List. The notification list configuration is now complete!

Ajax10.png

Note

If your project will use MotionCam or MotionCam Outdoor, create a template popup and configure it for incoming notifications from camera-equipped devices to support viewing photos when a detector is triggered. Follow these steps:

  1. Create a template popup for notifications that include photos. You can use the earlier notification template and add a button to open a popup with frame-by-frame animation from the camera.

Ajax20.png

  1. Create a popup to display the frame animation. To display the image sequence, use a Multistate button .

Ajax21.png

  1. Set the desired photo animation speed in the TimeUp parameter of the Multistate button .

Ajax22.png

  1. Configure the button in the notification template to open the frame animation popup. The action can be assigned to Press or Release .

Ajax23.png

  1. Add the following script to your project:
var g_oMultistatePopup = IR.GetItem('VideoPopup'); // popup where your multistate elemnt is located
var g_oMultistateElement = g_oMultistatePopup.GetItem('Video'); // your multistate element

IR.AddListener(IR.EVENT_LIST_ITEM_CHANGE, IR.GetItem("Main").GetItem("List notification"), function(itemID, subItemID, event_type, object, index) {
switch(event_type) {
case IR.EVENT_LIST_ITEM_RELEASE:
{
var data = JSON.Parse(IR.GetVariable("Drivers.iRidium Server.Ajax Network.Notification:Notification List"));
var photos = data[index].photos;
if(photos) {
g_oMultistateElement.Visible = true;
var item = g_oMultistatePopup.GetItem('Multistate AJAX Photo');
if(item)
IR.DeleteItem(item);
item = g_oMultistateElement.Clone('Multistate AJAX Photo');
g_oMultistateElement.Visible = false;
for(var i = 0; i < photos.length; i++) {
//IR.Log(photos[i]);
if(item.GetState(i)) {
item.GetState(i).ImageStretch = 2;
item.GetState(i).Image = photos[i];
} else {
item.CreateState();
item.GetState(i).ImageStretch = 2;
item.GetState(i).Image = photos[i];
}

}
IR.SetTimeout(2000, function() {
item.Feedback = 3; // feedback ON for multistate to work
});
}
break;
}
}
});

Configuring the Arm Malfunction List feedback channel​

This feedback channel displays a list of problems encountered when arming the hub. It works when the following function is enabled in the hub settings in the Ajax application: "Проверка целостности системы" (system integrity check) .

To display a warning list of errors when arming, follow these configuration steps:

  1. Create a popup. This popup will serve as a dialog displayed when problems are detected.

  2. On the popup, place an Advanced list :

  3. For the data source, select the feedback channel Arm Malfunction List :

Ajax15.png

  1. Create a template popup for a malfunction message. Add a graphical item to the popup to display the message text.

Ajax16.png

  1. Double-click the Advanced List item. In the window that opens, click + and select your message template popup. In Code:, enter type :

Ajax17.png

  1. Double-click the name of your template popup to open its settings.

  2. Select + to add a new object.

  3. Select the Text property of the graphical item on the template popup that will display the message text.

  4. Enter text to the right of the path to the item's text property. In Type at the bottom of the window, enter malfunction .

Ajax18.png

  1. Select OK to finish configuring the malfunction list.

  2. Use the following script to open the popup with the generated list:

var HubName = "Cottage Hub"
var MalfunctionListPopup = IR.GetPopup("Arm malfunction list Hub ")

IR.AddListener(IR.EVENT_TAG_CHANGE , IR.GetDevice("iRidium Server"), function(name,value)
{
//Arm Malfunction List
if (name == "Ajax Network.Notification:Last Notification Message" && (value.indexOf("armed w") != -1) && (value.indexOf(HubName) != -1))
{
IR.ShowPopup(MalfunctionListPopup.Name)
}
})

Push notification configuration example​

You can configure push notifications to your smartphone or tablet in the server project (available for iOS and Android). They provide timely information when the Ajax alarm is triggered or other system warnings occur.

The Last Notification Color feedback channel indicates notification importance. To receive push notifications only when the alarm is triggered, on the fifth line replace value >= 3 with value == 4 .

IR.AddListener(IR.EVENT_START, 0, function () {
IR.AddListener(IR.EVENT_TAG_CHANGE , IR.GetDevice("Ajax Network"), function(name,value)
{
IR.Log( "~~~TagChange: " + name + " - " + value);
if (name == "Notification:Last Notification Time")
{

IR.SetTimeout(100, PushAlarm)
}
})
});
function PushAlarm()
{
if (IR.GetVariable("Drivers.Ajax Network.Notification:Last Notification Color") == 4)
{
var message = IR.GetVariable("Drivers.Ajax Network.Notification:Last Notification Message");
IR.SendPush(message, "", 1, status, this , 1);
}
}
function status (object) {
IR.Log('Status of Push: ' + object.Error + ' - ' + object.ErrorDescription);
}
Note

For more information on configuring push notifications, see Push notifications.