Homey app for Vanderbilt SPC Intrusion System
This app integrates Homey with Vanderbilt SPC intrusion system. The app allows you to use all your SPC connected motion detectors, door/window contacts, fire detectors and alarm status for control of other devices connected to Homey, e.g lights, water valves and blinds. It has also support for arming/disarming the SPC system manually or via Flows (if allowed in the SPC configuration).
In principle all Vanderbilt SPC panels are supported. It is required that the panel supports the IP protocol FlexC, that was introduced in SPC firmware 3.6.
In order for this application to communicate with the SPC panel, you need a SPC Bridge from Lundix IT, www.lundix.se/smarta-losningar, email@example.com. SPC Bridge is a network device that converts Vanderbilt FlexC protocol to a REST/Websockets API that Homey can use. Please follow the instructions in SPC Bridge User manual to setup and configure the SPC Bridge prior to using this app.
Adding panel device
First add an Alarm Panel device. The app supports only one single Alarm panel. NOTE! Be sure that the SPC Bridge is configured and working properly before you try to add the Alarm Panel device to Homey.
SPC Bridge communication settings
In the first Panel adding screen you need to specify the SPC Bridge communication settings, to be able to connect to the SPC panel:
- SPC BRIDGE IP AND PORT. The IP adddress and port number of the SPC Bridge. Default port number is 8088.
- USERNAME AND PASSWORD QUERIES (GET). Username and password for queries to SPC Bridge. Default username is getuser and password getpwd.
- USERNAME AND PASSWORD COMMANDS(GET). Username and password for commands (e.g. arm/disarm) to SPC Bridge. Default username is putuser and password putpwd.
- USERNAME AND PASSWORD EVENTS (WS). Username and password for websockets events from SPC Bridge. Default username is wsuser and password wspwd.
If Homey succeeded to establish a connection to the SPC Bridge (and the SPC Panel), a screen with some Panel Information, e.g panel type, model and serial number is shown. The screen is also listing the SPC zones with names and types.
Click the ADD PANEL button to complete the adding sequence.
Adding alarm area devices
After you have added the Panel device you can optionally add a virtual device for each Alarm Area defined in the SPC system. You need to do this if you would like to use area arm modes and alarm states as triggers, conditions or actions in Homey Flows.
Adding sensor devices
After you have added the Panel device you can also add a device for each alarm zone (input) defined in the SPC system. You can assign the zones follwing categories:
- Door Sensor
- Window Sensor
- Motion Sensor
- Smoke Detector
Zones that are of type FIRE in SPC are only selectable as SMOKE DETECTOR. Other zone types can be added either as door, window or motion sensors.
Device control and Flows
When it is allowed in the SPC Panel configuration, it is possible to fullset (arm), partset A, partset B or unset (disarm) the panel or area. This can be done either via a Flow, or directly via the device control. Arm modes, alarm states, zone states and status are also possible to use as triggers and conditions in Flows .
NOTE! If you have disabled the arm commands in the SPC panel the command buttons are still clickable in the device control in Homey and the corresponding Flow cards are still available. But even if it is possible to send the command, the command would be discarded by the SPC system and never executed.
The Panel device supports following commands:
- Unset all areas
- Fullset all areas
- Partset A all areas
- Partset B all areas
The device control is showing following arm modes:
- Unset. All areas unset (disaremd)
- Fullset. All areas fullset (armed)
- Partset A. All areas are in mode Partset A.
- Partset B. All areas are in mode Partset B.
- Partly Set. Areas are in different set modes.
The Panel device control also shows if there are any burglary, fire, soak, tamper or trouble alarms in the system.
The Area device supports following commands:
- Unset area
- Fullset area
- Partset A area
- Partset B area
The device control is showing following arm modes:
- Unset. The area is unset (disarmed).
- Fullset. The area is fullset (armed)
- Partset A. The area is in mode Partset A.
- Partset B. The area is in mode Partset B.
The Area device control also shows if there are any burglary, fire, soak, tamper or trouble alarms in the area.
Door, window, motion sensors and smoke detectors
The device control for a sensor shows the sensor zone input state, status and alarm state.
Following zone input states are supported:
- PIR Masked
- DC Substitution
- Sensor Missing
Following zone input status are supported:
The zone alarm state is true if the input status is Soak, Tamper, Alarm or Trouble.
Sync with SPC configuration changes
To sync the app with changes you have made in SPC configuration e.g added or removed areas or zones, you need to restart the app. Easist is to do that in the App list on Homey Settings screen.
If you select the App in the Settings menu on Homey Settings screen you will see buttons for listing areas, zones and the latest SPC systemlog events. The information is requested directly from the SPC panel. To be able to use this buttons it is mandatory that you first have added the Panel device.
- Fixed - Adapted icons to Homey version 2.0 format
- Fixed - App only working correctly when Homey language was set to English
- Improvement - Improved initialisation of values at App start #### V1.0.3
- Fixed - Improved connection reestablishment to SPC Bridge after network drops #### V1.0.2
- Fixed - Unable to change area mode from flow actions #### V1.0.1
- First public version