Skip to content

Commit 8d7a004

Browse files
authored
Add Digital Ocean docs (home-assistant#987)
1 parent 904d8f5 commit 8d7a004

File tree

5 files changed

+97
-1
lines changed

5 files changed

+97
-1
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
layout: page
3+
title: "Digital Ocean Binary Sensor"
4+
description: "Instructions on how to set up Digital Ocean binary sensors within Home Assistant."
5+
date: 2016-09-24 08:00
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
ha_category: System Monitor
11+
logo: digital_ocean.png
12+
ha_release: "0.30"
13+
ha_iot_class: "Local Polling"
14+
---
15+
16+
The `digital_ocean` binary sensor platform allows you to monitor your Digital Ocean droplets.
17+
18+
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:
19+
20+
```yaml
21+
# Example configuration.yaml entry
22+
binary_sensor:
23+
- platform: digital_ocean
24+
droplets:
25+
- 'fedora-512mb-nyc3-01'
26+
- 'coreos-512mb-nyc3-01'
27+
```
28+
29+
Configuration variables:
30+
31+
- **droplets** (*Required*): List of droplets you want to control.
32+
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
layout: page
3+
title: "Digital Ocean"
4+
description: "Instructions how to integrate the Digital Ocean within Home Assistant."
5+
date: 2016-09-24 20:00
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
featured: true
11+
ha_category: Hub
12+
ha_release: "0.30"
13+
logo: digital_ocean.png
14+
ha_iot_class: "Local Polling"
15+
---
16+
17+
18+
The `digital_ocean` component allows you to access the information about your [Digital Ocean](https://www.digitalocean.com/) droplets from Home Assistant.
19+
20+
Obtain your API key from your [Digital Ocean dashboard](https://cloud.digitalocean.com/settings/api/tokens).
21+
22+
To integrate your Digital Ocena droplets with Home Assistant, add the following section to your `configuration.yaml` file:
23+
24+
```yaml
25+
# Example configuration.yaml entry
26+
digital_ocean:
27+
access_token: YOUR_API_KEY
28+
```
29+
30+
Configuration variables:
31+
32+
- **access_token** (*Required*): Your Digital Ocean API access token.

source/_components/foursquare.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ comments: false
88
sharing: true
99
footer: true
1010
logo: foursquare.png
11-
featured: true
11+
featured: false
1212
ha_category: Social
1313
ha_release: 0.26
1414
ha_iot_class: "Cloud Polling and Cloud Push"
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
layout: page
3+
title: "Digital Ocean Switch"
4+
description: "Instructions on how to set up Digital Ocean switches within Home Assistant."
5+
date: 2016-09-24 08:00
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: digital_ocean.png
11+
ha_category: System Monitor
12+
ha_release: "0.30"
13+
ha_iot_class: "Local Polling"
14+
---
15+
16+
The `digital_ocean` switch platform allows you to control (start/stop) your Digital Ocean droplets.
17+
18+
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:
19+
20+
```yaml
21+
# Example configuration.yaml entry
22+
switch:
23+
- platform: digital_ocean
24+
droplets:
25+
- 'fedora-512mb-nyc3-01'
26+
- 'coreos-512mb-nyc3-01'
27+
```
28+
29+
Configuration variables:
30+
31+
- **droplets** (*Required*): List of droplets you want to control.
32+
13.6 KB
Loading

0 commit comments

Comments
 (0)