Implement logic to process the raw data (from motion detector, accelerometer and WiFi/BLE)
Ideas:
Motion sensor by the door + accelerometer on the door (first movement -> door accelerometer = a person walks out the door, first door accelerometer -> movement = a person walks in)
Limitation: Multiple can walk through the door at the same time
Wifi/BLE detection of devices in the room (via MAC address)
Limitation: A person can have multiple devices
Noise-detection: Microfon? + Interruption measured based on the number of times the door is opened
Implement logic to process the raw data (from motion detector, accelerometer and WiFi/BLE)
Ideas: