RSF weight room usage

Anthony Ozerov's Website 🤔 / research papers projects berk thoughts about

This page shows the current number of people in the RSF weight room, and some historical data. It may help you choose an optimal time to hit the gym!

Last updated: 2025-01-08 08:02:18 (Should update every 10 minutes).

Historical data

Technical details

The RSF weight room uses sensors from some tech company which specializes in tracking space usage. I believe the weight room's sensors are located on the doorways, and count the number of people entering and exiting. So the number of people "in the room" is just total people entered minus total people exited. In theory the error in the total will increase throughout the day as the sensors mistakenly miscount entries/exits, so I think the number resets to zero every night at 1 or 2.

Berkeley has a webpage which gives the real-time number of people (actually, the “utilization,” which is the number of people divided by an arbitrary cap of 140). If you dig into that page, you can see it makes calls to a publicly available API for the sensors. The API also has historical data, which is what this page draws on.

I started looking into this API on my own, then saw that a student had already made a similar dashboard. The visualizations there inspired some of the ones here, but I thought I could do better :)

The code for this page is in this website's git repo. The historical data is available in this csv file: data.txt. The first column is the start of the 10min time interval, the second column is the count of users, and the third and fourth columns are the minimum and maximum users in that interval.