Skip to content

Rules (RuleMgr)

The RuleManager processes client-side conditional rules to update UI state automatically when telemetry values cross thresholds.

{
"id": "battery_low_warning",
"condition": "battery.level < 15",
"actions": [
{
"type": "updateWidget",
"target": "battery_status_text",
"value": "LOW BATTERY",
},
],
}