pai-dump-memory connects to the alarm panel using your PAI configuration and dumps the contents of either RAM or EEPROM to a file or stdout. It is a debugging tool for capturing raw panel state and configuration data.
Usage
-r or -e is required.
Options
Dump the panel’s RAM. Mutually exclusive with
--eeprom.Dump the panel’s EEPROM. Mutually exclusive with
--ram.Output file path to write the binary dump to. Defaults to stdout when not specified. The file is opened in binary write mode.
Path to an alternative PAI configuration file. When not specified, PAI searches the default locations (
pai.conf, pai.json, pai.yaml in the current directory, ~/.local/etc, /etc/pai, /usr/local/etc/pai).Examples
When to use this tool
Capturing panel state for bug reports
Capturing panel state for bug reports
When reporting a bug in PAI’s state parsing or event handling, attach a RAM dump so maintainers can reproduce the exact panel state you observed.
Verifying panel configuration
Verifying panel configuration
EEPROM contains panel programming (zone names, partition configuration, user codes, etc.). Dump the EEPROM to verify what is actually stored on the panel.
Debugging label decoding issues
Debugging label decoding issues
If zone or partition names appear garbled, a RAM dump combined with
LOGGING_DUMP_PACKETS = True helps identify the raw bytes and the encoding in use.Developing new panel support
Developing new panel support
When adding support for a new Paradox panel model, EEPROM and RAM dumps provide the raw data needed to write and validate new parsers.