home-assistant.io/source/_components/switch.rachio.markdown
Alok Saboo 1aca7b08cf Misc fixes: e.g. -> e.g., and proper case for Home Assistant (#4942)
* e.g. to e.g., and proper case for Home Assistant

* Instructions how to -> Instructions on how to
2018-03-17 20:20:37 +01:00

2.0 KiB

layout title description date sidebar comments sharing footer logo ha_category ha_iot_class ha_release
page Rachio Switch Instructions on how to use Rachio switches with Home Assistant. 2017-05-29 09:00 true false true true rachio.png Switch Cloud Polling 0.46

The rachio switch platform allows you to control your Rachio irrigation system.

{% linkable_title Getting your Rachio API Access Token %}

  1. Log in at https://app.rach.io/.
  2. Click the user button at the top right.
  3. Click API Access Token.
  4. Copy the API access token from the dialog that opens.

To add this platform to your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
switch:
  - platform: rachio
    access_token: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Configuration variables:

  • access_token (Required): Your Rachio API Access Token.
  • manual_run_mins (Optional): For how long, in minutes, to turn on a station when the switch is enabled. Defaults to 10 minutes.

{% linkable_title Examples %}

In this section you find some real life examples of how to use this switch.

{% linkable_title groups.yaml example %}

irrigation:
  name: Irrigation
  icon: mdi:water-pump
  view: true
  entities:
  - group.zones_front
  - group.zones_back

zones_front:
  name: Front Yard
  view: false
  entities:
  - switch.driveway
  - switch.front_bushes
  - switch.front_garden
  - switch.front_yard
  - switch.side_yard

zones_back:
  name: Back Yard
  view: false
  entities:
  - switch.back_bushes
  - switch.back_garden
  - switch.back_porch
  - switch.back_trees

{% linkable_title iFrame %}

If you would like to see and control more detailed zone information, create an iFrame that renders the Rachio web app.

panel_iframe:
  rachio:
    title: Rachio
    url: "https://app.rach.io"
    icon: mdi:water-pump