Home Assistant integration for Ajax Security Systems
Home Assistant integration for Ajax Security Systems
Full-featured Home Assistant integration for Ajax Security Systems.
[!CAUTION]
Proxy Mode Security
When using a proxy, the proxy administrator can see all API requests/responses and your credentials hash. This means the proxy can impersonate you with the Ajax API. For a detailed threat model analysis, see Issue #47. For security considerations, see Security & Privacy.
[!NOTE]
About This Integration
This is NOT an official Ajax Systems addon. It is a community-developed integration created in collaboration with Ajax Systems.
Special thanks to Ajax Systems for their support and assistance during development. Their help made this integration possible!
[!WARNING]
Prerequisites - API Access Required
This integration requires API credentials that are not publicly available.
To use this integration, you need one of the following:
- An enterprise API key from Ajax Systems (Direct mode) - available through Ajax partnership program
- Access to a community proxy server (Proxy mode) - no public proxy currently available
⚠️ Regular users without API access cannot use this integration at this time. Self-hosting a proxy is not possible without Ajax API credentials.
For discussions and updates, join the community: HACF Forum
[!WARNING]
Real-Time Events Only When Armed
Due to Ajax Systems architecture, real-time events (SSE/SQS) are only received when the system is armed. When disarmed, the integration uses polling (30s for sensors, 5s for door sensors). This is an Ajax API limitation.
This integration is actively developed but I'm just getting started with Ajax security systems. I currently own and test with:
Users tested:
Since I don't have access to all Ajax devices, I cannot test every device type.
** Community Help Needed**: If you own other Ajax devices and want to help test and improve this integration, your contributions would be greatly appreciated! Together we can make this the best Ajax integration for Home Assistant.
Issues, pull requests, and feedback are welcome!
⚠️ User accounts only: This integration only supports user accounts. PRO/Enterprise accounts are not supported.
Direct connection to the Ajax API. Requires an enterprise API key from Ajax Systems.
Note: Enterprise API keys are only available through Ajax Systems partnership program.
In proxy mode, real-time events are automatically received via Server-Sent Events (SSE). No additional configuration required.
For instant updates ( [!WARNING]
Due to Ajax Systems architecture, real-time events (SSE/SQS) are only received when the system is armed.
When disarmed, Ajax does not send real-time events - this is an Ajax API limitation, not the integration.
- Motion and door events are not sent to SQS/SSE
- The integration uses fast polling (5 seconds) for door sensors
- Motion sensors fall back to standard polling (30 seconds)
Exception: Sensors with "Always Active" mode enabled will send real-time events even when disarmed.
Go to the integration options to configure:
When using a proxy, the proxy administrator can see:
Important: This integration does not manage any proxy server. For security and trust considerations, contact the person or organization providing your proxy access.
Use the Alarm Control Panel entity to control your security system:
# Example automation: Arm when leaving home
automation:
- alias: "Arm Ajax when leaving"
trigger:
- platform: state
entity_id: person.your_name
to: "not_home"
action:
- service: alarm_control_panel.alarm_arm_away
target:
entity_id: alarm_control_panel.ajax_alarm_homeUse force arming to arm the system even with open sensors:
# Force arm (away)
service: ajax.force_arm
target:
entity_id: alarm_control_panel.ajax_alarm_home
# Force arm night mode
service: ajax.force_arm_night
target:
entity_id: alarm_control_panel.ajax_alarm_home⚠️ Warning: Force arming ignores open sensors and system problems. Use with caution.
# Trigger emergency alarm
service: button.press
target:
entity_id: button.ajax_panic_home⚠️ Warning: The panic button triggers a real emergency alarm.
Generate a diagnostic report to help improve the integration:
service: ajax.generate_device_infoThis creates an anonymized JSON file with device information (no sensitive data included).
The integration combines push and adaptive polling so the UI stays in sync without hammering the Ajax cloud:
| Mode | Push channel | REST polling | Notes |
|---|---|---|---|
| Armed | SSE (proxy) or AWS SQS (direct) | 30 s | Real-time events arrive in SQS (direct) |
The integration provides specific error messages to help diagnose login issues:
| Error | Cause | Solution |
|---|---|---|
| Invalid API key | API key is missing or incorrect | Check your enterprise API key |
| Invalid email or password | Wrong credentials | Verify your Ajax account email and password |
| Account type not supported | Using a PRO/Enterprise account | Use a standard user account instead |
logger:
default: info
logs:
custom_components.ajax: debugContributions are welcome! Please feel free to submit a Pull Request.
If you have Ajax devices that aren't tested yet, your help would be invaluable in improving device support.
This integration is developed through a collaborative approach:
All code is reviewed, tested with real hardware, and open source.
This project is licensed under the MIT License - see the LICENSE file for details.
This integration is not officially affiliated with Ajax Systems. It is a community project developed with support from Ajax Systems.
Use at your own risk. The developer is not responsible for any issues arising from the use of this integration.
No open issues yet, or sync has not completed.