Logging
Logging level for console output. Uses standard Python
logging module levels: DEBUG=10, INFO=20, WARNING=30, ERROR=40, CRITICAL=50.Logging level for file output. Only used when
LOGGING_FILE is set. Uses the same integer levels as LOGGING_LEVEL_CONSOLE.Path to the log file. Set to
None to disable file logging. Example: '/var/log/paradox.log'.Maximum size of the log file in megabytes before it is rotated. Valid range:
0 to 4294967295.Number of rotated log files to keep. Valid range:
0 to 4294967295.Log raw packets to the log output. Useful for low-level debugging of serial or IP communication.
Log decoded messages to the log output.
Log panel status updates to the log output.
Log detailed event information to the log output.
Panel behavior
PC password for the alarm panel. Set to
None if the panel has no PC password configured. The password is a 4-digit hex value found in Babyware under: right-click panel → Properties → PC Communication (Babyware) tab.Example: PASSWORD = '0000'Interval in seconds between status update requests sent to the panel. Lowering this increases responsiveness but also communication overhead.
Timeout in seconds for individual I/O operations. Increase this if you experience timeout errors on slow or unreliable connections.
Character encoding used when decoding zone, partition, and user labels from the panel. Use
paradox-* encodings for Paradox panels, or any standard Python codec name from the Python codecs documentation.Interval in seconds between full label refreshes from the panel. Defaults to
15 * 60 (15 minutes). Valid range: 0 to 4294967295.Duration in seconds of a PGM output pulse when a pulse command is issued. Valid range:
0 to 4294967295.Time synchronization
When enabled, PAI periodically synchronizes the panel clock when it drifts beyond
SYNC_TIME_MIN_DRIFT seconds.Minimum clock drift in seconds before a time sync is triggered. Minimum allowed value is
120. Valid range: 120 to 4294967295.Timezone to use when synchronizing the panel clock. When empty, the PAI host system timezone is used. Accepts standard IANA timezone names such as
'Europe/London' or 'America/New_York'.Power monitoring
Interval in seconds between updates of the battery, DC, and VDC voltage readings from the panel. Valid range:
0 to 4294967295.When
True, PAI always publishes power readings to interfaces even if the values have not changed since the last update.When
True, PAI publishes all state updates to interfaces even when the state has not changed. This applies to all resource types, not just power. Enabling this can produce significant additional traffic.Example
pai.conf