Developer Portal
Connector Guides
API ReferenceConsole

XY Sense

XYSense

XY Sense devices provide occupancy data based on their Area and Entry sensors. With this connector, you can query your occupancy status and headcount for floors and spaces from the Mapped graph.

Use Cases

Potential use cases include:

  • Find the busiest parts of your offices
  • Optimize your HVAC settings for underused spaces

Configuration

This connector requires the following credentials:

CredentialDescription
API KeyThe API Key you registered in the XY Sense dashboard, with both Read and Write permissions
API SecretThe API Secret generated for your API Key

Mapped Concepts

Connector ConceptMapped Type
Location, Floors, FloorSpacesBuilding, Floor, Space, Occupancy_Zone
Area/Entry SensorOccupancy_Sensing_Device
Occupancy StatusOccupancy_Status
HeadcountOccupancy_Count_Sensor

Sample Code

The following example shows how to retrieve the time series data for points associated with a specific Occupancy Sensor:

Request Response
Copy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  things(filter: {id: {eq: "THGK37BgZukNsQcUKNTkA676F"}}) {
    id
    name
    exactType
    points {
      id
      name
      exactType
      series(latest: true) {
        value {
          float64Value
        }
        timestamp
      }
    }
  }
}