Simple Automation Rules

From Hubitat Documentation
Revision as of 00:07, 8 July 2022 by RobertM (talk | contribs) (Add ALT text)
Jump to: navigation, search
Go to the top of the page

The Simple Automation Rules app is designed to be the simplest way to automate your home. You can control both lights and switches by easily selecting a wide range of triggers to control them. In the following example, we will create a rule that turns our kitchen lights when there is motion and turns them off 5 minutes after motion has stopped.

Installing Simple Automation Rules

  1. From the sidebar of your hub, select Apps and press the Add Built-In App button.
    Screenshot: Add Built-In App window
  2. Choose Simple Automation Rules from the list of Hubitat Elevation Built-In Apps.
    Screenshot: Simple Automation Rules in app list

Creating a Simple Automation Rule

  1. Select Apps from the home page of your Hubitat Web Interface, open the Simple Automation Rules app.
  2. Select Create New Simple Automation Rule.
    Screenshot: "Create New Simple Automation Rule" link
  3. Select Which lights or switches do you want to automate? Check all that apply, then press Update.Simple Automation - Choose specific light.png
  4. Select what will be the trigger for your Simple Automation Rule. For the example rule, we will use Motion.
    • NOTE: Only devices installed on your hub will show in the list of available triggers.
      Screenshot of trigger and "action" options
  5. Choosing Turn on & set level when Motion Starts will allow you to specify the brightness level you want the light to turn ON to when motion is detected. Available options include Turn ON, Turn OFF, Turn ON & Set Level, Turn ON & Set Temperature (color temperature), and Toggle.
    Screenshot of example action ("Turn on & Set Level")
  6. Select which device should trigger your Simple Automation rule. You will then specify how the device will trigger your automation and related options depending on the choice you make.
    Screenshot of additonal options: "Turn on & set level when..."
  7. By default, Simple Automation will generate a long name based on the names of lights and devices in your rule. To modify this, turn on the Edit Rule Name option and type your desired name.
    Screenshot: "Edit Rule Name?" option
  8. If you select the restrictions heading, you will be presented with a number options to limit when your rule activates:
    • Only Between Two Times - Your rule will only be active between two specified time periods.
    • Only on certain days of the week - Select the days you want the rule active.
    • Only when mode is - Select the modes when you want this rule to be active.
    • Only when illuminance is - Here you will select an illuminance sensor and select if you want the rule active above or below a certain light level.
    • Switch to disable Simple Automation Rule - Select a switch that will disable this Simple Automation rule. One example, could be to allow you to use a Rule Machine rules to control your lights in different way, and when such rules are active, you don't want your Simple Automation rule to be active.
    Simple Automation rule restrictions.png
    The exact behavior of these restrictions can be controlled with the option:
    Screenshot of "Restrict triggers and pending actions / Restrict only the trigger" toggle option
    When set to "Restrict trigger and pending actions," no part of the Simple Automation Rule will execute when the restrictions are in effect. With ""Restrict only the trigger," only the trigger (event specified by "How do you want to trigger it?") will be ignored, while additional actions will still run (once) if the trigger already happened. This can be useful as, for example, a way to make sure lights turn off after motion becomes inactive if you are using Simple Automation Rules to configure an automation triggered by motion active and don't want the lights to turn on (but still want them to turn off) according to certain restrictions, e.g., time or illuminance.
  9. When you are satisfied with your Simple Automation rule selections, choose Done.