{"_id":"@crb2nu/homebridge-blink-cameras","name":"@crb2nu/homebridge-blink-cameras","dist-tags":{"latest":"3.9.3"},"versions":{"3.9.3":{"name":"@crb2nu/homebridge-blink-cameras","displayName":"Blink Cameras for Homekit","private":false,"version":"3.9.3","description":"Blink Cameras for Homekit","license":"MIT","keywords":["homebridge-plugin","homekit","blink for home","blink camera"],"main":"src/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/crb2nu/homebridge-blink-for-home.git"},"engines":{"node":">=20.9.0","homebridge":"^1.8.0"},"dependencies":{"@adobe/fetch":"^4.1.8","@homebridge/camera-utils":"^2.2.6","@homebridge/plugin-ui-utils":"^1.0.3","commander":"^12.1.0","ffmpeg-for-homebridge":"^2.1.1","jest":"^29.7.0","mkdirp":">=3.0.1"},"devDependencies":{"@types/node":"^20.12.13","@typescript-eslint/eslint-plugin":"^7.11.0","@typescript-eslint/parser":"^7.13.0","eslint":"^8.57.0","homebridge":"^1.8.2","nodemon":"^3.1.2","rimraf":"^5.0.7","ts-node":"^10.9.2","typescript":"^5.4.5"},"scripts":{"lint":"eslint src/**.js --max-warnings=0 --fix","watch":"npm run build && npm link","build":"","prepublishOnly":"npm run build","test":"jest && npm run lint"},"eslintConfig":{"extends":["eslint:recommended","google"],"parserOptions":{"ecmaVersion":2020},"env":{"es6":true,"node":true,"jest/globals":true},"rules":{"indent":["error",4],"brace-style":["error","stroustrup"],"max-len":["error",125],"require-jsdoc":"off","valid-jsdoc":"off","arrow-parens":["error","as-needed"],"jest/no-disabled-tests":"warn","jest/no-focused-tests":"error","jest/no-identical-title":"error","jest/prefer-to-have-length":"warn","jest/valid-expect":"error"},"plugins":["jest"]},"_id":"@crb2nu/homebridge-blink-cameras@3.9.3","gitHead":"69c238d99e0b1cd5b5a85d223539236de1790529","bugs":{"url":"https://github.com/crb2nu/homebridge-blink-for-home/issues"},"homepage":"https://github.com/crb2nu/homebridge-blink-for-home#readme","_nodeVersion":"21.7.3","_npmVersion":"10.8.1","dist":{"integrity":"sha512-6VFuFPcXEWoyTnLtDZLBRIpUktbtJsoRrBPjbg7gcEvh/vlpOxcqTWPqQs9Ht0fQaJXZ3Qjih+2eZtTicnJxUQ==","shasum":"adf958bab370f86d0270155c154df9f2a11af54a","tarball":"https://registry.npmjs.org/@crb2nu/homebridge-blink-cameras/-/homebridge-blink-cameras-3.9.3.tgz","fileCount":23,"unpackedSize":492252,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzyymLFN8Fu8lFk/7EkShYZ3pk3oSb6iTZF/MoC66gEAIhAIn38Q9DJAQCqEHB3WFJhKZjdCDx5VmHmLc1CyFC49bD"}]},"_npmUser":{"name":"crb2nu","email":"cody.r.blevins@gmail.com"},"directories":{},"maintainers":[{"name":"crb2nu","email":"cody.r.blevins@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-blink-cameras_3.9.3_1718428291029_0.6490766832263051"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-15T05:11:30.895Z","3.9.3":"2024-06-15T05:11:31.270Z","modified":"2024-06-15T05:11:31.566Z"},"maintainers":[{"name":"crb2nu","email":"cody.r.blevins@gmail.com"}],"description":"Blink Cameras for Homekit","homepage":"https://github.com/crb2nu/homebridge-blink-for-home#readme","keywords":["homebridge-plugin","homekit","blink for home","blink camera"],"repository":{"type":"git","url":"git+ssh://git@github.com/crb2nu/homebridge-blink-for-home.git"},"bugs":{"url":"https://github.com/crb2nu/homebridge-blink-for-home/issues"},"license":"MIT","readme":"# homebridge-blink-for-home\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![npm](https://badgen.net/npm/v/homebridge-blink-for-home)](https://www.npmjs.com/package/homebridge-blink-for-home)\n[![npm](https://badgen.net/npm/dt/homebridge-blink-for-home)](https://www.npmjs.com/package/homebridge-blink-for-home)\n\n<img src=\"https://github.com/colinbendell/homebridge-blink-for-home/raw/main/img/overview.jpg\" width=\"200\">\n\n## Overview\n\nThis enables Blink Cameras to the HomeBridge platform. This includes:\n* Security System Arm / Disarming\n* Occupied Switch\n* Camera Thumbnails (Liveview WIP)\n* Temperature Sensors\n* Alerts\n\n## Setup\n\nTo configure this set it up as a platform in your homebridge config.json file.\n\n![](img/plugin_settings.png)\n\n```\n\"platforms\" : [\n  {\n    \"name\"     : \"Blink\",\n    \"username\" : \"<your blink email address>\",\n    \"password\" : \"<your blink password>\",\n    \"pin\"      : \"<pin>\",\n    \"platform\" : \"Blink\"\n  }\n]\n```\n\n### Configuration Parameters\n\n* _name_: Only necessary if you want to support multiple Blink accounts. This is used to generate a unique client-id\n* _username_: Your blink username\n* _password_: Your blink password\n* _pin_: After 2FA email, this is the PIN provided\n\n### 2FA support\nIf you have 2FA enabled, you will need to first set the username / password to force the system to attempt to login. On first attempt it will trigger the email validation. With the PIN provided from the 2FA email, update the pin field to proceed. The pin is only needed once per account.\n\n_NB: The Device in the email 2FA will appear to be an iPad Mini. This is intentional to increase masquerading._\n\n## Features & Behaviors\n\nThis homebridge application includes a number of features such as:\n* Motion detection\n* Enable / Disable of Cameras\n* Privacy Mode\n* Thumbnail refreshing\n* Liveview (currently on Gen1 cameras)\n\nMany of these features are interconnected. Below describes the expected flows:\n\n|        |Armed|Disarmed|\n|--------|--------------|------------|\n|✅PrivacyMode <br> ✅Camera|Thumbnail Refreshed|![](src/privacy.png)|\n|✅PrivacyMode <br> ❌Camera|![](src/disabled.png)|![](src/privacy.png)|\n|❌PrivacyMode <br> ✅Camera|Thumbnail Refreshed|Thumbnail Refreshed|\n|❌PrivacyMode <br> ❌Camera|![](src/disabled.png)|Last Thumbnail (no refresh)|\n\n## Accessories\nTwo main accessory types will be present: `Security System` and `Camera` accessories. \n\n### Security System Accessories\n![](img/securitysystem.jpg)\n\n* one `Security System` accessory per location (aka Network)\n* Blink will be armed when the system is set to any of `Home`, `Away` or `Night` and disarmed when set to `Off`\n* The specific state of Home/Away/Night is preserved but is only useful for automation scripts (eg: turn off all cameras but entrance camera when set to `Night`)\n\n![](img/securitysystem_state.jpg)\n\n### Camera Accessories\n![](img/camera.jpg)\n\n* each `Camera` supports a number of sub accessories including temperature, motion sensor, motion tracking (when armed), and a privacy switch\n\n![](img/camera_accessories.jpg)\n\n* `privacy mode` prevents the perception that when the system is disarmed that people can be snooping. This is particularly important since even a stale thumbnail can give household members that feeling that the camera is active when its not.\n* cameras can be disabled individually when the system is armed with the `Motion Activated` switch \n\n## Useful Resources:\n* https://github.com/MattTW/BlinkMonitorProtocol\n* https://github.com/fronzbot/blinkpy\n* https://developers.homebridge.io/\n* https://developer.apple.com/documentation/homekit/\n","readmeFilename":"README.md"}