homebridge-blink v0.9.9
homebridge-blink - Homebridge support for Blink Cameras
Homebridge plugin for Blink cameras. Built using https://github.com/jonathandann/blink-cameras.
Features
- Turn multiple cameras on/off without waiting for "Camera setting change in progress, please wait" like you would with the Blink app.
- HomeKit Scenes work properly. The plugin waits correctly for arm, disarm, enable, and disable commands to finish before sending the next one.
Please Note
The Blink API requires we turn on/off each camera in-turn, which can take multiple seconds per-camera. To avoid iOS reporting the whole system as "Not Responding" we tell iOS that we have successfully toggled the camera on/off and then we actually talk to the Blink API to toggle the camera for real. Therefore, if you toggle a camera it may take a few seconds for the Blink app itself to show the camera as enabled/disabled.
Installation
npm install homebridge-blink
Configuration
"platforms": [
{
"platform": "Blink",
"name": "Blink Cameras",
"username": "username@mail.com",
"password": "password"
}
]
Building from Source
git clone https://github.com/jonathandann/homebridge-blink.git && cd homebridge-blink && 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.