get https://api.vergesense.com/spaces
Get the most recent sensor reports for spaces.
Response
Property | Type | Description |
---|---|---|
building_ref_id | String | Identifier of the space's building. |
floor_ref_id | String|null | Identifier of the space's floor. Can be null for EN1 devices which report data for a building. |
space_ref_id | String|null | Identifier of the space. Can be null for EN1 devices which report data for a building or floor. |
name | String | The space's name. |
space_type | String | The space's type. Either a default type or custom type. |
last_reports | Object | An array of the most recent reports for each sensor reporting information on the space. |
last_reports.id | String | An identifier of the sensor reporting on the space. |
last_reports.person_count | Number | The number of people observed by the sensor in this space. |
last_reports.signs_of_life | Boolean | Whether or not signs of life was observed by the sensor in this space. May be null if signs of life is not enabled for the sensor. |
last_report.motion_detected | Boolean | Whether or not the sensor captured a motion event. May be null if the sensor is not capable of capturing motion/PIR events. |
last_report.timestamp | String | The timestamp of the report. |
people | Object | Information on the people observed in the space. |
people.count | Number | Total number of people observed in the space by all sensors reporting on the space. |
people.distances | Object | Information on the distances between people in the space. |
people.distances.units | String | The units in which the distance values are presented. Always meters |
people.distances.values | Array | The pairwise distances between each pair of people observed by each sensor reporting on the space. For a space with a single sensor, this is just the pairwise distances between all people in the space. If n people are present, there will be n*(n-1)/2 total distances. |
environment | Object | Environmental information for the space. |
environment.sensor | String | The identifier of the sensor that computed the environmental data of this space. |
environment.timestamp | String | The timestamp of the sensor report when this environmental data was computed. |
environment.humidity | Object | The humidity computed for the space. |
environment.humidity.units | String | Humidity is measured in Relative Humidity ("RH") |
environment.humidity.value | Number | The humidity computed for the space. |
environment.iaq | Object | The Indoor Air Quality for the space. |
environment.iaq.units | String | IAQ is measured in the Umweltbundesam (UBA) the German Environment Agency's custom metric for indoor air quality. |
environment.iaq.value | Number | The Indoor Air Quality for the space. |
environment.temperature | Object | The temperature for the space. |
environment.temperature.units | String | Temperature is measured in Celsius ("C") |
environment.temperature.value | Number | Temperature of the space. |