Add a PitCanary to the account
claim_deviceAdds a sensor to this account using the pairing code on the device. Claiming is what makes it yours; pairing it to a room is a separate step. Repeated wrong codes are slowed down, and an unknown code and a code that is already taken get the same answer. Requires a PitCanary account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pairing_code": "<pairing_code>"
},
"name": "claim_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pairing_code | Yes | The code shown on the device or in its captive portal. |