Skip to content

fergalom/node-spc-domoticz-binding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binding to integrate Siemens SPC intrusion system and Domoticz

Based on https://github.com/Goran58/node-spc-fibaro-hc2-binding

This nodejs module is used to integrate Siemens SPC intrusion system and Domoticz.

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 Siemens SPC intrusion system.

The module has only been tested on Domoticz beta V2.3.013.

Description

The module uses SPC Web Gateway REST and Websocket API to get status from the SPC intrusion system and Domoticz REST API to set status of User variables in the Domoticz. The status of the User variables can then be used in Virtual Devices and Scenes to trigger actions or be displayed in Domoticz GUI.

Domoticz User Variables

NOTE! The User variables are created automatically if they not exists in Domoticz.

####G_SPC_AREA_MODE_<AREA_ID> AREA_ID is 1 - Number of defined areas.
Values:

  • "unset"
  • "partset_a"
  • "partset_b"
  • "set"
  • "unknown"

####G_SPC_ZONE_INPUT_<ZONE_ID> ZONE_ID is 1 - Number of defined zones.
Values:

  • "closed"
  • "open"
  • "short"
  • "disconnected"
  • "pir_masked"
  • "dc_substitution"
  • "sensor_missing"
  • "offline"
  • "unknown"

####G_SPC_ZONE_STATUS_<ZONE_ID> ZONE_ID is 1 - Number of defined zones.
Values:

  • "ok"
  • "inhibit"
  • "isolate"
  • "soak"
  • "tamper"
  • "alarm"
  • "trouble"
  • "unknown"

Supported events

Following events are supported:

  • Zone closed/open
  • Zone inhibited/de-inhibited
  • Zone isolated/de-isolated
  • Alarm armed/disarmed (Area set, Area partset A/B, Area unset)
  • Burglar alarm/restored

More event types can very easy be added to the module.

Installation

git clone https://github.com/fergalom/node-spc-domoticz-binding
cd node-spc-domoticz-binding
npm install

Configuration

  • Modify the settings in config.json according to your environment.

Start

./node-spc-domoticz-binding.js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published