home-assistant.io/source/_components/digital_ocean.markdown
2019-02-13 13:34:38 +01:00

2.6 KiB

layout, title, description, date, sidebar, comments, sharing, footer, ha_category, ha_release, logo, ha_iot_class, redirect_from
layout title description date sidebar comments sharing footer ha_category ha_release logo ha_iot_class redirect_from
page Digital Ocean Instructions on how to integrate the Digital Ocean within Home Assistant. 2016-09-24 20:00 true false true true
System Monitor
Binary Sensor
Switch
0.30 digital_ocean.png Local Polling
/components/binary_sensor.digital_ocean/
/components/switch.digital_ocean/

The digital_ocean component allows you to access the information about your Digital Ocean droplets from Home Assistant.

There is currently support for the following device types within Home Assistant:

{% linkable_title Setup %}

Obtain your API key from your Digital Ocean dashboard.

{% linkable_title Configuration %}

To integrate your Digital Ocean droplets with Home Assistant, add the following section to your configuration.yaml file:

# Example configuration.yaml entry
digital_ocean:
  access_token: YOUR_API_KEY

{% configuration %} access_token: description: Your Digital Ocean API access token. required: true type: string {% endconfiguration %}

{% linkable_title Binary Sensor %}

The digital_ocean binary sensor platform allows you to monitor your Digital Ocean droplets.

{% linkable_title Configuration %}

To use your Digital Ocean droplets, you first have to set up your Digital Ocean hub and then add the following to your configuration.yaml file:

# Example configuration.yaml entry
binary_sensor:
  - platform: digital_ocean
    droplets:
      - 'fedora-512mb-nyc3-01'
      - 'coreos-512mb-nyc3-01'

{% configuration %} droplets: description: List of droplets you want to monitor. required: true type: list {% endconfiguration %}

{% linkable_title Switch %}

The digital_ocean switch platform allows you to control (start/stop) your Digital Ocean droplets.

{% linkable_title Configuration %}

To use your Digital Ocean droplets, you first have to set up your Digital Ocean hub and then add the following to your configuration.yaml file:

# Example configuration.yaml entry
switch:
  - platform: digital_ocean
    droplets:
      - 'fedora-512mb-nyc3-01'
      - 'coreos-512mb-nyc3-01'

{% configuration %} droplets: description: List of droplets you want to control. required: true type: list {% endconfiguration %}