2020-03-05 17:28:39 -08:00

92 lines
2.6 KiB
Markdown

---
title: Canary
description: Instructions on how to integrate your Canary devices into Home Assistant.
logo: canary.png
ha_category:
- Alarm
- Camera
- Sensor
ha_release: '0.60'
ha_iot_class: Cloud Polling
ha_domain: canary
---
The `canary` integration allows you to integrate your [Canary](https://canary.is) devices in Home Assistant.
There is currently support for the following device types within Home Assistant:
- Alarm
- [Camera](#camera)
- [Sensor](#sensor)
## Configuration
You will need your Canary login information (username, usually your email address, and password) to use this module.
To set it up, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
canary:
username: YOUR_USERNAME
password: YOUR_PASSWORD
```
{% configuration %}
username:
description: The username for accessing your Canary account.
required: true
type: string
password:
description: The password for accessing your Canary account.
required: true
type: string
timeout:
description: Timeout to wait for connections.
required: false
type: integer
default: 10
{% endconfiguration %}
Once loaded, your front end will have the following integrations:
- A camera image triggered by motion for each camera.
- An alarm control panel for each location.
- A sensor per camera that reports temperature.
- A sensor per camera that reports humidity.
- A sensor per camera that reports air quality.
## Camera
The `canary` camera platform allows you to watch the live stream of your [Canary](https://canary.is) camera in Home Assistant. This requires the [`ffmpeg` integration](/integrations/ffmpeg/) to be already configured.
Once you have [Canary integration](/integrations/canary/) setup, your [Canary](https://canary.is) camera(s) should show up automatically.
## Configuration
You can add the following to your `configuration.yaml` file to configure `canary` camera with optional settings:
```yaml
camera:
- platform: canary
```
{% configuration %}
ffmpeg_arguments:
description: Extra options to pass to `ffmpeg`, e.g., image quality or video filter options. More details in [FFmpeg integration](/integrations/ffmpeg).
required: false
type: string
{% endconfiguration %}
## Sensor
The `canary` sensor platform allows you to integrate the sensors of your [Canary](https://canary.is) devices in Home Assistant.
To add `canary` sensors to your installation, follow instructions above.
Once loaded, you will see following sensors:
- A sensor per camera that reports temperature.
- A sensor per camera that reports humidity.
- A sensor per camera that reports air quality.