COMMAND_ALIAS
COMMAND_ALIAS is used by text-based interfaces: Signal, Pushbullet, and GSM/SMS. When a contact sends a message to PAI, the text is looked up in this dictionary and the mapped full command is executed.
Default:
pai.conf
arm triggers partition all arm, which arms all partitions.
Command format
Full commands follow the pattern:<target>—allto affect every partition, or a specific partition name or number (e.g.Home,1).<action>— one of the partition commands listed below.
Partition commands
| Command | Description |
|---|---|
arm | Standard arm |
disarm | Disarm |
arm_stay | Stay / home arm |
arm_sleep | Sleep / night arm |
Custom alias example
pai.conf
MQTT_COMMAND_ALIAS
MQTT_COMMAND_ALIAS is used by the MQTT interface. When PAI receives a command on a control topic, the payload is looked up in this dictionary and translated to a PAI partition command before execution.
This is primarily designed for Homebridge and Home Assistant compatibility, which publish state names like armed_away instead of PAI’s native arm command.
Default:
pai.conf
How it works
Client publishes a command
A Home Assistant automation publishes
armed_away to paradox/control/partition/Home/armed_away.arm, disarm, arm_stay, arm_sleep) always work without aliases.
Custom MQTT alias example
pai.conf
Available partition commands
The following are the native PAI partition commands accepted by both alias dictionaries:| Command | Description |
|---|---|
arm | Standard full arm |
disarm | Disarm the partition |
arm_stay | Stay / home arm (perimeter only) |
arm_sleep | Sleep / night arm |
Comparison
COMMAND_ALIAS | MQTT_COMMAND_ALIAS | |
|---|---|---|
| Used by | Signal, Pushbullet, GSM | MQTT interface |
| Maps | Short text → full partition <target> <action> command | Command string → PAI partition action |
| Target in alias | Encoded in the value (e.g. partition all arm) | Comes from the MQTT topic segment |
| Default aliases | arm, disarm | armed_home, armed_night, armed_away, disarmed |