Presence Time
Last updated
Last updated
Presence time refers to the total duration (in seconds) that people were detected within an area during a specified time range. This metric is derived from presence sensor data and provides valuable insights into how long spaces are occupied and used.
Below are guidelines for retrieving and analyzing presence time data for total duration within a selected time range.
Recommended Practices
Function Selection for Presence Time Metrics:
Use the sum
function to capture total utilization within the specified time window.
Avoid Relative Time Queries: Do not use relative time functionality (e.g., -5m
) as it may result in missing data depending on query timing. Always specify absolute start and stop times.
Include Zero Values in Output: To ensure zero values are included in the results, add the filter:
Below are sample queries for retrieving presence time data for floors, rooms, or zones. These queries allow you to analyze the total duration within a specified time range.
Use the sample query below to retrieve the total presence time (in seconds) for areas covered by presence sensors on the floor. Keep in mind that the sensor coverage area influences the measurement and may not represent the actual time spent across the entire floor.
Query the total hourly presence time (seconds) of a floor with presence sensors installed:
Use the sample queries below to retrieve the total presence time (in seconds) for areas covered by presence sensors in the room. Keep in mind that the sensor coverage area influences the measurement and may not represent the actual time spent across the entire room.
Query the total hourly presence time (seconds) of a room with presence sensors installed:
Use the sample queries below to retrieve the total presence time (in seconds) for areas covered by presence sensors in the zone. Keep in mind that the sensor coverage area influences the measurement and may not represent the actual time spent across the entire zone.
Query the total hourly presence time (seconds) of a zone with presence sensors installed: