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.
...
Excerpt |
---|
The following blocks are available: Image RemovedImage Added | Return Block Necessary for all formulas. | Image RemovedImage Added | Sensor Block Select the sensor from the drop-down menu. | Image RemovedImage Added | Integer Block A number. | Image RemovedImage Added | Arithmetic Block Return based on chosen arithmetic sign: + |
Returns the sum of two numbers - | Returns Returns Returns the difference of two numbers |
x | Returns x Returns the product of two numbers |
÷ | Returns ÷ Returns the quotient of two numbers |
^ | ^ Returns the first number raised to the power of the second number | Image RemovedImage Added | Square Root Block Returns the square root of a number. | Image RemovedImage Added | Rounding Block Returns the square root of a number. | Image RemovedImage Added | Clamping Block Constrains a number to be between the specified limits (inclusive). | Image RemovedImage Added | Equality Block Returns true if both inputs equal each other. | Image RemovedImage Added | Inequality Block Returns true if both inputs do not equal each other. | Image RemovedImage Added | And Block Returns true if both inputs are true. | Image RemovedImage Added | Not Block Returns true if the input is false, returns false if the input is true. | Image Removed Image AddedImage Added |
Image Removed
True or False Block Returns either true or false. | Image RemovedImage Added | Null Able Type Block Returns null. | Image RemovedImage Added | Conditional Operator Block Checks the condition in 'test', if the condition is true returns 'if true', if the condition is false returns 'if false'. | Image RemovedImage Added | List Block Creates a list with any number of items. |
| Formula Value Output The value coming from your formula logic |
|