The Signal integration requires a Linux host with DBUS (typically systemd-based). It communicates with signal-cli over the system DBUS interface.
Prerequisites
Install signal-cli
Download and install signal-cli. Follow the project’s instructions to register a phone number and link it to a Signal account.
Run signal-cli as a DBUS daemon
Start signal-cli in daemon mode so it exposes the For production use, configure signal-cli as a systemd service.
org.asamk.Signal DBUS interface:Configuration
Add the following to yourpai.conf:
pai.conf
Configuration reference
SIGNAL_ENABLE
SIGNAL_ENABLE
Enable or disable the Signal interface.Default:
FalseSIGNAL_CONTACTS
SIGNAL_CONTACTS
A list of Signal contact identifiers (phone numbers in international format) that are allowed to both send commands to the panel and receive event notifications. Messages from numbers not in this list are logged as unknown and ignored.Default:
[]Example:SIGNAL_MIN_EVENT_LEVEL
SIGNAL_MIN_EVENT_LEVEL
The minimum severity level for events to be forwarded. Accepted values:
DEBUG, INFO, WARN, ERROR, CRITICAL.Default: 'INFO'SIGNAL_EVENT_FILTERS
SIGNAL_EVENT_FILTERS
A list of tag expressions that control which events are sent. Each entry is a comma-separated list of tags; a
- prefix excludes a tag. An event matches if all tags in any one expression match. Cannot be combined with SIGNAL_ALLOW_EVENTS.Default:SIGNAL_ALLOW_EVENTS and SIGNAL_IGNORE_EVENTS
SIGNAL_ALLOW_EVENTS and SIGNAL_IGNORE_EVENTS
Alternative to
SIGNAL_EVENT_FILTERS using regular expressions.SIGNAL_ALLOW_EVENTS— list of regex patterns matchingtype,label,property=valuefor events to forward.SIGNAL_IGNORE_EVENTS— list of regex patterns for events to suppress, applied afterALLOW_EVENTS.
[] for bothExample configuration
How event filtering works
- Tag filters (SIGNAL_EVENT_FILTERS)
- Regex filters (SIGNAL_ALLOW_EVENTS / SIGNAL_IGNORE_EVENTS)
Each entry in
SIGNAL_EVENT_FILTERS is a comma-separated list of tags. A - prefix means the tag must not be present. An event is forwarded if it matches all tags in any one filter entry.DBUS requirement
PAI connects to signal-cli via theorg.asamk.Signal DBUS service on the system bus. Ensure signal-cli is running in daemon mode and accessible on the system bus before starting PAI.