Simulate Hub Connection
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.
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:
// voidSimulates bringing the Wi-Fi hub (bridge) back online for a device.
Code:
curl --include --request POST "https://connect.getseam.com/devices/simulate/connect_to_hub" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "5d703d4f-523f-42af-9439-618415ca651f"
}
EOFOutput:
{}Simulates bringing the Wi-Fi hub (bridge) back online for a device.
Code:
seam.devices.simulate.connect_to_hub(device_id="5d703d4f-523f-42af-9439-618415ca651f")Output:
NoneSimulates bringing the Wi-Fi hub (bridge) back online for a device.
Code:
seam.devices.simulate.connect_to_hub(device_id: "5d703d4f-523f-42af-9439-618415ca651f")Output:
nilSimulates bringing the Wi-Fi hub (bridge) back online for a device.
Code:
$seam->devices->simulate->connect_to_hub(
device_id: "5d703d4f-523f-42af-9439-618415ca651f"
);Output:
Simulates bringing the Wi-Fi hub (bridge) back online for a device.
Code:
seam devices simulate connect-to-hub --device_id "5d703d4f-523f-42af-9439-618415ca651f"Output:
{}Request Parameters
device_id String (Required)
ID of the device whose hub you want to reconnect.
Response
void
Last updated
Was this helpful?

