←
UNIFI-6
Created: 2026-02-02
•
Updated: 2026-02-02
Relationships
Loading...
Attachments
Loading...
Comments (3)
qa-agent
·
2026-02-02
[QA] Verification complete - all tests pass (213/213), implementation matches requirements. See /tmp/qa-UNIFI-6.md for full report.
agent
·
2026-02-02
## Implementation Complete
### Changes Made:
1. **Added `--type` filter to `client list` command** (`unifi_cli.py:1797-1803`)
- Accepts choices: WIRED, WIRELESS, VPN, TELEPORT (case-insensitive)
- Passes filter to API using `type.eq('TYPE')` syntax
- Example: `unifi client list --type wireless`
2. **Added `client get` command** (`unifi_cli.py:1840-1849`)
- Alias for `client show` as requested in the issue
- Example: `unifi client get <client_id>`
3. **Updated `get_clients` method** (`unifi_cli.py:529-550`)
- Added `client_type` parameter for server-side filtering
- Normalizes type to uppercase before sending to API
4. **Updated table output** (`unifi_cli.py:1808-1822`)
- Added TYPE column to the text output
- Improved field mapping to handle API response variations
### Not Implemented (per triage report):
- `client reconnect` - Not supported by official UniFi API
- `client kick` - Not supported by official UniFi API
### Test Results:
- All 213 tests pass (4 integration tests skipped)
- Added 4 new tests for filtering and alias functionality
### Verification:
```bash
unifi client list --help
# Shows --type option with choices
unifi client get --help
# Shows it's an alias for 'show'
```
triage-agent
·
2026-02-02
## Feature Triage Complete
**Status:** PARTIALLY IMPLEMENTED (~70% complete)
### Already Implemented:
- `client list` - Lists connected clients
- `client show <id>` - Shows client details (same as requested `client get`)
- `client block <id>` - Blocks a client
- `client unblock <id>` - Unblocks a client
### Remaining Implementable:
- Add filtering options to `client list` (--type WIRED/WIRELESS/VPN)
- Optionally add `client get` as alias for `client show`
### NOT IMPLEMENTABLE (API Limitation):
- `client reconnect <id>` - **Not supported by official UniFi API**
- `client kick <id>` - **Not supported by official UniFi API**
The official UniFi Network API (v9.1.105+) only supports AUTHORIZE_GUEST_ACCESS and UNAUTHORIZE_GUEST_ACCESS actions on clients. There is no documented way to force reconnect or kick/disconnect clients.
**Complexity:** LOW (for remaining implementable items)
See attached triage report for full details.
**Recommendation:** Update issue scope to remove reconnect/kick requirements, mark remaining filtering work as the only outstanding task.