There is no easy way to determine if someone is "closed".
You can use gps to detect when someone is indoors, losing a signal, but you still canβt tell if they just have a signal or if they really are in the doorway.
Triangulating a cell phone is practically useless in this situation, since it is not accurate enough. Looking at my Google phone cards, he cannot even tell, on the street where I am, only an approximate idea of ββwhere I am located at a distance of up to 500 meters.
If the building has Wifi access points, then they would probably be the best way to detect when someone is in the room. Wifi access points will work if the database of each wireless access point in this building was executed .....
Check out http://www.skyhookwireless.com/ for more information!
Exile source share