![]() ![]() ![]() This brings up a form that lets you choose the type of the trigger and enter some information about the trigger. Under triggers, click on the green + icon labeled "Add Trigger" to define what events should cause this rule to run. In my system this rule is used to drive my lights and it's based on weather readings so it's tagged to indicate that. Here is how this rule appears in the list of rules (note the use a couple of tags):Īll but the Unique ID can be changed later. Note the Script and Schedule tags have a special meaning (see previous page), and although Semantic tags are available, rules are not yet integrated into the Semantic Model. This will be the name under which the rule is shown in MainUI and is the primary field used for search and sortingĭo not skip, provide information about what the rule does and what it does it to leave breadcrumbs you can use later to associated rules with Items and ChannelsĪnother place to leave breadcrumbs or to group rules together. Must be completely different from all other rule's UIDs, initialized with a random value but I strongly recommend entering your own UID # MetadataĮach rule has four pieces of metadata. Navigate to Settings and Rules and click on the + icon in the lower right corner. These rules will follow a when X event occurred if Y is true do Z format.įor example, when a member of the Temperatures Group changes, if it changed to a value over 70 ☏, command the AlertLight Item to "red".įor this example we will be creating two rules, one that sets a Switch Item to ON when the cloudiness reading goes above 50% and another to OFF when it falls below 50%. Very basic rules can be defined in the UI without the need for code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |