diff --git a/source/_components/binary_sensor.rainmachine.markdown b/source/_components/binary_sensor.rainmachine.markdown deleted file mode 100644 index 1cf2b676306..00000000000 --- a/source/_components/binary_sensor.rainmachine.markdown +++ /dev/null @@ -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/). - -

-You must have the [RainMachine component](/components/rainmachine/) -configured to use this platform. After configuring that component, binary -sensors automatically appear. -

diff --git a/source/_components/rainmachine.markdown b/source/_components/rainmachine.markdown index 8745c523682..f01419dcec6 100644 --- a/source/_components/rainmachine.markdown +++ b/source/_components/rainmachine.markdown @@ -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). \ No newline at end of file diff --git a/source/_components/sensor.rainmachine.markdown b/source/_components/sensor.rainmachine.markdown deleted file mode 100644 index 76228738190..00000000000 --- a/source/_components/sensor.rainmachine.markdown +++ /dev/null @@ -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/). - -

-You must have the [RainMachine component](/components/rainmachine/) -configured to use this platform. After configuring that component, sensors -automatically appear. -

diff --git a/source/_components/switch.rainmachine.markdown b/source/_components/switch.rainmachine.markdown deleted file mode 100644 index a098979275a..00000000000 --- a/source/_components/switch.rainmachine.markdown +++ /dev/null @@ -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/). - -

-You must have the [RainMachine component](/components/rainmachine/) -configured to use this platform. After configuring that component, switches will -automatically appear. -

- -## {% 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).