Add Digital Ocean docs (#987)

This commit is contained in:
Fabian Affolter 2016-09-30 18:38:12 +02:00 committed by GitHub
parent 904d8f5c6a
commit 8d7a004316
5 changed files with 97 additions and 1 deletions

View File

@ -0,0 +1,32 @@
---
layout: page
title: "Digital Ocean Binary Sensor"
description: "Instructions on how to set up Digital Ocean binary sensors within Home Assistant."
date: 2016-09-24 08:00
sidebar: true
comments: false
sharing: true
footer: true
ha_category: System Monitor
logo: digital_ocean.png
ha_release: "0.30"
ha_iot_class: "Local Polling"
---
The `digital_ocean` binary sensor platform allows you to monitor your Digital Ocean droplets.
To use your Digital Ocean droplets, you first have to set up your [Digital Ocean hub](/components/digital_ocean/) and then add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
binary_sensor:
- platform: digital_ocean
droplets:
- 'fedora-512mb-nyc3-01'
- 'coreos-512mb-nyc3-01'
```
Configuration variables:
- **droplets** (*Required*): List of droplets you want to control.

View File

@ -0,0 +1,32 @@
---
layout: page
title: "Digital Ocean"
description: "Instructions how to integrate the Digital Ocean within Home Assistant."
date: 2016-09-24 20:00
sidebar: true
comments: false
sharing: true
footer: true
featured: true
ha_category: Hub
ha_release: "0.30"
logo: digital_ocean.png
ha_iot_class: "Local Polling"
---
The `digital_ocean` component allows you to access the information about your [Digital Ocean](https://www.digitalocean.com/) droplets from Home Assistant.
Obtain your API key from your [Digital Ocean dashboard](https://cloud.digitalocean.com/settings/api/tokens).
To integrate your Digital Ocena droplets with Home Assistant, add the following section to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
digital_ocean:
access_token: YOUR_API_KEY
```
Configuration variables:
- **access_token** (*Required*): Your Digital Ocean API access token.

View File

@ -8,7 +8,7 @@ comments: false
sharing: true
footer: true
logo: foursquare.png
featured: true
featured: false
ha_category: Social
ha_release: 0.26
ha_iot_class: "Cloud Polling and Cloud Push"

View File

@ -0,0 +1,32 @@
---
layout: page
title: "Digital Ocean Switch"
description: "Instructions on how to set up Digital Ocean switches within Home Assistant."
date: 2016-09-24 08:00
sidebar: true
comments: false
sharing: true
footer: true
logo: digital_ocean.png
ha_category: System Monitor
ha_release: "0.30"
ha_iot_class: "Local Polling"
---
The `digital_ocean` switch platform allows you to control (start/stop) your Digital Ocean droplets.
To use your Digital Ocean droplets, you first have to set up your [Digital Ocean hub](/components/digital_ocean/) and then add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
switch:
- platform: digital_ocean
droplets:
- 'fedora-512mb-nyc3-01'
- 'coreos-512mb-nyc3-01'
```
Configuration variables:
- **droplets** (*Required*): List of droplets you want to control.

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB