Skip to content

jonathandann/homebridge-yalealarmsystem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-yalesyncalarm - Homebridge support for Yale Sync Alarms

npm Known Vulnerabilities npm

Homebridge plugin for the Yale Sync Smart Home Alarm and Yale Smart Home Alarm.

Features

  • Exposes the alarm system as a Home.app security system. You can set it to "Home", "Away", "Night" and "Off" modes. Yale alarms only have 3 modes. So both "Home" and "Night" will "part-arm" the system.
  • Contact and motion sensors are exposed in Home.app

Please Note

There's currently no way to hook into Yale's push service. It's not possible to get truly realtime updates.

The refreshInterval parameter in config.json is experimental. It causes the plugin to call the Yale API every refreshInterval seconds to get the current state of the alarm and sensors.

If you set refreshInterval to a value less than 1. The automatic update is disabled. In this case switching away from, and back to Home.app will refresh the state of the system in Home.app.

Installation

npm install -g homebridge-blink

Configuration

"platforms": [
    {
        "platform": "YaleSyncAlarm",
        "name": "Burglar Alarm",
        "username": "username@mail.com",
        "password": "password",
        "refreshInterval": 10
    }
]

Building from Source

git clone https://github.com/jonathandann/homebridge-yalesyncalarm.git && cd homebridge-yalesyncalarm && npm install

After running npm install, npm should automatically run npm run build, which runs node_modules/typescript/bin/tsc to compile the typescript files. If it doesn't then you can run either node_modules/typescript/bin/tsc or npm run build.

There are useful configs already included for prettier and Visual Studio Code.

Visual Studio Code is configured to use the version of typescript installed as a development dependency in the npm package.

About

Homebridge plugin for the Yale Smart Burglar Alarm System

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%