protect_get_fob
Fetch complete details for a UniFi Protect fob by its ID, covering name, MAC, state, keypad settings, button labels, and wireless connection status.
Instructions
Get full details for a specific fob by ID. Returns: id, modelKey, name, mac, state, type, guid, awayState, buttonLabels, featureFlags (buttons[]), hasKeypad, armControlSettings (enabled, armProfileId, nightProfileId), keypadSettings (beepEnabled, beepVolume, backlightEnabled, backlightBrightness), wirelessConnectionState (7.3.47 docs).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Fob ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Device ID | |
| mac | No | MAC address | |
| guid | No | Hardware MODEL GUID, shared by every unit of the same model. NOT a per-device identifier — use `id` to identify a device. | |
| name | No | Device name | |
| type | No | Hardware model name, e.g. "UVC G6 Turret", "UP Chime PoE", "UNVR-PRO" | |
| state | No | CONNECTED | DISCONNECTED | ... | |
| modelKey | No | Resource kind | |
| awayState | No | Away state, e.g. "ONLINE" | |
| hasKeypad | No | Whether this fob has a keypad, added in 7.3.x (boolean) | |
| buttonLabels | No | Button label preset, e.g. "securityActions" | |
| featureFlags | No | Feature flags (object: buttons[]) | |
| keypadSettings | No | Keypad config, added in 7.3.x (object: beepEnabled, beepVolume, backlightEnabled, backlightBrightness) | |
| armControlSettings | No | Arm-control config, added in 7.3.x (object: enabled, armProfileId, nightProfileId) | |
| wirelessConnectionState | No | Wireless link state (object) |