reboot
reboot — device-scoped capability for 'soft' device reboots (firmware reboot via vendor protocol; cameras, NVRs, doorbells).
reboot — device-scoped capability for "soft" device reboots (firmware reboot via vendor protocol; cameras, NVRs, doorbells). Surfaces a single mutation so the UI can offer a confirm-and-reboot button for any device whose driver advertises DeviceFeature.Rebootable.
Implementation contract: the driver SHOULD return only after the remote acknowledges the request (camera will go offline shortly after). Wrappers in the addon should NOT block on the device coming back online — operators read the device-online indicator for that.
Errors propagate verbatim: a 401 from the camera surfaces as a tRPC error to the UI, which renders it next to the button.
At a glance
| Capability | reboot |
| Provided by | The device's own driver provides it: each device registers its own provider. |
| Active providers per device | one |
| Device types | camera, sensor, switch, gateway |
| Source | packages/types/src/capabilities/reboot.cap.ts |
Methods
Every method takes the device id (deviceId) to address the device; the input tables below list the other fields.
| Method | Kind | Required of a provider | Access |
|---|---|---|---|
reboot | mutation | yes | admin |
reboot
mutation
Input
No fields besides deviceId.
Output
| Field | Type | Required | Description |
|---|---|---|---|
success | true | yes |
Actions (offered in automations and on device cards)
| Action | Label | Sets |
|---|---|---|
reboot.reboot | Reboot device |