Simulate Hub Connection

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

Simulates bringing the Wi-Fi hub (bridge) back online for a device.

Code:

await seam.devices.simulate.connectToHub({
  device_id: "5d703d4f-523f-42af-9439-618415ca651f",
});

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 reconnect.


Response

void

Last updated

Was this helpful?