home-assistant.io/source/_components/switch.rainmachine.markdown
2018-09-03 09:27:25 +02:00

1.2 KiB

layout title description date sidebar comments sharing footer logo ha_category ha_iot_class ha_release
page RainMachine Switch Instructions on how to use RainMachine switches with Home Assistant. 2017-08-14 13:30 true false true true rainmachine.png Irrigation Cloud Polling 0.51

The rainmachine switch platform allows you to control programs and zones within a RainMachine smart Wi-Fi sprinkler controller.

You must have the [RainMachine component](https://www.home-assistant.io/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).