Working with Formula Editor Blocks
The Formula Editor allows you to select sensors, logic operators, math operators, etc. to configure a formula that results in an output. The rule formula has access to all sensors defined in the Rule Sensors table. The values for each sensor for the particular timestamp can be used to calculate a rule formula output.
After making any changes, make sure to select Save in the Edit Custom Rule section.
The following blocks are available:
Block | Description |
---|---|
Return Block | |
Sensor Block | |
Integer Block A number. | |
Arithmetic Block +Returns the sum of two numbers - Returns the difference of two numbers x Returns the product of two numbers ÷ Returns the quotient of two numbers ^ Returns the first number raised to the power of the second number | |
Square Root Block | |
Rounding Block | |
Clamping Block | |
Equality Block | |
Inequality Block | |
And Block | |
Not Block | |
True or False Block | |
Null Able Type Block | |
Conditional Operator Block | |
List Block | |
Formula Value Output |