This nodejs module is used to mirror status from Vanderbilt/Siemens SPC intrusion system to a MQTT broker, e.g Mosquitto.
NOTE! To be able to use this module you also need to have SPC Web Gateway from Lundix IT installed. SPC Web Gateway is providing a generic open REST and Websocket interface to Vanderbilt/Siemens SPC intrusion system.
Default main topic is /SPC and default message format {"update_time": <MILLISECONDS>,"status":<STATUS>}
AREA_ID is 1 - Number of defined areas.
Status:
ZONE_ID is 1 - Number of defined zones.
Status:
ZONE_ID is 1 - Number of defined zones.
Status:
Following events are supported:
More event types can very easy be added to the module.
git clone https://github.com/Goran58/node-spc-mqtt.git
cd node-spc-mqtt
npm install
./node-spc-mqtt.js