Type

Entries

Link copied to clipboard

Condition is not specified

Link copied to clipboard

Condition is disabled

Link copied to clipboard

High threshold. Continuous sensors only. If the measurement (or average from a few measurements) is over the threshold, an action is triggered.

Link copied to clipboard

Low threshold. Continuous sensors only. If the measurement (or average from a few measurements) is below the threshold, an action is triggered.

Link copied to clipboard

Differential threshold. Continuous sensors only. If the absolute value of the difference between the last value sent to the server and the measurement value (or average from a few measurements) is greater or equal to the value of the threshold set, an action is triggered.

Link copied to clipboard

Change of binary sensor's state. Binary sensors only. Each change of the binary's sensor state will trigger an action.

Link copied to clipboard

Logic operator. Used for combining multiple rules into more complex conditions. If the logic condition specified by parameters (logic operator and selected rules) is met, an action is triggered.

Link copied to clipboard

On measurement. Continuous sensors only. The basic function is to trigger communication after measurement if at least 60s have passed since the last one. Transmission may occur every n measurement. Optionally dependency on the other rule can be configured, then, when all conditions are met, transmission is triggered.

Link copied to clipboard

On sensor error. Continuous sensors only. If the sensor returns an error code, an action will be triggered. The rule becomes inactive when a correct measurement appears.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.