System can be separated into two phases. Use the gathered data to train machine learning model. Interface calculates the occupancy from real-time data.
Co2 Get Co2 concentration (ppm) as feature
Network delay Ping the default gateway for ten times Take the average delay as feature
Microphone Measure the noise in the room.
Thermal feature Sensor sample the temperature in Celsius.