Button Actions
Every button widget has an actions array (or the older onEntry +
target pattern). These actions control navigation, device commands,
and data updates.
Action catalog
Section titled “Action catalog”| Action | Parameter | Description |
|---|---|---|
"a":"g" (goto) | "p":"dvname.pageid" | Navigate to another DV’s page |
"a":"run" | "p":"reboot" / "alloc_local" / "ret_force" | Execute a device command |
"a":"updateOutput" | "p":"devcfg.key.path" | Write a value to a devcfg key |
"a":"updateRemote" | "p":"yes" (or any value) | Send the widget’s value to the backend |
"a":"updateLocal" | (none) | Update the widget’s local value (from DED) |
"a":"delmsg" | (none) | Delete the current message in a msglist |
"a":"gotoWidget" / "gw" | "p":"dv.widgetname" | Open a widget’s DED directly |
Older pattern: onEntry + target
Section titled “Older pattern: onEntry + target”Some widgets use "onEntry":"updateOutput" with "target":"devcfg.xxx"
instead of an actions array. Behaviour is identical.
Common navigation targets
Section titled “Common navigation targets”| Button | From DV | Goes to |
|---|---|---|
config | duresshome, syshome | sysfns.1 |
info | sysfns, syshome | sysinfo.1 |
control | sysfns, syshome | sysctrl.1 |
duress | duresshome | duress.1 |
access | syshome | access.1 |
Related
Section titled “Related”- Navigation map — full DV‑to‑DV navigation
- Editable DEDs — how inline editing works
- Device actions (MQTT) — sending actions via MQTT