Local rules
A local rule is stored and executed on a single controller - the trigger peripheral, the condition, and the target output all live on the same device. Because the logic is written to the controller itself, a local rule keeps working even when the server is unreachable.
The rules table
Each row is one rule stored on a controller. Default columns are Status and Name; additional columns (trigger peripheral, condition, target peripheral, device, location) can be shown via Column settings. A rule on a device is identified by its device and a priority - its slot number on the controller.
Creating a local rule
Click New in the toolbar to open the full-screen form.
General - name the rule and pick the device
Enter a Name (required, 2–31 characters; duplicate names are rejected) and select the Device from the location tree. Only online devices can be selected.
Conditions - define when the rule fires
Add one or more conditions, each with a Type:
| Type | How it works |
|---|---|
| Equal / Greater than / Smaller than | Pick the trigger Peripheral (a sensor on the selected device) and the Trigger state (digital sensors) or Trigger value (analog sensors) |
| Schedule | A time window with Recurrence: Daily (start/end time), Weekly (chosen week days plus times), or Monthly (chosen day of month). Start and end dates bound the validity period. |
Action - define what the rule does
Exactly one action of type Peripheral: choose the target output on the same device, the Set state to apply, and the Behavior:
| Behavior | Effect |
|---|---|
| Latching | The output stays in the set state until changed manually |
| Non latching | The output reverts when the condition stops being true |
| Impulse | The output pulses briefly |
Saving requires at least one condition and the action - the form warns otherwise. On success: “Local rule successfully created”.
Managing local rules
Select a row, then use the toolbar. Each action requires exactly one selected rule.
| Icon | Action | Description |
|---|---|---|
| Enable / Disable | One button that toggles based on the selected rule’s current state | |
| Edit | Reopens the full-screen form with the rule loaded | |
| Delete | Asks for confirmation, then removes the rule from the controller |
See also: Introduction | Global rules | Managing rules