Skip to content

Commit fbc2e8f

Browse files
authored
1 parent 2660f3f commit fbc2e8f

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

source/_components/blink.markdown

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,54 +25,56 @@ blink:
2525
password: YOUR_PASSWORD
2626
```
2727
28+
Configuration variables:
29+
30+
- **username** (*Required*): Your username to login to Blink.
31+
- **password** (*Required*): Your password to login to Blink.
32+
2833
Once loaded, your front end will have the following components:
34+
2935
* A camera image for each camera in your system.
3036
* A binary_sensor per camera that indicates whether motion detection is enabled.
3137
* A binary_sensor for the system that indicates if the system is armed or disarmed.
3238
* A sesnor per camera that reports temperature.
3339
* A sensor per camera that reports battery level.
3440
* A sensor per camera that reports unread notification (ie. detected motion events).
3541
36-
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 `blink.snap_picture` service followed by a `blink.force_update` service call to force Home Assistant to request an update from Blink's servers. If the `blink.force_update` service is not called, the image will be updated within a 180 second interval, set so that automatic server requests don't overwhelm the Blink API. 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.
42+
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.
3743

3844
Services:
39-
There are three services availiabe for the blink platform:
45+
46+
This services are available for the `blink` component:
47+
4048
- arm_system
4149
- arm_camera
4250
- snap_picture
43-
- force_update
4451

45-
For `blink.arm_system`, the value sent can be either "True" or "False" and will arm and disarm the whole blink system, respectively
4652

47-
Arm system example
53+
For `arm_system`, the value sent can be either `True` or `False` and will arm and disarm the whole Blink system. Arm system example:
54+
4855
```json
4956
{
5057
"device_armed": "True"
5158
}
5259
```
5360

54-
Arm camera follows a similar structure, but each indidivual camera can have motion detection enabled or disabled. Because of this, you also need to supply a name. For example, if I have a camera named "Living Room" and I want to turn off motion detection on that camera, I'd call the `blink.arm_camera` service with the following payload:
61+
Arm camera follows a similar structure, but each indidivual camera can have motion detection enabled or disabled. Because of this, you also need to supply a name. For example, if you have a camera named "Living Room" and you want to turn off motion detection on that camera, you would call the `arm_camera` service with the following payload:
62+
5563
```json
5664
{
5765
"friendly_name": "Living Room",
5866
"device_armed": "False"
5967
}
6068
```
6169

62-
The `blink.snap_picture` service takes the camera name as the payload and with take a new picture with your camera.
63-
```
70+
The `snap_picture` service takes the camera name as the payload and with take a new picture with your camera.
71+
72+
```json
6473
{
6574
"friendly_name": "Living Room"
6675
}
6776
```
6877

69-
The `blink.force_update` service can simply be called with no payload to force a server update.
70-
71-
Configuration variables:
72-
73-
- **username** (*Required*): Your username to login to Blink
74-
- **password** (*Required*): Your password to login to Blink
75-
7678
<p class='img'>
7779
<img src='{{site_root}}/images/screenshots/blink_example_frontend.png' />
7880
</p>

0 commit comments

Comments
 (0)