diff --git a/source/_components/binary_sensor.digital_ocean.markdown b/source/_components/binary_sensor.digital_ocean.markdown new file mode 100644 index 000000000000..48e17b354d00 --- /dev/null +++ b/source/_components/binary_sensor.digital_ocean.markdown @@ -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. + diff --git a/source/_components/digital_ocean.markdown b/source/_components/digital_ocean.markdown new file mode 100644 index 000000000000..7e20f8dc5d23 --- /dev/null +++ b/source/_components/digital_ocean.markdown @@ -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. diff --git a/source/_components/foursquare.markdown b/source/_components/foursquare.markdown index b2277da003d0..582eae421df4 100644 --- a/source/_components/foursquare.markdown +++ b/source/_components/foursquare.markdown @@ -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" diff --git a/source/_components/switch.digital_ocean.markdown b/source/_components/switch.digital_ocean.markdown new file mode 100644 index 000000000000..a7a77af1f543 --- /dev/null +++ b/source/_components/switch.digital_ocean.markdown @@ -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. + diff --git a/source/images/supported_brands/digital_ocean.png b/source/images/supported_brands/digital_ocean.png new file mode 100644 index 000000000000..a1f83c953510 Binary files /dev/null and b/source/images/supported_brands/digital_ocean.png differ