Skip to content

Commit 15bab81

Browse files
fronzbotballoob
authored andcommitted
Blink documentation update (home-assistant#2293)
* Blink documentation update Added force_update service and increased time between server calls * Fixed double ticks and bad sentence
1 parent 98618fa commit 15bab81

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

source/_components/blink.markdown

+7-4
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,16 @@ Once loaded, your front end will have the following components:
3333
* A sensor per camera that reports battery level.
3434
* A sensor per camera that reports unread notification (ie. detected motion events).
3535
36-
Since the cameras are battery operated, the images are only updated in Home Assistant when the user manually forces a new photo. The image can only be updated in Home Assistant every 60 seconds in order to not overwhelm Blink's servers with API requests.
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.
3737

3838
Services:
3939
There are three services availiabe for the blink platform:
4040
- arm_system
4141
- arm_camera
4242
- snap_picture
43+
- force_update
4344

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

4647
Arm system example
4748
```json
@@ -50,21 +51,23 @@ Arm system example
5051
}
5152
```
5253

53-
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:
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:
5455
```json
5556
{
5657
"friendly_name": "Living Room",
5758
"device_armed": "False"
5859
}
5960
```
6061

61-
The blink.snap_picture service takes the camera name as the payload and with take a new picture with your camera.
62+
The `blink.snap_picture` service takes the camera name as the payload and with take a new picture with your camera.
6263
```
6364
{
6465
"friendly_name": "Living Room"
6566
}
6667
```
6768
69+
The `blink.force_update` service can simply be called with no payload to force a server update.
70+
6871
Configuration variables:
6972
7073
- **username** (*Required*): Your username to login to Blink

0 commit comments

Comments
 (0)