RelynkLearn
Builder APIConcepts

Resources and points

Buildings, levels, rooms, equipment and points, their type keys, and how to find a kind of point on a kind of resource.

Everything in a building is a resource with a type key, and points are the resources that carry readings.

Type keys

Kind of resourceExample type keys
Buildingsrec_Building
Levelsrec_Level
Rooms, other spacesrec_Room, rec_Space
Equipmentbrick_Air_Handling_Unit, …
Pointsbrick_Temperature_Sensor, brick_Supply_Air_Temperature_Sensor, …
  • Type keys differ per tenant. Look them up with resourceTypes.list; never guess them.
  • A type key matches its subtypes. brick_Temperature_Sensor includes supply, return, zone and outside air temperature sensors. Each point names its exact typeKey, so you can tell them apart.

A kind of point on a kind of resource

To get, say, room temperatures or the supply air temperature of air handling units:

  1. List the resources first, with resources.related or resources.list and their type keys.
  2. Call points.list with their ids as resourceIds and the point typeKeys.

A point type with only a buildingId matches the points of every resource in the building. Each point names its resourceIds, so you can map readings back to rooms. latest is its most recent reading (null when it has none yet).

The guide Rooms and their temperatures shows both calls.

On this page