Skip to content

Protorec is a configurable endpoint for testing alarm devices

License

Notifications You must be signed in to change notification settings

joshburnsxyz/protorec

Repository files navigation

Protorec

Protorec is a configurable endpoint for testing alarm devices, it currently handles "SIA-CID", "CSV-IP", and "MQTT" messages over both UDP and TCP. The server is configured using a JSON file.

Usage

$ ./protorec --config ./config.json

The config file is structured as such.

{
  "protocol": "tcp",
  "host": "127.0.0.1",
  "port": 8080,
  "message_handler": "SIA-CID",
  "logfile": "./test.log"
}

Simply change the "protocol" and "message_handler", to determine how to run the server and parse incoming messages. All server output is written to STDOUT as well as the logfile specified in the "logfile" setting.

About

Protorec is a configurable endpoint for testing alarm devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published