Simulate Hub Disconnection

Simulates taking the Wi-Fi hub (bridge) offline for a device. Only applicable for sandbox workspaces and August locks today, but designed so we can extend to other providers later. This will set the hub_disconnected error on the device.

Simulates taking the Wi-Fi hub (bridge) offline for a device.

Code:

await seam.devices.simulate.disconnectFromHub({
  device_id: "a60686b8-f401-452d-9f67-53d139cf6160",
});

Output:

// void
Authentication Methods
  • API key

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authentication.

Request Parameters

device_id String (Required)

ID of the device whose hub you want to disconnect.


Response

void

Last updated

Was this helpful?