This is a reference for the HTTP and WebSocket API served by the hub's web UI
(components/webui/). It is generated by reading the route tables and handlers;
where a request or response shape is obvious from the code, the key fields are
listed. Anything not listed should be read from the handler source.
Unless noted otherwise, everything below applies to the HA profile. Endpoints that exist only in the Direct profile are listed in Direct-profile endpoints, and HA-only endpoints that the Direct profile drops are listed there too.
- Ports. Port 80 serves the web UI, the REST API under
/api/v1/, the WebSocket at/ws, and the OTBR REST API. Port 8081 is a second, smaller HTTP server that serves only the OTBR REST routes (the standard OTBR port). - Format. JSON in and out,
Content-Type: application/json; charset=utf-8. A few OTBR routes returntext/plain, as upstream OTBR does. - Errors. Non-2xx responses carry
{"error":"<code>"}, for example{"error":"login_required"}with 401. Status codes in use: 400, 401, 403, 404, 405, 406, 409, 413, 421, 429, 500, 501, 503. - Single request worker. All port-80 requests are handled by one HTTP task.
Endpoints that block (energy/beacon scans, the cloud update check) hold up
every other request until they finish. Long jobs return
202 Acceptedand are polled through a status endpoint. - Unknown paths. Unknown
/api*paths return 404 JSON. Other unknown paths fall back to the web UI'sindex.html(SPA routing). Static files are stored gzip-compressed only; a client that refuses gzip gets 406.
The hub has a single admin password (4-63 bytes, valid UTF-8, stored as a SHA-256 hash). While no password is set, every endpoint is reachable without credentials; this is the factory state, so that the first user can get in and set one.
Once a password is set, a request is authenticated by any of:
- Session cookie
token=<32 hex chars>(set by login;HttpOnly; SameSite=Strict; Path=/; Max-Age=86400). - Bearer token:
Authorization: Bearer <token>with the same session token. - HTTP Basic:
Authorization: Basic base64(<any user>:<admin password>). Only the password half is checked.
Session details (auth.c):
- Tokens are 16 random bytes in hex. Up to 4 sessions exist at once; when the table is full the least recently used one is evicted.
- A session expires 24 hours after it was created, regardless of activity.
- Changing the password invalidates every other session (the session that made the change is kept).
- Token comparison is constant-time.
Login flow:
POST /api/v1/auth/login Content-Type: application/json {"password": "<admin password>"}
Response: {"status":"ok","token":"<token>"} plus the Set-Cookie header.
With no password set, the response is {"status":"no_password","token":"..."}.
Throttling. After 5 consecutive failed password checks (login or Basic),
password checks are locked for 2, 4, 8, 16, then 32 s (capped). During the
lock even a correct password is refused (login returns 429
too_many_attempts). The counter is global, not per client. Session tokens
are not throttled.
A few read endpoints use a weaker check (AUTH_REQUIRED_UNLESS_OPEN): they are
readable without credentials unless the REST lock is turned on with
POST /api/v1/otbr/auth {"enabled":true} (which requires an admin password).
These are marked open in the tables. They expose roughly what the hub
already announces over mDNS, and they let integrations discover the hub
before asking for a password.
Every POST, PUT and DELETE endpoint, the OTBR routes, and several sensitive
reads run a cross-origin check before authentication (cross_origin.c). It answers "which page made
the browser send this request", independent of who the user is:
| Check | Rejects with | Rule |
|---|---|---|
Host |
421 {"error":"unknown_host","use":"http://<hub-ip>/"} |
Host must be an IP literal, localhost, the hub's hostname alone or followed by one of .local, .lan, .home, .home.arpa, .internal, .localdomain, .fritz.box, or the extra host name configured with /api/v1/net/access-host. Blocks DNS rebinding. The use field gives the address the request arrived on. |
Sec-Fetch-Site |
403 cross_origin |
If present, must be same-origin or none. |
Origin |
403 cross_origin |
If present, must equal http:// + the Host header (including the port). |
A header that is absent passes, so non-browser clients (curl, Home Assistant, scripts) are unaffected. A header that is present but too long is rejected. Running the guard before authentication means a cross-site request never reaches the password check and never counts toward throttling.
The guard is applied per handler, not globally, so that /api/actions keeps
returning 404 (Home Assistant's OTBR client probes it and accepts only 200 or 404).
- Auth:
none= no credential check;open= see above;admin= admin session / Bearer / Basic required (passes while no password is set);otbr= OTBR gate (see OTBR REST API). - Guard:
yes= cross-origin guard runs first.
| Method | Path | Auth | Guard | Description |
|---|---|---|---|---|
| GET | /api/v1/auth/status |
none | - | {"password_required":bool} |
| POST | /api/v1/auth/login |
none | yes | Log in with {"password"}; returns a session token and cookie |
| GET | /api/v1/auth/logout |
admin | - | End the current session and clear the cookie |
| POST | /api/v1/auth/password |
admin | yes | Set or change the admin password: {"new_password"} (4-63 bytes, UTF-8) |
| Method | Path | Auth | Guard | Description |
|---|---|---|---|---|
| GET | /api/v1/status |
open | - | Overall status. Key fields include fw_version, www_version, hostname, uptime, temperature, active_interface, eth_link_up, eth_ip, wifi_connected, wifi_ip, wifi_rssi, bridge_mode, tcp_clients, mg24_alive, ncp_version, zigbee_channel, internal_free_heap, led_state, ota_slot, last_ota_rolled_back, app_signed, poe_present, safe_mode, last_reset_reason |
| POST | /api/v1/system/hostname |
admin | yes | Change the hostname (mDNS name): {"hostname"} |
| GET | /api/v1/poe/status |
admin | - | PoE presence and raw input readings |
| GET | /api/v1/logs |
admin | - | Retained device logs. Query: since=<seq>, limit=<n>, level=E|W|I|D. Includes lines from before the last soft reset; check dropped |
| POST | /api/v1/diag/safemode/exit |
admin | yes | Leave safe mode and restart (409 if not in safe mode) |
The HA web UI restarts the hub through POST /api2/reboot (see
Coordinator-compatibility endpoints).
| Method | Path | Auth | Guard | Description |
|---|---|---|---|---|
| GET | /api/v1/wifi/scan |
admin | yes | Scan 5 GHz networks |
| POST | /api/v1/wifi/config |
admin | yes | Set Wi-Fi credentials: {"ssid","password"} |
| POST | /api/v1/wifi/static |
admin | yes | Wi-Fi addressing: {"dhcp","static_ip","static_gateway","static_netmask","static_dns"}; response says when it takes effect (takes_effect) |
| GET | /api/v1/ethernet/status |
admin | - | link_up, has_ip, ip, gateway, netmask, diag |
| POST | /api/v1/ethernet/config |
admin | yes | Ethernet addressing: same fields as /wifi/static |
| GET | /api/v1/network/softap |
admin | - | Whether the provisioning access point is active (active, exclusive_with_thread) |
| POST | /api/v1/network/softap |
admin | yes | Start or stop the provisioning access point: {"enabled":bool} |
| GET | /api/v1/net/access-host |
admin | yes | Hostname, configured extra host, and the host names the cross-origin guard accepts |
| POST | /api/v1/net/access-host |
admin | yes | Set an extra accepted host name (reverse proxy, custom local domain): {"extra_host"} |
| GET | /api/v1/ntp |
admin | - | server, timezone, sync_interval, synced, local_time |
| POST | /api/v1/ntp |
admin | yes | {"server","timezone" (POSIX TZ),"sync_interval" (60-86400 s)}; the response shows the resulting local time |
| Method | Path | Auth | Guard | Description |
|---|---|---|---|---|
| GET | /api/v1/zigbee/status |
admin | - | Bridge and MG24 status, connected TCP client, counters, NCP version. restart_resets_board indicates whether /zigbee/restart also restarts the hub |
| POST | /api/v1/zigbee/restart |
admin | yes | Restart the MG24 (rate-limited) |
| POST | /api/v1/zigbee/channel |
admin | yes | Declare the Zigbee channel configured in ZHA / Zigbee2MQTT for coexistence checks: {"channel":11..26} or {"channel":null} |
| POST | /api/v1/zigbee/bootloader |
admin | yes | Park the MG24 in its bootloader; the bridge stays down until called again with {"exit":true} |
| POST | /api/v1/zigbee/stats/reset |
admin | yes | Reset bridge counters |
| POST | /api/v1/zigbee/clients/disconnect |
admin | yes | Disconnect the TCP client: {"ip"} or {"index"} |
| POST | /api/v1/mode |
admin | yes | Bridge mode: {"mode":0} LAN (TCP 6638), 1 USB, 2 disabled. Persisted |
| GET | /api/v1/whitelist |
admin | - | TCP client IP whitelist |
| POST | /api/v1/whitelist |
admin | yes | {"enabled":bool,"ips":[...]}; ips replaces the list. Applies to new connections only |
| GET | /api/v1/radio/region |
admin | - | Radio region (drives the NCP's and the Thread radio's TX power class) |
| POST | /api/v1/radio/region |
admin | yes | {"region":"EU"|"US"|"CA"|"ZZ"}; only menu codes are accepted |
| GET | /api/v1/diag/ncp_line |
admin | - | Samples the NCP UART line level (ms, default 1000, max 5000). Observation only |
| POST | /api/v1/diag/uart |
admin | yes | Start a UART link check against the MG24 (202; takes the bridge down briefly) |
| GET | /api/v1/diag/uart |
admin | - | Result of the last UART check (tx_blocked=true means the far end never asserted CTS) |
| GET | /api/v1/zigbee/lqi |
admin | yes | Not implemented (501) |
| GET | /api/v1/zigbee/backup |
admin | yes | Not implemented (501) |
| POST | /api/v1/zigbee/restore |
admin | yes | Not implemented (501) |
| Method | Path | Auth | Guard | Description |
|---|---|---|---|---|
| GET | /api/v1/thread/config |
admin | - | enabled and initial channel |
| POST | /api/v1/thread/config |
admin | yes | {"enabled","channel"}. enabled applies on the next reboot; channel applies only to a network that has not been formed yet (move a live network with PUT /node/dataset/pending) |
| POST | /api/v1/thread/readvertise |
admin | yes | Re-announce SRP-proxied mDNS services. In default builds (BITENGINE_SRP_READV_FORCE_BYE off) services are only tracked and the response is tracking_only; mDNS records are not touched |
| GET | /api/v1/thread/readvertise |
admin | - | Re-advertising counters |
| GET | /api/v1/otbr/auth |
admin | - | Whether the REST lock (rest_auth) is on |
| POST | /api/v1/otbr/auth |
admin | yes | {"enabled":bool}. Requires an admin password to enable; saved immediately |
| GET | /api/v1/otbr/token |
admin | yes | enabled, token, and a ready-to-paste url for Home Assistant |
| POST | /api/v1/otbr/token |
admin | yes | {"action":"generate"} or {"action":"clear"}. Generate returns token and url (http://otbr:<token>@<hub-ip>:8081) |
| GET | /api/v1/diag/thread |
admin | yes | OpenThread send queues, message buffers and MAC counters |
| GET | /api/v1/diag/srp |
admin | yes | SRP server port and registered host/service counts |
| GET | /api/v1/diag/ed |
admin | - | 802.15.4 energy-detect diagnostics |
| POST | /api/v1/diag/ed |
admin | yes | ?arm=1 enables extra ED diagnostics (observation only) |
| Method | Path | Auth | Guard | Description |
|---|---|---|---|---|
| GET | /api/v1/spectrum/scan |
admin | yes | 802.15.4 energy scan of channels 11-26 (dwell_ms optional). Blocks the web server while scanning |
| GET | /api/v1/spectrum/beacon |
admin | yes | Beacon scan for nearby Zigbee/Thread networks (about 16 x dwell) |
| GET | /api/v1/spectrum/recommend |
admin | yes | Channel recommendation from energy + beacon scans; refuses when too few channels returned valid readings |
| GET | /api/v1/diag/beacon |
admin | - | Raw beacon scan via OpenThread (dwell_ms 20-1000, optional single channel) |
| Method | Path | Auth | Guard | Description |
|---|---|---|---|---|
| POST | /api/v1/ota/esp32 |
admin | yes | Upload a signed app image (raw body). The image's project name must match the running firmware (see direct-profile.md): 409 profile_mismatch / profile_unknown, 400 image_invalid. Signature checked by ESP-IDF. Reboots on success |
| POST | /api/v1/ota/www |
admin | yes | Upload a www SPIFFS image (raw body, must equal the partition size; validated before writing). Reboots on success |
| POST | /api/v1/ota/zigbee |
admin | yes | Upload an MG24 .gbl (raw body). Flashed in the background over XMODEM (202). Must be signed with the official NCP key unless the developer unlock is active |
| GET | /api/v1/ota/zigbee/status |
admin | - | MG24 update state: idle, receiving, preparing, transferring, finalizing, success, failed, unconfirmed |
| GET | /api/v1/ota/zigbee/unlock |
admin | - | Developer-unlock state |
| POST | /api/v1/ota/zigbee/unlock |
admin | yes | Arm the developer unlock for unsigned NCP images: within 30 s, hold the hub's button 2-10 s and release; unsigned images are then accepted for 10 minutes. {"lock":true} locks again; a reboot always locks |
| GET | /api/v1/ota/check |
admin | yes | Fetch the cloud manifest and compare versions (blocks up to the configured timeout) |
| POST | /api/v1/ota/cloud |
admin | yes | Install the version found by /ota/check (202; downgrades refused) |
| GET | /api/v1/ota/cloud/status |
admin | - | Cloud update state and progress |
| POST | /api/v1/ota/cloud/ncp |
admin | yes | Install the NCP image from the manifest (202); {"force":true} reflashes the same image |
Only one update runs at a time; overlapping requests get 409
(ota_already_in_progress, mg24_ota_in_progress, cloud_ota_in_progress).
| Method | Path | Auth | Guard | Description |
|---|---|---|---|---|
| GET | /api/v1/config/export |
admin | yes | Configuration as JSON. Secrets are replaced with ******** |
| POST | /api/v1/config/import |
admin | yes | Import a configuration JSON (max 4096 bytes). ******** placeholders keep the current secret |
| POST | /api/v1/config/factory |
admin | yes | Factory reset. Keeps the Thread network unless the body is {"wipe_thread":true} |
| Method | Path | Auth | Guard | Description |
|---|---|---|---|---|
| GET | /api/v1/led/config |
open | - | brightness, night_mode_enabled, night_start, night_end, night_active (whether LEDs are being suppressed right now) |
| POST | /api/v1/led/config |
admin | yes | brightness, night_mode_enabled, night_start_hour, night_start_min, night_end_hour, night_end_min |
| POST | /api/v1/led/nightmode |
admin | yes | {"enabled","start":"HH:MM","end":"HH:MM"} |
| GET | /api/v1/led/test |
admin | - | LED names and indexes; supported |
| POST | /api/v1/led/test |
admin | yes | Override one LED (index 0-3) or all (-1) with color "RRGGBB" for hold_s 1-60 s |
| GET | /api/v1/led/timing |
admin | - | WS2812 bit timing in use |
| POST | /api/v1/led/timing |
admin | yes | Adjust WS2812 bit timing at runtime |
| POST | /api/v1/led/probe |
admin | yes | 1 Hz square wave on the LED data pin for {"seconds":1-60} (continuity tracing) |
| POST | /api/v1/led/sweep |
admin | yes | Run a bit-timing sweep (about 40 s) |
| Method | Path | Auth | Guard | Description |
|---|---|---|---|---|
| GET | /api/v1/mqtt/status |
admin | - | Connection state and settings; the password is reported only as password_set |
| POST | /api/v1/mqtt/config |
admin | yes | Any of enabled, broker, port, username, password, topic_prefix, publish_interval, tls_enabled. Omitted password keeps it; "" clears it |
| GET | /api/v1/webhook/config |
admin | - | Webhook settings |
| POST | /api/v1/webhook/config |
admin | yes | enabled, url (http:// or https://), per-event toggles event_zigbee_crash, event_network_down, event_temp_high, event_memory_low, event_interference, event_ota, and backup_interval |
| Method | Path | Auth | Guard | Description |
|---|---|---|---|---|
| GET | /api/v1/diag/heap |
admin | - | Per-capability heap statistics (internal, DMA, PSRAM) |
| GET | /api/v1/diag/watchdog |
admin | - | Watchdog view: resources, probes, recovery state, task heartbeats, restart history |
| GET | /api/v1/diag/wifi_probe |
admin | - | Wi-Fi path probe results |
| POST | /api/v1/diag/wifi_probe |
admin | yes | Start/stop a periodic ping from the Wi-Fi interface (?enable=, interval, target) |
| Method | Path | Auth | Guard | Description |
|---|---|---|---|---|
| GET | /api/v1/factory/selftest |
admin | yes | Runs the built-in checks; each item is pass, fail or manual. The overall verdict is pass only with zero fail and zero unacknowledged manual items |
| POST | /api/v1/factory/ack |
admin | yes | Operator result for a manual item: {"item","result":"pass"|"fail"}, or {"clear":true}. Cannot override an automatic fail; kept in RAM only |
| GET | /api/v1/factory/ack |
admin | yes | Current acknowledgements |
A small compatibility layer lets existing network-coordinator tooling for Home Assistant / Zigbee2MQTT query and control the hub. It is not built in the Direct profile.
| Method | Path | Auth | Guard | Description |
|---|---|---|---|---|
| GET | /api2/info |
open | - | Model, MAC, firmware and Zigbee versions, hostname |
| GET | /api2/state |
open | - | Uptime, IP, temperature, link states |
| GET | /api2 |
admin | - | Authentication probe; returns {} |
| POST | /api2/reboot |
admin | yes | Restart the hub (flushes pending configuration first) |
| POST | /api2/zb_restart |
admin | yes | Restart the MG24 (429 while in cool-down) |
| GET | /ha_info |
admin | - | Device information in the shape the tooling expects |
| GET | /ha_sensors |
admin | - | Sensor values (temperature, uptime, RAM, link states, LED settings) |
| POST | /settings/saveParams |
admin | yes | Form-encoded settings; only the LED page (pageId=8: nightMode, disableLeds) is acted on, others return 200 without effect |
These are compiled only when the corresponding Kconfig option is enabled. All of these options default to off.
| Option | Endpoints |
|---|---|
BITENGINE_FAULT_INJECTION |
POST /api/v1/diag/fault |
BITENGINE_DIAG_SVC_ID |
GET, POST /api/v1/diag/svc_id |
BITENGINE_DIAG_THREAD_BACKBONE |
POST /api/v1/diag/thread/backbone |
BITENGINE_DIAG_SRP_INJECT |
POST /api/v1/diag/srp/inject, GET, POST /api/v1/diag/srp/burst |
BITENGINE_DIAG_COREDUMP |
GET /api/v1/diag/coredump |
BITENGINE_DIAG_ZB_SNIFF |
GET, POST /api/v1/diag/zb_sniff |
BITENGINE_DIAG_THREAD_PENDING |
GET, POST /api/v1/diag/thread/pending |
BITENGINE_DIAG_HEAP_TRACE |
GET, POST /api/v1/diag/heaptrace |
BITENGINE_ENABLE_MDNS_LOAD |
GET, POST /api/v1/diag/mdns_load |
BITENGINE_DIAG_HUBDB (Direct only) |
GET, POST /api/v1/diag/hubdb |
All of them require admin; the state-changing ones also run the cross-origin guard.
| Path | Auth | Description |
|---|---|---|
/ws |
admin, guard | Live status feed |
The handshake runs the cross-origin guard and then the normal authentication check (cookie, Bearer or Basic); if either fails the connection is closed. Up to 4 clients; when full, an existing client is disconnected to make room. Incoming frames are ignored.
Every 2 seconds the hub sends:
{"type":"status_update","data":{
"uptime":0,"temperature":0.0,"free_heap":0,"wifi_rssi":0,"wifi_ssid":"",
"wifi_connected":false,"eth_link_up":true,"active_interface":"eth",
"uart_rx_bytes":0,"uart_tx_bytes":0,"tcp_clients":1,"mg24_alive":true,
"poe_present":true}}The hub implements the subset of the OpenThread Border Router REST API (ot-br-posix style) that Home Assistant's OTBR integration and Thread diagnostics tools use. The routes are served on both port 80 and port 8081.
| Method | Path | Description |
|---|---|---|
| GET | /node |
Node information (role, network name, IDs, router count, ...) |
| DELETE | /node |
Returns 405, so clients fall back to deleting the active dataset |
| GET | /node/ba-id |
Border Agent ID |
| GET | /node/rloc, /node/rloc16 |
RLOC address / RLOC16 |
| GET | /node/ext-address |
Extended address |
| GET | /node/coprocessor/version |
802.15.4 radio version string (text/plain) |
| GET | /node/state |
Device role (text/plain) |
| PUT | /node/state |
"enable" / "disable" the Thread stack |
| GET | /node/network-name |
Network name (text/plain) |
| GET | /node/leader-data |
Leader data |
| GET | /node/ext-panid |
Extended PAN ID |
| GET | /node/num-of-router |
Number of routers |
| GET, PUT, DELETE | /node/dataset/active |
Active operational dataset. GET returns JSON, or hex TLVs with Accept: text/plain |
| GET, PUT, DELETE | /node/dataset/pending |
Pending dataset (same formats) |
| GET | /diagnostics |
Network diagnostics |
| GET | /node/children |
Child table |
| GET | /node/neighbors |
Neighbor table |
| GET | /node/ipaddrs |
IPv6 addresses |
| GET | /node/border-routing |
OMR and on-link prefixes |
| GET | /node/counters |
MAC counters |
Routes that read OpenThread state return 503 thread_not_running when the
Thread stack is stopped.
/api/actions is intentionally not implemented and returns 404.
The active dataset includes the Thread network key. With the default (open) gate described below it is readable by anyone on the LAN; enable one of the two gates if the LAN is not trusted.
The OTBR routes run the cross-origin guard and then an OTBR-specific gate. By default the gate is open, because Home Assistant's OTBR integration sends no credentials of its own. Two opt-in settings close it:
- REST lock (
POST /api/v1/otbr/auth {"enabled":true}): the OTBR routes (and theopenendpoints elsewhere) require normal admin authentication. - OTBR token (
POST /api/v1/otbr/token {"action":"generate"}): a random 128-bit token valid only on the OTBR routes, sent as the HTTP Basic password (the user name is ignored). The generated URL has the formhttp://otbr:<token>@<hub-ip>:8081, which can be entered as the OTBR URL in Home Assistant. While a token is set:- Basic credentials on these routes are compared with the token only; the admin password is not accepted there, and failures do not count toward the login throttle.
- Requests without Basic credentials fall back to normal authentication, so the web UI's session still works.
/api/v1/diag/thread is registered alongside the OTBR routes (so it is also on
port 8081) but always requires admin authentication.
The Direct profile is under development. These endpoints are compiled only
into the Direct profile; availability within it depends on the Kconfig options
shown. All require admin and run the cross-origin guard.
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/muse/config |
enabled, display_name, sdk_token ("set"/"unset" only), paired, password_set, permission bits perm.{control,manage,sensitive}, notification classes notify.{alarm,security,availability,lifecycle,gateway,battery} |
| POST | /api/v1/muse/config |
Change any of the above. Enabling Muse, setting an SDK token, or enabling the sensitive permission requires an admin password (409 password_required). alarm notifications cannot be disabled |
| GET | /api/v1/muse/status |
Pairing and session state |
| POST | /api/v1/muse/pair |
Start pairing (202): the hub restarts into an isolated pairing boot with a BLE window. 409 if no password, no SDK token, Muse disabled, already pairing, in safe mode, an update is running, or the running firmware is not yet confirmed |
| POST | /api/v1/muse/pair/cancel |
Cancel pairing (only during a pairing boot) |
| POST | /api/v1/muse/unpair |
{"confirm":"UNPAIR"}: drop the local Muse credentials (the device should also be removed in the Muse app) |
| POST | /api/v1/muse/test_push |
Queue a test notification (202; 409 if not online) |
| GET | /api/v1/muse/audit |
Audit log of commands and settings changes (limit, newest first) |
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/hub/invoke |
{"command","params"}: run a command from the same registry Muse uses (hub.devices.list, hub.device.get, hub.device.control, hub.device.update, hub.events.recent, hub.thread.network, hub.zigbee.permit_join, hub.matter.commission). Write commands require an admin password. Long-running commands return 202 with a job id |
| GET | /api/v1/hub/devices |
Same as hub.devices.list (protocol, cursor) |
| GET | /api/v1/hub/job |
Result of a job (id) |
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/zigbee/ncp_diag |
NCP counters and child table (refresh=1 to re-read) |
| POST | /api/v1/hub/device/sensitive |
{"id","sensitive":bool}: mark a device as sensitive (local only; requires an admin password) |
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/matter/status |
Controller state, failure step, crash-loop counter, fabric and node IDs, memory before/after start |
| POST | /api/v1/matter/allow_test_devices |
{"allow":bool}: accept devices with test attestation (default off; requires an admin password) |
| POST | /api/v1/matter/reset |
{"confirm":"RESET"}: create a new controller identity and restart; only accepted when the stored identity is lost (requires an admin password) |
| POST | /api/v1/hub/device/remove |
{"id","confirm":"REMOVE","force"?}: remove a Matter device (202 with a job id) |
- Added:
POST /api/v1/system/reboot(restart; 409 while an update is running). GET /api/v1/statusadds"profile":"direct","wifi":"absent", and (with Muse)muse_state,blew_state,muse_link.GET /api/v1/zigbee/statusincludes the Zigbee host's state.POST /api/v1/zigbee/restartperforms a soft restart of the Zigbee host session (409 if it does not currently own the UART).POST /api/v1/diag/safemode/exitaccepts{"muse_off":true}to keep Muse disabled on the next boot.- Not present:
/api/v1/wifi/*,/api/v1/network/softap,/api/v1/diag/wifi_probe,/api/v1/mode,/api/v1/whitelist,/api/v1/zigbee/clients/disconnect, and all coordinator-compatibility endpoints (/api2/*,/ha_info,/ha_sensors,/settings/saveParams). - OTBR REST routes are present as in the HA profile.
While the hub is in its isolated Muse pairing boot, only these are registered:
the auth endpoints, the Muse endpoints above, a reduced
GET /api/v1/status (no authentication; reports "mode":"muse_pair"), and a
small pairing-progress page served for every other GET path. Port 8081 is not
started.