homebridge-sector
v0.0.4
Published
Homebridge plugin for Sectoralarm.
Downloads
2
Maintainers
Readme
Sector Alarm Homebridge
This is a feble attempt to write a homebridge plugin to control a Sector Alarm security system. It is very much alpha, pre-release, boiler plate code and functionality. This might not work with your Sector Alarm system.
I have very limited time to work with this. So any contribution is very much appreciated.
I'm also not a Javascript developer, much less a node developer. This is clearly visible in the code.
Foolish assumptions
This code makes foolish assumptions. The most important assumption is probably that it assumes that the alarm system has an annex. If your particular alarm system doesn't have an annex, this code might not work.
Roadmap
There are quite a few things that could be added to this.
- Modularize. Refactor the code to be a platform rather than an accessory. Thus enabling separation between different possible accessories to the alarm system.
- Support for temperature sensors.
- Refactor annex support to be separate from main alarm.
- Make it possible to configure different states and behaviours to state changes.
- Clean up the code.
Configuration
Below is a configuration example snipped that should be inserted into your existing, workingm, homebridge config.
// Config example.
{
"accessories": [
{
"accessory": "Sector-SecuritySystem",
"email": "[email protected]",
"password": "SuperSecurePassword",
"siteId": "111111", // Sector site id
"code": "6827", // Panel code
"immediately": false,
"polling": false, // Polling is always active regardless of this one.
"pollInterval": 60000, // Poll interval in ms.
"name": "Home security"
}
]
}