Traffic
https://api.butlr.io/api/v3/reporting
Last updated
https://api.butlr.io/api/v3/reporting
Last updated
Traffic measures the flow of people entering and leaving a space. It tracks entries (Ins) and exits (Outs), providing data that can be aggregated or filtered by floors, rooms, or zones. This metric relies on traffic sensors placed at key access points to monitor movement over time accurately.
Recommended Practices
Traffic Metrics: Use the sum
function to aggregate the total entries and exits over the defined period.
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.
Timezone Configuration: Always provide a timezone when querying traffic-based occupancy
Include Zero Values in Output: To ensure zero values are included in the results, add the filter:
Use measurement: traffic
Use function: sum