You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/blink.markdown
+17-15Lines changed: 17 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -25,54 +25,56 @@ blink:
25
25
password: YOUR_PASSWORD
26
26
```
27
27
28
+
Configuration variables:
29
+
30
+
- **username** (*Required*): Your username to login to Blink.
31
+
- **password** (*Required*): Your password to login to Blink.
32
+
28
33
Once loaded, your front end will have the following components:
34
+
29
35
* A camera image for each camera in your system.
30
36
* A binary_sensor per camera that indicates whether motion detection is enabled.
31
37
* A binary_sensor for the system that indicates if the system is armed or disarmed.
32
38
* A sesnor per camera that reports temperature.
33
39
* A sensor per camera that reports battery level.
34
40
* A sensor per camera that reports unread notification (ie. detected motion events).
35
41
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.
37
43
38
44
Services:
39
-
There are three services availiabe for the blink platform:
45
+
46
+
This services are available for the `blink` component:
47
+
40
48
- arm_system
41
49
- arm_camera
42
50
- snap_picture
43
-
- force_update
44
51
45
-
For `blink.arm_system`, the value sent can be either "True" or "False" and will arm and disarm the whole blink system, respectively
46
52
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
+
48
55
```json
49
56
{
50
57
"device_armed": "True"
51
58
}
52
59
```
53
60
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
+
55
63
```json
56
64
{
57
65
"friendly_name": "Living Room",
58
66
"device_armed": "False"
59
67
}
60
68
```
61
69
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
64
73
{
65
74
"friendly_name": "Living Room"
66
75
}
67
76
```
68
77
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
0 commit comments