Type
Entries
Condition is not specified
High threshold. Continuous sensors only. If the measurement (or average from a few measurements) is over the threshold, an action is triggered.
Low threshold. Continuous sensors only. If the measurement (or average from a few measurements) is below the threshold, an action is triggered.
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.
Change of binary sensor's state. Binary sensors only. Each change of the binary's sensor state will trigger an action.
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.
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.
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
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.