Partner Success with AWS / Education / United Kingdom


BJSS Helps University of Bath Track Room Occupancy with 90% Accuracy on AWS
Learn how BJSS and the University of Bath matched IoT technology using AWS cloud infrastructure to provide near real-time, data-driven insights into space utilization and occupancy of teaching spaces.
90%
accuracy in measuring room occupancy
10-15%
error margin in cleansed Wi-Fi data
2
months to deliver working pilot
Real-time
visualization of occupancy room by room
Overview
The University of Bath in southwest England wanted to make better use of data to support decision making across the campus. It decided to build a system that used Wi-Fi and Internet of Things (IoT) data to better understand the occupancy of its teaching spaces. It wanted to make the data available in near real-time and in visual form to give it insights into estate management, building projects, and timetable strategy. The university turned to AWS Partner BJSS to help build the system on Amazon Web Services (AWS). The project proved that the university could accurately assess use of spaces in near real-time using anonymized, cleansed, and processed Wi-Fi data.

Opportunity | Driving Better Decision Making with Accurate Data
The University of Bath has an ambitious data project to empower decision making by giving the right people the right data at the right time. It began exploring business use cases around data use in research, education, and space management using AWS. As part of the project, it wanted to collect solid, accurate data on exactly how many students attend lectures and seminars. It also wanted to gauge library and study space use. Better data would improve decisions about new buildings and enable better use of existing facilities. It could even provide a near real-time data source for students looking for quiet spaces in the library or elsewhere.
One issue with utilization of space was comparing timetable data with actual occupancy. Previously, this relied on static timetable data and manual observations of room use, coupled with data on the numbers of people entering a building. But these manual processes were time-consuming. Furthermore, the results were historical, revealing when and how a space had been used, not its current state. So the university investigated the use of different kinds of sensor data. The university had existing sensors in the form of break beam detectors at the entrance points of some teaching areas, along with data from Wi-Fi routers. It also looked at CO2 monitors. However, it didn’t know how reliable or accurate this data was and how usable it would be.

“We really appreciate BJSS’s agility and flexibility. This was a blue-sky project without a clear road map.”
Gavin Edwards
Chief Data and Technology Officer, University of Bath
Solution | Working System to Visually Display Room Occupancy in Near Real-Time
The University of Bath chose to work with BJSS after a recommendation from AWS. “We really appreciate BJSS’s agility and flexibility,” says Gavin Edwards, chief data and technology officer at the University of Bath. “This was a blue-sky project without a clear roadmap—they really supported this strategy.”
Initial work compared Wi-Fi data with data from break beams placed at room doorways. When it added sensor data from other sources and real-world observations, the team realized that Wi-Fi data, with some cleaning and processing, could provide accurate results on its own. Errors could occur, for example, when students gathered outside a room or lecture theater at changeover time. The team also manually mapped the Wi-Fi coverage within the rooms to discover potential blind spots or crossover areas where devices might register on two routers. Although there was a margin of error of 10–15 percent, this is well within the parameters used in the higher education sector of quartiles of room occupancy—empty, 25 percent, 50 percent, 75 percent, or full.
The solution is easily scalable using a variety of AWS services. Data came in a variety of formats and had to be anonymized and ingested into Prometheus, an online time series database, before being sent to AWS using a virtual private network. The data is then ingested into AWS Fargate, which routes traffic into a three-step process. Raw data was first sent to an Amazon Simple Storage Service (Amazon S3) bucket labeled bronze. This data was then cleaned up using AWS Glue and Amazon Athena and moved into a silver bucket. Finally, after more AWS Glue and Amazon Athena processing and structuring, it was put into the gold bucket of curated and useful data.
The final stage of the solution shows the data, in near real-time, in a visual and easy-to-understand format for staff and students. Dashboards were built using Time Series Grafana, although many other platforms, including PowerBI, could have been used. The dashboards can display the data on a floorplan or as an animation showing percentage of occupancy for each room.
Outcome | Accurate Data Collected and Analyzed Without Need for New Sensor Network
The team was running a working pilot on live data and showing occupancy rates in near real-time within just 2 months. The project successfully showed that the team could draw actionable insights from the data sources available in an accurate and affordable way. Using Wi-Fi alone, with cleansing and real-world observations to improve its collection, the team achieved 90 percent accuracy.
A surprising outcome of the data analysis was that, although utilization of space was about as expected, the patterns were very different. Occupancy was lower than the timetable forecasted, but there were more occupancy events—meaning students and staff using spaces informally for study—than had been previously realized. “This is a good thing, but it’s important to have that data validated,” says Gavin. “It better informs our decision making around estates and building—do we need more teaching spaces, or different spaces?”
The project has proved the validity of the approach, that the data can be collected, cleaned, and turned into actionable insights for a reasonable cost without needing a dedicated network of new sensors. Using AWS, the team is confident that it can build a production-ready system with minimal changes. The next step is to get formal approval to extend the approach to more rooms and lecture theaters to continually improve the understanding of how space is used across campus.
About University of Bath
The University of Bath received its charter in 1966. It has 20,470 students enrolled and 1,525 academic staff. Its current portfolio of research projects is valued at £193 million. University of Bath was awarded triple Gold in the Teaching Excellence Framework 2023. In the last 10 years, it has invested £450 million in its campus with 24-hour-a-day library provision, accommodation, sports facilities, and arts and management buildings.
About AWS Partner BJSS
BJSS is a technology and engineering consultancy headquartered in Leeds in the UK. With over 300 AWS certifications and 10 UK offices, it focuses on technical excellence and a client-driven delivery culture. BJSS collaborates to deliver software engineering, data and AI solutions, technology and business consulting, service design, cloud and platform services, and user experience solutions that millions of people use every day.
AWS Services Used
AWS Fargate
AWS Fargate is a serverless, pay-as-you-go compute engine that lets you focus on building applications without managing servers.
AWS Glue
Preparing your data to obtain quality results is the first step in an analytics or ML project. AWS Glue is a serverless data integration service that makes data preparation simpler, faster, and cheaper.
Learn more »
Amazon Athena
Analyze petabyte-scale data where it lives with ease and flexibility with Amazon Athena.
Amazon S3
Amazon Simple Storage Service (Amazon S3) is an object storage service offering industry-leading scalability, data availability, security, and performance.
Learn more »
Get Started
Organizations of all sizes across all industries are transforming their businesses and delivering on their missions every day using AWS. Contact our experts and start your own AWS journey today.