Set when people are expected in a room
set_expected_hoursSets when people are expected in a room, per weekday. These hours decide when somebody being there counts as a visit outside hours, which matters most in rooms that should stand empty at night and at the weekend: a server room, a storage room, a shop after closing. They are separate from the active hours, which decide what the room score and the trends count. A room with none set follows the default for its purpose, and use_default set to true clears them back to that default. In a room whose purpose expects nobody at set times, such as a bedroom or a home, they change nothing. 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>"
},
"name": "set_expected_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | One entry per weekday you want to change. Days you leave out keep the hours they had. Leave this out when use_default is true. | |
| room_id | Yes | The room id, as returned by list_rooms. | |
| use_default | No | true clears the expected hours, so the room follows the default for its purpose again. Send either this or days. |