What happened in a room, hour by hour
get_timelineReturns what happened in one room on one day, hour by hour: how the room is right now and what is coming next, what held all day, the day's totals and room score, and per hour the events that mattered, each with its time, what it did to the room, how relevant it is and how sure the product is. In a room people use, the day opens with how it started and, once the day's use is over, closes with the day in short: the score and what held it back. Things that kept coming back are also told together (CO₂ over the line several times, quiet work interrupted again and again), as is the warmth lost after the heating went off; a wine cellar or an archive gets a care report of its temperature and humidity. A sleep room's quiet night comes as one block (kind night) from bedtime to getting up, with the night score, a short story told from its facts, the facts, the lows and highs and the hours inside it; a night in which somebody came or went, a window opened or an alarm went off stays hour by hour. Relevance follows the room's type, so talking that breaks focus in an office is hidden in a wine cellar, and a temperature swing that barely matters in a shop is important in an archive. This is the answer to what happened in a room today or on a given day, what distracted people or disturbed what is stored there, and when. An event whose reading fell outside everything the room has read at that clock hour over the last four weeks ends with "Unusual for this room:" and how far it was from the usual, and says "No one is notified." when no alert rule of the room watches that reading. Events describe what the sensors saw: never a number of people, and a window or a door only where the readings tell which it was. For the measurements behind them, get_history; for every room of a building on one day, get_location_timeline. 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": "get_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The day to read, YYYY-MM-DD, at most 29 days back. Defaults to today. | |
| room_id | Yes | The room id, as returned by list_rooms. | |
| min_relevance | No | The least relevant event to include. Defaults to info. relevant or important keeps a busy day short; hidden adds what this room's type does not care about, such as sound in a wine cellar. |