mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add UpCloud platform (#4543)
* Add UpCloud platform * Add scan_interval for UpCloud. * Update upcloud.markdown * Update switch.upcloud.markdown * Update binary_sensor.upcloud.markdown
This commit is contained in:
parent
e99a85a20d
commit
0b988cbd2b
34
source/_components/binary_sensor.upcloud.markdown
Normal file
34
source/_components/binary_sensor.upcloud.markdown
Normal file
@ -0,0 +1,34 @@
|
||||
---
|
||||
layout: page
|
||||
title: UpCloud Binary Sensor
|
||||
description: Instructions on how to set up UpCloud binary sensors within Home Assistant.
|
||||
date: 2018-01-28 20:00
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
ha_category: System Monitor
|
||||
logo: upcloud.png
|
||||
ha_release: 0.65
|
||||
ha_iot_class: Cloud Polling
|
||||
---
|
||||
|
||||
The `upcloud` binary sensor platform allows you to monitor your UpCloud servers.
|
||||
|
||||
To use your UpCloud servers, you first have to set up your [UpCloud hub](/components/upcloud/) and then add the following to your `configuration.yaml` file:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
binary_sensor:
|
||||
- platform: upcloud
|
||||
servers:
|
||||
- 002167b7-4cb1-44b7-869f-e0900ddeeae1
|
||||
- 00886296-6137-4074-afe3-068e16d89d00
|
||||
```
|
||||
|
||||
{% configuration %}
|
||||
servers:
|
||||
description: List of servers you want to monitor.
|
||||
required: true
|
||||
type: list
|
||||
{% endconfiguration %}
|
34
source/_components/switch.upcloud.markdown
Normal file
34
source/_components/switch.upcloud.markdown
Normal file
@ -0,0 +1,34 @@
|
||||
---
|
||||
layout: page
|
||||
title: UpCloud Switch
|
||||
description: Instructions on how to set up UpCloud switches within Home Assistant.
|
||||
date: 2018-01-28 20:00
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
logo: upcloud.png
|
||||
ha_category: Switch
|
||||
ha_release: 0.65
|
||||
ha_iot_class: Cloud Polling
|
||||
---
|
||||
|
||||
The `upcloud` switch platform allows you to control (start/stop) your UpCloud servers.
|
||||
|
||||
To use your UpCloud servers, you first have to set up your [UpCloud hub](/components/upcloud/) and then add the following to your `configuration.yaml` file:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
switch:
|
||||
- platform: upcloud
|
||||
servers:
|
||||
- 002167b7-4cb1-44b7-869f-e0900ddeeae1
|
||||
- 00886296-6137-4074-afe3-068e16d89d00
|
||||
```
|
||||
|
||||
{% configuration %}
|
||||
servers:
|
||||
description: List of servers you want to control.
|
||||
required: true
|
||||
type: list
|
||||
{% endconfiguration %}
|
44
source/_components/upcloud.markdown
Normal file
44
source/_components/upcloud.markdown
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
layout: page
|
||||
title: UpCloud
|
||||
description: Instructions how to integrate UpCloud within Home Assistant.
|
||||
date: 2018-01-28 20:00
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
ha_category: Hub
|
||||
ha_release: 0.65
|
||||
logo: upcloud.png
|
||||
ha_iot_class: Cloud Polling
|
||||
---
|
||||
|
||||
|
||||
The `upcloud` component allows you to access the information about your [UpCloud](https://www.upcloud.com/) servers from Home Assistant.
|
||||
|
||||
Set up your API user credentials in your [UpCloud control panel](https://my.upcloud.com/).
|
||||
|
||||
To integrate your UpCloud servers with Home Assistant, add the following section to your `configuration.yaml` file:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
upcloud:
|
||||
username: YOUR_API_USERNAME
|
||||
password: YOUR_API_PASSWORD
|
||||
```
|
||||
|
||||
{% configuration %}
|
||||
username:
|
||||
description: Your UpCloud API username.
|
||||
required: true
|
||||
type: string
|
||||
password:
|
||||
description: Your UpCloud API user password.
|
||||
required: true
|
||||
type: string
|
||||
scan_interval:
|
||||
description: Update interval in seconds.
|
||||
required: false
|
||||
type: int
|
||||
default: 60
|
||||
{% endconfiguration %}
|
BIN
source/images/supported_brands/upcloud.png
Normal file
BIN
source/images/supported_brands/upcloud.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
Loading…
x
Reference in New Issue
Block a user