Put a PitCanary in a room
pair_devicePairs a sensor to a room using the pairing code shown on the device or in its settings. From then on its readings are attributed to that room. 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": {
"room_id": "<room_id>",
"pairing_code": "<pairing_code>"
},
"name": "pair_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room_id | Yes | The room id, as returned by list_rooms. | |
| pairing_code | Yes | The code that identifies the device. |