Allows you to log Premises Equipment (PE) types of SIA-DC-09 events, like AJAX Security Systems.
- an MSSQL database
- broadcast API
- MySQL 8.0 database
- log to a file
- web app
Currently the option to configure this server as UDP is not implemented, it only receives non-encrypted TCP connections.
This service act as Central Station Receivers (CSR). Encryption support is mandatory for CSRs. So, this is a non-standard project at this time.
git clone https://github.com/nhereveri/SIAbroker.git
cd SIAbroker
npm i
node server.js --help
server:
port: 65000
diff:
negative: -20
positive: 40
dispatcher:
-
type: 'mssql'
format: 'human'
user: 'foo'
password: 'P4$$w0Rd'
database: 'sia-events-db'
server: '10.0.2.15'
port: 1433
# default config (from config.yml)
node server.js
# specify service port
node server.js --port 65000
# debug messages to console
node server.js --debug
At the moment it only supports dispatchers type ...
- ✅
console
- ✅
mssql
You can specify the number of dispatchers you need.
dispatcher:
-
type: 'mssql'
format: 'human'
user: 'user'
password: '$3cr3t'
database: 'sia-events'
server: '127.0.0.1'
port: 1433
-
type: 'mssql'
format: 'human'
user: 'other'
password: '$3cr3t'
database: 'sia-events-backup'
server: '190.13.132.109'
port: 1433
-
type: 'console'
format: 'human'
- adding other types of distpatchers
- use Facade pattern in dispatch function
- use UDP connections
- decrypt messages