zone_occupancy (realtime) [TBD]
Realtime zone occupancy
InnerSpace publishes occupancy of a zone in near realtime, typically with a latency of 30s-5mins. Latency is most strongly influenced by the frequency by which the WIFI Infrastructure pushes data to InnerSpace for processing.
Example
// query
query zone_metrics(
$limit: Int,
$offset: Int,
$order_by: [zone_occupancy_order_by!],
$where: zone_occupancy_bool_exp
) {
zone_occupancy(
limit: $limit,
offset: $offset,
order_by: $order_by,
where: $where
) {
site_id
zone_id
date_time
granularity
occupancy
}
}
Last updated
Was this helpful?