Simulate Hub Disconnection
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.
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:
// voidSimulates taking the Wi-Fi hub (bridge) offline for a device.
Code:
curl --include --request POST "https://connect.getseam.com/devices/simulate/disconnect_from_hub" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "a60686b8-f401-452d-9f67-53d139cf6160"
}
EOFOutput:
{}Simulates taking the Wi-Fi hub (bridge) offline for a device.
Code:
seam.devices.simulate.disconnect_from_hub(
device_id="a60686b8-f401-452d-9f67-53d139cf6160"
)Output:
NoneSimulates taking the Wi-Fi hub (bridge) offline for a device.
Code:
seam.devices.simulate.disconnect_from_hub(device_id: "a60686b8-f401-452d-9f67-53d139cf6160")Output:
nilSimulates taking the Wi-Fi hub (bridge) offline for a device.
Code:
$seam->devices->simulate->disconnect_from_hub(
device_id: "a60686b8-f401-452d-9f67-53d139cf6160"
);Output:
Simulates taking the Wi-Fi hub (bridge) offline for a device.
Code:
seam devices simulate disconnect-from-hub --device_id "a60686b8-f401-452d-9f67-53d139cf6160"Output:
{}Request Parameters
device_id String (Required)
ID of the device whose hub you want to disconnect.
Response
void
Last updated
Was this helpful?

