🚜 Merges/Redirect Rainmachine component pages (#8659)

This commit is contained in:
Klaas Schoute 2019-02-21 09:35:43 +01:00 committed by Fabian Affolter
parent fcf97f2773
commit 1aa9613b4f
4 changed files with 30 additions and 89 deletions

View File

@ -1,23 +0,0 @@
---
layout: page
title: "RainMachine Binary Sensor"
description: "Instructions on how to use RainMachine binary sensors with Home Assistant."
date: 2018-05-06 21:26
sidebar: true
comments: false
sharing: true
footer: true
logo: rainmachine.png
ha_category: Irrigation
ha_iot_class: "Cloud Polling"
ha_release: 0.71
---
The `rainmachine` binary sensor platform allows you to view crucial sensor data
within a [RainMachine smart Wi-Fi sprinkler controller](http://www.rainmachine.com/).
<p class='note'>
You must have the [RainMachine component](/components/rainmachine/)
configured to use this platform. After configuring that component, binary
sensors automatically appear.
</p>

View File

@ -8,18 +8,30 @@ comments: false
sharing: true
footer: true
logo: rainmachine.png
ha_category: Irrigation
ha_category:
- Irrigation
- Binary Sensor
- Sensor
- Switch
ha_release: 0.69
ha_iot_class: "Local Polling"
redirect_from:
- /components/binary_sensor.rainmachine/
- /components/sensor.rainmachine/
- /components/switch.rainmachine/
---
The `rainmachine` component is the main component to integrate all platforms
related to [RainMachine smart Wi-Fi sprinkler controllers](http://www.rainmachine.com/).
The `rainmachine` component is the main component to integrate all platforms related to [RainMachine smart Wi-Fi sprinkler controllers](http://www.rainmachine.com/).
There is currently support for the following device types within Home Assistant:
- Binary Sensor
- Sensor
- [Switch](#switch)
## {% linkable_title Base Configuration %}
To connect to your RainMachine device, add the following to your
`configuration.yaml` file:
To connect to your RainMachine device, add the following to your `configuration.yaml` file:
```yaml
rainmachine:
@ -28,9 +40,7 @@ rainmachine:
password: YOUR_PASSWORD
```
To configure additional functionality, add configuration options beneath
a `binary_sensor`, `sensor`, and/or `switches` key within the `rainmachine`
sections of `configuration.yaml` as below:
To configure additional functionality, add configuration options beneath a `binary_sensor`, `sensor`, and/or `switches` key within the `rainmachine` sections of `configuration.yaml` as below:
```yaml
rainmachine:
@ -140,3 +150,15 @@ Stop a RainMachine zone.
|---------------------------|----------|----------------------|
| `zone_id` | no | The zone to stop |
## {% linkable_title Switch %}
The `rainmachine` switch platform allows you to control programs and zones within a [RainMachine smart Wi-Fi sprinkler controller](http://www.rainmachine.com/).
### {% linkable_title Controlling Your Device %}
After Home Assistant loads, new switches will be added for every enabled program and zone. These work as expected:
- Program On/Off: starts/stops a program
- Zone On/Off: starts/stops a zone (using the `zone_run_time` parameter to determine how long to run for)
Programs and zones are linked. While a program is running, you will see both the program and zone switches turned on; turning either one off will turn the other one off (just like in the web app).

View File

@ -1,23 +0,0 @@
---
layout: page
title: "RainMachine Sensor"
description: "Instructions on how to use RainMachine sensors with Home Assistant."
date: 2018-05-06 21:26
sidebar: true
comments: false
sharing: true
footer: true
logo: rainmachine.png
ha_category: Irrigation
ha_iot_class: "Cloud Polling"
ha_release: 0.71
---
The `rainmachine` sensor platform allows you to view crucial sensor data within
a [RainMachine smart Wi-Fi sprinkler controller](http://www.rainmachine.com/).
<p class='note'>
You must have the [RainMachine component](/components/rainmachine/)
configured to use this platform. After configuring that component, sensors
automatically appear.
</p>

View File

@ -1,35 +0,0 @@
---
layout: page
title: "RainMachine Switch"
description: "Instructions on how to use RainMachine switches with Home Assistant."
date: 2017-08-14 13:30
sidebar: true
comments: false
sharing: true
footer: true
logo: rainmachine.png
ha_category: Irrigation
ha_iot_class: "Cloud Polling"
ha_release: 0.51
---
The `rainmachine` switch platform allows you to control programs and zones
within a [RainMachine smart Wi-Fi sprinkler controller](http://www.rainmachine.com/).
<p class='note'>
You must have the [RainMachine component](/components/rainmachine/)
configured to use this platform. After configuring that component, switches will
automatically appear.
</p>
## {% linkable_title Controlling Your Device %}
After Home Assistant loads, new switches will be added for every enabled
program and zone. These work as expected:
- Program On/Off: starts/stops a program
- Zone On/Off: starts/stops a zone (using the `zone_run_time` parameter to determine how long to run for)
Programs and zones are linked. While a program is running, you will see both
the program and zone switches turned on; turning either one off will turn the
other one off (just like in the web app).