Skip to content

Add Digital Ocean docs #987

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 30, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions source/_components/binary_sensor.digital_ocean.markdown
Original file line number Diff line number Diff line change
@@ -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.

32 changes: 32 additions & 0 deletions source/_components/digital_ocean.markdown
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion source/_components/foursquare.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
32 changes: 32 additions & 0 deletions source/_components/switch.digital_ocean.markdown
Original file line number Diff line number Diff line change
@@ -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 added source/images/supported_brands/digital_ocean.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.