Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
twrecked authored Jan 30, 2019
1 parent 7754a7f commit db7bb86
Showing 1 changed file with 52 additions and 6 deletions.
58 changes: 52 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,45 @@
# hass-aarlo
Asynchronous Arlo Component for Home Assistant

Copy all directories into the `custom_component` directory.
Asynchronous Arlo Component for Home Assistant.

Replace all instance of the `arlo` platform with `aalro` in your home assistant configuration files - for example
The component operates in a similar way to the [Arlo](https://arlo.netgear.com/#/cameras) web site - it opens a single event stream to the Arlo backend and monitors events and state changes for all base stations, cameras and doorbells in a system. Currently it only lets you set base station modes.

The component supports:
* base station mode changes
* camera motion detection
* camera audio detection
* door bell motion detection
* door bell button press
* on the Lovelace UI it will report camera streaming state on the picture entity - ie, a clip is being recorded or somebody is view a stream on the Arlo app
* saving of state across restarts

This is an alpha release!

## Installation

### Manually
Copy all directories into your home-assistant `custom_components` directory.

### Script
Run the install script. Run it once to make sure the operations look sane and run it a second time with the `go` paramater to do the actual work. If you update just rerun the script, it will overwrite all installed files.

```sh
install /path/to/your/custom_components
# check output looks good
install go /path/to/your/custom_components
```

## Configuration

For the simplest use replace all instances of the `arlo` with `aalro` in your home-assistant configuration files. To support motion and audio capture add `aarlo` as a platform to the binary_sensor list.

The following is an example configuration:

```yaml
aarlo:
username: !secret arlo_username
password: !secret arlo_password
scan_interval: 300

camera:
- platform: aarlo
ffmpeg_arguments: '-pred 1 -q:v 2'
Expand All @@ -25,6 +54,7 @@ binary_sensor:
monitored_conditions:
- motion
- sound
- ding

sensor:
- platform: aarlo
Expand All @@ -35,5 +65,21 @@ sensor:
- captured_today
- signal_strength
```
The following new parameters can be specified against the aarlo platform:
```yaml
aarlo:
username: !secret arlo_username
password: !secret arlo_password
packet_dump: True
db_motion_time: 30
db_ding_time: 10
```
* If `packet_dump` is True `aarlo` will store all the packets it sees in `/config/.aarlo/packets.dump` file.
* `db_motion_time` sets how long a doorbell motion will last. Arlo doorbell only indicates motion is present not that it stops. You can adjust the stop time out here.
* `db_ding_time` sets how long a doorbell button press will last. As with motion Arlo doorbell only tells us it's pressed not released.

## Finally

Now restart your home assistant system.

Restart your home assistant system.

0 comments on commit db7bb86

Please sign in to comment.