Prerequisites
Before you start, make sure you have:- Python 3.8 or later — PAI supports Python 3.8 through 3.14
- pip — Python package installer
- A Paradox panel — MG/SP/EVO series (EVO firmware must be below 7.50.000 for serial connections)
- PC Password — A 4-digit hex password (
[0-9a-f]). Find it in Babyware: right-click your panel → Properties → PC Communication (BabyWare) tab - Your connection hardware — either a serial cable/USB adapter to the panel’s TTL 5V port, or an IP150 module on your network
Steps
Install PAI
Install the This installs the
paradox-alarm-interface package from PyPI:pai-service command and all required dependencies, including paho-mqtt, pyserial-asyncio, and construct.Create a configuration file
Create a file named For an IP150 module (direct connection, firmware < 4.0 or ≥ 4.40.004):
pai.conf in your current directory. PAI configuration files are Python scripts — values are plain Python assignments.For a serial connection (direct cable or USB adapter):pai.conf
pai.conf
PAI searches for
pai.conf in the current directory first, then ~/.local/etc/pai.conf, /etc/pai/pai.conf, and /usr/local/etc/pai/pai.conf. See Installation for the full search order.Run pai-service
Start PAI with the To use a config file in a non-default location:You can also set the
pai-service command:PAI_CONFIG_FILE environment variable:Next steps
Connection methods
Detailed serial and IP150 connection setup, including USB adapters, baud rates, and SWAN cloud connection.
MQTT integration
Full MQTT topic hierarchy, partition control, zone states, and output commands.
Home Assistant
Auto-discovery setup and push notification configuration for Home Assistant.
Installation options
Docker, from-source, and optional extras (Signal, Pushbullet, YAML config).