iRidi for Ajax
A set of tools for creating control interfaces using the Ajax security system driver.
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.
-
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:
-
Download the Ajax Security System mobile application. It is available in Google Play and the App Store;
-
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;
-
Create a cloud object with the appropriate license in your account on iridi.com.
-
Obtain a JSON file containing the device list. Sign in on the website and fill in all required fields.
-
Import the JSON file into iRidi Studio.
-
Link the server project to the Panel Project, then configure the project logic and user interface.
-
When the project is complete, upload it to the cloud object created earlier.
-
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.
- 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
- Create a cloud object with the appropriate license in your account on iridi.com.

-
Follow the link to iridi.com.
-
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 ).

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

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

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

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

- 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
- 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.

- Select the devices you want to add to the project.
- The driver and all its devices appear in the project's driver tree.

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.

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

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 / feedback | Input / expected values | Description |
|---|---|---|
| Command: | ||
| Clear Notification List | any value | Clear the current notification list. |
| Feedback: | ||
| NotificationList | json | Notification 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 Message | String | Message text of the last notification. |
| Last Notification Time | String | Time of the last notification. |
| Last Notification Color | int 0-4 | Notification 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 / feedback | Input / expected values | Description |
|---|---|---|
| Command: | ||
| Arm/Disarm | 0 / 1 | Arm / disarm (Arm - 1. Disarm - 0). |
| Night Mode | 0 / 1 | Enable / 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/Off | 0 / 1 | Group 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 value | Panic button. |
| Feedback: | ||
| Arm/Disarm | 0 / 1 | Arming status (Arm - 1. Disarm - 0). |
| Night Mode | 0 / 1 | Night Mode (On - 1, Off - 0). |
| Group Mode | 0 / 1 | Group control mode (On - 1, Off - 0). |
| Battery | 0-100 | Hub internal battery charge percentage. |
| Online | 0 / 1 | Hub online / offline status (0 - offline, 1 - online). |
| Tampered | 0 / 1 | Whether the hub cover is open (0 - Not tampered, 1 - tampered). |
| Arm malfunction list | json | List 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 / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Device online / offline status (0 - offline, 1 - online). |
| Temperature | value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Whether the protective cover is open (0 - Not tampered, 1 - tampered). |
| Battery | 0-100 | Detector internal battery charge percentage. |
| Open/Close | 0 / 1 | Door detector status (0 - Opened, 1- Closed). |
| Arm in Night Mode | 0 / 1 | Arming in Night Mode (0 - not armed in Night Mode, 1 - armed in Night Mode). |
Motion Protect
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Device online / offline status (0 - offline, 1 - online). |
| Temperature | value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Whether the protective cover is open (0 - Not tampered, 1 - tampered). |
| Battery | 0-100 | Detector internal battery charge percentage. |
| Motion | 0 / 1 | Motion detector status (0 - not detected, 1 - motion detected). |
| Arm in Night Mode | 0 / 1 | Arming in Night Mode (0 - not armed in Night Mode, 1 - armed in Night Mode). |
Group
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Command: | ||
| Arm/Disarm | 0 / 1 | Arm / disarm a device group (0 - disarm, 1 - arm). Device groups must be created and configured in the application before import! |
| Feedback: | ||
| Arm/Disarm | 0 / 1 | Device group status (0 - disarm, 1 - arm). |
MotionCam
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Device enclosure cover status (0 - not tampered, 1 - tampered). |
| Battery | 0 - 100 | Detector internal battery charge percentage. |
| Motion | 0 / 1 | Motion 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 Mode | 0 / 1 | Arming in Night Mode (0 - not armed in Night Mode, 1 - armed in Night Mode). |
Dual Curtain Outdoor
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Device enclosure cover status (0 - not tampered, 1 - tampered). |
| Battery | 0 - 100 | Detector internal battery charge percentage. |
| Arm in Night Mode | 0 / 1 | Arming in Night Mode (0 - not armed in Night Mode, 1 - armed in Night Mode). |
| Motion Left | 0 / 1 | Curtain movement to the left (0 - no motion detected, 1 - motion detected). |
| Motion Right | 0 / 1 | Curtain movement to the right (0 - no motion detected, 1 - motion detected). |
| Detector View Blocked Left | 0 / 1 | Left detector obstruction error (0 - no obstruction affecting the left detector, 1 - left detector obstructed). |
| Detector View Blocked Right | 0 / 1 | Right detector obstruction error (0 - no obstruction affecting the right detector, 1 - right detector obstructed). |
MotionCam Outdoor
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Device enclosure cover status (0 - not tampered, 1 - tampered). |
| Battery | 0 - 100 | Detector internal battery charge percentage. |
| Motion | 0 / 1 | Motion 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 Mode | 0 / 1 | Arming in Night Mode (0 - not armed in Night Mode, 1 - armed in Night Mode). |
| Detector View Blocked | 0 / 1 | Detector obstruction error (0 - no obstruction affecting the detector, 1 - detector obstructed). |
Leaks Protect
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Device enclosure cover status (0 - not tampered, 1 - tampered). |
| Battery | 0 - 100 | Detector internal battery charge percentage. |
| Leaks Detection | 0 / 1 | Leak 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 Mode | 0 / 1 | Arming in Night Mode (0 - not armed in Night Mode, 1 - armed in Night Mode). |
Motion Protect Plus
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Device enclosure cover status (0 - not tampered, 1 - tampered). |
| Battery | 0 - 100 | Detector internal battery charge percentage. |
| Motion | 0 / 1 | Motion detector (0 - no motion detected, 1 - motion detected). |
| Arm in Night Mode | 0 / 1 | Arming in Night Mode (0 - not armed in Night Mode, 1 - armed in Night Mode). |
Motion Protect Outdoor
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Device enclosure cover status (0 - not tampered, 1 - tampered). |
| Battery | 0 - 100 | Detector internal battery charge percentage. |
| Motion | 0 / 1 | Motion detector (0 - no motion detected, 1 - motion detected). |
| Detector View Blocked | 0 / 1 | Detector obstruction error (0 - no obstruction affecting the detector, 1 - detector obstructed). |
Door Protect Plus
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Device enclosure cover status (0 - not tampered, 1 - tampered). |
| Battery | 0 - 100 | Detector internal battery charge percentage. |
| Open/Close | 0 / 1 | Door opening / closing detector (0 - closed, 1 - open). |
WallSwitch
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Command: | ||
| On\Off | 0/1 | Wall switch (0 - switch off, 1 - switch on). |
| Feedback: | ||
| On/Off | 0 / 1 | Wall switch (0 - off, 1 - on). |
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Voltage | any value | Voltage applied to the device. |
| Electric Energy Consumed | any value | Device energy consumption in kW/h. |
Socket
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Command: | ||
| On\Off | 0/1 | Socket (0 - switch off, 1 - switch on). |
| Feedback: | ||
| On/Off | 0 / 1 | Socket (0 - off, 1 - on). |
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Voltage | any value | Voltage applied to the device. |
| Electric Energy Consumed | any value | Device energy consumption in kW/h. |
Relay
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Command: | ||
| On\Off | 0/1 | Relay (0 - switch off, 1 - switch on). |
| Feedback: | ||
| On/Off | 0 / 1 | Relay (0 - off, 1 - on). |
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Voltage | any value | Voltage applied to the device. |
Motion Protect Curtain
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Device enclosure cover status (0 - not tampered, 1 - tampered). |
| Battery | 0 - 100 | Detector internal battery charge percentage. |
| Motion | 0 / 1 | Motion detector (0 - no motion detected, 1 - motion detected). |
| Arm in Night Mode | 0 / 1 | Arming in Night Mode (0 - not armed in Night Mode, 1 - armed in Night Mode). |
HomeSiren
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Device enclosure cover status (0 - not tampered, 1 - tampered). |
| Battery | 0 - 100 | Detector internal battery charge percentage. |
| Arm in Night Mode | 0 / 1 | Arming in Night Mode (0 - not armed in Night Mode, 1 - armed in Night Mode). |
Keypad
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Device enclosure cover status (0 - not tampered, 1 - tampered). |
| Battery | 0 - 100 | Detector internal battery charge percentage. |
Keypad Plus
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Device enclosure cover status (0 - not tampered, 1 - tampered). |
| Battery | 0 - 100 | Detector internal battery charge percentage. |
StreetSiren
| Command / feedback | Input / expected values | Description |
|---|---|---|
| Feedback: | ||
| Online | 0 / 1 | Equipment status (0 - offline, 1 - online). |
| Temperature | any value | Detector temperature in Celsius. |
| Tampered | 0 / 1 | Device enclosure cover status (0 - not tampered, 1 - tampered). |
| Battery | 0 - 100 | Detector internal battery charge percentage. |
| Arm in Night Mode | 0 / 1 | Arming in Night Mode (0 - not armed in Night Mode, 1 - armed in Night Mode). |
Configuring the Notification List feedback channel
-
Create an Advanced List graphical item to display the notification list. For convenience, you can set the Advanced List to vertical orientation.
-
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.

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

- Select the added popup and set Code: type .
- 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.

- 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!

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:
- 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.

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

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

- Configure the button in the notification template to open the frame animation popup. The action can be assigned to Press or Release .
- 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:
-
Create a popup. This popup will serve as a dialog displayed when problems are detected.
-
On the popup, place an Advanced list :
-
For the data source, select the feedback channel Arm Malfunction List :

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

- Double-click the Advanced List item. In the window that opens, click + and select your message template popup. In Code:, enter type :
-
Double-click the name of your template popup to open its settings.
-
Select + to add a new object.
-
Select the Text property of the graphical item on the template popup that will display the message text.
-
Enter text to the right of the path to the item's text property. In Type at the bottom of the window, enter malfunction .
-
Select OK to finish configuring the malfunction list.
-
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);
}
For more information on configuring push notifications, see Push notifications.