> ## Documentation Index
> Fetch the complete documentation index at: https://docs.seam.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Device Simulations

> Use the device simulation endpoints to connect, disconnect, and remove sandbox devices so you can test how your app handles device state changes.

## Endpoints

[**`/devices/simulate/connect`**](./connect)

Simulates connecting a device to Seam. Only applicable for [sandbox devices](/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).

[**`/devices/simulate/connect_to_hub`**](./connect_to_hub)

Simulates bringing the Wi‑Fi hub (bridge) back online for a device.
Only applicable for sandbox workspaces and currently
implemented for August and TTLock locks.
This will clear the corresponding `hub_disconnected` or
`ttlock_lock_not_paired_to_gateway` error on the device.

[**`/devices/simulate/disconnect`**](./disconnect)

Simulates disconnecting a device from Seam. Only applicable for [sandbox devices](/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).

[**`/devices/simulate/disconnect_from_hub`**](./disconnect_from_hub)

Simulates taking the Wi‑Fi hub (bridge) offline for a device.
Only applicable for sandbox workspaces and currently
implemented for August, TTLock, and IglooHome devices.
This will set the corresponding `hub_disconnected` or
`ttlock_lock_not_paired_to_gateway` error on the device, or mark the
IglooHome bridge offline in sandbox.

[**`/devices/simulate/paid_subscription`**](./paid_subscription)

Toggle the simulated Nuki Smart Hosting subscription for a device (sandbox only).
Send `is_expired: true` to simulate an expired subscription, or `false` to simulate an active subscription.
The actual device error is created/cleared by the poller after this state change.

[**`/devices/simulate/remove`**](./remove)

Simulates removing a device from Seam. Only applicable for [sandbox devices](/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).
