Rule Function
Last updated
Last updated
Functions in Qubitro allow you to process, modify, and automate actions based on incoming device data. There are multiple function types, each serving a specific purpose.
When data is received from a device, Qubitro processes it through a Rule Function in the following steps:
Check Debounce Period
Prevents excessive triggering by ensuring the rule is not executed too frequently.
Evaluate Condition
Determines whether the incoming data meets the defined criteria.
Trigger Action
If the condition is met, the configured action is executed immediately.
Rule Functions operate only on real-time data – They cannot query historical data from the database.
Rule Functions in Qubitro allow you to define conditions that determine whether an action should be triggered based on incoming device data.
There are two ways to configure conditions:
For users familiar with coding, the JavaScript Logic Builder allows custom condition creation using JavaScript syntax.
For a deeper dive, read our guide:
The Visual Condition Builder is a no-code option that allows users to define conditions using dropdown menus.