list_devices
Query all devices on an Omada site with normalized fields like status, uptime, and WiFi channels, so you can inspect device state without handling auth-mode differences.
Instructions
List devices on a site, normalized to one consistent shape regardless of auth mode (see formatting.normalize_device): connected, uptime_seconds, per-radio wifi_2g/wifi_5g channel info, and every raw field this package knows how to normalize - fields unavailable in the active auth mode are present as null rather than omitted, so a caller never has to branch on auth mode.
site_id defaults to OMADA_SITE_ID, or auto-selects if the
controller manages exactly one site (legacy auth only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |