diff --git a/source/_components/alarm_control_panel.blink.markdown b/source/_components/alarm_control_panel.blink.markdown new file mode 100644 index 00000000000..2d987ca80bc --- /dev/null +++ b/source/_components/alarm_control_panel.blink.markdown @@ -0,0 +1,17 @@ +--- +layout: page +title: "Blink Alarm Control Panel" +description: "Instructions for how to setup Blink alarm control panel within Home Assistant." +date: 2018-10-01 22:13 +sidebar: true +comments: false +sharing: true +footer: true +logo: blink.png +ha_category: Alarm Control Panel +ha_release: "0.80" +--- + +
+To get your Blink alarm control panel working with Home Assistant, follow the instructions for the general [Blink component](/components/blink/). +
diff --git a/source/_components/blink.markdown b/source/_components/blink.markdown index 217dcce7438..7d240cc0b9d 100644 --- a/source/_components/blink.markdown +++ b/source/_components/blink.markdown @@ -17,65 +17,100 @@ The `blink` component lets you view camera images and motion events from [Blink] You will need your Blink login information (username, usually you email address, and password) to use this module. -To set it up, add the following information to your `configuration.yaml` file: +## {% linkable_title Configuration %} + +To enable devices linked in your [Blink](https://blinkforhome.com) account, add the following to your `configuration.yaml` file: ```yaml # Example configuration.yaml entry blink: username: YOUR_USERNAME password: YOUR_PASSWORD + scan_interval: 60 + binary_sensors: + monitored_conditions: + - motion_enabled + - motion_detected + sensors: + monitored_conditions: + - battery + - temperature + - status + - wifi_strength ``` -Configuration variables: - -- **username** (*Required*): Your username to login to Blink. -- **password** (*Required*): Your password to login to Blink. - -Once loaded, your front end will have the following components: - -* A camera image for each camera in your system. -* A binary_sensor per camera that indicates whether motion detection is enabled. -* A binary_sensor for the system that indicates if the system is armed or disarmed. -* A sensor per camera that reports temperature. -* A sensor per camera that reports battery level. -* A sensor per camera that reports unread notification (i.e., detected motion events). - -Since the cameras are battery operated, the images are only updated in Home Assistant when the user manually forces a new photo. This image can be updated with the `snap_picture` service to force Home Assistant to request an update from Blink's servers. As a note, all of the camera-specific sensors are only polled when a new image is requested from the camera. This means that relying on any of these sensors to provide timely and accurate data is not recommended. - -Services: - -This services are available for the `blink` component: - -- arm_system -- arm_camera -- snap_picture +{% configuration %} +username: + description: The username for accessing your Blink account. + required: true + type: string +password: + description: The password for accessing your Blink account. + required: true + type: string +scan_interval: + description: How frequently to query for new data. Defaults to 60 seconds. + required: false + type: int +binary_sensors: + description: Binary sensor configuration options. + required: false + type: map + keys: + monitored_conditions: + description: The conditions to create sensors from. + required: false + type: list + default: all (`motion_enabled`, `motion_detected`) +sensors: + description: Sensor configuration options. + required: false + type: map + keys: + monitored_conditions: + description: The conditions to create sensors from. + required: false + type: list + default: all (`battery`, `temperature`, `status`, `wifi_strength`) +{% endconfiguration %} -For `arm_system`, the value sent can be either `True` or `False` and will arm and disarm the whole Blink system. Arm system example: +Since the cameras are battery operated, setting the `scan_interval` must be done with care so as to not drain the battery too quickly, or hammer Blink's servers with too many API requests. The cameras can be manually updated via the `trigger_camera` service which will ignore the throttling caused by `scan_interval`. As a note, all of the camera-specific sensors are only polled when a new image is requested from the camera. This means that relying on any of these sensors to provide timely and accurate data is not recommended. -```json -{ - "device_armed": "True" -} +**Note:** Each camera reports two different states, one as `sensor.blink_
-
-