The Basic Rules app delivers easy to use home automation to anyone just getting started, while at the same time offering features experienced users will find handy.
Each Basic Rule you create follows the simple approach:
When THIS trigger event happens, do THAT action.
Example of a Basic Rule when a contact sensor opens:
Sometimes just having a device trigger a single action as shown above isn't all that you might want. For example, you might also want a message to notify you not only when the door has opened, but has also been left open. This is very easy with Basic Rule, but the best way to learn what you can do is to play around to discover what you can create!
Example of a Basic Rule notifying you when a contact sensor opens, and stays opened for more than two minutes:
Basic Rule allows you to select multiple devices for When a ... Trigger event happens. Looking again at the example above, adding two or more contact sensors could notify you when any of multiple doors have been left open.
Multiple device options include:
Adding multiple temperature, humidity and illuminance sensors to a Basic Rule will generate a trigger event when any device detects a value greater than, or less than a value you specify.
In this next example, multiple contact sensors can trigger a notification, but adding
%device% instead of a specific device name will send a notification with only the contact sensor that triggered the Basic Rule included in the message.
You can also use
%value% to fill in the last event value from a temperature sensor when it rises above or falls below a value you specify, and you can include the current date and time the event occurred by adding
Because you may want more than one thing to happen when a Basic Rule runs, you can easily add more actions. Actions can be changed or removed anytime.
Next to the Add another action button is the Add Wait until ... button. This option opens up the possibility of your Basic Rule waiting for another event before proceeding to run additional actions. With this option your rule can both turn ON the lights in response to an event, and also turn them OFF later when another event occurs. Wait will be cancelled if the rule is triggered again before the time has elapsed, or the Wait event trigger has occurred.
Suppose you want the "Any Door Left Open" rule above to run only at night. Simply adding a Restriction will limit your Basic Rule to only performing the actions when the specified conditions are true.
Available restrictions include:
Basic rule offers two options for restrictions, Restrict trigger and pending actions (the deafult) or Restrict only the trigger. The trigger is the first line of your Basic Rule, which will never cause the rest of the rule actions to run when restricted. If Restrict trigger and pending actions, additional actions will stop running when the restriction comes into effect rather than continuing and simply not being eligible to start the rule again (until the restriction is no longer in effect).
Change the Basic Rule name will let you rename your rule if you don't like the automatically generated name.
Enable logging will allow you to examine the logs and see each step the rule takes when it runs.