mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Add Digital Ocean docs (#987)
This commit is contained in:
parent
904d8f5c6a
commit
8d7a004316
32
source/_components/binary_sensor.digital_ocean.markdown
Normal file
32
source/_components/binary_sensor.digital_ocean.markdown
Normal 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.
|
||||||
|
|
32
source/_components/digital_ocean.markdown
Normal file
32
source/_components/digital_ocean.markdown
Normal 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.
|
@ -8,7 +8,7 @@ comments: false
|
|||||||
sharing: true
|
sharing: true
|
||||||
footer: true
|
footer: true
|
||||||
logo: foursquare.png
|
logo: foursquare.png
|
||||||
featured: true
|
featured: false
|
||||||
ha_category: Social
|
ha_category: Social
|
||||||
ha_release: 0.26
|
ha_release: 0.26
|
||||||
ha_iot_class: "Cloud Polling and Cloud Push"
|
ha_iot_class: "Cloud Polling and Cloud Push"
|
||||||
|
32
source/_components/switch.digital_ocean.markdown
Normal file
32
source/_components/switch.digital_ocean.markdown
Normal 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.
|
||||||
|
|
BIN
source/images/supported_brands/digital_ocean.png
Normal file
BIN
source/images/supported_brands/digital_ocean.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Loading…
x
Reference in New Issue
Block a user